Forum Problems Installing LAMS: Installation problem


 
You may request notification for Installation problem.
Search: 

1: Installation problem
10/15/05 05:24 AM
[ Reply | Forward ]
I am trying to install the service on SUSE 9.0 everything is installed JBOSS, J2SDK, Ant and MySql. the unix_install.sh script ends with

14:13:39,288 INFO [Engine] StandardHostlocalhost]: MAPPING configuration error for request URI /

Which I think is the reason for this message when I try to access the site:

HTTP Status 500 - No Context configured to process this request

--------------------------------------------------------------------------------

type Status report

message No Context configured to process this request

description The server encountered an internal error (No Context configured to process this request) that prevented it from fulfilling this request.


--------------------------------------------------------------------------------

Apache Tomcat/4.1.24-LE-jdk14

Any help would be gratefully accepted.

I can start and top the LAMS server and the JBOSS server without any error messages.

Posted by Peter Hodge

2: Re: Installation problem
In response to 1 10/17/05 12:29 AM
[ Reply | Forward ]
Hi Peter,

Have you tried accessing LAMS by appending /lams to the end? It appears you are accessing it through (for example) www.yoursite.com. Try www.yoursite.com/lams/ instead. Or www.yoursite.com:8080/lams/ if you haven't changed the port number.

Posted by Jun-Dir Liew

3: Re: Installation problem
In response to 1 10/17/05 01:23 AM
[ Reply | Forward ]
Thanks,

But I had tried /lams with and without the port and received the same error message.

The unix_install script does not complete giving the URI error, I have put Localhost and the FQN in the relevant parts of the LAMS.settings script.

I have tried to do the install by following the manual method for Solaris, making the relevant changes due to directory structure etc., and editing the build.xml script in ant, but still no success.

I was wondering whether or not the tomcat server was responding and how to check that.

The jboss installation works and the JMX console appears with the port 8080 or without. Does JBoss use the tomcat server?

Posted by Peter Hodge

4: Re: Installation problem
In response to 1 10/18/05 02:05 AM
[ Reply | Forward ]
Ah OK. I think JBoss has started, but LAMS has not been properly deployed.

Could you attach your boot.log and server.log? Might help to see the error that stopped LAMS from loading. These files are located in $JBOSS_HOME/server/default/log/.

>I was wondering whether or not the tomcat server was responding and how to check that.
>
>The jboss installation works and the JMX console appears with the port 8080 or without. Does JBoss use the tomcat server?

Yeah, JBoss uses the Tomcat server. You can tell JBoss is running from the error in your original post, which is basically Tomcat saying that it has nothing to display for the URL that was requested. If Tomcat weren't running on that port, it would display 'Page not found' or 'Connection not responding', etc.

Cheers,

Posted by Jun-Dir Liew

5: Re: Installation problem
In response to 1 10/18/05 02:20 AM
[ Reply | Forward ]
Thanks for the help.

Here are the logs

Posted by Peter Hodge

Attachments:
6: Re: Installation problem
In response to 1 10/19/05 09:24 PM
[ Reply | Forward ]
Couldn't see anything specific in the logs, except for this

2005-10-17 09:07:17,017 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/usr/local/jboss/server/default/deploy/tomcat41-service.xml
2005-10-17 09:07:17,043 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/usr/local/jboss/server/default/deploy/tomcat41-service.xml
org.jboss.deployment.DeploymentException: instantiating org.jboss.web.catalina.EmbeddedCatalinaService41 failed: java.lang.NoClassDefFoundError: javax/servlet/ServletContext; - nested throwable: (RuntimeErrorException: instantiating org.jboss.web.catalina.EmbeddedCatalinaService41 failed: java.lang.NoClassDefFoundError: javax/servlet/ServletContext
Cause: java.lang.NoClassDefFoundError: javax/servlet/ServletContext)

I think you have an improper jboss installation. I would reinstall it manually using the lams server package (lams-server1.0.1.zip) and using the steps at http://www.lamsinternational.com/documentation/manual_p.php?os=redhat#LAMS as a guide. There's no reason it shouldn't work on SuSe 9 as we have two boxes that run on it.

Sorry I can't give more specific advice, but if you're willing to wait a week or so, there should be installers for 1.0.2 available on the LAMS websites (along with updated manuals).

Posted by Jun-Dir Liew

9: Re: Re: Installation problem
In response to 6 11/29/05 05:49 PM
[ Reply | Forward ]
If you edit the tomcat-4.1 deployer xml and put an absolute path name inplace of the relative path name for catalina home it works. It looks like either the relative path is just wrong or jbos on linux doesnt like the relative path.

It removed this error for me, after 3 hours or restarting jboss, Im not a Jboss expert, but every time I deploy a jboss app something like this goes wrong.... sorry.

HTH

Posted by Ian Boston

7: Re: Installation problem
In response to 1 10/20/05 09:16 PM
[ Reply | Forward ]
Another thing is, if you're starting LAMS from the command line, make sure you are in the jboss/bin directory before running run.sh. If you do, say, 'cd /path/to/jboss' then 'bin/run.sh &', it won't work.

Posted by Jun-Dir Liew

8: Re: Installation problem
In response to 1 10/23/05 03:34 AM
[ Reply | Forward ]
Hi Jun-Dir Liew,

Thanks for all your help.

Finally got it working, it seemed to be a combination problem between JBoss and MySQL. They were causing seperate problems and when you pointed me in the right direction it all finally fell into place.

Regards,

Peter

Posted by Peter Hodge

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