4 Replies Latest reply on Jul 22, 2004 11:57 AM by wuffi

    JBoss and Rarional quantify problem

    wuffi

      Hi,
      I'm trying to run quantify with jboss and have a problem with that.

      The working environment ist WinNT 4, java sdk 1.4.2, jboss-3.2.1-tomcat-4.1.24

      I added the quantify call to the jboss startline in run.bat and put Rational.jar in the lib directory of the server (.../server/imbus/lib). I adjusted the classpath to pick up Rational.jar and verified also that the file was copied into the jdk installation during the installation of quantify. Nevertheless jboss quits during the deployment phase with a NoClassDefFoundError exception (see below). The missing class is provided by the Rational.jar file. I added this jar file to several other directories to check if it is found there, but the result is always the same. Quantify starts to monitor the calls up to the deployment phase, so in principle it is working.

      Has anybody any ideas what I'm doing wrong?

      thanks in advance
      Wuffi


      15:59:33,943 INFO [Server] Core system initialized
      15:59:34,614 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss-3.2.1_tomcat-4.1.24/server/imbus/conf/jboss-service.xml
      15:59:34,634 DEBUG [MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-3.2.1_tomcat-4.1.24/server/imbus/conf/jboss-service.xml
      15:59:34,704 DEBUG [MainDeployer] using deployer org.jboss.deployment.SARDeployer@27e353
      15:59:37,689 DEBUG [MainDeployer] Watching new file: file:/C:/jboss-3.2.1_tomcat-4.1.24/server/imbus/conf/jboss-service.xml
      15:59:37,759 ERROR [Server] Failed to start
      java.lang.NoClassDefFoundError: Rational/QProfJ
      at org.xml.sax.InputSource.(InputSource.java)
      at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:506)
      at org.jboss.deployment.SARDeployer.init(SARDeployer.java:115)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:694)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
      at org.jboss.Main.boot(Main.java:150)
      at org.jboss.Main$1.run(Main.java:388)
      at java.lang.Thread.run(Thread.java:534)
      15:59:38,019 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      15:59:38,019 INFO [MainDeployer] Undeploying file:/C:/jboss-3.2.1_tomcat-4.1.24/server/imbus/conf/jboss-service.xml
      15:59:38,029 DEBUG [SARDeployer] undeploying document file:/C:/jboss-3.2.1_tomcat-4.1.24/server/imbus/conf/jboss-service.xml
      15:59:38,039 ERROR [MainDeployer] Undeployment cleanup failed: file:/C:/jboss-3.2.1_tomcat-4.1.24/server/imbus/conf/jboss-service.xml
      java.lang.NullPointerException
      at org.jboss.deployment.DeploymentInfo.cleanup(DeploymentInfo.java:328)
      at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:565)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:481)
      at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:368)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:808)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:783)
      at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:771)
      15:59:38,049 INFO [MainDeployer] Undeployed 1 deployed packages
      15:59:38,049 INFO [Server] Shutting down all services
      15:59:38,059 INFO [ServiceController] Stopping 3 services
      1