0 Replies Latest reply on May 19, 2004 9:58 AM by Stefan

    classloading delegation for jsp compiling

    Stefan Newbie

      I'm had implement a jboss as plugin in eclipse solution. (It has nothing to do with the jboss ide, its about a integration solution) http://sf.net/projects/jstaff

      I start my jboss with a own root classloader, it is working very well.
      This classloader implements a getUrls method as well, since the jsp compiler should need that method.
      How ever this method is never invoked by jboss and a underlayerd classloader is used. This classloader has the classpath to all libraries in the configuration so default/lib/* and default/deploy/**/*.jar.
      So normal custom jsp pages working very well, but in case i wish to use the jboss jmx web gui it can not compile the jsp since the jboss-jmx.jar is located in JbossHome/lib/.
      So my question is how to extend the classpath for jsp compiling?
      Is it may be a bug that the classloader delegation is brocken?


      :05:08,185 INFO [jetty] Error compiling file: /tmp/Jetty_0_0_0_0_8080__jmx-console/inspectMBean_jsp.java [javac] Since fork is true, ignoring compiler setting.
      [javac] Compiling 1 source file
      [javac] Since fork is true, ignoring compiler setting.
      [javac] /tmp/Jetty_0_0_0_0_8080__jmx-console/inspectMBean_jsp.java:14: package ... does not exist
      16:05:08,187 INFO [jetty] Info: Compile: javaFileName=/tmp/Jetty_0_0_0_0_8080__jmx-console/inspectMBean_jsp.java

      Thanks for any hints!