Problem using org.apache.catalina.startup.Bootstrap

2005-07-08 Thread Stuart

Hi,

I am trying to start Tomcat using my own script and am getting the following
error (Please help!):

/cygdrive/c/j2sdk1.4.2_07/bin/java -classpath
.\;c:\data\stuart\npshome\var\prop
erties\lsms;c:\jakarta-tomcat-5.0.28\bin\bootstrap.jar;c:\j2sdk1.4.2_07\lib\
tool
s.jar -Dcatalina.base=c:\data\stuart\npshome\var\lsmsweb
-Dcatalina.home=c:\jakarta-tomcat-5.0.28 -Djava.io.tmpdir=
-Djava.endorsed.dirs=c:\jakarta-tomcat-5.0.28\bin;c:\jakarta-tomcat-5.0.28\c
ommon\lib org.apache.catalina.startup.Bootstrap start


Bootstrap: Class loader creation threw exception
java.lang.ExceptionInInitializerError  at
org.apache.catalina.startup.ClassLoaderFactory.clinit(ClassLoaderFactory.j
ava:63)  at
org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java
:103)at
org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:196)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402)
Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.comm
ons.logging.LogConfigurationException: java.lang.NullPointerException
(Caused by
 java.lang.NullPointerException) (Caused by
org.apache.commons.logging.LogConfig
urationException: java.lang.NullPointerException (Caused by
java.lang.NullPointerException))at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:543)at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:235)

Regards,
Stuart


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



org.apache.catalina.startup.Bootstrap

2003-10-02 Thread Mufaddal Khumri
Hello,

I get a pop up icon for org.apache.catalina.startup.Bootstrap on
my doc on MAC OS X when I click on the link in my web app which 
generates
and sends a pdf file to the client browser. Once this popup is there 
the application
works as expected, but if I quit this popup, tomcat shuts off 
automatically.
Catalina.out doesn't show any log information for this action.

If I run the same web app on Windows XP I do not get any pop ups. Here 
is the
configuration of both platforms that I tested on,

Platform: Mac OS X (10.2.6), Tomcat 4.1.18, jdk 1.4.1
Platform: Windows XP, Tomcat 4.1.18, jdk 1.4.1
From my search on the web, for this strange pop up behaviour, I learnt 
that
org.apache.catalina.startup.Bootstrap is used to load the jar files at 
the application
level. Here is the list of jar files that I use and are in WEB-INF/lib 
forlder of my application:

1. avalon-framework.jar
2. Batik.jar
3. fop.jar
4. xalan.jar
5. mysql-connector.jar
(The first 4 are used in the pdf generation and the 5th jar is the 
mysql jdbc driver)

I don't want this popup icon to appear in my doc of MAC OS X. Can 
anybody
suggest as to what could be the reason for this pop up and what could be
done so that it would not show up?

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


Problem regarding a popup related to: org.apache.catalina.startup.Bootstrap

2003-09-30 Thread Mufaddal Khumri
Hello,

I get a pop up icon for org.apache.catalina.startup.Bootstrap on
my doc on MAC OS X when I click on the link in my web app which 
generates
and sends a pdf file to the client browser. Once this popup is there 
the application
works as expected, but if I quit this popup, tomcat shuts off 
automatically.
Catalina.out doesn't show any log information for this action.

If I run the same web app on Windows XP I do not get any pop ups. Here 
is the
configuration of both platforms that I tested on,

Platform: Mac OS X (10.2.6), Tomcat 4.1.18, jdk 1.4.1
Platform: Windows XP, Tomcat 4.1.18, jdk 1.4.1
From my search on the web, for this strange pop up behaviour, I learnt 
that
org.apache.catalina.startup.Bootstrap is used to load the jar files at 
the application
level. Here is the list of jar files that I use and are in WEB-INF/lib 
forlder of my application:

1. avalon-framework.jar
2. Batik.jar
3. fop.jar
4. xalan.jar
5. mysql-connector.jar
(The first 4 are used in the pdf generation and the 5th jar is the 
mysql jdbc driver)

I don't want this popup icon to appear in my doc of MAC OS X. Can 
anybody
suggest as to what could be the reason for this pop up and what could be
done so that it would not show up?

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


Mac: org.apache.catalina.startup.bootstrap app appears in dock?

2003-03-25 Thread Simon Twigger
Hi there,

Im using Tomcat 4.1.18 and Java 1.3.1 on a dual processor G4, 1.5GB RAM.

I'm using Tomcat to serve JSP and servlets and most of the time all is  
well. However, when one particular servlet is called that generates a  
variety of GIF images Tomcat starts another application that appears in  
the dock: org.apache.catalina.startup.bootstrap.

This is in itself Ok, tomcat goes about its business and the  
applications work fine. However, if I then log out, the new app closes  
down and the tomcat server stops. When someone else logs in, Tomcat is  
no longer running and so noone can use the JSP/servlet pages until  
someone with root access restarts Tomcat. This is very inconvenient  
when the app is installed on a clients machine!

Can anyone tell me what triggers the  
org.apache.catalina.startup.bootstrap to appear and how to prevent it  
from happening. If I could stop it appearing, it wouldnt close when the  
user logs out and hence Tomcat would keep running.

If it makes a difference,  Ive got Tomcat set to have 250Mb of RAM by  
adding

export CATALINA_OPTS=-Xmx250m

to the startup.sh script in the {TOMCAT_HOME}/bin/startup.sh script

The bootstrap app only appears in the dock when this servlet generates  
the images (using Acme GIF Encoder classes). Given that these Acme  
classes are in the /classes directory for the servlet application and  
the bootstrap app seems to have something to do with loading classes  
and keeping them from the system classpath (see the Tomcat docs:  
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/catalina/docs/api/org/ 
apache/catalina/startup/Bootstrap.html) Im wondering if I can fix this  
by moving these classes somewhere or Jar'ing them up and moving to the  
/lib directory...?

If anyone has any suggestions I would very much appreciate some help  
with this.

Cheers,

Simon,