<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Only if you want to We have the
    test.org.jboss.forge.furnace.classpath.XPathLookupTest that is quite
    similar ;)<br>
    <br>
    <div class="moz-cite-prefix">On 17-03-2014 13:25, Ivan St. Ivanov
      wrote:<br>
    </div>
    <blockquote
cite="mid:CACYLA9GyB4PbRMQUtYx+hq84HRLT_FO7zrceghrFQaoWY9rL3w@mail.gmail.com"
      type="cite">
      <div dir="ltr">Thanks! I hope I don't have to write a test case
        for it? ;)</div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Mon, Mar 17, 2014 at 6:22 PM, George
          Gastaldi <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:ggastald@redhat.com" target="_blank">ggastald@redhat.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> This is easy to fix.
              Please open a JIRA and we'll make that work for you :)<br>
              <br>
              Thanks! <br>
              <div>
                <div class="h5"> <br>
                  <div>On 17-03-2014 13:15, Ivan St. Ivanov wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">Hi folks,
                      <div><br>
                      </div>
                      <div>This is more a JBoss Modules question, but I
                        decided to start here first ;)</div>
                      <div><br>
                      </div>
                      <div>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.</div>
                      <div><br>
                      </div>
                      <div>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:</div>
                      <div><br>
                      </div>
                      <div>
                        <div>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]</div>
                        <div> <span style="white-space:pre-wrap"> </span>at
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197)</div>
                        <div><span style="white-space:pre-wrap"> </span>at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443)</div>
                        <div><span style="white-space:pre-wrap"> </span>at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431)</div>
                        <div><span style="white-space:pre-wrap"> </span>at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373)</div>
                        <div><span style="white-space:pre-wrap"> </span>at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118)</div>
                        <div><span style="white-space:pre-wrap"> </span>...
                          83 more</div>
                      </div>
                      <div> <br>
                      </div>
                      <div><br>
                      </div>
                      <div>I de-compiled the SAP code that blows up and
                        at the row where the exception is thrown, I see
                        the following:</div>
                      <div><br>
                      </div>
                      <div>this.out = new MarshalOutputStream(new
                        ByteArrayOutput(this.offset));<br>
                      </div>
                      <div><br>
                      </div>
                      <div>The MarshalOutputStream class is from SAP
                        APIs as well and it has in its imports
                        javax.rmi.CORBA.Tie.</div>
                      <div><br>
                      </div>
                      <div>
                        <div>Can you think of a reason why JBoss Modules
                          would have a problem loading a class that is
                          part of the standard JDK?</div>
                      </div>
                      <div><br>
                      </div>
                      <div>Thanks,</div>
                      <div>Ivan</div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <pre>_______________________________________________
forge-dev mailing list
<a moz-do-not-send="true" href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a>
<a moz-do-not-send="true" href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a></pre>
              </blockquote>
              <br>
            </div>
            <br>
            _______________________________________________<br>
            forge-dev mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/forge-dev"
              target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
forge-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/forge-dev">https://lists.jboss.org/mailman/listinfo/forge-dev</a></pre>
    </blockquote>
    <br>
  </body>
</html>