1 Reply Latest reply on May 7, 2003 6:33 PM by Eugene Belyaev

    IntelliJ 3.0.2 and Jboss-3.2.0 - kernel : AND YOU ?

    Joel Cordonnier Newbie

      Hi

      I want to configure my IDE to debug EJBs. I set up a new IntelliJ project with JUST the $JBOSS_HOME/bin/run.jar as a normal the normal launch script (run.sh). The extra libraries needed when starting seems to be normaly loaded by an new URLClassLoader (NoAnnotationClassLoader in fact).

      But with just the run.jar in my project file, i got when starting

      WHY ?
      (ps: i do NOT start JBOSS for remote debugging, i want to start the jboss kernel in my IDE)

      C:\java\jdk1.3.1_01\bin\javaw.exe -Djboss.home.dir=C:/j2ee/jboss-3.2.0 -Djboss.lib.url=file:///C:/j2ee/jboss-3.2.0/lib -classpath C:\java\jdk1.3.1_01\jre\lib\i18n.jar;C:\java\jdk1.3.1_01\jre\lib\jaws.jar;C:\java\jdk1.3.1_01\jre\lib\rt.jar;C:\java\jdk1.3.1_01\jre\lib\sunrsasign.jar;C:\work\IdeaProjects\jboss\class;C:\j2ee\jboss-3.2.0\bin\run.jar org.jboss.Main -c myserver
      java.lang.NoClassDefFoundError: org/jboss/deployment/DeploymentException
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
      at java.lang.Class.newInstance0(Native Method)
      at java.lang.Class.newInstance(Class.java:237)
      at org.jboss.system.server.ServerLoader.createServer(ServerLoader.java:244)
      at org.jboss.system.server.ServerLoader.load(ServerLoader.java:224)
      at org.jboss.Main.boot(Main.java:148)
      at org.jboss.Main$1.run(Main.java:394)
      at java.lang.Thread.run(Thread.java:484)
      Process terminated with exit code 0