This is easy to fix. Please open a JIRA and we'll make that work for you :)


On 17-03-2014 13:15, Ivan St. Ivanov wrote:
Hi folks,

This is more a JBoss Modules question, but I decided to start here first ;)

A colleague of mine is writing a Forge 1 plugin that uses SAP's APIs to deploy ear files to the NetWeaver server. And he gets a weird ClassNotFoundException for the class javax.rmi.CORBA.Tie. It is used by our APIs for performing remote connections.

We rewrote his plugin to Forge 2 addon and we got the same exception again. Here is the JBoss Modules specific part of the exception trace, although I don't think it is quite useful:

Caused by: java.lang.ClassNotFoundException: javax.rmi.CORBA.Tie from [Module "" from AddonModuleLoader]
at org.jboss.modules.ModuleClassLoader.findClass(
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(
at org.jboss.modules.ConcurrentClassLoader.loadClass(
... 83 more

I de-compiled the SAP code that blows up and at the row where the exception is thrown, I see the following:

this.out = new MarshalOutputStream(new ByteArrayOutput(this.offset));

The MarshalOutputStream class is from SAP APIs as well and it has in its imports javax.rmi.CORBA.Tie.

Can you think of a reason why JBoss Modules would have a problem loading a class that is part of the standard JDK?


forge-dev mailing list