|
From: Uwe L. <uw...@ly...> - 2008-10-15 13:40:56
|
Below is the console output - It works correctly, but when I use the installtomcat-nt batch file I get a response that the Tomcat service is installed; however, the service won't start. I get the error 1053 not responding in a timely fashion. I have also attached the wrapper.conf file. I added all the additional entries from the ECHO output of the catalina batch file. Microsoft Windows [Version 5.2.3790] (C) Copyright 1985-2003 Microsoft Corp. C:\Documents and Settings\Administrator.LYNSERVER>cd tomcat6\bin The system cannot find the path specified. C:\Documents and Settings\Administrator.LYNSERVER>cd \tomcat6\bin C:\Tomcat6\bin>tomcat wrapper | --> Wrapper Started as Console wrapper | Java Service Wrapper Community Edition 3.3.1 wrapper | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights Reserved. wrapper | http://wrapper.tanukisoftware.org wrapper | wrapper | Launching a JVM... jvm 1 | WrapperManager: Initializing... jvm 1 | 15-Oct-2008 8:33:59 AM org.apache.catalina.core.AprLifecycleListener init jvm 1 | INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: ..\lib jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.coyote.http11.Http11Protocol init jvm 1 | INFO: Initializing Coyote HTTP/1.1 on http-80 jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.catalina.startup.Catalina load jvm 1 | INFO: Initialization processed in 1147 ms jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.catalina.core.StandardService start jvm 1 | INFO: Starting service Catalina jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.catalina.core.StandardEngine start jvm 1 | INFO: Starting Servlet Engine: Apache Tomcat/6.0.16 jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext addAp plicationListener jvm 1 | INFO: The listener "com.liferay.portal.spring.context.PortalContextLo aderListener" is already configured for this context. The duplicate definition h as been ignored. jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext addAp plicationListener jvm 1 | INFO: The listener "com.liferay.portal.servlet.PortalSessionListener" is already configured for this context. The duplicate definition has been ignor ed. jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext addAp plicationListener jvm 1 | INFO: The listener "com.liferay.portal.kernel.servlet.PortletSessionL istenerManager" is already configured for this context. The duplicate definition has been ignored. jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext addAp plicationListener jvm 1 | INFO: The listener "com.liferay.portal.kernel.servlet.SerializableSes sionAttributeListener" is already configured for this context. The duplicate def inition has been ignored. jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext addAp plicationListener jvm 1 | INFO: The listener "com.liferay.portal.servlet.SharedSessionAttribute Listener" is already configured for this context. The duplicate definition has b een ignored. jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext addAp plicationListener jvm 1 | INFO: The listener "com.sun.portal.container.service.ServiceManagerCo ntextListenerImpl" is already configured for this context. The duplicate definit ion has been ignored. jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext addAp plicationListener jvm 1 | INFO: The listener "com.sun.portal.portletcontainer.impl.PortletConta inerContextListenerImpl" is already configured for this context. The duplicate d efinition has been ignored. jvm 1 | Loading jar:file:/C:/Tomcat6/webapps/ROOT/WEB-INF/lib/portal-impl.jar !/system.properties jvm 1 | Loading jar:file:/C:/Tomcat6/webapps/ROOT/WEB-INF/lib/portal-impl.jar !/portal.properties jvm 1 | 08:34:12,625 INFO [DynamicDialect:81] Determining dialect for MySQL 5 jvm 1 | 08:34:12,656 INFO [DynamicDialect:109] Using dialect org.hibernate.d ialect.MySQLDialect jvm 1 | 08:34:15,734 INFO [PortalImpl:228] Portal lib url /C:/Tomcat6/webapp s/ROOT/WEB-INF/lib/portal-impl.jar!/com/liferay/portal/util/PortalImpl.class jvm 1 | 08:34:15,734 INFO [PortalImpl:263] Portal lib directory /C:/Tomcat6/ webapps/ROOT/WEB-INF/lib/ jvm 1 | Starting Liferay Portal 5.1.1 (Calvin / Build 5101 / August 11, 2008) jvm 1 | 08:34:33,406 INFO [ServerDetector:76] Detected server tomcat jvm 1 | 08:34:33,937 INFO [HotDeployUtil:76] Initializing hot deploy manager 9956648 jvm 1 | 08:34:34,218 INFO [AutoDeployDir:76] Auto deploy scanner started for C:\Documents and Settings\Administrator.LYNSERVER\liferay\deploy jvm 1 | 15-Oct-2008 8:34:37 AM org.apache.catalina.core.StandardContext addAp plicationListener jvm 1 | INFO: The listener "com.liferay.portal.kernel.servlet.PortletContextL istener" is already configured for this context. The duplicate definition has be en ignored. jvm 1 | 15-Oct-2008 8:34:37 AM org.apache.catalina.core.StandardContext addAp plicationListener jvm 1 | INFO: The listener "com.liferay.portal.kernel.servlet.ThemeContextLis tener" is already configured for this context. The duplicate definition has been ignored. jvm 1 | 08:34:37,875 INFO [ThemeHotDeployListener:92] Registering themes for liferay-jedi-theme jvm 1 | 08:34:39,546 INFO [ThemeHotDeployListener:104] Themes for liferay-je di-theme registered successfully jvm 1 | 08:34:39,562 INFO [ThemeHotDeployListener:92] Registering themes for liferay-jedi-theme jvm 1 | 08:34:39,609 INFO [ThemeHotDeployListener:104] Themes for liferay-je di-theme registered successfully jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.coyote.http11.Http11Protocol start jvm 1 | INFO: Starting Coyote HTTP/1.1 on http-80 jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.jk.common.ChannelSocket init jvm 1 | INFO: JK: ajp13 listening on /0.0.0.0:8009 jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.jk.server.JkMain start jvm 1 | INFO: Jk running ID=0 time=0/31 config=null jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.catalina.startup.Catalina start jvm 1 | INFO: Server startup in 42409 ms Regards, Uwe Lynen -----Original Message----- From: Leif Mortenson [mailto:le...@ta...] Sent: October 15, 2008 1:44 AM To: uw...@ly...; wra...@li... Subject: Re: [Wrapper-user] Set up Wrapper but can't get it to work Uwe, It looks like you are close to getting things working. The Wrapper is actually launching the JVM and your application correctly. But the application itself is complaining because it is not receiving the correct parameters. This is most likely a simple configuration problem. If you add the following property to your wrapper.conf file, you will be able to see the Java command generated by the Wrapper to launch the JVM. This should make it more obvious what the problem is. wrapper.java.command.loglevel=INFO http://wrapper.tanukisoftware.org/doc/english/prop-java-command-loglevel.htm l If you reply with your wrapper.conf file, I can also take a look at it for you. When testing this, I would suggest first getting it working in a command prompt and only then attempt to run as a service. This usually makes it much easier to debug because all of the log output is visible on the command window. Cheers, Leif On Wed, Oct 15, 2008 at 5:20 AM, Uwe Lynen <uw...@ly...> wrote: > Here is the output when I try to run it as a console. Using Tomcat 6 > > I'm also confused about the server thing. I'm trying to run this on a > Windows 2003 server. Do I need to purchase the Standard Edition as a > minimum? > > > > Microsoft Windows [Version 5.2.3790] > > (C) Copyright 1985-2003 Microsoft Corp. > > > > > > C:\Tomcat6\bin>tomcat > > wrapper | --> Wrapper Started as Console > > wrapper | Java Service Wrapper Community Edition 3.3.1 > > wrapper | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights > Reserved. > > > > wrapper | http://wrapper.tanukisoftware.org > > wrapper | > > wrapper | Launching a JVM... > > jvm 1 | WrapperManager: Initializing... > > jvm 1 | usage: java org.apache.catalina.startup.Catalina [ -config > {pathname} ] [ -nonaming ] { start | stop } > > jvm 1 | 14-Oct-2008 2:23:38 PM org.apache.catalina.startup.Catalina > stopServer > > jvm 1 | SEVERE: Catalina.stop: > > jvm 1 | java.net.ConnectException: Connection refused: connect > > > > > > > > Regards, > > Uwe Lynen____________________ > > Tel: 416 690-1973 > > Fx: 416 690-2434 > > Cell: 647 272-6740 > > Personal e-mail: uw...@ly... > > Office: uw...@p-... > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |