Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
uwe lynen
Resolved-Liferay as Windows Service issue
16 de octubre de 2008 5:25
Respuesta

uwe lynen

Ranking: New Member

Mensajes: 9

Fecha de incorporación: 4 de septiembre de 2008

Mensajes recientes

Tanuki Software's cummunity wrapper works! Takes a bit of work to set it up.

Everything works fine whe I start Liferay/Tomcat from the command line with startup.
I am connected to the Mysql database and that is working fine when I start Liferay with "Startup"
I followed the instructions from the Wiki "Starting Liferay as a Windows Service" except I used tomcat 6w instead of 5w.

With the service started I don't get the Tomcat icon in the taskbar and when I attempt to use http://localhost:8080 in IE there is a long delay. Finally IE comes up with the message that it cannot display the web page and the following is in the address:
http://localhost:8080/c;jsessionid=0126CA2E1AB1600A14FFD910612DBF93

HELP
Uwe
Erik Mellegård
RE: Liferay as Windows Service issue
3 de octubre de 2008 5:50
Respuesta

Erik Mellegård

Ranking: New Member

Mensajes: 5

Fecha de incorporación: 3 de octubre de 2008

Mensajes recientes

I have run into the exact same problem. Did you find a solution?
/Erik
uwe lynen
RE: Liferay as Windows Service issue
3 de octubre de 2008 6:02
Respuesta

uwe lynen

Ranking: New Member

Mensajes: 9

Fecha de incorporación: 4 de septiembre de 2008

Mensajes recientes

NO I HAVE NOT.
I've uninstalled the package and reinstalled the Liferay/Tomcat6 Bundle but I still get the same result. I followed the instructions in the WIKI 'Starting Liferay as a Windows Service'. Following is the Catalina Log and then the StdOut log:


Catalina Log

3-Oct-2008 7:12:18 AM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.12.
3-Oct-2008 7:12:18 AM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 , sendfile , accept filters , random .
3-Oct-2008 7:12:19 AM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
3-Oct-2008 7:12:19 AM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
3-Oct-2008 7:12:19 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1227 ms
3-Oct-2008 7:12:19 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
3-Oct-2008 7:12:19 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
3-Oct-2008 7:12:21 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.liferay.portal.spring.context.PortalContextLoaderListener" is already configured for this context. The duplicate definition has been ignored.
3-Oct-2008 7:12:21 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.liferay.portal.servlet.PortalSessionListener" is already configured for this context. The duplicate definition has been ignored.
3-Oct-2008 7:12:21 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.liferay.portal.kernel.servlet.PortletSessionListenerManager" is already configured for this context. The duplicate definition has been ignored.
3-Oct-2008 7:12:21 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.liferay.portal.kernel.servlet.SerializableSessionAttributeListener" is already configured for this context. The duplicate definition has been ignored.
3-Oct-2008 7:12:21 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.liferay.portal.servlet.SharedSessionAttributeListener" is already configured for this context. The duplicate definition has been ignored.
3-Oct-2008 7:12:21 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.sun.portal.container.service.ServiceManagerContextListenerImpl" is already configured for this context. The duplicate definition has been ignored.
3-Oct-2008 7:12:21 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.sun.portal.portletcontainer.impl.PortletContainerContextListenerImpl" is already configured for this context. The duplicate definition has been ignored.
3-Oct-2008 7:12:56 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.liferay.portal.kernel.servlet.PortletContextListener" is already configured for this context. The duplicate definition has been ignored.
3-Oct-2008 7:12:56 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.liferay.portal.kernel.servlet.ThemeContextListener" is already configured for this context. The duplicate definition has been ignored.
3-Oct-2008 7:12:59 AM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-80
3-Oct-2008 7:12:59 AM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
3-Oct-2008 7:12:59 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 40409 ms

StdOut Log

