1,  add MyFace api and impl jars as dependencies
2,  using -Dorg.apache.geronimo.jsf.support=false in geronimo.bat to startup
server.

noticed the two module still loaded

Module 20/74 org.apache.geronimo.configs/myfaces/3.0-w20120730/car              
     
started in   .010s
Module 21/74 org.apache.geronimo.configs/myfaces-deployer/3.0-w20120730/car     
     
started in   .139s

and got exception as below

Caused by: org.osgi.framework.BundleException: The bundle "com.xxxx...
[401]" could not be resolved. Reason: Package uses conflict: Import-Package:
org.apache.myfaces.application; version="[1.2.8,1.2.8]", Package uses
conflict: Import-Package: org.apache.myfaces.lifecycle;
version="[1.2.8,1.2.8]", Package uses conflict: Import-Package:
org.apache.myfaces.el.unified.resolver; version="[1.2.8,1.2.8]", Package
uses conflict: Import-Package: org.apache.myfaces.config.impl.digester;
version="[1.2.8,1.2.8]", Package uses conflict: Import-Package:
org.apache.myfaces.config; version="[1.2.8,1.2.8]", Package uses conflict:
Import-Package: org.apache.myfaces.portlet; version="[1.2.8,1.2.8]"
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
        at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:311)



--
View this message in context: 
http://apache-geronimo.328035.n3.nabble.com/Geronimo-3-0-backward-compatibility-for-JEE-5-component-tp3986278p3986295.html
Sent from the Users mailing list archive at Nabble.com.

Reply via email to