RE: New Install of Tomcat 4 on HP-UX Can't Start

2004-11-23 Thread Shapira, Yoav

Hi,
Is there a root cause in your log following this
InvocationTargetException?

If you're just starting out with Tomcat, there's no reason to use 4.x.
Go with 5.0.28 or 5.5.4.

And whether using 5.x or 4.x, first just install it from the
distribution and start it up without changing configuration or webapps.
Make sure you can access and run the example applications.  Then worry
about your specific ones.

Yoav Shapira http://www.yoavshapira.com


>-Original Message-
>From: Gibson, Danny [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, November 23, 2004 12:40 PM
>To: [EMAIL PROTECTED]
>Subject: New Install of Tomcat 4 on HP-UX Can't Start
>
>Howdy All,
>
>I am trying my very first attempt of loading Tomcat on an HP-UX 11.11
>system.  Unfortunately I am encountering troubles getting it started.
Any
>suggestions would be greatly appreciated.  Here is the error it is
>generating, it appears to be complaining about rsajca which does not
exists
>within the src.zip.  I have Java SDK 1.4.2_06 and Tomcat 4.1.30.  I
also
>have JAVA_HOME and CATALINA_HOME both defined.  I am just lost on what
to
>look for on this error about the rsajca/Provider.
>
>Nov 23, 2004 11:34:20 AM org.apache.coyote.http11.Http11Protocol init
>INFO: Initializing Coyote HTTP/1.1 on port 8080
>Starting service Tomcat-Standalone
>Apache Tomcat/4.1.30
>Exception during startup processing
>java.lang.reflect.InvocationTargetException
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:3
>9
>)
>at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImp
>l
>.java:25)
>at java.lang.reflect.Method.invoke(Method.java:324)
>at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>Caused by: java.lang.NoClassDefFoundError: com/sun/rsajca/Provider$1
>at com.sun.rsajca.Provider.(DashoA6275)
>at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>Method)
>at
>sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor
Acce
>s
>sorImpl.java:39)
>at
>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCon
stru
>c
>torAccessorImpl.java:27)
>at
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>at java.lang.Class.newInstance0(Class.java:308)
>at java.lang.Class.newInstance(Class.java:261)
>at java.security.Provider.loadProvider(Provider.java:153)
>at java.security.Security$2.run(Security.java:278)
>at java.security.AccessController.doPrivileged(Native Method)
>at java.security.Security.reloadProviders(Security.java:274)
>at java.security.Security.getProviders(Security.java:814)
>at
>java.security.SecureRandom.getPrngAlgorithm(SecureRandom.java:468)
>at java.security.SecureRandom.(SecureRandom.java:128)
>at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>Method)
>at
>sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor
Acce
>s
>sorImpl.java:39)
>at
>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCon
stru
>c
>torAccessorImpl.java:27)
>at
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>at java.lang.Class.newInstance0(Class.java:308)
>at java.lang.Class.newInstance(Class.java:261)
>at
>org.apache.catalina.session.ManagerBase.getRandom(ManagerBase.java:488)
>at
>org.apache.catalina.session.ManagerBase.generateSessionId(ManagerBase.j
ava:
>7
>06)
>at
>org.apache.catalina.session.StandardManager.start(StandardManager.java:
649)
>at
>org.apache.catalina.core.StandardContext.start(StandardContext.java:359
0)
>at
>org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>at
>org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
>at
>org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>at
>org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
>at
>org.apache.catalina.core.StandardService.start(StandardService.java:497
)
>at
>org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
>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)
>... 5 more
>count = 0, total = 78
>
>
>Danny
>[EMAIL PROTECTED]



This e-mail, including any attachments, is a confidential business 
communication, and ma

New Install of Tomcat 4 on HP-UX Can't Start

2004-11-23 Thread Gibson, Danny
Howdy All,
 
I am trying my very first attempt of loading Tomcat on an HP-UX 11.11
system.  Unfortunately I am encountering troubles getting it started.  Any
suggestions would be greatly appreciated.  Here is the error it is
generating, it appears to be complaining about rsajca which does not exists
within the src.zip.  I have Java SDK 1.4.2_06 and Tomcat 4.1.30.  I also
have JAVA_HOME and CATALINA_HOME both defined.  I am just lost on what to
look for on this error about the rsajca/Provider.
 
Nov 23, 2004 11:34:20 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.30
Exception during startup processing
java.lang.reflect.InvocationTargetException
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)
Caused by: java.lang.NoClassDefFoundError: com/sun/rsajca/Provider$1
at com.sun.rsajca.Provider.(DashoA6275)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at java.security.Provider.loadProvider(Provider.java:153)
at java.security.Security$2.run(Security.java:278)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.Security.reloadProviders(Security.java:274)
at java.security.Security.getProviders(Security.java:814)
at
java.security.SecureRandom.getPrngAlgorithm(SecureRandom.java:468)
at java.security.SecureRandom.(SecureRandom.java:128)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at
org.apache.catalina.session.ManagerBase.getRandom(ManagerBase.java:488)
at
org.apache.catalina.session.ManagerBase.generateSessionId(ManagerBase.java:7
06)
at
org.apache.catalina.session.StandardManager.start(StandardManager.java:649)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3590)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
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)
... 5 more
count = 0, total = 78

 
Danny
[EMAIL PROTECTED]