Re: JOnAS 5.3M5 and tomcat6
"Hans J. Prueller" <[email protected]> Wed, 07 Dec 2011 17:44:43 +0100
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Message-ID | <[email protected]> |
I guess you have to configure "mojarra1.2" as JSF impl with tomcat6 and not the default, which is mojarra2.0 (jsf2) that only works with tomcat7 regards, hans On 2011-12-07 17:42, DANG TRAN Frederic wrote: > Hi: > > After setting up a new JONAS_BASE with JOnAS 5.3M5 and selecting tomcat6 as WebContainer, JOnAS fails to start (see trace below). > Any idea what's going wrong ? > > Regards, > Frederic Dang Tran > Orange Labs > > > Welcome to OW2 JOnAS (Running on Felix v4.0.1). > ----------------------------------------------- > > ERROR: Bundle org.ow2.spec.ee.ow2-jsf-2.0-spec [4] Error starting reference:file:jonas-full-5.3.0-M5/lib/bootstrap/bundles-jsf-2.0/ow2-jsf-2.0-spec.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.ow2.spec.ee.ow2-jsf-2.0-spec [4]: Unable to resolve 4.0: missing requirement [4.0] osgi.wiring.package; (&(osgi.wiring.package=javax.el)(version>=2.2.0))) > org.osgi.framework.BundleException: Unresolved constraint in bundle org.ow2.spec.ee.ow2-jsf-2.0-spec [4]: Unable to resolve 4.0: missing requirement [4.0] osgi.wiring.package; (&(osgi.wiring.package=javax.el)(version>=2.2.0)) > at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818) > at org.apache.felix.framework.Felix.startBundle(Felix.java:1868) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191) > at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295) > at java.lang.Thread.run(Thread.java:680) > 2011-12-06 21:32:45,483 : NameServiceManager.startNonStartedNS : Name service for jrmp is started on port ' 1099'. > 2011-12-06 21:32:45,487 : CarolRegistryService.__doStart : Carol Registry Service started > 2011-12-06 21:32:45,773 : JOnASJMXService$2.execute : JMX security is disabled > 2011-12-06 21:32:45,774 : JOnASJMXService.__doStart : JMX Service started using connector(s)[service:jmx:rmi://localhost/jndi/rmi://localhost:1099/jrmpconnector_jonas] > 2011-12-06 21:32:46,036 : J2EEServer.__setStarting : JVM used is 1.6.0_29 version of Java HotSpot(TM) 64-Bit Server VM-20.4-b02-402/Apple Inc. vendor on Mac OS X 10.6.8/x86_64 OS. > 2011-12-06 21:32:46,037 : J2EEServer.__info : JOnAS AS v5.3.0-M5 named 'jonas' STARTING > 2011-12-06 21:32:46,045 : PolicyProvider.init : Using JOnAS PolicyConfigurationFactory provider and JOnAS Policy provider > 2011-12-06 21:32:46,371 : JNDIInterceptorsComponent.__start : JNDI Interceptors component started > 2011-12-06 21:32:46,373 : JonasSecurityServiceImpl.__doStart : Security Service started > 2011-12-06 21:32:46,483 : JOnASWorkCleanerService.__doStart : WorkCleaner Service started. > 2011-12-06 21:32:46,768 : TransactionRecoveryImpl.<init> : JOTM properties file= jonas_base/conf/jotm.properties > 2011-12-06 21:32:46,770 : Current.setDefaultRecovery : Jotm Recovery= false > 2011-12-06 21:32:46,925 : JOTMTransactionService.__doStart : TransactionService started, default timeout= 60 > 2011-12-06 21:32:47,058 : OSGiDeployer.doDeploy : Cannot start the bundle 'OSGiDeployableImpl[archive=jonas-full-5.3.0-M5/repositories/maven2-internal/org/ow2/jonas/jonas-jsf-mojarra-2.0-core/5.3.0-M5/jonas-jsf-mojarra-2.0-core-5.3.0-M5-ipojo.jar]'. > org.osgi.framework.BundleException: Unresolved constraint in bundle org.ow2.jonas.jsf-mojarra-2.0-core [111]: Unable to resolve 111.0: missing requirement [111.0] osgi.wiring.package; (&(osgi.wiring.package=javax.faces.validator)(version>=2.0.0)) [caused by: Unable to resolve 4.0: missing requirement [4.0] osgi.wiring.package; (&(osgi.wiring.package=javax.el)(version>=2.2.0))] > at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818) > at org.apache.felix.framework.Felix.startBundle(Felix.java:1868) > at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944) > at org.ow2.util.ee.deploy.impl.osgi.OSGiDeployer.doDeploy(OSGiDeployer.java:188) > at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer$1.execute(AbsDeployer.java:93) > at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer$1.execute(AbsDeployer.java:91) > at org.ow2.util.execution.helper.RunnableHelper.execute(RunnableHelper.java:77) > at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer.deploy(AbsDeployer.java:91) > at org.ow2.util.ee.deploy.impl.deployer.DeployerManager.deploy(DeployerManager.java:148) >