startup script not working

2005-03-02 Thread Bedrijven.nl
Hi,

I am downloading distribution Tomcat 5.5.7.zip and unzip it. When I try to
run the startup script the CMD prompt window show up, throw an error and
closes automatically. So Anyone know what the error could be?? There is no
errorlog sterr or something else available. Please help!!

Maarten



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



RE: startup script not working

2005-03-02 Thread java
I don't know about Tomcat 5.5 specifically, but in Tomcat 5.0, startup.bat calls
catalina.bat which calls setclasspath.bat.  You'll see it runs the following,
and if it can't find any of the files (probably because your JAVA_HOME is a JRE
and not a JDK), it'll call exit and close your window:

if not exist %JAVA_HOME%\bin\java.exe goto noJavaHome
if not exist %JAVA_HOME%\bin\javaw.exe goto noJavaHome
if not exist %JAVA_HOME%\bin\jdb.exe goto noJavaHome
if not exist %JAVA_HOME%\bin\javac.exe goto noJavaHome

It's kinda hard to see the meaningful error message from this batch file when
the window closes.  I've always wondered if this is a bug?

Jay [www.vtgroup.com]
 

-Original Message-
From: Bedrijven.nl [mailto:[EMAIL PROTECTED] 
Sent: Sunday, May 02, 2004 10:02 AM
To: tomcat-user@jakarta.apache.org
Subject: startup script not working

Hi,

I am downloading distribution Tomcat 5.5.7.zip and unzip it. When I try to
run the startup script the CMD prompt window show up, throw an error and
closes automatically. So Anyone know what the error could be?? There is no
errorlog sterr or something else available. Please help!!

Maarten



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



RE: startup script not working

2005-03-02 Thread Caldarale, Charles R
 From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
 Subject: startup script not working
 
 When I try to run the startup script the CMD prompt window show up, throw 
 an error and closes automatically.

The startup.bat script does little other than kick off catalina.bat.  You can 
run catalina.bat directly in your currrent command prompt window to see 
whatever error messages are being displayed

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

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



Re: startup script not working

2005-03-02 Thread Jason Bainbridge
On Sun, 2 May 2004 17:01:44 +0200, Bedrijven.nl [EMAIL PROTECTED] wrote:
 Hi,
 
 I am downloading distribution Tomcat 5.5.7.zip and unzip it. When I try to
 run the startup script the CMD prompt window show up, throw an error and
 closes automatically. So Anyone know what the error could be?? There is no
 errorlog sterr or something else available. Please help!!
 

Is your JAVA_HOME environment variable set to the root directory of a
JDK install? Something like C:\JDK_1.4.2_02

Try opening up a command prompt and then running startup.bat from
there so you can see what settings get picked up for your environment
variables.

Regards,
-- 
Jason Bainbridge
http://kde.org - [EMAIL PROTECTED]
Personal Site - http://jasonbainbridge.com

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



RE: startup script not working

2005-03-02 Thread Bedrijven.nl
This is my error...

D:\Tomcat557\bincatalina run
Using CATALINA_BASE:   D:\Tomcat557
Using CATALINA_HOME:   D:\Tomcat557
Using CATALINA_TMPDIR: D:\Tomcat557\temp
Using JAVA_HOME:   C:\jdk
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: java.lang.NoSuchMethodError:
javax.management.ObjectName.quote(Ljava/
lang/String;)Ljava/lang/String;
at
org.apache.catalina.mbeans.MBeanUtils.createObjectName(MBeanUtils.jav
a:1232)
at
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:651
)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:216)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:146)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:108)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycle
Event(GlobalResourcesLifecycleListener.java:80)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:676
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
... 6 more

anyone any idea???



-Oorspronkelijk bericht-
Van: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Verzonden: Wednesday, March 02, 2005 5:14 PM
Aan: Tomcat Users List
Onderwerp: RE: startup script not working


 From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
 Subject: startup script not working
 
 When I try to run the startup script the CMD prompt window show up, throw 
 an error and closes automatically.

The startup.bat script does little other than kick off catalina.bat.  You
can run catalina.bat directly in your currrent command prompt window to see
whatever error messages are being displayed

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.

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

RE: startup script not working

2005-03-02 Thread Caldarale, Charles R
 From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
 Subject: RE: startup script not working
 
 Caused by: java.lang.NoSuchMethodError:
 javax.management.ObjectName.quote(Ljava/lang/String;)Ljava/lang/String;

It looks like you're trying to use Tomcat 5.5.7 with a 1.4 JDK.  You can either 
install a 5.0 JRE (or 1.5 JDK), or download and use the compat.zip package from 
the Tomcat download area.  See RUNNING.txt for details.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

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



RE: startup script not working

2005-03-02 Thread David Tonhofer, m-plify S.A.
Try commenting out the listeners in server.xml:
 Listener className=org.apache.catalina.mbeans.ServerLifecycleListener /
 Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener 
/
 Listener 
className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/
Or upgrade the JMX package
--On Wednesday, March 02, 2005 5:22 PM +0100 Bedrijven.nl [EMAIL PROTECTED] 
wrote:
Caused by: java.lang.NoSuchMethodError:
javax.management.ObjectName.quote(Ljava/
lang/String;)Ljava/lang/String;
at


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


