Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1675

ClassNotFoundException for the class javax.rmi.CORBA.Tie

    XMLWordPrintable

Details

    Description

      Forge 1 plugin that uses SAP's APIs to deploy ear files to the NetWeaver server fails with ClassNotFoundException for the class javax.rmi.CORBA.Tie. It is used by those APIs for performing remote connections.

      The same plugin was rewritten to Forge 2 addon and it got the same exception. Here is the JBoss Modules specific part of the exception trace:

      Caused by: java.lang.ClassNotFoundException: javax.rmi.CORBA.Tie from [Module "com.sap.nw.deploy.forge.nwdeploy:1.0.0-SNAPSHOT_d5a54a79-5d83-4f31-bc98-1d6384c4df1c" from AddonModuleLoader]
      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197)
      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443)
      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431)
      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373)
      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118)
      ... 83 more

      The SAP code that blows up contains at the row where the exception is 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.

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            ivan_stefanov Ivan St. Ivanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: