Has anyone tried to run Liferay in Tomcat6 as a Windows Service? (We are on Windows Server 2003 R2 - 64bit. We have the tomcat6.exe, tomcat6w.exe and tcnative.dll for 64 bit installed)
We have run Tomcat as a service for years for many applications. When we tried it with Liferay it failed.
Liferay/Tomcat runs fine from the startup.bat file but will not run from Tomcat6W.exe startup. The logging is little/no help. Basically it falls into a stack overflow when trying to load the Liferay objects in the Spring framework. We set the service to run as the same user as when we run the startup.bat file.
We did finally get this to work by changing the service to run from the Java.exe rather than the jvm.dll, however this took a LOT of work (about 2.5 full days of trial and error.)
Does anyone have a clue about why there is such a problem running as a normal tomcat service?
Thanks
Bob
Please sign in to flag this as inappropriate.