Re: Re: JOnAS 5.3M5 and tomcat6

"Guillaume Sauthier (OW2)" <[email protected]> Wed, 7 Dec 2011 17:48:34 +0100
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <CAG1yf3P8eU+JX_2czsrA87GHEc9n_S=zGhTNYqZ9nGds9tk9FQ@mail.gmail.com>
--e89a8f22c6f3a095f304b38352c9
Content-Type: text/plain; charset=ISO-8859-1

Try to start JOnAS with the -clean option
That wipes out the OSGi cache that may cause some weird errors sometimes.

--G

2011/12/7 Hans J. Prueller <[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)
>>
>>

--e89a8f22c6f3a095f304b38352c9
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Try to start JOnAS with the -clean option<br>That wipes out the OSGi cache =
that may cause some weird errors sometimes.<br><br>--G<br><br><div class=3D=
"gmail_quote">2011/12/7 Hans J. Prueller <span dir=3D"ltr">&lt;<a href=3D"m=
ailto:[email protected]">[email protected]</a>&gt;</s=
pan><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">I guess you have to configure &quot;mojarra=
1.2&quot; as JSF impl with tomcat6 and not the default,<br>
which is mojarra2.0 (jsf2) that only works with tomcat7<br>
<br>
regards,<br>
hans<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
<br>
On 2011-12-07 17:42, DANG TRAN Frederic wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Hi:<br>
<br>
After setting up a new JONAS_BASE with JOnAS 5.3M5 =A0and selecting tomcat6=
 as WebContainer, =A0JOnAS fails to start (see trace below).<br>
Any idea what&#39;s going wrong ?<br>
<br>
Regards,<br>
Frederic Dang Tran<br>
Orange Labs<br>
<br>
<br>
Welcome to OW2 JOnAS (Running on Felix v4.0.1).<br>
------------------------------<u></u>-----------------<br>
<br>
ERROR: Bundle org.ow2.spec.ee.ow2-jsf-2.0-<u></u>spec [4] Error starting re=
ference:file:jonas-full-5.3.<u></u>0-M5/lib/bootstrap/bundles-<u></u>jsf-2.=
0/ow2-jsf-2.0-spec.jar (org.osgi.framework.<u></u>BundleException: Unresolv=
ed constraint in bundle org.ow2.spec.ee.ow2-jsf-2.0-<u></u>spec [4]: Unable=
 to resolve 4.0: missing requirement [4.0] osgi.wiring.package; (&amp;(osgi=
.wiring.package=3Djavax.<u></u>el)(version&gt;=3D2.2.0)))<br>

org.osgi.framework.<u></u>BundleException: Unresolved constraint in bundle =
org.ow2.spec.ee.ow2-jsf-2.0-<u></u>spec [4]: Unable to resolve 4.0: missing=
 requirement [4.0] osgi.wiring.package; (&amp;(osgi.wiring.package=3Djavax.=
<u></u>el)(version&gt;=3D2.2.0))<br>

 =A0 =A0 =A0 =A0at org.apache.felix.framework.<u></u>Felix.resolveBundleRev=
ision(<u></u>Felix.java:3818)<br>
 =A0 =A0 =A0 =A0at org.apache.felix.framework.<u></u>Felix.startBundle(Feli=
x.java:<u></u>1868)<br>
 =A0 =A0 =A0 =A0at org.apache.felix.framework.<u></u>Felix.setActiveStartLe=
vel(<u></u>Felix.java:1191)<br>
 =A0 =A0 =A0 =A0at org.apache.felix.framework.<u></u>FrameworkStartLevelImp=
l.run(<u></u>FrameworkStartLevelImpl.java:<u></u>295)<br>
 =A0 =A0 =A0 =A0at java.lang.Thread.run(Thread.<u></u>java:680)<br>
