1 Reply Latest reply on Jan 31, 2002 12:03 PM by juha

    jetty didnt find jmxri.jar

    sjus00

      I am working with JBoss 3.0.0 with jetty as servlet container (default config).
      I wanted to start my Application (a JSP), which uses some classes from the jmxri.jar. This jar-file is successfully loaded by the server (but maybe not by jetty?), but anyhow I've got the exception:

      HTTP ERROR: 503 Service Unavailable
      org.apache.jasper.JasperException: JASPER: Unable to compile class for JSPC:\TEMP\JettyContext6721.tmp\_0002fjspNotifyAppl_0002ejspjspNotifyAppl_jsp_0.java:15: Package javax.management not found in import. import javax.management.*; ^ 1 error
      RequestURI=/Appl/Appl.jsp

      OK, I found a not very nice solution: I put the jmxri.jar into the WEB-INF/lib folder from the war-file of my Application.

      So I hope anybody knows a more elegant solution, maybe there is a way to tell jetty the classpath to this jar, or something like that????
      many thany in advance!
      Sjus