Bootstrap.jar does not get released when starting multiple instances of Tomcat

2005-01-12 Thread Robert Lin
Hi, 

We have a project where we need 3 different Tomcat instances running 3 
different server.xml files, and we have that as part of our JUnit tests for our 
automated build process.  However, for some reason, the file bootstrap.jar will 
not get released on the every nth build, n~= 1 to 10.  And when that happens, 
we can't even find the process that is still using bootstrap.jar, so we're 
forced to restart the machine.

Anybody have any idea in which direction we should be looking for the bug?  
Thanks.

__
 
Robert Lin 
Eng. Intern | Blue Jungle | Redwood City, CA
[EMAIL PROTECTED]

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



classcastexception in bootstrap.jar though the jars are loaded

2003-04-01 Thread David Wahlund
Hi,
I'm unable to start Tomcat due to ClassNotFoundException.
The classpath to bootstrap.jar and tools.jar is correct and defined. And the
home directory too.
All the jars are loaded, but still I get a classcastexception.
Under what cirumstances could this occur? It there anything[system
variables,classpath,etc] else that needs to be set?
As seen below the classloader loads catalina.jar but throw an
classnotfoundexception when its unable to locate
org.apache.catalina.mbeans.ServerLifecycleListener which i contained in that
jar.

Regards,
David

