Forum Problems Installing LAMS: Re: Re: Re: Re: Re: lams start up problem


 
Search: 

7: Re: Re: Re: Re: Re: lams start up problem
In response to 6 12/02/07 08:28 PM
[ Reply | Forward ]
Hi Lihua,

Note that there is another log file in C:\lams\jboss\logs\wrapper.log that may contain logging information from the service wrapper (the bit that sits between the start menu and LAMS). Otherwise, your attachments are very thorough :)

One thing you could try is starting up LAMS manually, without using the start menu shortcuts. This way you'll skip the java service wrapper, and that will tell us if there was something wrong with that.

To do this you need to edit C:\lams\jboss\bin\run.bat. Open it in Notepad or Wordpad, and at the bottom, it looks like this:

-----------------
:RESTART
ECHO "%JAVA%" %JAVA_OPTS% "-Djava.endorsed.dirs=%JBOSS_ENDORSED_DIRS%" -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %*
IF ERRORLEVEL 10 GOTO RESTART

:END
if "%NOPAUSE%" == "" pause

:END_NO_PAUSE
------------------

Remove the word 'ECHO' so that it looks like this:

-----------------
:RESTART
"%JAVA%" %JAVA_OPTS% "-Djava.endorsed.dirs=%JBOSS_ENDORSED_DIRS%" -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %*
IF ERRORLEVEL 10 GOTO RESTART

:END
if "%NOPAUSE%" == "" pause

:END_NO_PAUSE
------------------

Save the file, then double click it from Windows Explorer to start up LAMS.

Another thing I noticed was that the logs show that LAMS is using Java 1.5.0_01 - I'm not sure if this could be the problem, but if you reinstall LAMS, you can specify which Java JDK it should use in one of the installer screens. You might need to read carefully to see it, as it automatically detects and fills it in for you.

Posted by Jun-Dir Liew

Reply to first post on this page
Back to Problems Installing LAMS