Forum Problems Installing LAMS: Re: jboss and lams


 
Search: 

3: Re: jboss and lams
In response to 1 11/06/07 11:40 PM
[ Reply | Forward ]
Hi Roberto,

Also note that once LAMS is installed, to start it you need to run this command from the bin directory and not the run.sh:

sudo ./run-lams.sh

Luke

Posted by Luke Foxton

4: Re: Re: jboss and lams
In response to 3 11/09/07 05:05 AM
[ Reply | Forward ]
Hi,

yes, I did it.

I installed Jboss and run it with:

./run.sh

I stopped Jboss, installed lams and run it with:

./run-lams.sh

All this as root user.

But Jboss don't start anymore as I see from server.log and boot.log

Thanks
Roberto

Posted by Roberto De Colle

6: Re: Re: Re: jboss and lams
In response to 4 11/09/07 05:21 AM
[ Reply | Forward ]
Hi,

..and if I try to start jboss now it shows only:

[root@moodle bin]# ./run.sh
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /usr/local/jboss-4.0.2

JAVA: /usr/java/jdk1.6.0_02/bin/java

JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh

CLASSPATH: /usr/local/jboss-4.0.2/bin/run.jar:/usr/java/jdk1.6.0_02/lib/tools.jar

=========================================================================

/usr/java/jdk1.6.0_02/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/usr/local/jboss-4.0.2/lib/endorsed -classpath /usr/local/jboss-4.0.2/bin/run.jar:/usr/java/jdk1.6.0_02/lib/tools.jar org.jboss.Main
[root@moodle bin]#

Help please!

Posted by Roberto De Colle

7: Re: Re: Re: Re: jboss and lams
In response to 6 11/13/07 04:38 PM
[ Reply | Forward ]
We are running out of ideas to try. It is odd that JBoss now stops straight away, as it shouldn't be loading anything to do with LAMS at that point - at this stage it should only be loading JBoss at this stage.

Its like the run.sh script is printing out its debugging statements at the top, and then tries to run JBoss and then stops. You have checked the boot.log, and that is the right place to check for any errors that happen at the very beginning of JBoss starting (then it switches to server.log).

Can you try pasting the command at the end of that screen output onto your command line and running that. Do you get any errors? That is:

/usr/java/jdk1.6.0_02/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/usr/local/jboss-4.0.2/lib/endorsed -classpath /usr/local/jboss-4.0.2/bin/run.jar:/usr/java/jdk1.6.0_02/lib/tools.jar org.jboss.Main

Can you also do a quick check of your jboss directory. You should have the following subdirectories and files:

bin
docs
lib
readme_j2ee.html
client
jar-versions.xml
readme.html
server

Then check that there is a directory
"/server/default/deploy/lams.ear" and that it contains about 91 files or directories.

Fiona

Posted by Fiona Malikoff

8: Re: Re: Re: Re: Re: jboss and lams
In response to 7 01/25/08 03:19 AM
[ Reply | Forward ]
Hi,
thank you for your help.

I have now a new lams2 installation on another pc (ubuntu).

It works, but it has a problem.
I will open another ticket that is another problem..

thank you
Roberto

Posted by Roberto De Colle

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