2 Replies Latest reply on Jun 14, 2005 10:58 AM by fredatwork

    Deployment problem with Eclipse Profiler on

    fredatwork

      I installed the Eclipse Profiler 0.5.33 on top of my Eclipse 3.1 M6 configuration.

      I run JBoss 4.0.1 as a separate thread (i.e. outside Eclipse) and followed instructions of Murray's weblog successfully (see http://www.murraywilliams.com/blog/archives/000022.html).

      JBoss started well with the desired profiling options added to the run.bat startup command file. Eclipse can now do some remote profiling from within JBoss.

      However I cannot deploy an ear file of mine when I run JBoss with the modified run.bat file. A custom class file located in a ebj.jar file (itself included in the ear file) is not found.

      Note that this ear file deploys with no problem when JBoss is started in with no profiling options
      .

      The only difference in the run.bat file I used to start JBoss with profiling options is the following :
      rem set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME%
      set JAVA_OPTS=%JAVA_OPTS% -XrunProfilerDLL:1 -Xbootclasspath/a:jakarta-regexp.jar;profiler_trace.jar;commons-lang.jar -D__PROFILER_PACKAGE_FILTER=__A__org.jboss.Main;__M__sun.;__M__com.sun.;__M__java.;__M__javax.;__P__com.rubis. -D__PROFILER_TIMING_METHOD=1 -Dprogram.name=%PROGNAME%

      Any idea why I cannot deploy my ear file anymore ?

      Fred

      He is the exception Iget when I run Jboss wth profiling options :

      java.lang.NoClassDefFoundError: com/rubis/app/basics/bean/List
       at java.lang.Class.getDeclaredConstructors0(Native Method)
       at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
       at java.lang.Class.getConstructor0(Class.java:2640)
       at java.lang.Class.getConstructor(Class.java:1629)
       at org.jboss.verifier.strategy.AbstractVerifier.hasDefaultConstructor(AbstractVerifier.java:574)
       at org.jboss.verifier.strategy.EJBVerifier20.verifyCMPEntityBean(EJBVerifier20.java:1873)
       at org.jboss.verifier.strategy.EJBVerifier20.checkBmpOrCmp2Entity(EJBVerifier20.java:167)
       at org.jboss.verifier.strategy.EJBVerifier20.checkEntity(EJBVerifier20.java:137)
       at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:157)
       at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:537)
       at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
       at org.jboss.deployment.MainDeployer.create(MainDeployer.java:910)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
       at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy8.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)