Re: Possible to redeploy a JAR file without restarting Tomcat?
hi, i think this should be possible via the manager application. can you try this? kind regards, dessi Original-Nachricht Datum: Sun, 27 Jun 2010 12:04:10 -0700 (PDT) Von: laredotornado An: users@tomcat.apache.org Betreff: Possible to redeploy a JAR file without restarting Tomcat? Hi, I'm using Tomcat 6.0.26. There is one JAR file I repeatedly rebuild and deploy and I was wondering if there is any way, obscure or otherwise, to deploy this JAR file without having to restart Tomcat. Thanks for any insights, - Dave -- View this message in context: http://old.nabble.com/Possible-to-redeploy-a-JAR-file-without-restarting-Tomcat--tp29007357p29007357.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Fwd: Re: RE: Unable to start Tomcat 6 on Windows Server 2003
hi, i already tried this, but here the output: D:\ttest>set CLASSPATH=%CATALINA_HOME%\bin\tomcat-juli.jar;%CLASSPATH% D:\ttest>cd bin D:\ttest\bin>catalina.bat run Using CATALINA_BASE: "D:\ttest" Using CATALINA_HOME: "D:\ttest" Using CATALINA_TMPDIR: "D:\ttest\temp" Using JRE_HOME:"C:\Program Files\Java\jdk1.6.0_11" Using CLASSPATH: "D:\ttest\bin\bootstrap.jar" Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/loggi ng/LogFactory at org.apache.catalina.startup.Bootstrap.(Bootstrap.java:54) Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 1 more Could not find the main class: org.apache.catalina.startup.Bootstrap. Program w ill exit. D:\ttest\bin>set ... CLASSPATH=%CATALINA_HOME%\bin\tomcat-juli.jar;%CLASSPATH% ... JAVA_HOME=C:\Program Files\Java\jdk1.6.0_11 ... D:\ttest\bin>set CLASSPATH=D:\ttest\bin\tomcat-juli.jar;%CLASSPATH% D:\ttest\bin>set ... CLASSPATH=D:\ttest\bin\tomcat-juli.jar;%CATALINA_HOME%\bin\tomcat-juli.jar;%CLAS SPATH% ... JAVA_HOME=C:\Program Files\Java\jdk1.6.0_11 ... D:\ttest\bin>catalina.bat run Using CATALINA_BASE: "D:\ttest" Using CATALINA_HOME: "D:\ttest" Using CATALINA_TMPDIR: "D:\ttest\temp" Using JRE_HOME:"C:\Program Files\Java\jdk1.6.0_11" Using CLASSPATH: "D:\ttest\bin\bootstrap.jar" Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/loggi ng/LogFactory at org.apache.catalina.startup.Bootstrap.(Bootstrap.java:54) Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 1 more Could not find the main class: org.apache.catalina.startup.Bootstrap. Program w ill exit. D:\ttest\bin>dir Volume in drive D is DataDrive Volume Serial Number is 78F8-015F Directory of D:\ttest\bin 06/27/2010 08:41 AM . 06/27/2010 08:41 AM .. 06/25/2010 07:54 PM22,110 bootstrap.jar 06/25/2010 07:54 PM 2,374 catalina-tasks.xml 06/25/2010 08:27 PM11,399 catalina.bat 06/25/2010 08:14 PM11,399 catalina.bat.org.txt 06/25/2010 07:54 PM15,582 catalina.sh 06/25/2010 07:54 PM 9,341 commons-daemon.jar 06/25/2010 07:54 PM 1,342 cpappend.bat 06/25/2010 07:54 PM 2,108 digest.bat 06/25/2010 07:54 PM 1,624 digest.sh 06/25/2010 07:54 PM74,398 jsvc.tar.gz 06/25/2010 06:56 PM 348,160 msvcr71.dll 06/25/2010 07:54 PM 5,062 service.bat 06/25/2010 07:54 PM 3,150 setclasspath.bat 06/25/2010 07:54 PM 4,114 setclasspath.sh 06/25/2010 07:54 PM 2,108 shutdown.bat 06/25/2010 07:54 PM 1,563 shutdown.sh 06/25/2010 07:54 PM 2,109 startup.bat 06/25/2010 07:54 PM 1,956 startup.sh 06/25/2010 07:54 PM 868,352 tcnative-1.dll 06/25/2010 07:54 PM26,484 tomcat-juli.jar 06/25/2010 07:54 PM 241,274 tomcat-native.tar.gz 06/25/2010 07:54 PM61,440 tomcat6.exe 06/25/2010 07:54 PM98,304 tomcat6w.exe 06/25/2010 08:36 PM 3,476 tool-wrapper.bat 06/25/2010 07:54 PM 3,459 tool-wrapper.sh 06/25/2010 07:54 PM 2,113 version.bat 06/25/2010 07:54 PM 1,567 version.sh 27 File(s) 1,826,368 bytes 2 Dir(s) 119,924,555,776 bytes free D:\ttest\bin> when using startup.bat this is shown in my command box: D:\ttest\bin>startup.bat Using CATALINA_BASE: "D:\ttest" Using CATALINA_HOME: "D:\ttest" Using CATALINA_TMPDIR: "D:\ttest\temp" Using JRE_HOME:"C:\Program Files\Java\jdk1.6.0_11" Using CLASSPATH: "D:\ttest\bin\bootstrap.jar" and as written before a second box shortly appear and immediatly disappear. i now could catch the error from this box: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/loggi ng/LogFactory at org.apache.catalina.startup.Bootstrap.(Bootstrap.java:54) Caused
Re: Unable to start Tomcat 6 on Windows Server 2003
hi, here is the whole output from the command box: D:\ttest\bin>dir Volume in drive D is DataDrive Volume Serial Number is 78F8-015F Directory of D:\ttest\bin 06/27/2010 08:41 AM . 06/27/2010 08:41 AM .. 06/25/2010 07:54 PM22,110 bootstrap.jar 06/25/2010 07:54 PM 2,374 catalina-tasks.xml 06/25/2010 08:27 PM11,399 catalina.bat 06/25/2010 08:14 PM11,399 catalina.bat.org.txt 06/25/2010 07:54 PM15,582 catalina.sh 06/25/2010 07:54 PM 9,341 commons-daemon.jar 06/25/2010 07:54 PM 1,342 cpappend.bat 06/25/2010 07:54 PM 2,108 digest.bat 06/25/2010 07:54 PM 1,624 digest.sh 06/25/2010 07:54 PM74,398 jsvc.tar.gz 06/25/2010 06:56 PM 348,160 msvcr71.dll 06/25/2010 07:54 PM 5,062 service.bat 06/25/2010 07:54 PM 3,150 setclasspath.bat 06/25/2010 07:54 PM 4,114 setclasspath.sh 06/25/2010 07:54 PM 2,108 shutdown.bat 06/25/2010 07:54 PM 1,563 shutdown.sh 06/25/2010 07:54 PM 2,109 startup.bat 06/25/2010 07:54 PM 1,956 startup.sh 06/25/2010 07:54 PM 868,352 tcnative-1.dll 06/25/2010 07:54 PM26,484 tomcat-juli.jar 06/25/2010 07:54 PM 241,274 tomcat-native.tar.gz 06/25/2010 07:54 PM61,440 tomcat6.exe 06/25/2010 07:54 PM98,304 tomcat6w.exe 06/25/2010 08:36 PM 3,476 tool-wrapper.bat 06/25/2010 07:54 PM 3,459 tool-wrapper.sh 06/25/2010 07:54 PM 2,113 version.bat 06/25/2010 07:54 PM 1,567 version.sh 27 File(s) 1,826,368 bytes 2 Dir(s) 119,924,559,872 bytes free D:\ttest\bin>catalina.bat run Using CATALINA_BASE: "D:\ttest" Using CATALINA_HOME: "D:\ttest" Using CATALINA_TMPDIR: "D:\ttest\temp" Using JRE_HOME:"C:\Program Files\Java\jdk1.6.0_11" Using CLASSPATH: "D:\ttest\bin\bootstrap.jar" Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/loggi ng/LogFactory at org.apache.catalina.startup.Bootstrap.(Bootstrap.java:54) Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 1 more Could not find the main class: org.apache.catalina.startup.Bootstrap. Program w ill exit. D:\ttest\bin> kind regards, dessi -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Unable to start Tomcat 6 on Windows Server 2003
hi, as already written: "The Tomcat do not start with „catalina.bat run“ in the box is written that he can not find "Class org/apache/juli/logging/LogFactory"... The file is definitely there..." kind regards, dessi -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Unable to start Tomcat 6 on Windows Server 2003
Original-Nachricht > Datum: Sat, 26 Jun 2010 17:05:00 +0100 > Von: Pid > An: Tomcat Users List > Betreff: Re: Unable to start Tomcat 6 on Windows Server 2003 > On 26/06/2010 15:48, 1destroy...@gmx.de wrote: > >> On 26/06/2010 09:00, 1destroy...@gmx.de wrote: > >>> Hi, > >>> > >>> I have a problem starting a TomCat on a Windows 2003 Server: > >>> > >>> Java Version installed: 1.6.0_11 JRE & JDK > >>> Tomcat Version used for tests: 6.0.16 & 6.0.26 > >>> > >>> First i installed the Tomcat.exe on the server -> Tomcat do not start > >> > >> Where did you get "Tomcat.exe" and how did you do the install? > > > > Of course from: > http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.16/bin/ > > exact name: apache-tomcat-6.0.16.exe > > Is there a reason not to use a current version instead of an old one? > I now have tried 6.0.26 -> same result > >>> Failure in Log: > >>> [error] FindClass org/apache/catalina/startup/Bootstrap failed [error] > >> Failed loading main org/apache/catalina/startup/Bootstrap class > C:\Program > >> Files\Apache Software Foundation\Tomcat 6.0\bin\bootstrap.jar [error] > >> ServiceStart returned 3 > >>> > >>> Then i downloaded the tomcat.zip and made tests through a command box: > >>> The Tomcat do not start with „catalina.bat run“ in the box is > >> written that he can not find "Class > org/apache/juli/logging/LogFactory"... > >>> The file is definitely there... > >> > >> What happens if you run startup.bat? > > > > A second dos box shortly appear and is closing immediately... > > Start a command prompt first, then manually type the startup.bat command > - don't double click the file to run it. > > What does the error message say exactly? i started "startup.bat" in a command box -> all env variables are shown, no failures, and pathes are correct and a second command box shortly appear and immediatly closed again. no chance to read it out :) > > p > > >>> I installed a Test VM and adapt the configuration 100% with double > check > >> from a colleague: Tomcat is running. > >> > >> What did you do differently when you installed it in the VM rather in > >> the main OS? > >> > >> > > > > Nothing. I installed Java & Tomcat totally in the same way! Same > downloaded files as well. > > > > The difference is that the main OS is part of a domain and i think with > specific group policies, but currently i do not know which can be causing > this... the vm is a standalone w2k3 with no gpo´s. > > > > As written before: I think it is one of the domain policies that is > causing this but i really have no clue which policy can cause this behavior... > Any suggestions? > > > > see also below description > > > >> p > >> > >>> The server on which it is not running is in a domain. The Test VM is a > >> standalone server. > >>> > >>> -> Suggestion: There are policies that are preventing the Tomcat to > >> start... Question now: Which one can this be? > >>> > >>> Do any one of you any Policies in a windows domain that prevent a > Tomcat > >> to start with such errors? > >>> > > > > thanks, destroyer > > > > > > -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: RE: Unable to start Tomcat 6 on Windows Server 2003
hi, 1) locations are definitely right. many many times checked. this is not my first tomcat i have installed. but the first in the specific domain. 2) i have tried this: same behavior. i am using a local admin account. i also have tried before with a domain account that has also admin rights on the system. kind regards, dessi Original-Nachricht > Datum: Sat, 26 Jun 2010 11:21:43 -0400 > Von: Martin Gainty > An: Tomcat Users List > Betreff: RE: Unable to start Tomcat 6 on Windows Server 2003 > > #define ESRCH 3 /* No such process */ > > > it appears you are attempting to run a binary which is > > 1)not in the location you are supposedly running from > > 2)perms issue > > > > what happens when you specifically install TC to an existing folder which > tomcat-user has read,execute and write access to and > > execute the file directly from command-line > > ? > Martin > __ > Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht > dient > lediglich dem Austausch von Informationen und entfaltet keine rechtliche > Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen > wir keine Haftung fuer den Inhalt uebernehmen. > > Ce message est confidentiel et peut être privilégié. Si vous n'êtes > pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la > copie de ceci est interdite. Ce message sert à l'information seulement et > n'aura pas n'importe quel effet légalement obligatoire. Étant donné que > les email peuvent facilement être sujets à la manipulation, nous ne pouvons > accepter aucune responsabilité pour le contenu fourni. > > > > > > > Date: Sat, 26 Jun 2010 16:48:07 +0200 > > From: 1destroy...@gmx.de > > Subject: Re: Unable to start Tomcat 6 on Windows Server 2003 > > To: users@tomcat.apache.org; users@tomcat.apache.org > > > > > On 26/06/2010 09:00, 1destroy...@gmx.de wrote: > > > > Hi, > > > > > > > > I have a problem starting a TomCat on a Windows 2003 Server: > > > > > > > > Java Version installed: 1.6.0_11 JRE & JDK > > > > Tomcat Version used for tests: 6.0.16 & 6.0.26 > > > > > > > > First i installed the Tomcat.exe on the server -> Tomcat do not > start > > > > > > Where did you get "Tomcat.exe" and how did you do the install? > > > > Of course from: > http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.16/bin/ > > exact name: apache-tomcat-6.0.16.exe > > > > > > > > > Failure in Log: > > > > [error] FindClass org/apache/catalina/startup/Bootstrap failed > [error] > > > Failed loading main org/apache/catalina/startup/Bootstrap class > C:\Program > > > Files\Apache Software Foundation\Tomcat 6.0\bin\bootstrap.jar [error] > > > ServiceStart returned 3 > > > > > > > > Then i downloaded the tomcat.zip and made tests through a command > box: > > > > The Tomcat do not start with „catalina.bat run“ in the box is > > > written that he can not find "Class > org/apache/juli/logging/LogFactory"... > > > > The file is definitely there... > > > > > > What happens if you run startup.bat? > > > > A second dos box shortly appear and is closing immediately... > > > > > > > > > I installed a Test VM and adapt the configuration 100% with double > check > > > from a colleague: Tomcat is running. > > > > > > What did you do differently when you installed it in the VM rather in > > > the main OS? > > > > > > > > > > Nothing. I installed Java & Tomcat totally in the same way! Same > downloaded files as well. > > > > The difference is that the main OS is part of a domain and i think with > specific group policies, but currently i do not know which can be causing > this... the vm is a standalone w2k3 with no gpo´s. > > > > As written before: I think it is one of the domain policies that is > causing this but i really have no clue which policy can cause this behavior... > Any suggestions? > > > > see also below description > > > > > p > > > > > > > The server on which it is not running is in a domain. The Test VM is > a > > > standalone server. > > > > > > > > -> Suggestion: There are policies that are preventing the Tomcat to > > > start... Question now: Which one can this be? > > > > > > > > Do any one of you any Policies in a windows domain that prevent a > Tomcat > > > to start with such errors? > > > > > > > > thanks, destroyer > > > > > > -- > > GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl. > > Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl > > > > - > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > For additional command
Re: Unable to start Tomcat 6 on Windows Server 2003
> On 26/06/2010 09:00, 1destroy...@gmx.de wrote: > > Hi, > > > > I have a problem starting a TomCat on a Windows 2003 Server: > > > > Java Version installed: 1.6.0_11 JRE & JDK > > Tomcat Version used for tests: 6.0.16 & 6.0.26 > > > > First i installed the Tomcat.exe on the server -> Tomcat do not start > > Where did you get "Tomcat.exe" and how did you do the install? Of course from: http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.16/bin/ exact name: apache-tomcat-6.0.16.exe > > > Failure in Log: > > [error] FindClass org/apache/catalina/startup/Bootstrap failed [error] > Failed loading main org/apache/catalina/startup/Bootstrap class C:\Program > Files\Apache Software Foundation\Tomcat 6.0\bin\bootstrap.jar [error] > ServiceStart returned 3 > > > > Then i downloaded the tomcat.zip and made tests through a command box: > > The Tomcat do not start with „catalina.bat run“ in the box is > written that he can not find "Class org/apache/juli/logging/LogFactory"... > > The file is definitely there... > > What happens if you run startup.bat? A second dos box shortly appear and is closing immediately... > > > I installed a Test VM and adapt the configuration 100% with double check > from a colleague: Tomcat is running. > > What did you do differently when you installed it in the VM rather in > the main OS? > > Nothing. I installed Java & Tomcat totally in the same way! Same downloaded files as well. The difference is that the main OS is part of a domain and i think with specific group policies, but currently i do not know which can be causing this... the vm is a standalone w2k3 with no gpo´s. As written before: I think it is one of the domain policies that is causing this but i really have no clue which policy can cause this behavior... Any suggestions? see also below description > p > > > The server on which it is not running is in a domain. The Test VM is a > standalone server. > > > > -> Suggestion: There are policies that are preventing the Tomcat to > start... Question now: Which one can this be? > > > > Do any one of you any Policies in a windows domain that prevent a Tomcat > to start with such errors? > > thanks, destroyer -- GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl. Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Unable to start Tomcat 6 on Windows Server 2003
Hi, I have a problem starting a TomCat on a Windows 2003 Server: Java Version installed: 1.6.0_11 JRE & JDK Tomcat Version used for tests: 6.0.16 & 6.0.26 First i installed the Tomcat.exe on the server -> Tomcat do not start Failure in Log: [error] FindClass org/apache/catalina/startup/Bootstrap failed [error] Failed loading main org/apache/catalina/startup/Bootstrap class C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin\bootstrap.jar [error] ServiceStart returned 3 Then i downloaded the tomcat.zip and made tests through a command box: The Tomcat do not start with „catalina.bat run“ in the box is written that he can not find "Class org/apache/juli/logging/LogFactory"... The file is definitly there... I installed a Test VM and adapt the configuration 100% with double check from a colleague: Tomcat is running. The server on which it is not running is in a domain. The Test VM is a standalone server. -> Suggestion: There are policies that are preventing the Tomcat to start... Question now: Which one can this be? Do any one of you any Policies in a windows domain that prevent a Tomcat to start with such errors? Many thanks in advance, destroyer -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org