You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jon Wingfield <jo...@mkodo.com> on 2003/03/13 17:17:29 UTC

Re: class not found in application designed for 3.x, running on 4.1.1 8

Try changing the filename from  jsafe.zip to jsafe.jar. The classloader 
used for the lib directories only picks up jar files, not zip files.
HTH,
Jon

Seeling Thomas wrote:

>Hallo,
>
>
>I am using a commercial application which now has
>a servlet interface in its latest version (Tivoli Framework 4.1).
>The installation guide offers step-by-step instructions for
>IBM websphere and Tomcat (no version number recommended,
>so I chose the latest 4.1.18 for Win2k).
>I have to admit in advance that I absolutely know nothing
>about java application servers, so please be gentle with
>me if it should be a bloody beginner's problem ;)
>
>I managed to follow the Tomcat instructions, switched on SSL,
>imported the certificate that came with Tivoli, and when I
>finally pointed my browser to the login page, I always receive
>the error message "cannot login" (in cryptic IBM speak).
>
>The installation instructions require copying some additional
>files jcf.jar, jlog.jar, jsafe.zip to <tomcat-home>/lib.
>This directory does not exist for Tomcat 4, so I copied to
><tomcat-home>/shared/lib instead
>(and to server/lib, common/lib, and TivoliFRW/WEB-INF/lib
>in subsequent tries).
>
>I always get the trace message
>java.lang.NoClassDefFoundError: COM/rsa/jsafe/JSAFE_SecureRandom
>in the tivoli logfile.
>This class file does exist in jsafe.zip, verified with unzip -l!
>
>I even tried to put the three archives in CLASSPATH of Tomcat
>startup.sh, but to no avail.
>
>The IBM support only told me "it runs for me with Tomcat 3.2.4,
>and I have a <tomcat-home>/lib directory". The following
>answers from support were even stranger, suggesting to me
>that I should put some links from /usr/lpp to <tomcat-home>
>(I did report the W2k OS ;)) !).
>
>Could you please make some suggestions what could be wrong
>with my installation? The /admin and /manager applications,
>as well as some others I tried for curiosity, work well
>(e.g. database organizer from sourceforge).
>
>Tschau...Thomas
>  
>




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org