Hello,
I dont understand why this error is happening. I have a oracle database with 
JBOSS. I also have a MDB im my application. The application is connecting to 
the database perfectly. I guess while connecting to JMS I am getting an error. 
But when I am trying to look up a connection factory I am getting an error. Can 
you guys please help me out. I am pasting the config files below as well as a 
small part of application log. Please help me out!!!!!

The log message i am getting is
11:43:03,713 WARN  [JMSContainerInvoker] JMS provider failure detected:
javax.jms.JMSException: Error creating the dlq connection: XAConnectionFactory 
not bound
        at 
org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:171)
        at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
        at 
org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164)
        at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:542)
        at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:764)
        at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvoker.java:1267)
        at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:776)
11:42:53,709 INFO  [JMSContainerInvoker] Trying to reconnect to JMS provider




This is my standardjaws.xml( I mean part relevant to the problem)


java:/OracleDS
<type-mapping>Oracle9i</type-mapping>
false
<default-entity>
<create-table>true</create-table>
<remove-table>false</remove-table>
<tuned-updates>true</tuned-updates>
<read-only>false</read-only>
<time-out>300</time-out>
<row-locking>false</row-locking>
<read-ahead>false</read-ahead>
</default-entity>
.................


This is my relevant standardjbosscmp-jdbc.xml

java:/OracleDS
<datasource-mapping>Oracle9i</datasource-mapping>

This is my relevant part of jbossmq-destinations-service.xml



<depends 
optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager
<depends 
optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager









The login-config.xml contents are

<application-policy name = "OracleDbRealm">

<login-module code = 
"org.jboss.resource.security.ConfiguredIdentityLoginModule" flag = "required">
<module-option name = "principal">sa</module-option>
<module-option name = "userName">sa</module-option>
<module-option name = "password"></module-option>
<module-option name = 
"managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=OracleDS</module-option>
</login-module>

</application-policy>


The sample piece of code I am trying to access the Message Bean from a 
Enterprise bean.

Context ctxInitCtxt = new InitialContext();
TopicConnectionFactory factory = 
(TopicConnectionFactory)ctxInitCtxt.lookup("ConnectionFactory");
TopicConnection topicConn = factory.createTopicConnection();
TopicSession topicSession = topicConn.createTopicSession(false, 
Session.AUTO_ACKNOWLEDGE);
Topic topic = (Topic) ctxInitCtxt.lookup("topic/DEFTopic");
TopicPublisher publisher = topicSession.createPublisher(topic);
ObjectMessage objMsg =topicSession.createObjectMessage();
objMsg.setObject(dfrep);
publisher.publish(objMsg);
strClassName=this.getClass().getName();


Regards
Sriram.P 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872822#3872822

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872822


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to