Hi Ernie, once again...
Just a follow on from my earlier message. For one thing I think that Mac OS X SnowLeopard is 64 bits, which would explain the JVM message.
I was wondering if the problem is with jboss-4.0.2 so I downloaded jboss-5.1.0.GA, and it behaves a lot better (that is to say without lams installed). It starts and stops perfectly.
However, I when I try to build lams for it I get a compile error because eclipse cannot find javax.servlet classes. I managed to fix this problem and build and deploy lams by copying servlet-api.jar and jsp-api.jar from common/lib to servlet/default/lib. However, now when I try to start jboss-5.1.0 I get the following error:
17:53:18,170 INFO [ProfileServiceImpl] Loading profile: default from:
org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@118a770(root=/home/tread/Escritorio/jboss-5.0.1.GA/server,
key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
17:53:18,174 INFO [ProfileImpl] Using
repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@118a770(root=/home/tread/Escritorio/jboss-5.0.1.GA/server,
key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
17:53:18,175 INFO [ProfileServiceImpl] Loaded profile:
ProfileImpl@c791f4{key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}
17:53:20,961 ERROR [AbstractKernelController] Error installing to
Instantiated: name=jboss.management.local:j2eeType=J2EEDomain,name=Manager
state=Described mode=Manual requiredState=Configured
java.lang.ClassNotFoundException:
org.jboss.management.j2ee.LocalJBossServerDomain from
BaseClassLoader@1ee1775{VFSClassLoaderPolicy@462631{name=vfsfile:/home/tread/Escritorio/jboss-5.0.1.GA/server/default/conf/jboss-service.xml
domain=ClassLoaderDomain@1f7708{name=DefaultDomain parentPolicy=BEFORE
parent=org.jboss.system.NoAnnotationURLClassLoader@1d8957f}
roots=[MemoryContextHandler@24470614[path=
context=vfsmemory://3j011-twhkmw-gajrsf24-1-gajrst29-6
real=vfsmemory://3j011-twhkmw-gajrsf24-1-gajrst29-6],
DelegatingHandler@944281[path=lams-valve.jar
context=file:/home/tread/Escritorio/jboss-5.0.1.GA/server/default/lib/
real=file:/home/tread/Escritorio/jboss-5.0.1.GA/server/default/lib/lams-valve.jar],
DelegatingHandler@32842021[path=jboss-cache.jar
context=file:/home/tread/Escritorio/jboss-5.0.1.GA/server/default/lib/
real=file:/home/tread/Escritorio/jboss-5.0.1.GA/server/default/lib/jboss-cache.jar],
DelegatingHandler@5452358[path=jboss-serialization.jar
context=file:/home/tread/Escritorio/jboss-5.0.1.GA/server/default/lib/
real=file:/home/tread/Escritorio/jboss-5.0.1.GA/server/default/lib/jboss-serialization.jar],
DelegatingHandler@641337[path=servlet-api.jar
context=file:/home/tread/Escritorio/jboss-5.0.1.GA/server/default/lib/
real=file:/home/tread/Escritorio/jboss-5.0.1.GA/server/default/lib/servlet-api.jar],
DelegatingHandler@7988008[path=jsp-api.jar
context=file:/home/tread/Escritorio/jboss-5.0.1.GA/server/default/lib/
real=file:/home/tread/Escritorio/jboss-5.0.1.GA/server/default/lib/jsp-api.jar],
DelegatingHandler@3177540[path=mail.jar
context=file:/home/tread/Escritorio/jboss-5.0.1.GA/server/default/lib/
real=file:/home/tread/Escritorio/jboss-5.0.1.GA/server/default/lib/mail.jar],
DelegatingHandler@19821108[path=jgroups.jar
context=file:/home/tread/Escritorio/jboss-5.0.1.GA/server/default/lib/
real=file:/home/tread/Escritorio/jboss-5.0.1.GA/server/default/lib/jgroups.jar],
DelegatingHandler@4970343[path=lams-session.jar
context=file:/home/tread/Escritorio/jboss-5.0.1.GA/server/default/lib/
real=file:/home/tread/Escritorio/jboss-5.0.1.GA/server/default/lib/lams-session.jar]]
delegates=null exported=[, org.jboss.serial.util,
org.jgroups.jmx.protocols, org.jgroups.demos, org.jboss.cache.xml,
javax.mail.internet, org.jboss.serial.objectmetamodel,
javax.mail.util, org.jboss.serial.exception, org.jgroups.stack,
org.jgroups.demos.applets, javax.servlet, org.jgroups.tests,
org.jgroups.persistence, org.jboss.cache.lock,
javax.servlet.jsp.tagext, org.jboss.cache.loader.bdbje,
org.jboss.serial.classmetamodel, org.jgroups.demos.wb,
org.jgroups.protocols.pbcast, org.jboss.cache.loader.tcp,
javax.servlet.jsp, org.lamsfoundation.lams.web.session,
org.jgroups.util, org.jboss.serial.references, com.sun.mail.iap,
javax.mail.search, javax.servlet.jsp.el, org.jgroups.blocks,
org.jboss.cache.factories, org.jboss.cache.aop.collection,
org.jgroups.tests.stack, javax.mail, javax.mail.event,
org.jboss.cache.aop.util, org.jgroups, org.jboss.cache.aop.eviction,
org.jgroups.protocols, org.jgroups.jmx.protocols.pbcast,
org.jgroups.tests.perf.transports, org.jboss.serial,
com.sun.mail.imap, org.jgroups.protocols.ring, org.jboss.cache.aop,
org.jboss.cache.aop.interceptors, org.jboss.cache.loader,
org.jboss.cache.aop.references, javax.servlet.resources,
org.jgroups.tests.perf, org.jgroups.jmx, com.sun.mail.pop3,
org.jboss.cache.interceptors, org.jboss.cache.statetransfer,
org.jgroups.auth, com.sun.mail.util, org.jboss.serial.io,
org.jgroups.conf, org.jboss.cache.util, org.jboss.cache.loader.jdbm,
javax.servlet.jsp.resources, com.sun.mail.smtp, org.jboss.cache.rpc,
org.jboss.cache.marshall, org.jboss.serial.finalcontainers,
org.jboss.serial.persister, com.sun.mail.handlers, org.jgroups.debug,
org.jboss.cache.eviction,
org.lamsfoundation.lams.integration.security, org.jgroups.mux,
META-INF, com.sun.mail.imap.protocol, org.jboss.cache.loader.rmi,
org.jboss.cache, org.jboss.serial.objectmetamodel.safecloning,
org.jboss.cache.transaction, org.jboss.cache.optimistic,
org.jboss.cache.buddyreplication, org.jboss.cache.aop.annotation,
org.jboss.cache.config, javax.servlet.http] <IMPORT-ALL>NON_EMPTY}}
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:422)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1213)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
at org.jboss.system.ServiceCreator.installPlainMBean(ServiceCreator.java:211)
Is it actually possible to build, deploy and run lams on Mac? I am beginning to wonder...
Thanks,
Tim
Posted by Timothy Read