Loading jar:file:/C:/Tomcat6/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading jar:file:/C:/Tomcat6/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
07:12:28,953 INFO [DynamicDialect:81] Determining dialect for MySQL 5
07:12:28,968 INFO [DynamicDialect:109] Using dialect org.hibernate.dialect.MySQLDialect
07:12:43,390 INFO [PortalImpl:228] Portal lib url /C:/Tomcat6/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/com/liferay/portal/util/PortalImpl.class
07:12:43,390 INFO [PortalImpl:263] Portal lib directory /C:/Tomcat6/webapps/ROOT/WEB-INF/lib/
Starting Liferay Portal 5.1.1 (Calvin / Build 5101 / August 11, 2008)
07:12:54,906 INFO [ServerDetector:76] Detected server tomcat
07:12:55,125 INFO [HotDeployUtil:76] Initializing hot deploy manager 32071428
07:12:55,468 INFO [AutoDeployDir:76] Auto deploy scanner started for C:\Documents and Settings\Default User.WINDOWS\liferay\deploy
07:12:56,296 INFO [ThemeHotDeployListener:92] Registering themes for liferay-jedi-theme
07:12:56,515 INFO [ThemeHotDeployListener:104] Themes for liferay-jedi-theme registered successfully
07:12:56,515 INFO [ThemeHotDeployListener:92] Registering themes for liferay-jedi-theme
07:12:56,531 INFO [ThemeHotDeployListener:104] Themes for liferay-jedi-theme registered successfully
07:13:58,328 INFO [PluginPackageUtil:76] Reloading repositories

Address in IE when I try to access Liferay.
I get the same when I do it on the server using LOCALHOST
http://www.lynsoft.ca/c;jsessionid=39A72871770C540C5C70F03743D716B5
Cannot display Web Page
uwe lynen
RE: Liferay as Windows Service issue
6 de octubre de 2008 16:41
Respuesta

uwe lynen

Ranking: New Member

Mensajes: 9

Fecha de incorporación: 4 de septiembre de 2008

Mensajes recientes

I wonder if the service.bat setup is designed for Windows 2000 and/or Windows XP. I'm trying to do this on a Windows 2003 server. If the underlying technology is the WRAPPER software then trying to run on a server may be in issue because Tanuki software does not support a server in the community version. You have to purchase either Pro or Standard to get a version that runs on a server.
Uwe
uwe lynen
RE: Liferay as Windows Service issue - RESOLVED
15 de octubre de 2008 20:18
Respuesta

uwe lynen

Ranking: New Member

Mensajes: 9

Fecha de incorporación: 4 de septiembre de 2008

Mensajes recientes

I solved the problem by downloading the WRAPPER community edition software and got it to work on my Windows 2003 R2 server. Tomcat is installed as a service and Liferay displays its screens correctly.
It took a bit of fiddling to get the WRAPPER configuration file set up but the documentation from TANUKI SOFTWARE is pretty decent.
Uwe
Erik Mellegård
RE: Liferay as Windows Service issue - RESOLVED
11 de enero de 2010 4:14
Respuesta

Erik Mellegård

Ranking: New Member

Mensajes: 5

Fecha de incorporación: 3 de octubre de 2008

Mensajes recientes

In order to run Liferay as a service, we followed this Guide: http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Starting+Liferay+as+a+Windows+Service
As noted in a comment, max perm space has to be increased by setting -XX:MaxPermSize=128.

/Erik
Florian Rhomberg
RE: Liferay as Windows Service issue - RESOLVED
27 de agosto de 2010 8:35
Respuesta

Florian Rhomberg

Ranking: New Member

Mensajes: 15

Fecha de incorporación: 20 de agosto de 2010

Mensajes recientes

Hello!
Perhaps someone can help me. I have downloaded the current Version of Liferay with included Tomcat. However in the Tomcat bin directory there is now service.bat file anymore. Therefor the guide on the wiki is senseless, because it seems that they do not deliver the complete tomcate server anymore. Can someone help me in this case?

Thanks,
Florian
Hitoshi Ozawa
RE: Liferay as Windows Service issue - RESOLVED
9 de abril de 2011 3:54
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7990

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

You're suppose to download Tomcat separately from Liferay - don't use Liferay's Tomcat bundle.
Suneel K
RE: Liferay as Windows Service issue - RESOLVED
19 de mayo de 2011 17:50
Respuesta

Suneel K

Ranking: New Member

Mensajes: 2

Fecha de incorporación: 4 de abril de 2011

Mensajes recientes

Hi, May I know where can I find "tomcat download from Liferay"? I tried to search in Liferay but I did not find any. Is the process (Starting Liferay as a Windows Service) same for Liferay 6.0.6? If not can you guide me the approach?

Thanks,
Suneel
Brian Scott Schupbach
RE: Liferay as Windows Service issue - RESOLVED
12 de diciembre de 2012 6:56
Respuesta

Brian Scott Schupbach

Ranking: Expert

Mensajes: 331

Fecha de incorporación: 23 de octubre de 2008

Mensajes recientes

Hi Hitoshi,

Why should you not use the bundle? I'm using the bundle now and don't seem to have any issues..

Thanks,

Brian