tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chris weber" <weber...@gmx.de>
Subject JNDI Database Connection does not work under XP
Date Wed, 26 Feb 2003 07:50:40 GMT
Hello,

i try since tree week to run a jndi datasource with tomcat.
But it does not work in any way. Perhaps it is better, to go to .net.
My equipment:
Jkd 1.4.1 and Tomcat4.1.12 and Tomcat4.1.18

I create the jndi in the admin- tool. (The secure way). 
I tried it with sapdb and ms sql server. It does not work as designed,
it is not possible to create the resource instance. 

Has somebody an idea!?!

Regards Chris

26.02.2003 08:44:31 org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
26.02.2003 08:44:31 org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
26.02.2003 08:44:31 org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
26.02.2003 08:44:32 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
GlobalResourcesLifecycleListener: Exception processing Global JNDI
Resources
javax.naming.NamingException: Cannot create resource instance
        at
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceF
actory.java:189)
        at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:3
01)
        at
org.apache.naming.NamingContext.lookup(NamingContext.java:834)
        at
org.apache.naming.NamingContext.lookup(NamingContext.java:194)
        at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:205)
        at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:210)
        at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:176)
        at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycle
Event(GlobalResourcesLifecycleListener.java:147)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:218
2)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
        at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.18-LE-jdk14
26.02.2003 08:44:37 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
26.02.2003 08:44:37 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
26.02.2003 08:44:37 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/30
config=C:\Java\Tomcat4.1.18\conf\jk2.properties



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message