Planned maintenance is scheduled for the week of June 15th - the exact date and time will be announced soon.
See More Details
Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay 5.0 and Tomcat Bundle question
I am new to portals and Tomcat, so this may be an obvious question, but why do I get a different version of Liferay when I use the startup.bat script than when I run Tomcat as a service? Is there an explaination somewhere that describes how to configure the service to run the version of Liferay that is used with startup.bat. The service version seems to hang regularily.
Thank you for your help.
Derek
Thank you for your help.
Derek
Out of the box, Liferay is configured to use HSQL as the database. On the first startup, liferay loads the sample data into the database and HSQL puts it in a files named lportal.* in the current directory when tomcat is started from.
The windows service that start tomcat might launch tomcat will probably use C:\Windows\System32 folder as the current working directory and thus the lportal files might get created here. There is a good chance the Windows user running tomcat might not have write permissions on this folder.
When using HSQL I always try to launch tomcat from the same directory all the time. This will ensure that my changes are preserved and available when I startup tomcat (liferay) the next time.
_raju
The windows service that start tomcat might launch tomcat will probably use C:\Windows\System32 folder as the current working directory and thus the lportal files might get created here. There is a good chance the Windows user running tomcat might not have write permissions on this folder.
When using HSQL I always try to launch tomcat from the same directory all the time. This will ensure that my changes are preserved and available when I startup tomcat (liferay) the next time.
_raju
Raju,
Thank you for the suggestions. I tried running Tomcat as an admin on the local machine, but no luck. There are several files in \bin, but I am not sure that any of these are the one you are referring to. I have tried following the info on the wiki, but have struck out. I finally gave up and installed mysql. So far it seems to be working, but unfortunately I have to redo all of the work I have done in the old database.
Derek
Thank you for the suggestions. I tried running Tomcat as an admin on the local machine, but no luck. There are several files in \bin, but I am not sure that any of these are the one you are referring to. I have tried following the info on the wiki, but have struck out. I finally gave up and installed mysql. So far it seems to be working, but unfortunately I have to redo all of the work I have done in the old database.
Derek
Community
Company
Feedback