[ 
https://issues.apache.org/jira/browse/MYFACES-4348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17151549#comment-17151549
 ] 

Bill Lucy commented on MYFACES-4348:
------------------------------------

This is not a MyFaces bug.  That _WebSphere-MyFaces208-annotation-provider.jar_ 
is IBM-provided, and it is used to allow MyFaces to hook in to to WebSphere's 
annotation provider implementation.  However it's not compatible with WebSphere 
9 and was never intended to be used on that release.  WebSphere 9 provides 
MyFaces 2.2 out of the box, so your easiest option would be to remove your 
shared lib and use the WebSphere implementation directly.  If that doesn't work 
for you then you will need to get support from IBM.

> MyFaces2.0 is not loading with WAS9.0.5.4
> -----------------------------------------
>
>                 Key: MYFACES-4348
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4348
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-344
>    Affects Versions: 2.0.7, 2.2.12
>            Reporter: Kishore Vadivel
>            Priority: Critical
>
> Hi
> We are performing WAS7.0.0.45 to WAS9.0.5.4 migration. We have JSF2 
> components running on WAS7.
> After WAS9 Migration, JSF2(MyFaces2.0.7 or 2.2.12) applications are not 
> loading as expected.
> We configured with shared library(My Faces 2.0) with below jars:
> commons-digester-1.8.jar
>  commons-beanutils-1.8.3.jar
>  commons-codec-1.3.jar
>  commons-logging-1.1.1.jar
>  myfaces-api-2.2.12.jar
>  myfaces-impl-2.2.12.jar
>  commons-collections-3.2.jar
>  WebSphere-MyFaces208-annotation-provider.jar
>  
> Below errors occurs while loading the application:
> Error 500: javax.servlet.ServletException: 
> com/ibm/wsspi/webcontainer/annotation/AnnotationHelper.inject(Ljava/lang/Object;)V
>  (loaded from 
> [file:/opt/IBM/WebSphere/plugins/com.ibm.ws.webcontainer.jar|file://opt/IBM/WebSphere/plugins/com.ibm.ws.webcontainer.jar]
>  by 
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@a41850d1[*com.ibm.ws.webcontainer:8.1.0(id=203)]**)*
>  called from class 
> com.ibm.ws.jsf.config.annotation.WebSphere208AnnotationLifecycleProvider 
> (loaded from 
> [file:/opt/IBM/WebSphere/optionalLibraries/Apache/JSF/WebSphere-MyFaces208-annotation-provider.jar|file://opt/IBM/WebSphere/optionalLibraries/Apache/JSF/WebSphere-MyFaces208-annotation-provider.jar]
>  by com.ibm.ws.classloader.CompoundClassLoader@4df7fecd[library:MyFaces2.0] 
> Local ClassPath: 
> /opt/IBM/WebSphere/optionalLibraries/Apache/JSF/commons-digester-1.8.jar:/opt/IBM/WebSphere/optionalLibraries/Apache/JSF/commons-beanutils-1.8.3.jar:/opt/IBM/WebSphere/optionalLibraries/Apache/JSF/commons-codec-1.3.jar:/opt/IBM/WebSphere/optionalLibraries/Apache/JSF/commons-logging-1.1.1.jar:/opt/IBM/WebSphere/optionalLibraries/Apache/JSF/myfaces-api-2.2.12.jar:/opt/IBM/WebSphere/optionalLibraries/Apache/JSF/myfaces-impl-2.2.12.jar:/opt/IBM/WebSphere/optionalLibraries/Apache/JSF/commons-collections-3.2.jar:/opt/IBM/WebSphere/optionalLibraries/Apache/JSF/hibernate-jpa-2.0-api-1.0.1.Final.jar:/opt/IBM/WebSphere/optionalLibraries/Apache/JSF/WebSphere-MyFaces208-annotation-provider.jar
>  Parent: com.ibm.ws.classloader.ProtectionClassLoader@1b958d2c Delegation 
> Mode: PARENT_LAST).
>  
> Please do the needful in identifying the root cause of the issue:
>  
> Best Regards
> Kishore Vadivel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to