2011-12-06 21:32:45,483 : NameServiceManager.<u></u>startNonStartedNS : Nam=
e service for jrmp is started on port &#39; 1099&#39;.<br>
2011-12-06 21:32:45,487 : CarolRegistryService.__doStart : Carol Registry S=
ervice started<br>
2011-12-06 21:32:45,773 : JOnASJMXService$2.execute : JMX security is disab=
led<br>
2011-12-06 21:32:45,774 : JOnASJMXService.__doStart : JMX Service started u=
sing connector(s)[service:jmx:rmi:/<u></u>/localhost/jndi/rmi://<u></u>loca=
lhost:1099/jrmpconnector_<u></u>jonas]<br>
2011-12-06 21:32:46,036 : J2EEServer.__setStarting : JVM used is 1.6.0_29 v=
ersion 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.<br>
2011-12-06 21:32:46,037 : J2EEServer.__info : JOnAS AS v5.3.0-M5 named &#39=
;jonas&#39; STARTING<br>
2011-12-06 21:32:46,045 : PolicyProvider.init : Using JOnAS PolicyConfigura=
tionFactory provider and JOnAS Policy provider<br>
2011-12-06 21:32:46,371 : JNDIInterceptorsComponent.__<u></u>start : JNDI I=
nterceptors component started<br>
2011-12-06 21:32:46,373 : JonasSecurityServiceImpl.__<u></u>doStart : Secur=
ity Service started<br>
2011-12-06 21:32:46,483 : JOnASWorkCleanerService.__<u></u>doStart : WorkCl=
eaner Service started.<br>
2011-12-06 21:32:46,768 : TransactionRecoveryImpl.&lt;init&gt; =A0: JOTM pr=
operties file=3D jonas_base/conf/jotm.<u></u>properties<br>
2011-12-06 21:32:46,770 : Current.setDefaultRecovery : Jotm Recovery=3D fal=
se<br>
2011-12-06 21:32:46,925 : JOTMTransactionService.__<u></u>doStart : Transac=
tionService started, default timeout=3D 60<br>
2011-12-06 21:32:47,058 : OSGiDeployer.doDeploy : Cannot start the bundle &=
#39;OSGiDeployableImpl[archive=3D<u></u>jonas-full-5.3.0-M5/<u></u>reposito=
ries/maven2-internal/<u></u>org/ow2/jonas/jonas-jsf-<u></u>mojarra-2.0-core=
/5.3.0-M5/<u></u>jonas-jsf-mojarra-2.0-core-5.<u></u>3.0-M5-ipojo.jar]&#39;=
.<br>

org.osgi.framework.<u></u>BundleException: Unresolved constraint in bundle =
org.ow2.jonas.jsf-mojarra-2.0-<u></u>core [111]: Unable to resolve 111.0: m=
issing requirement [111.0] osgi.wiring.package; (&amp;(osgi.wiring.package=
=3Djavax.<u></u>faces.validator)(version&gt;=3D2.0.<u></u>0)) [caused by: U=
nable to resolve 4.0: missing requirement [4.0] osgi.wiring.package; (&amp;=
(osgi.wiring.package=3Djavax.<u></u>el)(version&gt;=3D2.2.0))]<br>

 =A0 =A0 =A0 =A0at org.apache.felix.framework.<u></u>Felix.resolveBundleRev=
ision(<u></u>Felix.java:3818)<br>
 =A0 =A0 =A0 =A0at org.apache.felix.framework.<u></u>Felix.startBundle(Feli=
x.java:<u></u>1868)<br>
 =A0 =A0 =A0 =A0at org.apache.felix.framework.<u></u>BundleImpl.start(Bundl=
eImpl.<u></u>java:944)<br>
 =A0 =A0 =A0 =A0at org.ow2.util.ee.deploy.impl.<u></u>osgi.OSGiDeployer.doD=
eploy(<u></u>OSGiDeployer.java:188)<br>
 =A0 =A0 =A0 =A0at org.ow2.util.ee.deploy.impl.<u></u>deployer.AbsDeployer$=
1.<u></u>execute(AbsDeployer.java:93)<br>
 =A0 =A0 =A0 =A0at org.ow2.util.ee.deploy.impl.<u></u>deployer.AbsDeployer$=
1.<u></u>execute(AbsDeployer.java:91)<br>
 =A0 =A0 =A0 =A0at org.ow2.util.execution.helper.<u></u>RunnableHelper.exec=
ute(<u></u>RunnableHelper.java:77)<br>
 =A0 =A0 =A0 =A0at org.ow2.util.ee.deploy.impl.<u></u>deployer.AbsDeployer.=
deploy(<u></u>AbsDeployer.java:91)<br>
 =A0 =A0 =A0 =A0at org.ow2.util.ee.deploy.impl.<u></u>deployer.DeployerMana=
ger.<u></u>deploy(DeployerManager.java:<u></u>148)<br>
<br>
</blockquote>
</div></div></blockquote></div><br>

--e89a8f22c6f3a095f304b38352c9--