WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Unable to load proxy class for bean Session bean in WAS 9

  • 1.  Unable to load proxy class for bean Session bean in WAS 9

    Posted Wed August 21, 2024 03:48 PM

    Hello,

       We have an application which is running successful in WAS 8.5.  We installed the same application in WAS9.0.5.15 and it failed to initialization.  We see the JVM error message in below:

    [8/21/24 13:51:06:179 EDT] 00000001 ContainerHelp E   WSVR0501E: Error creating component com.ibm.ws.runtime.component.CompositionUnitMgrImpl@ada972bc
    com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.exception.RuntimeError: com.ibm.ws.exception.RuntimeError: java.lang.RuntimeException: com.ibm.ws.cdi.CDIRuntimeException: com.ibm.ws.cdi.CDIDeploymentRuntimeException: org.jboss.weld.exceptions.WeldException: WELD-001524: Unable to load proxy class for bean Session bean [class com.25.ejb.documentmanagement.DocumentManagementInquiryBean with qualifiers [@Any @Default]; local interfaces are [] with class class com.25.ejb.documentmanagement.DocumentManagementInquiryBean using classloader 
    com.ibm.ws.classloader.CompoundClassLoader@7bebf7fb[app:mentmanagementSSL]
       Local ClassPath: /usr/was9/profiles/appsrv/installedApps/01Cell/...documentmanagementSSL.ear/...documentmanagementupdate-ejb.jaruacmgrs01...
       Parent: com.ibm.ws.classloader.ProtectionClassLoader@76295b54
       Delegation Mode: PARENT_FIRST
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCUList(CompositionUnitMgrImpl.java:1303)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:275)
        at com.ibm.ws.runtime.component.ContainerHelper.startComponents(ContainerHelper.java:540)
        at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:627)
        at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:618)
        at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:252)
        at com.ibm.ws.runtime.component.ContainerHelper.startComponents(ContainerHelper.java:540)
        at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:627)
        at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:618)
        at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:555)
        at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:325)
        at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:238)
        at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:711)
        at com.ibm.ws.runtime.WsServer.main(WsServer.java:59)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
        at java.lang.reflect.Method.invoke(Method.java:508)
        at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:234)
        at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:101)
        at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:82)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
        at java.lang.reflect.Method.invoke(Method.java:508)
        at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
        at java.lang.reflect.Method.invoke(Method.java:508)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
        at org.eclipse.core.launcher.Main.run(Main.java:981)
        at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:423)
        at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:180)
    Caused by: com.ibm.ws.exception.RuntimeError: com.ibm.ws.exception.RuntimeError: java.lang.RuntimeException: com.ibm.ws.cdi.CDIRuntimeException: com.ibm.ws.cdi.CDIDeploymentRuntimeException: org.jboss.weld.exceptions.WeldException: WELD-001524: Unable to load proxy class for bean Session bean [class com.25.ejb.documentmanagement.DocumentManagementInquiryBean with qualifiers [@Any @Default]; local interfaces are [] with class class com.25.ejb.documentmanagement.DocumentManagementInquiryBean using classloader 
    com.ibm.ws.classloader.CompoundClassLoader@7bebf7fb[app:...documentmanagementSSL]
       
       Parent: com.ibm.ws.classloader.ProtectionClassLoader@76295b54
       Delegation Mode: PARENT_FIRST
        at com.ibm.wsspi.runtime.component.WsComponentImpl.join(WsComponentImpl.java:436)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCUList(CompositionUnitMgrImpl.java:1295)
        ... 39 more
    Caused by: com.ibm.ws.exception.RuntimeError: java.lang.RuntimeException: com.ibm.ws.cdi.CDIRuntimeException: com.ibm.ws.cdi.CDIDeploymentRuntimeException: org.jboss.weld.exceptions.WeldException: WELD-001524: Unable to load proxy class for bean Session bean [class com.25.ejb.documentmanagement.DocumentManagementInquiryBean with qualifiers [@Any @Default]; local interfaces are [] with class class com.25.ejb.documentmanagement.DocumentManagementInquiryBean using classloader 
    com.ibm.ws.classloader.CompoundClassLoader@7bebf7fb[app:...documentmanagementSSL]
       Local ClassPath: /usr/was9/profiles/appsrv/installedApps/01Cell/...documentmanagementSSL.ear/...
       Parent: com.ibm.ws.classloader.ProtectionClassLoader@76295b54
       Delegation Mode: PARENT_FIRST
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:824)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2325)
        at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5568)
        at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5694)
        at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2330)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:436)
        at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:379)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:127)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:985)
        at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:524)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)
    Caused by: java.lang.RuntimeException: com.ibm.ws.cdi.CDIRuntimeException: com.ibm.ws.cdi.CDIDeploymentRuntimeException: org.jboss.weld.exceptions.WeldException: WELD-001524: Unable to load proxy class for bean Session bean [class com.25.ejb.documentmanagement.DocumentManagementInquiryBean with qualifiers [@Any @Default]; local interfaces are [] with class class com.25.ejb.documentmanagement.DocumentManagementInquiryBean using classloader 
    com.ibm.ws.classloader.CompoundClassLoader@7bebf7fb[app:...documentmanagementSSL]
       Local ClassPath: /usr/was9/profiles/appsrv/installedApps/01Cell/...documentmanagementSSL.ear/...documentmanagementupdate-ejb.jar:/usr/was9/profiles/appsrv/installedApps/01Cell/...documentmanagementSSL.ear/...documentmanagementstorage-ejb.jar:/usr/was9/profiles/appsrv/installedApps/01Cell/...documentmanagementSSL.ear/...documentmanagementinquiry-ejb.jar:/usr/was9/profiles/appsrv/installedApps/01Cell/...documentmanagementSSL.ear/...documentmanagement-mdb.jar:/usr/was9/profiles/appsrv/installedApps/01Cell/...documentmanagementSSL.ear/db2java.zip......
       Parent: com.ibm.ws.classloader.ProtectionClassLoader@76295b54
       Delegation Mode: PARENT_FIRST
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:1253)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:801)
        ... 12 more
    Caused by: com.ibm.ws.cdi.CDIRuntimeException: com.ibm.ws.cdi.CDIDeploymentRuntimeException: org.jboss.weld.exceptions.WeldException: WELD-001524: Unable to load proxy class for bean Session bean [class com.25.ejb.documentmanagement.DocumentManagementInquiryBean with qualifiers [@Any @Default]; local interfaces are [] with class class com.25.ejb.documentmanagement.DocumentManagementInquiryBean using classloader 
    com.ibm.ws.classloader.CompoundClassLoader@7bebf7fb[app:...documentmanagementSSL]
       Local ClassPath: /usr/was9/profiles/appsrv/installedApps/01Cell/...documentmanagementSSL.ear/...documentmanagementupdate-ejb.jar:/usr/was9/profiles/appsrv/installedApps/01Cell/...documentmanagementSSL.ear/...documentmanagementstorage-ejb.jar:/usr/was9/profiles/appsrv/installedApps/01Cell/...documentmanagementSSL.ear/...documentmanagementinquiry-ejb.jar:/usr/was9/profiles/appsrv/installedApps/01Cell/...documentmanagementSSL.ear/...documentmanagement-mdb.jar:/usr/was9/profiles/appsrv/installedApps/01Cell/...documentmanagementSSL.ear/db2java.zip.....
       Parent: com.ibm.ws.classloader.ProtectionClassLoader@76295b54
       Delegation Mode: PARENT_FIRST
        at com.ibm.ws.cdi.classic.CDIRuntimeImpl.start(CDIRuntimeImpl.java:453)
        at com.ibm.ws.cdi.classic.CDIRuntimeImpl.stateChanged(CDIRuntimeImpl.java:577)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl$ComparableDeployedObjectListener.stateChanged(ApplicationMgrImpl.java:2660)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.stateChanged(ApplicationMgrImpl.java:1179)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectEvent(DeployedApplicationImpl.java:1574)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.setState(DeployedApplicationImpl.java:325)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:1153)
        ... 13 more
    Caused by: com.ibm.ws.cdi.CDIDeploymentRuntimeException: org.jboss.weld.exceptions.WeldException: WELD-001524: Unable to load proxy class for bean Session bean [class com.25.ejb.documentmanagement.DocumentManagementInquiryBean with qualifiers [@Any @Default]; local interfaces are [] with class class com.25.ejb.documentmanagement.DocumentManagementInquiryBean using classloader 
    com.ibm.ws.classloader.CompoundClassLoader@7bebf7fb[app:...documentmanagementSSL]
       Local ClassPath: /usr/was9/profiles/appsrv/installedApps/01Cell/...documentmanagementSSL.ear/...documentmanagementupdate-ejb.jar:/usr/was9/profiles/appsrv/installedApps/01Cell/...documentmanagementSSL.ear/...documentmanagementstorage-ejb.jar:/usr/was9/profiles/appsrv/installedApps/01Cell/...documentmanagementSSL.ear/...documentmanagementinquiry-ejb.jar:/usr/was9/profiles/appsrv/installedApps/01Cell/...documentmanagementSSL.ear/...documentmanagement-mdb.jar:/usr/was9/profiles/appsrv/installedApps/01Cell/...documentmanagementSSL.ear/db2java.zip.....
       Parent: com.ibm.ws.classloader.ProtectionClassLoader@76295b54
       Delegation Mode: PARENT_FIRST
        at com.ibm.ws.cdi.classic.CDIRuntimeImpl.applicationStarting(CDIRuntimeImpl.java:358)
        at com.ibm.ws.cdi.classic.CDIRuntimeImpl.start(CDIRuntimeImpl.java:440)
        ... 19 more
    Caused by: org.jboss.weld.exceptions.WeldException: WELD-001524: Unable to load proxy class for bean Session bean [class com.25.ejb.documentmanagement.DocumentManagementInquiryBean with qualifiers [@Any @Default]; local interfaces are [] with class class com.25.ejb.documentmanagement.DocumentManagementInquiryBean using classloader 
    com.ibm.ws.classloader.CompoundClassLoader@7bebf7fb[app:documentmanagementSSL]
       Local ClassPath: /usr/was9/profiles/appsrv/installedApps/01Cell/documentmanagementSSL.ear/.......
       Parent: com.ibm.ws.classloader.ProtectionClassLoader@76295b54
       Delegation Mode: PARENT_FIRST
        at org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:397)
        at org.jboss.weld.injection.producer.ejb.SessionBeanProxyInstantiator.<init>(SessionBeanProxyInstantiator.java:51)
        at org.jboss.weld.bean.SessionBean.initializeAfterBeanDiscovery(SessionBean.java:270)
        at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$AfterBeanDiscoveryInitializerFactory.doWork(ConcurrentBeanDeployer.java:132)
        at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$AfterBeanDiscoveryInitializerFactory.doWork(ConcurrentBeanDeployer.java:123)
        at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:62)
        at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:55)
        at java.util.concurrent.FutureTask.run(FutureTask.java:277)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.lang.Thread.run(Thread.java:825)
    Caused by: java.lang.RuntimeException: java.lang.VerifyError: JVMVRFY007 final method overridden; class=com/.../.../ejb/documentmanagement/753529320$Proxy$_$$_Weld$EnterpriseProxy$, method=doExecute(Lcom/.../yey0/message/baseclasses/AbstractRequest;)Lcom/.../yey0/message/baseclasses/AbstractResponse;, pc=0
        at org.jboss.weld.util.bytecode.ClassFileUtils.toClass(ClassFileUtils.java:101)
        at org.jboss.weld.bean.proxy.ProxyFactory.createProxyClass(ProxyFactory.java:508)
        at org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:389)
        ... 10 more
    Caused by: java.lang.VerifyError: JVMVRFY007 final method overridden; class=com/.../.../ejb/documentmanagement/753529320$Proxy$_$$_Weld$EnterpriseProxy$, method=doExecute(Lcom/.../yey0/message/baseclasses/AbstractRequest;)Lcom/.../yey0/message/baseclasses/AbstractResponse;, pc=0
        at java.lang.ClassLoader.defineClassImpl(Native Method)
        at java.lang.ClassLoader.defineClassInternal(ClassLoader.java:397)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:358)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
        at java.lang.reflect.Method.invoke(Method.java:508)
        at org.jboss.weld.util.bytecode.ClassFileUtils.toClass2(ClassFileUtils.java:108)
        at org.jboss.weld.util.bytecode.ClassFileUtils.toClass(ClassFileUtils.java:97)
        ... 12 more

       We have compared this application configuration in two version WAS (8.5 nd 9.0) and have not found any discrepancy.  Please need help here.

    Thanks,

    Vicky



    ------------------------------
    Vicky Zheng
    ------------------------------


  • 2.  RE: Unable to load proxy class for bean Session bean in WAS 9

    Posted Thu August 22, 2024 04:35 AM

    Hi,  You are receiving a Java  java.lang.VerifyError which means that the Class it is trying to load is different than the one it is expecting.  It finds the Class, but it cannot execute it the method due to some changes in that Class.   The Class is in the documentmanagementSSL.ear.  If this is a custom application, make sure it is the exact same ear file.  It is trying to execute the doExecute method.  What version of tWAS v85, with fixpak?  And which version of Java have you been using in both?

    Brian



    ------------------------------
    Brian S Paskin
    Sr. Technology Engineer
    IBM Cloud Engineering
    ------------------------------



  • 3.  RE: Unable to load proxy class for bean Session bean in WAS 9

    Posted Thu August 22, 2024 09:18 AM

    Thanks Brian for the quickly respond.  Yes, it is customized app and it is same ear file.  The successful WAS version is 8.5.5.23, java version =1.8.0_281, Java Runtime Version = 8.0.6.25. The new version WAS(which failed on the app) is 9.0.5.15 with java version: 1.8.0_371, Java Runtime Version = 8.0.8.5.



    ------------------------------
    Vicky Zheng
    ------------------------------



  • 4.  RE: Unable to load proxy class for bean Session bean in WAS 9

    Posted Thu August 22, 2024 11:07 AM

    Can you confirm you are using the same ear from tWASv855?  You can take it from v855 and install it in v905.  If that still fails, you can try regenerating the stubs and ties if it is not an EJB 3.x Class.  



    ------------------------------
    Brian S Paskin
    Sr. Technology Engineer
    IBM Cloud Engineering
    ------------------------------



  • 5.  RE: Unable to load proxy class for bean Session bean in WAS 9

    Posted Thu August 22, 2024 11:28 AM

    Yes it is same ear file. We tried two differrent ways.  First we export ear file from WAS8 and install it in WAS 9. Second way we install the ear file directly in WAS9. Both way are failed with initialization. However it will be very very hard to re-generate the ear file since the whole app was made by the team which disappeared. 



    ------------------------------
    Vicky Zheng
    ------------------------------



  • 6.  RE: Unable to load proxy class for bean Session bean in WAS 9

    Posted Thu August 22, 2024 11:32 AM

    I am not asking you to regenerate the ear itself, but since it is EJB you may need to regenerate the stubs and ties for them.  Do you know if it is an EJB 2.x app?

    Brian



    ------------------------------
    Brian S Paskin
    Sr. Technology Engineer
    IBM Cloud Engineering
    ------------------------------



  • 7.  RE: Unable to load proxy class for bean Session bean in WAS 9

    Posted Thu August 22, 2024 11:46 AM

    Yes the app does contain a few EJBs. I checked one of them and below is the file ibm-ejb-jar-bnd.xmi  I found in the ear file under path /ejbModule/META-INF

    <?xml version="1.0" encoding="UTF-8"?>
    <ejbbnd:EJBJarBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ejb="ejb.xmi" xmlns:ejbbnd="ejbbnd.xmi" xmi:id="EJBJarBinding_1089752065872">
      <ejbJar href="META-INF/ejb-jar.xml#ejb-jar_ID"/>
      <ejbBindings xmi:id="EnterpriseBeanBinding_1089817164169" jndiName="ejb/documentmanagementstorage">
        <enterpriseBean xmi:type="ejb:Session" href="META-INF/ejb-jar.xml#DocumentManagementStorage"/>
      </ejbBindings>
    </ejbbnd:EJBJarBinding>



    ------------------------------
    Vicky Zheng
    ------------------------------



  • 8.  RE: Unable to load proxy class for bean Session bean in WAS 9

    Posted Thu August 22, 2024 01:31 PM

    You can try to use the EJBDeploy tool in 9.0.5.x to create the stubs and ties, then redeploy the app,  though I am not sure if this is the issue.  Otherwise you will have to open a support case to collect some tracing to find out why it is failing.

    Brian



    ------------------------------
    Brian S Paskin
    Sr. Technology Engineer
    IBM Cloud Engineering
    ------------------------------



  • 9.  RE: Unable to load proxy class for bean Session bean in WAS 9

    Posted Wed September 04, 2024 09:27 AM

    After rebuild the whole project, we deployed the new ear file into the WAS.  The application failed without any error found.

    SystemOut.log shows:

    [9/4/24 8:38:26:734 EDT] 000000c4 CompositionUn E   WSVR0194E: Composition unit WebSphere:cuname=yjs0documentmanagementSSL in BLA WebSphere:blaname=yjs0documentmanagementSSL failed to start.
    [9/4/24 8:38:26:763 EDT] 000000c4 FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /usr/was9/profiles/appsrv/logs/ffdc/...._SSL_fdf321c6_24.09.04_08.38.26.753260120814824016999.txt com.ibm.ws.runtime.component.CompositionUnitMgrImpl 679
    [9/4/24 8:38:26:802 EDT] 000000c4 FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /usr/was9/profiles/appsrv/logs/ffdc/...._SSL_fdf321c6_24.09.04_08.38.26.7657865646916179363799.txt com.ibm.ws.management.AdminServiceImpl.invoke 679

    Checked these two txt files, no clue.

    Checked SystemErr.log, no error found.



    ------------------------------
    Vicky Zheng
    ------------------------------



  • 10.  RE: Unable to load proxy class for bean Session bean in WAS 9

    Posted Wed September 04, 2024 09:32 AM

    Hi, it is showing you it failed due to the error in those files.  Can you attach those files?

    Brian



    ------------------------------
    Brian S Paskin
    Sr. Technology Engineer
    IBM Cloud Engineering
    ------------------------------



  • 11.  RE: Unable to load proxy class for bean Session bean in WAS 9

    Posted Wed September 04, 2024 09:38 AM

    Uploaded 3 txt files.



    ------------------------------
    Vicky Zheng
    ------------------------------



  • 12.  RE: Unable to load proxy class for bean Session bean in WAS 9

    Posted Wed September 04, 2024 09:43 AM

    The FFDC logs referenced, not the Verbose GC logs



    ------------------------------
    Brian S Paskin
    Sr. Technology Engineer
    IBM Cloud Engineering
    ------------------------------



  • 13.  RE: Unable to load proxy class for bean Session bean in WAS 9

    Posted Wed September 04, 2024 09:46 AM
    Edited by Vicky Zheng Wed September 04, 2024 09:47 AM

    ------------------------------
    Vicky Zheng
    ------------------------------



  • 14.  RE: Unable to load proxy class for bean Session bean in WAS 9

    Posted Wed September 04, 2024 10:01 AM

    two files uploaded



    ------------------------------
    Vicky Zheng
    ------------------------------



  • 15.  RE: Unable to load proxy class for bean Session bean in WAS 9

    Posted Wed September 04, 2024 10:45 AM
    Edited by Brian S Paskin Wed September 04, 2024 10:51 AM

    The error is:

    Caused by: com.ibm.ws.exception.RuntimeError: java.lang.RuntimeException: com.ibm.ws.cdi.CDIRuntimeException: com.ibm.ws.cdi.CDIDeploymentRuntimeException: org.jboss.weld.exceptions.WeldException: WELD-001524: Unable to load proxy class for bean Session bean [class com.rbc.yjs0.ejb.documentmanagement.DocumentManagementInquiryBean with qualifiers [@Any @Default]; local interfaces are [] with class class com.rbc.yjs0.ejb.documentmanagement.DocumentManagementInquiryBean using classloader 

    It is trying to inject a SessionBean, but failing.  I am not sure why without some tracing.

    It appears that you have numerous third party libraries that override those of WebSphere.  You can try removing those, but you can also try updating the classloader to be parentLast.

    Looking further in the error it looks like the signatures do not match:

    aused by: java.lang.VerifyError: JVMVRFY007 final method overridden; class=com/rbc/yjs0/ejb/documentmanagement/753529320$Proxy$_$$_Weld$EnterpriseProxy$, method=doExecute(Lcom/rbc/yey0/message/baseclasses/AbstractRequest;)Lcom/rbc/yey0/message/baseclasses/AbstractResponse;, pc=0

    so it is trying to load an invalid version of the class/method.  Make sure you regenerate the stubs and ties, as I mentioned above.

    Brian



    ------------------------------
    Brian S Paskin
    Sr. Technology Engineer
    IBM Cloud Engineering
    ------------------------------