Forum Problems Installing LAMS: WIndows Install Problem - permission refused


 
You may request notification for WIndows Install Problem - permission refused.
Search: 

1: WIndows Install Problem - permission refused
11/30/05 11:41 PM
[ Reply | Forward ]
I've just installed LAMS on my machine to trial it. When the service starts I get a "permission refused" error when I try to open http://localhost:8080/lams.

I have an earlier version of mysql (4.01) installed as well as 4.1, plus some other JAVA software. Is this causing an issue?

can I reconfigure the default LAMS settings to work on my machine?

Thanks....Paul

Posted by Paul Bunn

2: Re: WIndows Install Problem - permission refused
In response to 1 11/30/05 11:49 PM
[ Reply | Forward ]
If you have Java 1.5 installed, this might be an issue if LAMS is using it - LAMS 1.0 doesn't work with Java 1.5. If you have multiple Java versions installed, you can specify the one you wish to use by using the Advanced option of the Windows installer.

Posted by Jun-Dir Liew

3: Re: WIndows Install Problem - permission refused
In response to 1 12/01/05 12:05 AM
[ Reply | Forward ]
Thank you for your prompt reply.

I just re-installed LAMs and specified java SDK ver 1.4.2 - alas same message. I am a bit confused about the various flavours of java- at present I have

J2SE Development Kit 5.0 Update 4.
J2SE Runtime Environment 5.0 Update 5,
Java 2 Runtime Environment, SE v1.4.2_10
Java 2 SDK SE v 1.4.2
Java 2 SDK Se v1.4.2_10
Java Web Start.

Can you suggest which ones I can uninstall without affecting the JVM?
Thanks (again) Paul Bunn

Posted by Paul Bunn

4: Re: WIndows Install Problem - permission refused
In response to 1 12/01/05 12:30 AM
[ Reply | Forward ]
It's probably not necessary to have to uninstall any of your JVM's, one of your applications may need a certain version, or be tied to one of them (e.g. LAMS needs SDK 1.4.2).

I've found the installer screenshot showing where you specify the JDK (in relation to my last post) - http://www.lamsinternational.com/documentation/LAMS%201.0.2%20Windows%20Installer%20Manual_attachments/08-setting%20up%20lams.jpg

Rather than stab around in the dark trying to figure out where the problem is coming from, could you post your server.log? It should be at C:\lams\jboss\server\default\log\server.log. Or you could email it.

Posted by Jun-Dir Liew

5: Re: WIndows Install Problem - permission refused
In response to 1 12/01/05 12:36 AM
[ Reply | Forward ]
Here 'Tis

15:56:40,156 DEBUG [Server] server type: class org.jboss.system.server.ServerImpl
15:56:40,156 INFO [Server] JBoss Release: JBoss-3.0.8 CVSTag=JBoss_3_0_8
15:56:40,171 DEBUG [Server] Using config: org.jboss.system.server.ServerConfigImpl@65a77f
15:56:40,171 INFO [Server] Home Dir: D:\lams\jboss
15:56:40,171 INFO [Server] Home URL: file:/D:/lams/jboss/
15:56:40,171 INFO [Server] Library URL: file:/D:/lams/jboss/lib/
15:56:40,171 INFO [Server] Patch URL: null
15:56:40,171 INFO [Server] Server Name: default
15:56:40,171 INFO [Server] Server Home Dir: D:\lams\jboss\server\default
15:56:40,171 INFO [Server] Server Home URL: file:/D:/lams/jboss/server/default/
15:56:40,171 INFO [Server] Server Data Dir: D:\lams\jboss\server\default\db
15:56:40,171 INFO [Server] Server Temp Dir: D:\lams\jboss\server\default\tmp
15:56:40,187 INFO [Server] Server Config URL: file:/D:/lams/jboss/server/default/conf/
15:56:40,187 INFO [Server] Server Library URL: file:/D:/lams/jboss/server/default/lib/
15:56:40,187 INFO [Server] Root Deployemnt Filename: jboss-service.xml
15:56:40,187 INFO [Server] Starting General Purpose Architecture (GPA)...
15:56:40,203 DEBUG [Server] Created MBeanServer: com.sun.jmx.mbeanserver.JmxMBeanServer@17ee8b8
15:56:40,203 DEBUG [Server] Boot url list: [file:/D:/lams/jboss/server/default/conf/]
15:56:40,203 DEBUG [Server] Creating loader for URL: file:/D:/lams/jboss/server/default/conf/
15:56:40,218 ERROR [Server] start failed
javax.management.InstanceNotFoundException: JMImplementation:service=LoaderRepository,name=Default
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:804)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:440)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:261)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
at org.jboss.Main.boot(Main.java:148)
at org.jboss.Main$1.run(Main.java:381)
at java.lang.Thread.run(Thread.java:595)


Thanks Paul...

Posted by Paul Bunn

6: Re: WIndows Install Problem - permission refused
In response to 1 12/01/05 09:30 PM
[ Reply | Forward ]
hmm this error would still seem to point to Java being the culprit... are you sure it's set to your 1.4.2 SDK directory? Also check what your JAVA_HOME environment variable is set to (Control Panel->System->Advanced->Environment Variables).

Posted by Jun-Dir Liew

7: Re: WIndows Install Problem - permission refused
In response to 1 12/02/05 06:30 AM
[ Reply | Forward ]
AHA...

Set the java home variable to point to D:\j2sdk1.4.2_10

Up and running......

Thanks for the support.....

Paul.

Posted by Paul Bunn

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