This should all be covered in the ClassLoader HOWTO:


http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html

John

On Thu, 26 Jun 2003 17:55:57 +0800, Mark Hayes <[EMAIL PROTECTED]> wrote:

Jason -
Related to this issue: class loading. If a JAR is required by a web-app, the
JAR should be placed in the web-app's WEB-INF/lib directory. If said JAR is
required by multiple web-apps, the JAR should go in
<TOMCAT_HOME>/common/lib. If said JAR is required by multiple web-apps, as
well as, by Java apps not running on Tomcat, should the JAR be moved to the
SDK ext directory? I'm trying to avoid accumulating multiple copies of the
same JAR.


-----Original Message-----
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 4:26 PM
To: Tomcat Users List
Subject: Re: tomcat 4.1.24 + sdk 1.4.1_03 + Win 2000


Can you try the below for me?


1. Delete the CATALINA_HOME environment variable
2. Make sure your JDK install is a vanilla install ie. you haven't put
anything in JAVA_HOME\lib\ext
3. Install Tomcat 4.1.24 somewhere like C:\tomcat4 just by extracting the
full
zip file.
4. REBOOT
5. From the command line run C:\tomcat4\bin\startup.bat --> startup.log

If it works brilliant, if it doesn't can you post the contents of
startup.log?

Thanks,
--
Jason Bainbridge
http://jblinux.org

-----Original Message-----
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 3:03 AM
To: Tomcat Users List
Subject: Re: tomcat 4.1.24 + sdk 1.4.1_03 + Win 2000


It sounds like it is getting confused with your various Tomcat installs, what are the environment variables you have got set?

A post in the archive suggested editing out the JMX MBeans stuff in
server.xml
and it worked for the original poster, so if you don't need it (if you don't
know what it is it is likely that you don't) so in server.xml comment out
the
following:


<!-- Uncomment these entries to enable JMX MBeans support -->
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
debug="0"/>
<Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
debug="0"/>

I would be more tempted to look more at the environment variables and
possible
problems from the long paths though as a proper solution.

Regards,
--
Jason Bainbridge
http://jblinux.org

On Tue, 24 Jun 2003 17:32, Mark Hayes wrote:
Unable to start Tomcat 4.1.24 with sdk 1.4.1_03 on Windows 2000

ClassNotFoundException: org.apache.catalina.core.StandardServer

C:\Program Files\Apache Group\Tomcat 4.1\bin>catalina run
Using CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1
Using CATALINA_HOME: C:\Program Files\Apache Group\Tomcat 4.1
Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\temp
Using JAVA_HOME: C:\j2sdk1.4.1_03
Jun 24, 2003 5:22:15 PM org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw exception
java.lang.ClassNotFoundException: org.apache.catalina.core.StandardServer


Have struggled with this for 2 days. Symptom occurs with LE version,
non-LE
version, exe version, and zip version Symptom occurs with earlier version
of TC 4.1.x (4.1.12). TC 4.0.1 starts OK on sdk 1.4.1_03


I am using "catalina run" to invoke Tomcat from the Tomcat bin directory.
JAVA_HOME and CATALINA_HOME are both set.


StandardServer is in C:\Program Files\Apache Group\Tomcat
4.1\server\lib\catalina.jar

Has anyone encountered this? Have tried numerous uninstall/reinstall and
search hi and low with no success.




- -----------------------------------------------------
COL Ltd in Hong Kong has checked this message for all
known viruses using SkyScan-AV powered by MessageLabs.
For information on this service e-mail [EMAIL PROTECTED]
or visit www.col.com.hk
- -----------------------------------------------------

---------------------------------------------------------------------
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]


- ----------------------------------------------------- COL Ltd in Hong Kong has checked this message for all known viruses using SkyScan-AV powered by MessageLabs. For information on this service e-mail [EMAIL PROTECTED] or visit www.col.com.hk - -----------------------------------------------------


- -----------------------------------------------------
COL Ltd in Hong Kong has checked this message for all known viruses using SkyScan-AV powered by MessageLabs. For information on this service e-mail [EMAIL PROTECTED] or visit www.col.com.hk
- -----------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to