RE: startup script not working

2005-03-02 Thread Bedrijven.nl
ok..the errors are away by commenting out. But now the next error shows up:

D:\Tomcat557\bincatalina run
Using CATALINA_BASE:   D:\Tomcat557
Using CATALINA_HOME:   D:\Tomcat557
Using CATALINA_TMPDIR: D:\Tomcat557\temp
Using JAVA_HOME:   C:\jdk
java.lang.NoSuchMethodError:
org.apache.commons.logging.LogFactory.release(Ljava
/lang/ClassLoader;)V
at
org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.j
ava:1499)
at
org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:706)
at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:43
08)
at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java
:892)
at
org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1
147)
at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1119)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:312)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at
org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1051)
at
org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1063)
at
org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:445)

at
org.apache.catalina.core.StandardService.stop(StandardService.java:51
2)
at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:717)


Any idea's???

When i install it as a service everything is ok, but I won't do that because
i want to set up multiple instances with the use of catalina_base

Maarten

-Oorspronkelijk bericht-
Van: David Tonhofer, m-plify S.A. [mailto:[EMAIL PROTECTED]
Verzonden: Wednesday, March 02, 2005 5:49 PM
Aan: Tomcat Users List
Onderwerp: RE: startup script not working


Try commenting out the listeners in server.xml:

  Listener className=org.apache.catalina.mbeans.ServerLifecycleListener
/
  Listener
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener /
  Listener
className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/

Or upgrade the JMX package

--On Wednesday, March 02, 2005 5:22 PM +0100 Bedrijven.nl
[EMAIL PROTECTED] wrote:

 Caused by: java.lang.NoSuchMethodError:
 javax.management.ObjectName.quote(Ljava/
 lang/String;)Ljava/lang/String;
 at




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



RE: startup script not working

2005-03-02 Thread David Tonhofer, m-plify S.A.
You need to upgrade to the latest commons-logging.
See:
http://jakarta.apache.org/commons/logging/api/index.html
You still seem to have logging 1.0.2 =:-o
http://jakarta.apache.org/commons/logging/commons-logging-1.0.2/docs/api/
Make sure that you have the packages at the version described in the 
build.properties
(or higher), like these:
commons-beanutils.loc=${base-jakarta.loc}/commons/beanutils/binaries/commons-beanutils-1.7.0.tar.gz
commons-launcher.loc=${base-jakarta.loc}/commons/launcher/binaries/launcher-0.9.tar.gz
commons-daemon.loc=${base-jakarta.loc}/commons/daemon/binaries/commons-daemon-1.0.tar.gz
commons-digester.loc=${base-jakarta.loc}/commons/digester/binaries/commons-digester-1.6.tar.gz
commons-el.loc=${base-jakarta.loc}/commons/el/binaries/commons-el-1.0.tar.gz
commons-logging.loc=${base-jakarta.loc}/commons/logging/binaries/commons-logging-1.0.4.tar.gz
commons-modeler.loc=${base-jakarta.loc}/commons/modeler/binaries/modeler-1.1.tar.gz
xerces.loc=${base-xml.loc}/xerces-j/binaries/Xerces-J-bin.2.6.2.tar.gz
jdt.loc=http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.0.1-200409161125/eclipse-JDT-3.0.1.zip
log4j.loc=${base-logging.loc}/log4j/1.2.9/logging-log4j-1.2.9.tar.gz
commons-dbcp-src.loc=${base-jakarta.loc}/commons/dbcp/source/commons-dbcp-1.2.1-src.tar.gz
commons-httpclient.loc=${base-jakarta.loc}/commons/httpclient/binary/commons-httpclient-2.0.tar.gz
commons-pool-src.loc=${base-jakarta.loc}/commons/pool/source/commons-pool-1.2-src.tar.gz
commons-collections.loc=${base-jakarta.loc}/commons/collections/binaries/commons-collections-3.1.tar.gz
commons-collections-src.loc=${base-jakarta.loc}/commons/collections/source/commons-collections-3.1-src.tar.gz
commons-fileupload.loc=${base-jakarta.loc}/commons/fileupload/binaries/commons-fileupload-1.0.tar.gz
jmx.loc=${base-sf.loc}/mx4j/mx4j-2.1.0.zip
junit.loc=${base-sf.loc}/junit/junit3.8.1.zip
struts.loc=${base-struts.loc}/binaries/struts-1.2.6.tar.gz
jaxen.loc=${base-sf.loc}/jaxen/jaxen-1.0-FCS.tar.gz
saxpath.loc=${base-sf.loc}/saxpath/saxpath-1.0.tar.gz

--On Sunday, May 02, 2004 6:01 PM +0200 Bedrijven.nl [EMAIL PROTECTED] 
wrote:
java.lang.NoSuchMethodError:
org.apache.commons.logging.LogFactory.release(Ljava
/lang/ClassLoader;)V


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


RE: startup script not working

2005-03-02 Thread Caldarale, Charles R
 From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
 Subject: RE: startup script not working
 
 ok..the errors are away by commenting out. 

You really can't comment those lines out.  As I said before, you must use the 
proper JRE/JDK or the Compat.zip package.  No shortcuts here.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

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