I have a similar problem, using Apache2, JBoss+Tomcat 3.2.3, PoistgreSQL 7.4.2, and 
Liferay 2.1.0. I have searched high and low, and have not yet found a solution. 
However, here are the things I have tried. Maybe one will work for you.

## Check hsqldb-ds.xml:
Apparently JBoss needs to use a database to store EJB persistence data, and out of the 
box it uses Hypersonic for this. So if you want to use Hypersonic, hsqldb-ds.xml needs 
to be in your deploy directory. This seems to be the "standard" answer when someone 
has this problem (but rather than answer, someone will usually make a snotty 
suggestion that you go do a search).

Result: I had (and still have) hsqldb-ds.xml in my deploy directory, but I still get 
this error.

## Change the JDBC settings:
I am using Postgres for all database-related tasks on my JBoss server. If the error is 
related somehow to Hypersonic, even though the error message does not actually mention 
Hypersonic, then perhaps changing JBoss to use PostgreSQL would fix the exception. So 
I changed these files:

jboss/server/dev/conf/standardjaws.xml
- changed type-mapping to PostgreSQL
jboss/server/dev/conf/standardjbosscmp-jdbc.xml
- changed datasource-mapping to PostgreSQL

Result: Liferay still appears to run correctly (so at least I didn't break anything), 
but I still have the same exception.

## Set RecursiveSearch to True:
Again, one of the "standard" answers. In conf/jboss-server.xml change the 'attribute 
name="RecursiveSearch"' scanner to "True", like so (angle brackets changed to 
parentheses so the forum will display it):

(attribute name="RecursiveSearch")True(/attribute)

Result: It was already True. No change.

## Enable TRACE logging:
I then tried enabling TRACE debugging for JMS by adding this to log4j.xml (angle 
brackets replaced with parentheses so this forum won't eat them):

(category name="org.jboss.jms")
(priority value="TRACE" class="org.jboss.logging.XLevel" /)
(/category)

Result: This gave me a couple of additional lines in the log, but other than that I do 
not see any improvement. Below are the log entries, including the new 
"JBossMQProvider" entries. THis was the last thing I tried. I am currently stumped. 
Any information anyone can provide (real information, not just a snotty "go do a 
search" comment), would be greatly appreciated.

2004-06-03 15:33:12,135 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker]
Trying to reconnect to JMS provider
2004-06-03 15:33:19,892 DEBUG [org.jboss.jms.jndi.JBossMQProvider] no provider
url; connecting to local JNDI
2004-06-03 15:33:19,893 DEBUG [org.jboss.jms.jndi.JBossMQProvider] created
context: [EMAIL PROTECTED]
2004-06-03 15:33:19,893 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:169)
at
org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:458)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:674)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvoker.java:1173)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:686)
2004-06-03 15:33:19,893 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker]
Reconnected to JMS provider
2004-06-03 15:33:19,893 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:169)
at
org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:458)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:674)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvoker.java:1173)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:686)
2004-06-03 15:33:19,894 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker]
Trying to reconnect to JMS provider
2004-06-03 15:33:22,136 DEBUG [org.jboss.jms.jndi.JBossMQProvider] no provider
url; connecting to local JNDI
2004-06-03 15:33:22,136 DEBUG [org.jboss.jms.jndi.JBossMQProvider] created
context: [EMAIL PROTECTED]
2004-06-03 15:33:22,137 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:169)

at
org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:458)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:674)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvoker.java:1173)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:686)
2004-06-03 15:33:22,137 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker]
Reconnected to JMS provider
2004-06-03 15:33:22,137 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:169)
at
org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:458)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:674)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvoker.java:1173)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:686)
2004-06-03 15:33:22,137 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker]
Trying to reconnect to JMS provider

And that's where I am now.

bblackmoor
2004-06-03


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

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


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to