### Debug log ###
Using CATALINA_BASE: E:\tomcat
Using CATALINA_HOME: E:\tomcat
Using CATALINA_TMPDIR: E:\tomcat\temp
Using JAVA_HOME: E:\jdk1.4
_RUNJAVA: E:\jdk1.4\bin\java
_EXECJAVA: start Tomcat E:\jdk1.4\bin\java
JAVA_OPTS:
CATALINA_OPTS:
DEBUG_OPTS:
JAVA_ENDORSED_DIRS: E:\tomcat\bin;E:\tomcat\common\endorsed
CLASSPATH: E:\jdk1.4\lib\tools.jar;E:\tomcat\bin\bootstrap.jar
CATALINA_BASE: E:\tomcat
_RUNJAVA JAVA_OPTS CATALINA_OPTS
DEBUG_OPTS -Djava.endorsed.dirs=JAVA_ENDORSED_DIRS -classpath
CLASSPATH -Dcatalina.base=CATALINA_BASE -Dcatalina.home=CATALINA_HOME 
-Djava.io.tmpdir=CATALINA_TMPDIR MAINCLASS CMD_LINE_ARGS ACTION
ClassLoaderFactory: Creating new class loader
ClassLoaderFactory: Including directory E:\tomcat\common\classes
ClassLoaderFactory: Including jar file
E:\tomcat\common\endorsed\xercesImpl.jar
ClassLoaderFactory: Including jar file
E:\tomcat\common\endorsed\xmlParserAPIs.jar
ClassLoaderFactory: Including jar file E:\tomcat\common\lib\activation.jar
ClassLoaderFactory: Including jar file E:\tomcat\common\lib\ant.jar
ClassLoaderFactory: Including jar file
E:\tomcat\common\lib\commons-collections.jar
ClassLoaderFactory: Including jar file E:\tomcat\common\lib\commons-dbcp.jar
ClassLoaderFactory: Including jar file
E:\tomcat\common\lib\commons-logging-api.jar
ClassLoaderFactory: Including jar file E:\tomcat\common\lib\commons-pool.jar
ClassLoaderFactory: Including jar file E:\tomcat\common\lib\j2ee.jar
ClassLoaderFactory: Including jar file
E:\tomcat\common\lib\jasper-compiler.jar
ClassLoaderFactory: Including jar file
E:\tomcat\common\lib\jasper-runtime.jar
ClassLoaderFactory: Including jar file
E:\tomcat\common\lib\jdbc2_0-stdext.jar
ClassLoaderFactory: Including jar file E:\tomcat\common\lib\jndi.jar
ClassLoaderFactory: Including jar file E:\tomcat\common\lib\jta.jar
ClassLoaderFactory: Including jar file E:\tomcat\common\lib\mail.jar
ClassLoaderFactory: Including jar file
E:\tomcat\common\lib\naming-common.jar
ClassLoaderFactory: Including jar file
E:\tomcat\common\lib\naming-factory.jar
ClassLoaderFactory: Including jar file
E:\tomcat\common\lib\naming-resources.jar
ClassLoaderFactory: Including jar file E:\tomcat\common\lib\servlet.jar
ClassLoaderFactory: Including jar file E:\tomcat\common\lib\tools.jar
ClassLoaderFactory: Creating new class loader
ClassLoaderFactory: Including directory E:\tomcat\server\classes
ClassLoaderFactory: Including jar file E:\tomcat\server\lib\catalina-ant.jar
ClassLoaderFactory: Including jar file E:\tomcat\server\lib\catalina.jar
ClassLoaderFactory: Including jar file
E:\tomcat\server\lib\commons-beanutils.jar
ClassLoaderFactory: Including jar file
E:\tomcat\server\lib\commons-digester.jar
ClassLoaderFactory: Including jar file
E:\tomcat\server\lib\commons-logging.jar
ClassLoaderFactory: Including jar file
E:\tomcat\server\lib\commons-modeler.jar
ClassLoaderFactory: Including jar file E:\tomcat\server\lib\jaas.jar
ClassLoaderFactory: Including jar file
E:\tomcat\server\lib\jakarta-regexp-1.2.jar
ClassLoaderFactory: Including jar file E:\tomcat\server\lib\mx4j-jmx.jar
ClassLoaderFactory: Including jar file
E:\tomcat\server\lib\servlets-common.jar
ClassLoaderFactory: Including jar file
E:\tomcat\server\lib\servlets-default.jar
ClassLoaderFactory: Including jar file
E:\tomcat\server\lib\servlets-invoker.jar
ClassLoaderFactory: Including jar file
E:\tomcat\server\lib\servlets-manager.jar
ClassLoaderFactory: Including jar file
E:\tomcat\server\lib\servlets-webdav.jar
ClassLoaderFactory: Including jar file
E:\tomcat\server\lib\tomcat-coyote.jar
ClassLoaderFactory: Including jar file
E:\tomcat\server\lib\tomcat-http11.jar
ClassLoaderFactory: Including jar file E:\tomcat\server\lib\tomcat-jk.jar
ClassLoaderFactory: Including jar file E:\tomcat\server\lib\tomcat-jk2.jar
ClassLoaderFactory: Including jar file E:\tomcat\server\lib\tomcat-util.jar
ClassLoaderFactory: Including jar file E:\tomcat\server\lib\tomcat-warp.jar
ClassLoaderFactory: Creating new class loader
ClassLoaderFactory: Including directory E:\tomcat\shared\classes
Bootstrap: Loading startup class
Bootstrap: Setting startup class properties
Bootstrap: Calling startup class process() method
XmlMapper: Debug level: 999
XmlMapper: Validating = false
XmlMapper: Set locator :
[EMAIL PROTECTED]
XmlMapper: new className org.apache.catalina.core.StandardServer Server
StandardServer[8005]
XmlMapper: setProperty(class org.apache.catalina.core.StandardServer
className

bootstrap.jar ?

2001-07-06 Thread Russell, Steve

Hi;

I'm trying to install tomcat as a service.

I have been using JavaService.

It is complaining that it can't find my startup class which is supposed to
be
Tomcat_Home/bin/boostrap.jar  ( org.apache.Bootstrap ).

I don't have this class.  I tried downloading tomcat again..no dice.

Where can I get it?

Steve

Steve Russell

Web Developer III
ValueOptions - Lifescape
703-205-6589
[EMAIL PROTECTED]


-Original Message-
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 2:44 PM
To: [EMAIL PROTECTED]
Subject: RE: Making Tomcat 3.2 A Service On Win 2000 ( using jdk
1.3.0_02 )




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Sent: Friday, July 06, 2001 2:50 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Making Tomcat 3.2 A Service On Win 2000 ( using jdk
 1.3.0_02 )
 
 
 Are you sure there are no problems with jdk1.3.1?  The main problem I 
 found with 1.3.0 was that it shut down when you logged off. I 
 found the 
 same problem in 1.3.1. The fix is to add -Xsa to the execution line 
 that starts Java in Tomcat.

Works for me without any command line fixes.  I thought that the -X option
was added for some of the betas of 1.3.1.  Is it possible that you have an
older version of 1.3.1?

 
 As for making Tomcat a service, I found the jk_nt_service.exe (zipped 
 up) in the jakarta downloads. I thought that was the standard way of 
 making it into a service. Is this what is causing the 
 shutdown problem? 
 ShouldI be using a different method?

You are correct.  The JavaService program does basically the same thing as
jk_nt_service, but it traps the OS signals and doesn't relay them on to the
JVM.

Randy


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender by email, delete and destroy this message and its 
attachments.


**