Tomcat does not start with -Dcom.sun.management.jmxremote.port=9001
Hi, I want to monitor my tomcat 7 via JMX remotely. The problem is, as soon as I add -Dcom.sun.management.jmxremote.port=9001 to my setenv.sh tomcat does not start anymore. No error message, no log, nothing... The system is a ubuntu which uses start-stop-demon to execute catalina.sh. What could be the problem? Thank you. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat does not start with -Dcom.sun.management.jmxremote.port=9001
spr...@gmx.eu wrote: Hi, I want to monitor my tomcat 7 via JMX remotely. The problem is, as soon as I add -Dcom.sun.management.jmxremote.port=9001 to my setenv.sh tomcat does not start anymore. No error message, no log, nothing... The system is a ubuntu which uses start-stop-demon to execute catalina.sh. What could be the problem? there must be a log message somewhere. The problem is probably that under Ubuntu, the startup script redirects the STDERR log somewhere, where you are not looking (via SYSLOG to /var/log/daemon.log e.g.). This is a switch for the Java JVM, and it probably bumps out before Tomcat is even started inside the JVM. As to the basic error cause, do a netstat -an and look at what else may be using port 9001 already. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Tomcat does not start with -Dcom.sun.management.jmxremote.port=9001
there must be a log message somewhere. But I do not find it... The problem is probably that under Ubuntu, the startup script redirects the STDERR log somewhere, where you are not looking (via SYSLOG to /var/log/daemon.log e.g.). There is a syslog file, but it has no error messages. This is a switch for the Java JVM, and it probably bumps out before Tomcat is even started inside the JVM. Yep. As to the basic error cause, do a netstat -an and look at what else may be using port 9001 already. Port is free - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat does not start with -Dcom.sun.management.jmxremote.port=9001
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it may concern, On 2/1/13 8:08 AM, spr...@gmx.eu wrote: there must be a log message somewhere. But I do not find it... Where did you look? The problem is probably that under Ubuntu, the startup script redirects the STDERR log somewhere, where you are not looking (via SYSLOG to /var/log/daemon.log e.g.). There is a syslog file, but it has no error messages. This is a switch for the Java JVM, and it probably bumps out before Tomcat is even started inside the JVM. Yep. So... how did you set the switch? Perhaps providing the contents of your setenv.sh script would help? As to the basic error cause, do a netstat -an and look at what else may be using port 9001 already. Port is free You can always start Tomcat like this: $ bin/catalina.sh run ... and stdout will not be redirected: you'll get any error messages right on the console. If that works without any errors, it's time to start looking at how Ubuntu actually launches your Tomcat using its service scripts. Debian-derived systems usually have additional configuration files found under /etc/default/ -- you might start looking there. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEAREIAAYFAlEMFoUACgkQ9CaO5/Lv0PBR7gCfa9IZH1pCNN7S3NbvkAz9sQBN 4EkAoIz0v7WckSjJpmllyZij0QAirbUI =+BR1 -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Tomcat does not start
Hi ! I'm working with a cluster application and I want to use session replication. Here is my server.xml : ?xml version='1.0' encoding='utf-8'? Server port=8005 shutdown=SHUTDOWN Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on / Listener className=org.apache.catalina.core.JasperListener / Listener className=org.apache.catalina.mbeans.ServerLifecycleListener / Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener / GlobalNamingResources Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved factory=org.apache.catalina.users.MemoryUserDatabaseFactory pathname=conf/tomcat-users.xml / /GlobalNamingResources Service name=Catalina Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 / Connector port=8009 protocol=AJP/1.3 redirectPort=8443 / Engine name=Catalina defaultHost=localhost jvmRoute=tester Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster channelSendOptions=8 Manager className=org.apache.catalina.ha.session.SimpleTcpReplicationManager expireSessionsOnShutdown=false notifyListenersOnReplication=true/ Channel className=org.apache.catalina.tribes.group.GroupChannel Membership className=org.apache.catalina.tribes.membership.McastService address=228.0.0.4 port=60042 frequency=500 dropTime=6000/ Receiver className=org.apache.catalina.tribes.transport.nio.NioReceiver address=auto port=4000 autoBind=100 selectorTimeout=5000 maxThreads=10/ Sender className=org.apache.catalina.tribes.transport.ReplicationTransmitter Transport className=org.apache.catalina.tribes.transport.nio.PooledParallelSender/ /Sender Interceptor className=org.apache.catalina.tribes.group.interceptors.TcpFailureDetector/ Interceptor className=org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor/ /Channel Valve className=org.apache.catalina.ha.tcp.ReplicationValve filter=/ Valve className=org.apache.catalina.ha.session.JvmRouteBinderValve/ Deployer className=org.apache.catalina.ha.deploy.FarmWarDeployer tempDir=/tmp/war-temp/ deployDir=/tmp/war-deploy/ watchDir=/tmp/war-listen/ watchEnabled=false/ ClusterListener className=org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener/ ClusterListener className=org.apache.catalina.ha.session.ClusterSessionListener/ /Cluster Realm className=org.apache.catalina.realm.UserDatabaseRealm resourceName=UserDatabase/ Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false /Host /Engine /Service /Server If a set in context.xml Context distributable=true or in web.xml distributable/, when I start tomcat an UnsupportedOperationException is thrown : 18.07.2008 15:52:00 org.apache.catalina.ha.tcp.SimpleTcpCluster createManager SEVERE: Unable to clone cluster manager, defaulting to org.apache.catalina.ha.session.DeltaManager java.lang.UnsupportedOperationException at org.apache.catalina.ha.session.SimpleTcpReplicationManager.cloneFromTemplate(SimpleTcpReplicationManager.java :682) at org.apache.catalina.ha.tcp.SimpleTcpCluster.createManager(SimpleTcpCluster.java:506) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4259) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at
Re: Tomcat does not start after update
Caldarale, Charles R [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] From: news [mailto:[EMAIL PROTECTED] On Behalf Of Oliver Hirschi Subject: Tomcat does not start after update Since a Java or a MacOSX update, my Tomcat 6.0.14 does not start on my MacOSX Server 10.4.11. There comes always the followed message into catalina.out: Make sure the CLASSPATH environment variable is not set. Apple hasn't figured out yet that it should never be set, and certain product installs muck with it. Hi Chuck, I typed into Terminal echo $CLASSPATH, but there coms a blank line, so it seems no classpath is set as environment variable. I also tested System.out.println(System.getProperty(java.class.path)); in a test-class and so the output was: .:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar So it seems the classpath is set correct or isn't it? Thanks, Oli - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat does not start after update
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Oliver Hirschi Subject: Re: Tomcat does not start after update I also tested System.out.println(System.getProperty(java.class.path)); in a test-class and so the output was: .:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/ Classes/.compatibility/14compatibility.jar So it seems the classpath is set correct or isn't it? The above looks rather unusual. The classpath is being set somewhere, otherwise it would have only the . entry. Also, if that's the Tomcat 5.5 compatibility package jar for running with a 1.4 JVM, it must not be present for execution on a 1.5 JVM, so get rid of it. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat does not start after update
Hi Since a Java or a MacOSX update, my Tomcat 6.0.14 does not start on my MacOSX Server 10.4.11. There comes always the followed message into catalina.out: Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/digester/Rule at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) at java.lang.Class.getConstructor0(Class.java:2671) at java.lang.Class.newInstance0(Class.java:321) at java.lang.Class.newInstance(Class.java:303) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:127) The current java version is 1.5.0_13 Can anybody help? Thanks Regards, Oliver Hirschi - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat does not start after update
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Oliver Hirschi Subject: Tomcat does not start after update Since a Java or a MacOSX update, my Tomcat 6.0.14 does not start on my MacOSX Server 10.4.11. There comes always the followed message into catalina.out: Make sure the CLASSPATH environment variable is not set. Apple hasn't figured out yet that it should never be set, and certain product installs muck with it. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat does not start as a service in a brand new installation
BeasC wrote: Is there any connection? Does anyone know of a possible solution to this error? Any help is greatly appreciated! Take a look at: https://issues.apache.org/bugzilla/show_bug.cgi?id=41538 Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat does not start
The Tomcat 6.0 service does not start. I get the following messages in the log. (The first one is swedish for Can't find the file). I've copied the MSVCR71.DLL to Windows\System32. I'm on Vista 64-bit. [2008-04-09 10:03:04] [174 javajni.c] [error] Det går inte att hitta den angivna modulen. [2008-04-09 10:03:04] [986 prunsrv.c] [error] Failed creating java C:\Program Files (x86)\Java\jre1.6.0_05\bin\client\jvm.dll [2008-04-09 10:03:04] [1260 prunsrv.c] [error] ServiceStart returned 1 Any clues? Tia Håkan Lidholm - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat does not start as a service in a brand new installation
Hello, I am a newbie at configuring web servers and have been struggling recently to get a JSP server up and running. I started from scratch by installing windows server 2003 on my machine, then I proceeded to install MySQL, so as to avoid having it conflict with other services for ports if installed at a later time. MySQL installed without a problem and is working beautifully as a service. Then, I installed the JDK followed by Apache server, both of which also worked fine and there is no problem (so far) on that end. Tomcat, however, gets installed but does not start as a service and when I look at the jakarta logs I find this message: [443 javajni.c] [error] FindClass org/apache/catalina/startup/Bootstrap failed [2008-04-08 11:59:11] [997 prunsrv.c] [error] Failed loading main org/apache/catalina/startup/Bootstrap class C:\tomcat\Tomcat6\bin\bootstrap.jar The ironic thing here is that, in previous attempts to get the server up, I did SDK - Apache - Tomcat - JK connector - MySQL... For wich I had Tomcat working without any problem and MySQL not wanting to run at all. Is there any connection? Does anyone know of a possible solution to this error? Any help is greatly appreciated! -BeasC -- View this message in context: http://www.nabble.com/Tomcat-does-not-start-as-a-service-in-a-brand-new-installation-tp16578247p16578247.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat does not start
See Thread at: http://www.techienuggets.com/Detail?tx=8839 Posted on behalf of a User Only one thing we have to do, to copy the file name msvcr71.dll from you jre directory installation (ex: C:\Program Files\Java\jre1.6.0_03\bin) to the bin folder of tomcat´s intallation (ex: C:\Archivos de programa\Apache Software Foundation\Tomcat 5.0\bin), it really fixed that f.u.c.k.i.n.g problem, so i hope you can too In Response To: Hi there, I'm having problems running Apache Tomcat 6 (But the same happens with Tomcat 5.0) on a Windows XP home computer with Sun JRE 1.6.0_01. I've installed the same configuration on other machines with successfull results... the log message follows: [2007-05-18 00:37:09] [986 prunsrv.c] [error] Failed creating java C:\Programmi\Java\jre1.6.0_01\bin\client\jvm.dll [2007-05-18 00:37:09] [1260 prunsrv.c] [error] ServiceStart returned 1 [2007-05-18 00:37:09] [info] Run service finished. [2007-05-18 00:37:09] [info] Procrun finished. Do you guys have any idea about this? Thanks Francesco ___ L'email della prossima generazione? Puoi averla con la nuova ... Mail: http://it.docs.yahoo.com/nowyoucan.html - To start a new topic, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat does not start
I had problems with Windows Service Installer too, I'm not sure if it was my mistake. I don't remember if I forgot to stop and start Tomcat properly, or if the JAVA_HOME was set correctly. So, to solve the problem I uninstalled Tomcat , and got the ZIP archive. With the ZIP archive there haven't been any problems on Windows XP, JDK 1.5 and 1.6.x Just unzip it to a directory that doesn't contain spaces , and set JAVA_HOME or JRE_HOME , CATALINA_HOME system environment variables. Hope this helps. -Rashmi On 5/30/07, Len Popp [EMAIL PROTECTED] wrote: Sounds like it might be this problem: http://issues.apache.org/bugzilla/show_bug.cgi?id=41538 There are a couple of workarounds suggested there. -- Len - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat does not start
Hi there, I'm having problems running Apache Tomcat 6 (But the same happens with Tomcat 5.0) on a Windows XP home computer with Sun JRE 1.6.0_01. I've installed the same configuration on other machines with successfull results... the log message follows: [2007-05-18 00:37:09] [986 prunsrv.c] [error] Failed creating java C:\Programmi\Java\jre1.6.0_01\bin\client\jvm.dll [2007-05-18 00:37:09] [1260 prunsrv.c] [error] ServiceStart returned 1 [2007-05-18 00:37:09] [info] Run service finished. [2007-05-18 00:37:09] [info] Procrun finished. Do you guys have any idea about this? Thanks Francesco ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat does not start
Hi there, I'm having problems running Apache Tomcat 6 (But the same happens with Tomcat 5.0) on a Windows XP home computer with Sun JRE 1.6.0_01. I've installed the same configuration on other machines with successfull results... the log message follows: [2007-05-18 00:37:09] [986 prunsrv.c] [error] Failed creating java C:\Programmi\Java\jre1.6.0_01\bin\client\jvm.dll [2007-05-18 00:37:09] [1260 prunsrv.c] [error] ServiceStart returned 1 [2007-05-18 00:37:09] [info] Run service finished. [2007-05-18 00:37:09] [info] Procrun finished. Do you guys have any idea about this? Thanks Francesco ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat does not start
Hi there, I'm having problems running Apache Tomcat 6 (But the same happens with Tomcat 5.0) on a Windows XP home computer with Sun JRE 1.6.0_01. I've installed the same configuration on other machines with successfull results... the log message follows: [2007-05-18 00:37:09] [986 prunsrv.c] [error] Failed creating java C:\Programmi\Java\jre1.6.0_01\bin\client\jvm.dll [2007-05-18 00:37:09] [1260 prunsrv.c] [error] ServiceStart returned 1 [2007-05-18 00:37:09] [info] Run service finished. [2007-05-18 00:37:09] [info] Procrun finished. Do you guys have any idea about this? Thanks Francesco ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat does not start
I have the same problem, I suppose the cause is JDk 1.6 indeed I use jdk 1.5 and Tomcat play well, On 30/05/07, Dell'oro Marco [EMAIL PROTECTED] wrote: Hi there, I'm having problems running Apache Tomcat 6 (But the same happens with Tomcat 5.0) on a Windows XP home computer with Sun JRE 1.6.0_01. I've installed the same configuration on other machines with successfull results... the log message follows: [2007-05-18 00:37:09] [986 prunsrv.c] [error] Failed creating java C:\Programmi\Java\jre1.6.0_01\bin\client\jvm.dll [2007-05-18 00:37:09] [1260 prunsrv.c] [error] ServiceStart returned 1 [2007-05-18 00:37:09] [info] Run service finished. [2007-05-18 00:37:09] [info] Procrun finished. Do you guys have any idea about this? Thanks Francesco ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat does not start
i don't know if it will help, but have you tried reinstalling your jvm? On 31/05/07, domenico di leo [EMAIL PROTECTED] wrote: I have the same problem, I suppose the cause is JDk 1.6 indeed I use jdk 1.5 and Tomcat play well, On 30/05/07, Dell'oro Marco [EMAIL PROTECTED] wrote: Hi there, I'm having problems running Apache Tomcat 6 (But the same happens with Tomcat 5.0) on a Windows XP home computer with Sun JRE 1.6.0_01. I've installed the same configuration on other machines with successfull results... the log message follows: [2007-05-18 00:37:09] [986 prunsrv.c] [error] Failed creating java C:\Programmi\Java\jre1.6.0_01\bin\client\jvm.dll [2007-05-18 00:37:09] [1260 prunsrv.c] [error] ServiceStart returned 1 [2007-05-18 00:37:09] [info] Run service finished. [2007-05-18 00:37:09] [info] Procrun finished. Do you guys have any idea about this? Thanks Francesco ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat does not start
Sounds like it might be this problem: http://issues.apache.org/bugzilla/show_bug.cgi?id=41538 There are a couple of workarounds suggested there. -- Len On 5/30/07, Dell'oro Marco [EMAIL PROTECTED] wrote: Hi there, I'm having problems running Apache Tomcat 6 (But the same happens with Tomcat 5.0) on a Windows XP home computer with Sun JRE 1.6.0_01. I've installed the same configuration on other machines with successfull results... the log message follows: [2007-05-18 00:37:09] [986 prunsrv.c] [error] Failed creating java C:\Programmi\Java\jre1.6.0_01\bin\client\jvm.dll [2007-05-18 00:37:09] [1260 prunsrv.c] [error] ServiceStart returned 1 [2007-05-18 00:37:09] [info] Run service finished. [2007-05-18 00:37:09] [info] Procrun finished. Do you guys have any idea about this? Thanks Francesco ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]