Forum Problems Installing LAMS: Re: Re: Re: Intel mac - LAMS fails startup.


 
Search: 

6: Re: Re: Re: Intel mac - LAMS fails startup.
In response to 3 06/20/06 08:27 PM
[ Reply | Forward ]
BTW, this is what I have in my /System/Library/Frameworks/JavaVM.framework/Versions 

ernieg:/System/Library/Frameworks/JavaVM.framework/Versions ernieg$ ls -l
total 40
lrwxr-xr-x   1 root  wheel    5 May 31 12:58 1.3 -> 1.3.1
drwxr-xr-x   8 root  wheel  272 Apr 28  2005 1.3.1
lrwxr-xr-x   1 root  wheel    5 Sep 28  2005 1.4 -> 1.4.2
drwxr-xr-x   8 root  wheel  272 Apr 28  2005 1.4.2
lrwxr-xr-x   1 root  wheel    5 May 31 12:58 1.5 -> 1.5.0
drwxr-xr-x   8 root  wheel  272 May 31 12:58 1.5.0
drwxr-xr-x   6 root  wheel  204 May 31 12:59 A
lrwxr-xr-x   1 root  wheel    1 May 31 12:58 Current -> A
lrwxr-xr-x   1 root  wheel    5 May 31 12:58 CurrentJDK -> 1.5.0   
ernieg:/System/Library/Frameworks/JavaVM.framework/Versions ernieg$ 

Posted by Ernie Ghiglione

7: Re: Intel mac - LAMS fails startup.
In response to 6 06/20/06 09:04 PM
[ Reply | Forward ]
Ernie,

cheers on the speedy communication. Great stuff.

my results are not dissimilar

total 40
lrwxr-xr-x 1 root wheel 5 Jun 6 23:54 1.3 -> 1.3.1
drwxr-xr-x 8 root wheel 272 Apr 8 07:40 1.3.1
lrwxr-xr-x 1 root wheel 5 Apr 8 07:40 1.4 -> 1.4.2
drwxr-xr-x 8 root wheel 272 Apr 8 07:40 1.4.2
lrwxr-xr-x 1 root wheel 5 Jun 6 23:54 1.5 -> 1.5.0
drwxr-xr-x 8 root wheel 272 Apr 8 07:40 1.5.0
drwxr-xr-x 5 root wheel 170 Jun 6 23:57 A
lrwxr-xr-x 1 root wheel 1 Jun 6 23:54 Current -> A
lrwxr-xr-x 1 root wheel 5 Jun 6 23:54 CurrentJDK -> 1.5.0

given the symlinks, currentJDK aliases 1.5.0

maybe if currentJDK were to alias 1.4.2 but unsure i want to go there just yet given other dependencies.

cheers,
Matt

Posted by Matt Hitchcock

8: Re: Intel mac - LAMS fails startup.
In response to 7 06/20/06 09:26 PM
[ Reply | Forward ]
Changing symlink (ln -sf 1.4.2 currentJDK) made no difference to startup of LAMS. No worries - no need for speed. Looking forward to getting more involved as time goes on.

thanks for the help. If you have any other ideas happy to hear them, but am perfectly happy to wait a little for v2 beta as you suggest.

:-)
Matt

Posted by Matt Hitchcock

9: Re: Re: Intel mac - LAMS fails startup.
In response to 8 06/20/06 10:04 PM
[ Reply | Forward ]
I think it will take a bit more than just the ln -sf, as the JAVA_HOME paths might be different. Let me have a poke with it to see if I can get this to work. It should be possible to add a few variables to the LAMS 1.0.x start script to declare the JAVA_* variables to be the 1.4.2 ones... let me play with it and see how I go. Give me a few days as we are going mad with getting LAMS 2.0 beta out of the door by the end of next week.

Cheers,

Ernie

Posted by Ernie Ghiglione

10: Re: Re: Re: Intel mac - LAMS fails startup.
In response to 9 06/20/06 10:20 PM
[ Reply | Forward ]
Ernie,

greatly appreciated but please no need. I fully appreciate what it's like getting software out the door. Knowing that v2.0 is imminent I am more than happy to wait.

:-)
Matt

Posted by Matt Hitchcock

11: Re: Re: Re: Re: Intel mac - LAMS fails startup.
In response to 10 06/22/06 12:31 AM
[ Reply | Forward ]
Matt,

On the Mac OSX Java FAQ page, I found out this:

2: Does Mac OS X support multiple J2SE versions on a single OS installation?

Mac OS X Tiger currently supports three major JDK versions (1.3.1, 1.4.2, 1.5.0). The standard command-line commands such as java and javac typically use the latest available version (1.5 in the case of Mac OS X Tiger). Apple developer tools such as Jar Bundler and Xcode both allow you to request a minimum or specific Java version for double-clickable apps to use. Please see the Java 1.4 Info.plist Dictionary Keys documentation for details on how this is done. End users can specify which version of Java should be used for applications and Applets using the Java Preferences Application located at /Applications/Utilities/Java/J2SE 5.0/Java Preferences.app.

That should do the trick. Let us know how it goes.

Thanks,

Ernie

Posted by Ernie Ghiglione

12: Re: Intel mac - LAMS fails startup.
In response to 11 06/22/06 03:38 AM
[ Reply | Forward ]
Starting LAMS Server 1.0.2...
================================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /usr/local/lams-1.0.2/jboss

JAVA: java

JAVA_OPTS: -Dprogram.name=startlams.sh

CLASSPATH: /usr/local/lams-1.0.2/jboss/bin/run.jar:/lib/tools.jar

================================================================================

19:33:31,694 INFO [Server] JBoss Release: JBoss-3.0.8 CVSTag=JBoss_3_0_8
19:33:31,702 INFO [Server] Home Dir: /usr/local/lams-1.0.2/jboss
19:33:31,703 INFO [Server] Home URL: file:/usr/local/lams-1.0.2/jboss/
19:33:31,703 INFO [Server] Library URL: file:/usr/local/lams-1.0.2/jboss/lib/
19:33:31,704 INFO [Server] Patch URL: null
19:33:31,705 INFO [Server] Server Name: default
19:33:31,705 INFO [Server] Server Home Dir: /usr/local/lams-1.0.2/jboss/server/default
19:33:31,705 INFO [Server] Server Home URL: file:/usr/local/lams-1.0.2/jboss/server/default/
19:33:31,705 INFO [Server] Server Data Dir: /usr/local/lams-1.0.2/jboss/server/default/db
19:33:31,706 INFO [Server] Server Temp Dir: /usr/local/lams-1.0.2/jboss/server/default/tmp
19:33:31,712 INFO [Server] Server Config URL: file:/usr/local/lams-1.0.2/jboss/server/default/conf/
19:33:31,712 INFO [Server] Server Library URL: file:/usr/local/lams-1.0.2/jboss/server/default/lib/
19:33:31,712 INFO [Server] Root Deployemnt Filename: jboss-service.xml
19:33:31,714 INFO [Server] Starting General Purpose Architecture (GPA)...
19:33:31,737 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:613)
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:613)


:-(

thanks though.
I set the Java Applet Runtime Settings and the Java Application Runtime Settings to use 1.4.2 but still no luck.

Posted by Matt Hitchcock

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