Hello Eugene,
Thank you for responding to me each time I am asking for help. But my problem hasn't been solved yet. I am using Tomcat 4.1.12 and I haven't even touched the server.xml file. Both server.xml and web.xml are unmodified. If u want me to post some screen shots of my situation, i can do so.
 
Saumendra
 
 
 
Hello Eugene,
 
Okay let me explain what I am doing
 
I have Tomcat4.1 installed in C:\Java\Tomcat4_1
I have JDK4.1 installed in C:\Java\J2SDK1.4.0_01
 
My main class is
org.apache.catalina.startup.Bootstrap
 
My VM Parameter is
-Djava.endorsed.dirs="C:\Java\Tomcat4_1\bin;C:\Java\Tomcat4_1\common\endorsed" 
-Dcatalina.base="C:\Java\Tomcat4_1" 
-Dcatalina.home="C:\Java\Tomcat4_1" 
 -Djava.io.tmpdir="C:\Java\Tomcat4_1\temp"
 
My Program start Parameter is
start
 
My Working directory is
C:\Java\Tomcat4_1
 
I have added all jars in C:\Java\Tomcat4_1\server\lib and C:\Java\Tomcat4_1\common\lib to my project classpath
I am using JDK 1.4
 
This is my error message when I am trying to run
C:\Java\J2SDK1.4.0_01\bin\javaw.exe -Djava.endorsed.dirs="C:\Java\Tomcat4_1\bin;C:\Java\Tomcat4_1\common\endorsed" -Dcatalina.base="C:\Java\Tomcat4_1" -Dcatalina.home="C:\Java\Tomcat4_1" -Djava.io.tmpdir="C:\Java\Tomcat4_1\temp" -classpath (all the jar files appear over here that are in my classpath) org.apache.catalina.startup.Bootstrap start
 
Sep 25, 2002 1:43:11 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Sep 25, 2002 1:43:11 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Sep 25, 2002 1:43:11 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Sep 25, 2002 1:43:12 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
 
ServerLifecycleListener: createMBeans: Throwable
java.lang.NoSuchMethodError: org.apache.catalina.core.StandardServer.addPropertyChangeListener(Ljava/beans/PropertyChangeListener;)V
 at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:731)
 at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:339)
 at org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(ServerLifecycleListener.java:206)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:498)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

javax.naming.NameNotFoundException: Name java: is not bound in this Context
 at org.apache.naming.NamingContext.lookup(NamingContext.java:811)
 at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
 at javax.naming.InitialContext.lookup(InitialContext.java:347)
 at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:167)
 at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:147)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:498)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

java.lang.IllegalStateException: No global naming context defined for server
 at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:170)
 at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:147)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:498)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Process terminated with exit code 0
 
 
Here is a screenshot of my jars that are added to my project classpath
 

 
Kindly help.
 
Saumendra
Canada

Reply via email to