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


 
Search: 

6: Re: Re: Re: Re: lams start up problem
In response to 5 12/01/07 07:26 PM
[ Reply | Forward ]
Hi Fiona,

what I have done is as follows:

1.bring up a command line window and follow your advice step by step(see "mysql command line" and "mysql command line2" pictures)
and I am sure "the username is lams2, the database name is lams2 and the password is lamsdemo".

2.uninstalled the lams2.0 completely.

3.installed the lams2.0 to make sure mysql "the username is lams2, the database name is lams2 and the password is lamsdemo"

4.start up the lamsv2.It took a long time and failed like before.

5.start up again,but there was a error(see "start up error " picture).

Posted by lihua Guo

Attachments:
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