Forum Problems Installing LAMS: Re: Can LAMS be installed on a shared server?


 
Search: 

12: Re: Can LAMS be installed on a shared server?
In response to 1 07/03/06 07:39 PM
[ Reply | Forward ]
Hi Rod, sorry for the late reply.

The run.sh you posted doesn't seem to be the right one - by default JBoss' run.sh doesn't have the JVM_MEM setting at the top. When you run 'ant install', Ant will copy customised files into your jboss folder, including a run.sh containing these memory settings. So I think you may be running the wrong run.sh (it should be the one in /usr/local/lams/jboss/bin/), or you haven't run 'ant install'.

The startlams.sh is unusual as well - the file distributed in the lams-1.0.2 packages doesn't have an Xms, Xmx setting in the JAVA_OPTS line. Could this be someone else's change?

Initially I thought this might have something to do with memory allocation on your shared server, but I think it might be worthwhile running through the steps from the beginning just in case something was missed.

Posted by Jun-Dir Liew

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