【发布时间】:2015-03-04 02:25:17
【问题描述】:
我正在运行来自http://wso2.com/library/tutorials/2011/11/configuring-wso2-esb-with-oracle-as-messaging-media/ 的示例
一旦定义了代理,它就会按预期工作,即它从队列中读取消息并发出 SOAP 调用。 但是,如果代理重新打开并保存 wso2 开始旋转吐出错误:
java.naming.security.credentials=tromanow}
javax.naming.AuthenticationException: [LDAP: error code 49 - INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user ]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3087)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3033)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2835)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2749)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:316)
问题在于 JMS 目标 LDAP 路径被截断。 来自:
<parameter name="transport.jms.Destination">cn=tro_Q_JMS1,cn=OracleDBQueues,cn=ORCL,cn=OracleContext,ou=Services, o=sgi,c=us</parameter>
收件人:
<parameter name="transport.jms.Destination">cn=tro_Q_JMS1</parameter>
解决方法是在保存代理时将 LDAP 路径的其余部分重新附加到 JMS 目标。有没有更好的解决方案?
【问题讨论】:
标签: wso2