2 Replies Latest reply on May 16, 2006 3:16 PM by ramneekh

    JBoss Oracle AQ Patch 9i problem

    davidchen1124

      Hi, there:

      I'm using JBoss -Oracle AQ patch 9i. JBoss version 3.2.6. Following the document with that AQ patch, however, I got invalid user/password problem, like:

      2005-08-16 12:36:44,258 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected:
      javax.jms.JMSSecurityException: JMS-232: An invalid user/password was specified for the JMS connection
       at oracle.jms.AQjmsConnection.checkForSecurityException(AQjmsConnection.java:1618)
       at oracle.jms.AQjmsConnection.<init>(AQjmsConnection.java:368)
       at oracle.jms.AQjmsConnectionWrapper.<init>(AQjmsConnectionWrapper.java:38)
      
      


      However, in jboss-service.xml I did define that valid user and password like:

       <mbean code="jmx.service.oracle.aq.OAQConnectionFactory"
       name="jmx.service.oracle.aq:service=OAQTopicConnectionFactory">
       <attribute name="JndiName">OAQTopicConnectionFactory</attribute>
       <attribute name="JMSStyle">topic</attribute>
       <attribute name="IsXA">false</attribute>
       <attribute name="URL">jdbc:oracle:oci:@db310dv2</attribute>
       <attribute name="Username">david</attribute>
       <attribute name="Password">david</attribute>
       <depends>jboss:service=Naming</depends>
       </mbean>
      
       <mbean code="jmx.service.oracle.aq.OAQConnectionFactory"
       name="jmx.service.oracle.aq:service=OAQQueueConnectionFactory">
       <attribute name="JndiName">OAQQueueConnectionFactory</attribute>
       <attribute name="JMSStyle">queue</attribute>
       <attribute name="IsXA">false</attribute>
       <attribute name="URL">jdbc:oracle:oci:@db310dv2</attribute>
       <attribute name="Username">david</attribute>
       <attribute name="Password">david</attribute>
       <depends>jboss:service=Naming</depends>
       </mbean >
      



      I don't know what should I do on that problem, does anyone have similiar experience can help me on that issue. Greatly appreciated any comments or suggestions.

      Thanks a lot in advance
      David