You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kurniawan Kurt <kk...@bigw.com.au> on 2005/08/09 08:27:22 UTC
error in CATALINA startup in UNIX
Hi, All.
We have problem in starting Tomcat 5.0.28 in one of out HP-UX.
We have installed it so many times in both HP-UX and Win, and never had problem
.
We use the exact same GZ file for installation. The same java version and the same JAVA_HOME directory
We use the same profile and settings, but somehow, this time it decided it doesn't want to start.
The environment is as follows:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.08-050401-17:46)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.08-050401-19:33-PA_RISC2.0 PA2.0 (aCC_AP), mixed mode)
Using CATALINA_BASE: /opt/wm/jakarta-tomcat-5.0.28
Using CATALINA_HOME: /opt/wm/jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: /opt/wm/jakarta-tomcat-5.0.28/temp
Using JAVA_HOME: /opt/java1.4
I've got this following error:
java.lang.NoSuchMethodException: org.apache.catalina.startup.Catalina.setAwait(boolean)
at java.lang.Class.getMethod(Class.java:986)
at org.apache.catalina.startup.Bootstrap.setAwait(Bootstrap.java:351)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:423)
I've checked the CLASSPATH etc. Everything is okay. In all machines, We have all CLASSPATH setup. We tools.jar, servlet-api.jar and jsp-api.jar
I know this has something to do with class-loading in the bootstrap.jar, but don't have a clue of what and how to solve this.
I've compare the CLASSPATH (when it runs the "catalina.sh run" command, by ECHO-ing the env) from machine that can load up catalina properly and this particular one that has problem, but couldn't find the different.
I've google-ed around, and could not find any answer. I'm sure this must have happened to somebody before. Could any one give me some hints ?
Kurt Kurniawan
WOW-Australia
"What I hear, I forget. What I see, I remember.
And what I do, I understand."
~ Chinese Proverb
CAUTION: This email and files included in its transmission
are solely intended for the use of the addressee(s) and may
contain information that is confidential and privileged.
If you receive this email in error, please advise us
immediately and delete it without copying the contents
contained within. Woolworths Limited (including its group
of companies) do not accept liability for the views
expressed within or the consequences of any computer
viruses that may be transmitted with this email. The
contents are also subject to copyright. No part of it
should be reproduced, adapted or transmitted without the
written consent of the copyright owner.
Re: Error msg after catalina.sh run
Posted by Anoop kumar V <an...@gmail.com>.
This link might help you....
http://www.churchillobjects.com/c/11201i.html
Anoop
On 8/9/05, Tom Spence <tp...@yahoo.com> wrote:
>
> I am using AIX 5.2, TC 5.5.9, JAVA 1.4
>
> I am working on 8443 (443) but got an error and how can I solve this problem?
>
> Using CATALINA_BASE: /usr/local/jakarta-tomcat
> Using CATALINA_HOME: /usr/local/jakarta-tomcat
> Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat/temp
> Using JRE_HOME: /usr/java14
> Created MBeanServer with ID: 52d4d891:1059af76990:-8000:xxx.xxx.xxx.xxx:1
> Aug 9, 2005 7:19:33 AM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Aug 9, 2005 7:19:34 AM org.apache.coyote.http11.Http11Protocol init
> SEVERE: Error initializing endpoint
> java.io.IOException: Algorithm SunX509 not available
> at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(JSSE14SocketFactory.java:125)
> at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:88)
> at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:292)
> at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:142)
> at org.apache.catalina.connector.Connector.initialize(Connector.java:928)
> at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
> at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:764)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:490)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:509)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
> at java.lang.reflect.Method.invoke(Method.java:391)
> at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
> Aug 9, 2005 7:19:34 AM org.apache.catalina.startup.Catalina load
> SEVERE: Catalina.start
> LifecycleException: Protocol handler initialization failed: java.io.IOException: Algorithm SunX509 not available
> at org.apache.catalina.connector.Connector.initialize(Connector.java:930)
> at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
> at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:764)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:490)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:509)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
> at java.lang.reflect.Method.invoke(Method.java:391)
> at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
>
>
>
>
> (__[TomCigar]___{{{{~~~
>
>
>
>
--
Thanks and best regards,
Anoop
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Error msg after catalina.sh run
Posted by Tom Spence <tp...@yahoo.com>.
I am using AIX 5.2, TC 5.5.9, JAVA 1.4
I am working on 8443 (443) but got an error and how can I solve this problem?
Using CATALINA_BASE: /usr/local/jakarta-tomcat
Using CATALINA_HOME: /usr/local/jakarta-tomcat
Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat/temp
Using JRE_HOME: /usr/java14
Created MBeanServer with ID: 52d4d891:1059af76990:-8000:xxx.xxx.xxx.xxx:1
Aug 9, 2005 7:19:33 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Aug 9, 2005 7:19:34 AM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.io.IOException: Algorithm SunX509 not available
at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(JSSE14SocketFactory.java:125)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:88)
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:292)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:142)
at org.apache.catalina.connector.Connector.initialize(Connector.java:928)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:764)
at org.apache.catalina.startup.Catalina.load(Catalina.java:490)
at org.apache.catalina.startup.Catalina.load(Catalina.java:509)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
Aug 9, 2005 7:19:34 AM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.io.IOException: Algorithm SunX509 not available
at org.apache.catalina.connector.Connector.initialize(Connector.java:930)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:764)
at org.apache.catalina.startup.Catalina.load(Catalina.java:490)
at org.apache.catalina.startup.Catalina.load(Catalina.java:509)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
(__[TomCigar]___{{{{~~~
Re: error in CATALINA startup in UNIX
Posted by Tim Funk <fu...@joedog.org>.
If you used HP's tar - then the you might have some bad files. YOu need to
use the GNU tar. To uncompress the .tgz file.
-Tim
Kurniawan Kurt wrote:
> Hi, All.
>
>
> We have problem in starting Tomcat 5.0.28 in one of out HP-UX.
> We have installed it so many times in both HP-UX and Win, and never had problem
> .
> We use the exact same GZ file for installation. The same java version and the same JAVA_HOME directory
> We use the same profile and settings, but somehow, this time it decided it doesn't want to start.
> The environment is as follows:
>
>
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.08-050401-17:46)
> Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.08-050401-19:33-PA_RISC2.0 PA2.0 (aCC_AP), mixed mode)
>
>
> Using CATALINA_BASE: /opt/wm/jakarta-tomcat-5.0.28
> Using CATALINA_HOME: /opt/wm/jakarta-tomcat-5.0.28
> Using CATALINA_TMPDIR: /opt/wm/jakarta-tomcat-5.0.28/temp
> Using JAVA_HOME: /opt/java1.4
>
>
> I've got this following error:
>
>
> java.lang.NoSuchMethodException: org.apache.catalina.startup.Catalina.setAwait(boolean)
> at java.lang.Class.getMethod(Class.java:986)
> at org.apache.catalina.startup.Bootstrap.setAwait(Bootstrap.java:351)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:423)
>
>
>
>
> I've checked the CLASSPATH etc. Everything is okay. In all machines, We have all CLASSPATH setup. We tools.jar, servlet-api.jar and jsp-api.jar
> I know this has something to do with class-loading in the bootstrap.jar, but don't have a clue of what and how to solve this.
>
>
> I've compare the CLASSPATH (when it runs the "catalina.sh run" command, by ECHO-ing the env) from machine that can load up catalina properly and this particular one that has problem, but couldn't find the different.
>
>
> I've google-ed around, and could not find any answer. I'm sure this must have happened to somebody before. Could any one give me some hints ?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org