Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

JBoss Upgrade Issue (5 to 7.1.1)

User_T75BKJul 11 2023

Hi,

I'm working on a task to upgrade current Java application server (JBoss) from 5 to 7.1.1. for a legacy Java application and getting a java.lang.NoClassDefFoundError: oracle/dmt/op/re/reexception/ArrayTooLargeException exception which the problem class is from OracleAS Personalization Java API Reference 10g. I'm not sure what had been changed since the last upgrade and sadly not much information being available online.

Thanks for your kind attention and any information would be much appreciated.

App's java version: 1.7.0.80

JBoss: 7.1.1. (upgrade from 5 getting this issue)

Problem class information: Class Hierarchy (OracleAS Personalization Java API Reference)

Exception extract:

Caused by: java.lang.RuntimeException: Error getting reflective information for class oracle.jsp.webutil.personalization.tagext.XSellRecsTag with ClassLoader ModuleClassLoader for Module "deployment.XXXAppJboss.war:main" from Service Module Loader

at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)

at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:85)

at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:70)

at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:55)

at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

... 5 more

Caused by: java.lang.NoClassDefFoundError: oracle/dmt/op/re/reexception/ArrayTooLargeException

at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_80]

at java.lang.Class.privateGetDeclaredFields(Class.java:2509) [rt.jar:1.7.0_80]

at java.lang.Class.getDeclaredFields(Class.java:1819) [rt.jar:1.7.0_80]

at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

... 10 more

Caused by: java.lang.ClassNotFoundException: oracle.dmt.op.re.reexception.ArrayTooLargeException from [Module "deployment.XXXAppJboss.war:main" from Service Module Loader]

at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.1.GA]

at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]

at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA]

at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.1.GA]

at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.1.GA]

... 15 more

Comments
Post Details
Added on Jul 11 2023
0 comments
416 views