-
1. Re: Object not bound
nusa Jun 14, 2004 7:12 PM (in response to jscalio)Hi,
How can we help you, if all you have to say is just 'Object not found' ?
At least please show the relevant stack trace ..
Set a TRACE debug level in the appropriate modules, i.e.<category name="org.jboss.mq"> <priority value="TRACE" class="org.jboss.logging.XLevel"/> </category> <category name="org.jboss.tm"> <priority value="TRACE" class="org.jboss.logging.XLevel"/> </category>
nusa -
2. Re: XAConnectionFactory not bound
jscalio Jun 14, 2004 9:01 PM (in response to jscalio)My apologies, I submitted the original post from another computer earlier today and didn't have a corresponding stack trace readily available. This reply includes an actual stack trace for the exception.
I don't have TRACE level logging to provide because I have not been able to reproduce the problem in the lab and the customer is overly concerned about the volume of logging that would be produced as a result.
As you can see from the timestamps in the following log output, this problem has existed for at least several months.
Once again, we have no problems initially after startup, but after the application runs for a while, the result is the "XAConnectionFactory not bound" exception (perhaps due to heavy load).
Thanks!2004-01-12 16:43:11,921 INFO [org.jboss.ejb.plugins.jms.DLQHandler] Creating 2004-01-12 16:43:11,921 ERROR [org.jboss.ejb.plugins.jms.DLQHandler] Initialization failed javax.jms.JMSException: Error creating the dlq connection: XAConnectionFactory not bound at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:152) at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:394) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:553) at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvoker.java:1053) at org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:565) 2004-01-12 16:43:11,921 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnected to JMS provider 2004-01-12 16:43:11,921 WARN [org.jboss.ejb.plugins.jms.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:152) at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:394) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:553) at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvoker.java:1053) at org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:565) 2004-01-12 16:43:11,921 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Trying to reconnect to JMS provider
-
3. Re: Object not bound
theimmortal Jun 15, 2004 11:16 AM (in response to jscalio)Which persistence manager are you using ? If I had to guess sounds like Hypersonic. The problem you are having may be related to hypersonic going bye bye when the DB reaches a certain size. We used to have a problem similar to this. Once the Hypersonic DB reached around 1GB or so the PM would stop responding. We switched to file-pm-service.xml and the problem went away. File-pm has it's own problems and I guess it is not *the best* thing to use either. From what I have read, using a DB for the PM is the way to go (EG: Oracle or Informix).
See the [jboss root]/docs/examples/jms for other pm service configurations. -
4. Re: Object not bound
genman Jun 15, 2004 11:59 AM (in response to jscalio)
Check the startup logs. The reason XAConnectionFactory it is not bound is because the JMS system did not startup. -
5. Re: Object not bound
jscalio Jun 15, 2004 1:34 PM (in response to jscalio)Yes, we are using the default (Hypersonic) persistence manager.
Once again, we have no problems initially after startup, but after the application runs for a while, the result is the "XAConnectionFactory not bound" exception (perhaps due to heavy load).
However, we have experienced problems at customer sites with the http://wrapper.tanukisoftware.org restarting JBoss, so perhaps the running instance has not fully shutdown before the attempt to restart is invoked.
Has anyone else experienced similar problems? -
6. Re: Object not bound
theimmortal Jun 15, 2004 1:47 PM (in response to jscalio)Hypersonic is not rated for production or volume. Get ride of it and try another PM (Oracle, Informix, MySQL, or the file-pm-service).
So to reiterate:
Yes, it will work fine on initial startup, however once time has elapsed and a considerable amount of data is in the DB, it stops working. Switch Persistence Managers. -
7. Re: Object not bound
jscalio Jun 16, 2004 10:18 AM (in response to jscalio)Thanks! I'll try your suggestion.