Forum Problems Installing LAMS: Re: Re: Re: Re: Re: 404 error


 
Search: 

6: Re: Re: Re: Re: Re: 404 error
In response to 5 02/19/07 11:17 PM
[ Reply | Forward ]
You can uninstall and reinstall lams, making sure the server url you enter at install time does not use port 8080.  This won't work if your other app uses other ports that jboss also needs, but is the neat way to go about it.

The other way is to edit the config for your current installation to change the port, but the link inside c:\lams\index.html won't work anymore unless you update that too.

To edit your current config, open C:\lams\jboss-4.0.2\server\default\conf\jboss-service.xml in Wordpad, and uncomment the following block (it's commented out by default):

<mbean code="org.jboss.services.binding.ServiceBindingManager"
    name="jboss.system:service=ServiceBindingManager">
    <attribute name="ServerName">ports-01</attribute>
    <attribute name="StoreURL">${jboss.home.url}/docs/examples/binding-manager/sample-bindings.xml</attribute>
    <attribute name="StoreFactoryClassName">
      org.jboss.services.binding.XMLServicesStoreFactory
    </attribute>
  </mbean>

In addition to this, follow Fiona's steps above to update the url in the database to be 'http://localhost:8180/lams' instead of the url with 8080.

Then start LAMS.  The URL should now use port 8180 instead of 8080.

Posted by Jun-Dir Liew

7: Re: Re: Re: Re: Re: Re: 404 error
In response to 6 02/22/07 06:41 PM
[ Reply | Forward ]
Okay

I uninstalled LAMS, then reinstalled choosing port 8180 as suggested.

However when I try to run 'http://localhost:8180/lams' I get a HTP 400 error, Bad Request?

How can I check that port 8180 is open and available?

thanks
Owen

Posted by owen kessell

8: Re: Re: Re: Re: Re: Re: Re: 404 error
In response to 7 02/25/07 07:14 PM
[ Reply | Forward ]
There's a freeware program I use that will show you what programs are using which ports - it's called ActivePorts. It doesn't install spyware/malware.

http://www.download.com/3000-2085-10062969.html

Posted by Jun-Dir Liew

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