Forum Problems Installing LAMS: jboss and lams


 
You may request notification for jboss and lams.
Search: 

1: jboss and lams
11/06/07 11:00 AM
[ Reply | Forward ]
Hi,

I'm trying to install lams 2.0.4 on my server:

Fedora Core 5
Kernel 2.6.20
mysql-5.0.27


there's a old j2sdk-1.4.2 but I can't uninstall it with yum remove j2sdk or rpm -e j2sdk (!).

I've installed:
jdk1.6.0_02 in /usr/java/jdk1.6.0_02
jboss-4.0.2 in /usr/local/jboss-4.0.2
wildfire-2.6.2-1 from rpm

and created db lams2

I can run jboss with bin/run.sh and see it in the logs files .
As soon I install lams2 with installer (edited lams.properties, it seems all ok) jboss don't start anymore. (there's no lams.log and the server.log and boot.log don't show changes)

JAVA_HOME=/usr/java/jdk1.6.0_02
PATH=/usr/java/jdk1.6.0_02/bin:/usr/kerbe...

Every help is welcome.
TIA
Roberto

Posted by Roberto De Colle

2: Re: jboss and lams
In response to 1 11/06/07 10:52 PM
[ Reply | Forward ]
The installer should prompt you for your java home during the install - you just need to make sure it uses your copy of java 1.6, and not the 1.4 jdk.

There is another log file which may help - the java service wrapper log. It should be in /usr/local/jboss-4.0.2/logs/wrapper.log. Check if you have it, and see what's in there.

Posted by Jun-Dir Liew

5: Re: Re: jboss and lams
In response to 2 11/09/07 05:14 AM
[ Reply | Forward ]
Hi Jun-Dir,

theres's no file in /usr/local/jboss-4.0.2/logs

I did install without wrapper

thanks for your help
Roberto

Posted by Roberto De Colle

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