Hi Saumendra, Did you modify Tomcat's server.xml? I run Tomcat successfully with the default server.xml and web.xml that come with Tomcat 4.1.10 distribution. Perhsps the reason is in these modifications
-- Best regards, Eugene Zhuravlev JetBrains, Inc, http://www.intellij.com "Develop with pleasure!" "Saumendra Poddar" <[EMAIL PROTECTED]> wrote in message amsu0i$ks7$[EMAIL PROTECTED]">news:amsu0i$ks7$[EMAIL PROTECTED]... 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\endorse d" -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/bean s/PropertyChangeListener;)V at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy cleListener.java:731) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy cleListener.java:339) at org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(ServerLife cycleListener.java:206) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.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(Glo balResourcesLifecycleListener.java:167) at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(G lobalResourcesLifecycleListener.java:147) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.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(Glo balResourcesLifecycleListener.java:170) at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(G lobalResourcesLifecycleListener.java:147) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.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 _______________________________________________ Eap-bugs mailing list [EMAIL PROTECTED] http://lists.jetbrains.com/mailman/listinfo/eap-bugs
