sorry about the lack of info - I'm still a bit off course - this is the first time I can't get Tomcat to start! 5.0.19 runs fine on Linux, using bin/startup.sh
On Windows XP and MAC OS X 10.3.3, running bin/startup.bat or bin/catalina.bat start produces the error:
java.lang.NoSuchMethodException: org.apache.catalina.startup.Catalina.setAwait(boolean)
at java.lang.Class.getMethod(Class.java:978)
at org.apache.catalina.startup.Bootstrap.setAwait(Bootstrap.java:337)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:396)
JAVA_HOME and CATALINE_HOME are set OK. No errors are produced by catalina.bat regarding environment variables.
If I use the Tomcat installed with the Sun Web Services Developer Pack, which I don't really want to have to do, it all works fine but the way Tomcat is started is completely different:
exec "$JAVA_HOME"/bin/java -classpath "$JWSDP_HOME/jwsdp-shared/bin:$JWSDP_HOME/jwsdp-shared/bin/commons- launcher.jar:$JWSDP_HOME/apache-ant/lib/ant.jar:$JWSDP_HOME/apache-ant/ lib/optional.jar:$JWSDP_HOME/jaxp/lib/jaxp-api.jar:$JWSDP_HOME/jaxp/ lib/endorsed/sax.jar:$JWSDP_HOME/jaxp/lib/endorsed/dom.jar:$JWSDP_HOME/ jaxp/lib/endorsed/xercesImpl.jar:$JWSDP_HOME/jaxp/lib/endorsed/ xalan.jar" -DJAVA_HOME="$JAVA_HOME" -DCATALINA_OPTS="$CATALINA_OPTS" LauncherBootstrap jwsdp "$@"
Thanks for any help, Alistair
On 4 Apr 2004, at 17:34, Mark Thomas wrote:
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]I've tried just about every distro from 4.1.28 onwards and none of them work under Windows! They all have either ant or Tomcat4.CoyoteConnector failures. Is Tomcat not now supported under Windows?
Tomcat is supported under Windows.
In Tomcat 5 I tried tomcatw \\GT\\Tomcat5 - to no avail. I always get the "no such method problem" on setAwait. Can anyone help please!
With this little information about your environment, the error reported, etc
frankly no. Have you tried starting tomcat directly?
thanks, Alistair
Also, please don't hijack other people's threads.
Looks like you have a broken server.xml Try using the oneprovided withmode of that.the tomcat distribution.
Mark
-----Original Message----- From: jitender ahuja [mailto:[EMAIL PROTECTED] Sent: Sunday, April 04, 2004 2:24 PM To: [EMAIL PROTECTED] Subject: 5.0.19 server not starting
Hi,
I am facing problem in starting the server 5.0.19 , the same issue is with "catalina", except with the debugsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)The error message for catalina in run mode is:
Can't load server.xml Can't load server.xml Apr 4, 2004 6:49:36 PM org.apache.catalina.startup.Catalina start INFO: Server startup in ms java.lang.reflect.InvocationTargetException at---------------------------------------------------------------------at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess orImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth odAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398) Caused by: java.lang.NullPointerException at org.apache.catalina.startup.Catalina.await(Catalina.java:657) at org.apache.catalina.startup.Catalina.start(Catalina.java:617) ... 6 more
The server application aborts. The same issue is with "catalina", except with the debug mode of that . Can someone point out the reason for the same. Regards, Jitender
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
