WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

Tomcat 6?

View: New views
2 Messages — Rating Filter:   Alert me  

Tomcat 6?

by tmo256 :: Rate this Message:

| View Threaded | Show Only this Message

If anyone is using JOTM with Tomcat 6, I'd really appreciate information on your configuration. I keep getting an error on startup that prevents me from using the transactions:
 
May 18, 2007 4:32:15 PM org.apache.catalina.core.NamingContextListener addResource
WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory]
May 18, 2007 4:32:15 PM org.apache.catalina.core.NamingContextListener addResource
WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.NoClassDefFoundError: Could not initialize class org.objectweb.jndi.DataSourceFactory]
I do have all the correct jars placed in the catalina lib, so i'm very confused as to why the classes cannot be loaded. I have this working in tomcat 5.5 with the same configuration, so I have checked all the basics on configuration.
 
thanks,
Teresa


--
You receive this message as a subscriber of the jotm@... mailing list.
To unsubscribe: mailto:jotm-unsubscribe@...
For general help: mailto:sympa@...?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

Re: Tomcat 6?

by tmo256 :: Rate this Message:

| View Threaded | Show Only this Message

Figured this out. There were two problems, one with the classpath that caused the problem below, and then one with Carol.

See:
http://www.nabble.com/transaction-manager-cannot-load-in-Tomcat-6-tf3774696.html#a10770626
and
http://www.nabble.com/tomcat-5.5.20-jotm-integration-tf3528695.html

tmo256 wrote:
If anyone is using JOTM with Tomcat 6, I'd really appreciate information
on your configuration. I keep getting an error on startup that prevents
me from using the transactions:
 
May 18, 2007 4:32:15 PM org.apache.catalina.core.NamingContextListener
addResource
WARNING: Failed to register in JMX: javax.naming.NamingException: Could
not create resource factory instance [Root exception is
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory]
May 18, 2007 4:32:15 PM org.apache.catalina.core.NamingContextListener
addResource
WARNING: Failed to register in JMX: javax.naming.NamingException: Could
not create resource factory instance [Root exception is
java.lang.NoClassDefFoundError: Could not initialize class
org.objectweb.jndi.DataSourceFactory]

I do have all the correct jars placed in the catalina lib, so i'm very
confused as to why the classes cannot be loaded. I have this working in
tomcat 5.5 with the same configuration, so I have checked all the basics
on configuration.
 
thanks,
Teresa


--
You receive this message as a subscriber of the jotm@objectweb.org mailing list.
To unsubscribe: mailto:jotm-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws