[
https://issues.redhat.com/browse/JBTM-3336?page=com.atlassian.jira.plugin...
]
Miloslav Žežulka updated JBTM-3336:
-----------------------------------
Description:
When we try to run the _ArjuntaJTS/standalone_ quickstart, more specifically, when we [try
to launch the CORBA name server in the _jacorb_
mode|https://github.com/zezulka/quickstart/tree/master/ArjunaJTS/standalo...],
we get the following stacktrace:
{code}
Exception in thread "main" java.lang.NoClassDefFoundError: javax/rmi/CORBA/Stub
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
at
java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
at
java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at org.jacorb.orb.ORB.getReference(Unknown Source)
at org.jacorb.poa.POA.getReference(Unknown Source)
at org.jacorb.poa.POA.create_reference_with_id(Unknown Source)
at org.jacorb.naming.NameServer.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.rmi.CORBA.Stub
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 13 more
{code}
The reason why this happens is that the CORBA module was removed from JDK, starting from
11 (with deprecation in 9). See [JEP
320|https://openjdk.java.net/jeps/320] for more
information.
was:
When we try to run the _ArjuntaJTS/standalone_ quickstart, more specifically, when we [try
to launch the CORBA name server in the _jacorb_
mode|https://github.com/zezulka/quickstart/tree/master/ArjunaJTS/standalo...],
we get the following error:
{code}
Exception in thread "main" java.lang.NoClassDefFoundError: javax/rmi/CORBA/Stub
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
at
java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
at
java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at org.jacorb.orb.ORB.getReference(Unknown Source)
at org.jacorb.poa.POA.getReference(Unknown Source)
at org.jacorb.poa.POA.create_reference_with_id(Unknown Source)
at org.jacorb.naming.NameServer.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.rmi.CORBA.Stub
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 13 more
{code}
The reason why this happens is that the CORBA module was removed from JDK, starting from
11 (with deprecation in 9). See [JEP
320|https://openjdk.java.net/jeps/320] for more
information.
CORBA classes are missing in the ArjunaJTS/standalone quickstart when
executed using JDK>=11.
---------------------------------------------------------------------------------------------
Key: JBTM-3336
URL:
https://issues.redhat.com/browse/JBTM-3336
Project: JBoss Transaction Manager
Issue Type: Enhancement
Reporter: Miloslav Žežulka
Assignee: Miloslav Žežulka
Priority: Minor
When we try to run the _ArjuntaJTS/standalone_ quickstart, more specifically, when we
[try to launch the CORBA name server in the _jacorb_
mode|https://github.com/zezulka/quickstart/tree/master/ArjunaJTS/standalo...],
we get the following stacktrace:
{code}
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/rmi/CORBA/Stub
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
at
java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
at
java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at org.jacorb.orb.ORB.getReference(Unknown Source)
at org.jacorb.poa.POA.getReference(Unknown Source)
at org.jacorb.poa.POA.create_reference_with_id(Unknown Source)
at org.jacorb.naming.NameServer.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.rmi.CORBA.Stub
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 13 more
{code}
The reason why this happens is that the CORBA module was removed from JDK, starting from
11 (with deprecation in 9). See [JEP
320|https://openjdk.java.net/jeps/320] for more
information.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)