Re: not installing properly
got it to install by altering cli parameters on another machine ... what about the logging verbosity? can't get log4j logging to worrk at all either here is the working cli: C:\jakarta-tomcat\bin\tomcat5.exe //IS//AcornApplicationServer --Install="C:\jakarta-tomcat\bin\tomcat5.exe" - -Jvm="C:\Program Files\Java\jdk1.5.0_03\jre\bin\server\jvm.dll" --StartMode=jvm --StopMode=jv m --StartClass=org.apache.catalina.startup.Bootstrap --StartParams=start --S topClass=org.apache.catalina.startup.Bootstrap --StopParams=stop --Classpath ="C:\jakarta-tomcat\bin\bootstrap.jar;C:\Program Files\Java\jdk1.5.0_03\lib\tools.jar;C:\Program Files\Microsoft SQL Server 2000 Driver For JDBC\lib\msbase.jar;C:\Program Files\Microsoft SQL Server 2000 Driver For JDBC\lib\mssqlserver.jar;C:\Program Files\Microsoft SQL Server 2000 Driver For JDBC\lib\msutil.jar" --JvmMx="512" --LogPath="C:\jakarta-tomcat\logs" --Disp layName="Acorn Application Server" --Description="Handles HTTP and Web Services Requests to Acorn Applications" --Startup=auto --JvmOptions "-Dcatalina.base=C:\jakarta-tomcat;-Dcatalina.home=C:\jakarta-tomcat;-Djava. endorsed.dirs=C:\jakarta-tomcat\common\endorsed;-Djava.io.tmpdir=C:\jakarta- tomcat\temp;-Dacorn.home=C:\Program Files\Acorn Systems;-Djava.util.logging.config.file=C:\Program Files\Acorn Systems\conf\acornlogging.properties" --StdOutput=auto --StdError=auto --Jvm Ms 128 --User=HOUSTON\jslavin --Password=??? "Jason Bainbridge" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] You need to install it as a Windows Service to be able to run it in the background so checkout the service.bat file in the same directory as startup.bat. Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com On 5/11/05, Owen Corpening <[EMAIL PROTECTED]> wrote: > I ran startup.bat and can access localhost:8080 but the window popped up > never goes away, it ends with: > May 11, 2005 9:15:26 AM org.apache.catalina.startup.Catalina start > INFO: Server startup in 1857 ms > > And appears stuck there. I tried following the instructions to enable > verbose log4j logging but never got the promised "tomcat.log". I changed all > the loglevels in C:\jakarta-tomcat\common\classes\logging.properties to > FINEST but the verbosity appears to be unchanged. > > Worse: I am trying to install Tomcat as a service, embedding its > installation inside my app, and when I run this line: > > C:\jakarta-tomcat\bin>tomcat5 //IS//Tomcat5 --DisplayName="Apache Tomcat > 5" --In > stall="C:\jakarta-tomcat\bin\tomcat5.exe" --Jvm=auto --StartMode=jvm --Stop > Mode > =jvm --StartClass=org.apache.catalina.startup.Bootstrap --StartParams=start > --St > opClass=org.apache.catalina.startup.Bootstrap --StopParams=stop --Classpath= > "C:\ > Program > Files\Java\j2sdk1.4.2_07\lib\tools.jar;C:\jakarta-tomcat\bin\bootstrap.j > ar;C:\Program Files\Microsoft SQL Server 2000 Driver For > JDBC\lib\msbase.jar;C:\ > Program Files\Microsoft SQL Server 2000 Driver For > JDBC\lib\mssqlserver.jar;C:\P > rogram Files\Microsoft SQL Server 2000 Driver For > JDBC\lib\msutil.jar" --JvmMX=" > 512" --LogPath=..\logs --DisplayName="Acorn Application > Server" --Description=" > Handles HTTP and Web Services Requests to Acorn > Applications" --User=HOUSTON\oco > rpening --password=? --Startup=auto > > I get: > [2005-05-11 09:19:37] [info] Service Tomcat5 name Acorn Application Server > [2005-05-11 09:19:37] [420 service.c] [error] The specified service has > been marked for deletion. > [2005-05-11 09:19:37] [549 prunsrv.c] [error] Failed installing Tomcat5 > service > [2005-05-11 09:19:37] [info] Procrun finished. > > Any suggestions about how to embed tomcat would be greatly appreciated. > > owen > > - > 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: not installing properly
You need to install it as a Windows Service to be able to run it in the background so checkout the service.bat file in the same directory as startup.bat. Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com On 5/11/05, Owen Corpening <[EMAIL PROTECTED]> wrote: > I ran startup.bat and can access localhost:8080 but the window popped up > never goes away, it ends with: > May 11, 2005 9:15:26 AM org.apache.catalina.startup.Catalina start > INFO: Server startup in 1857 ms > > And appears stuck there. I tried following the instructions to enable > verbose log4j logging but never got the promised "tomcat.log". I changed all > the loglevels in C:\jakarta-tomcat\common\classes\logging.properties to > FINEST but the verbosity appears to be unchanged. > > Worse: I am trying to install Tomcat as a service, embedding its > installation inside my app, and when I run this line: > > C:\jakarta-tomcat\bin>tomcat5 //IS//Tomcat5 --DisplayName="Apache Tomcat > 5" --In > stall="C:\jakarta-tomcat\bin\tomcat5.exe" --Jvm=auto --StartMode=jvm --Stop > Mode > =jvm --StartClass=org.apache.catalina.startup.Bootstrap --StartParams=start > --St > opClass=org.apache.catalina.startup.Bootstrap --StopParams=stop --Classpath= > "C:\ > Program > Files\Java\j2sdk1.4.2_07\lib\tools.jar;C:\jakarta-tomcat\bin\bootstrap.j > ar;C:\Program Files\Microsoft SQL Server 2000 Driver For > JDBC\lib\msbase.jar;C:\ > Program Files\Microsoft SQL Server 2000 Driver For > JDBC\lib\mssqlserver.jar;C:\P > rogram Files\Microsoft SQL Server 2000 Driver For > JDBC\lib\msutil.jar" --JvmMX=" > 512" --LogPath=..\logs --DisplayName="Acorn Application > Server" --Description=" > Handles HTTP and Web Services Requests to Acorn > Applications" --User=HOUSTON\oco > rpening --password=? --Startup=auto > > I get: > [2005-05-11 09:19:37] [info] Service Tomcat5 name Acorn Application Server > [2005-05-11 09:19:37] [420 service.c] [error] The specified service has > been marked for deletion. > [2005-05-11 09:19:37] [549 prunsrv.c] [error] Failed installing Tomcat5 > service > [2005-05-11 09:19:37] [info] Procrun finished. > > Any suggestions about how to embed tomcat would be greatly appreciated. > > owen > > - > 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]
not installing properly
I ran startup.bat and can access localhost:8080 but the window popped up never goes away, it ends with: May 11, 2005 9:15:26 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 1857 ms And appears stuck there. I tried following the instructions to enable verbose log4j logging but never got the promised "tomcat.log". I changed all the loglevels in C:\jakarta-tomcat\common\classes\logging.properties to FINEST but the verbosity appears to be unchanged. Worse: I am trying to install Tomcat as a service, embedding its installation inside my app, and when I run this line: C:\jakarta-tomcat\bin>tomcat5 //IS//Tomcat5 --DisplayName="Apache Tomcat 5" --In stall="C:\jakarta-tomcat\bin\tomcat5.exe" --Jvm=auto --StartMode=jvm --Stop Mode =jvm --StartClass=org.apache.catalina.startup.Bootstrap --StartParams=start --St opClass=org.apache.catalina.startup.Bootstrap --StopParams=stop --Classpath= "C:\ Program Files\Java\j2sdk1.4.2_07\lib\tools.jar;C:\jakarta-tomcat\bin\bootstrap.j ar;C:\Program Files\Microsoft SQL Server 2000 Driver For JDBC\lib\msbase.jar;C:\ Program Files\Microsoft SQL Server 2000 Driver For JDBC\lib\mssqlserver.jar;C:\P rogram Files\Microsoft SQL Server 2000 Driver For JDBC\lib\msutil.jar" --JvmMX=" 512" --LogPath=..\logs --DisplayName="Acorn Application Server" --Description=" Handles HTTP and Web Services Requests to Acorn Applications" --User=HOUSTON\oco rpening --password=? --Startup=auto I get: [2005-05-11 09:19:37] [info] Service Tomcat5 name Acorn Application Server [2005-05-11 09:19:37] [420 service.c] [error] The specified service has been marked for deletion. [2005-05-11 09:19:37] [549 prunsrv.c] [error] Failed installing Tomcat5 service [2005-05-11 09:19:37] [info] Procrun finished. Any suggestions about how to embed tomcat would be greatly appreciated. owen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]