Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7226

RSE server startup does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.0.Beta2
    • 3.2.0.Beta1
    • server
    • None

      RSE server startup does not work. I have created EAP 5.1 on remote system but the server fails to start.

      Steps to reproduce:

      1) Create remote server
      2) Select the created server in server view
      3) Right-click the server, choose start

      I am getting the following exceptions on eclipse standard output:

      -bash-3.2$ java "-Dprogram.name=JBossTools: jboss-eap-5.1.CR1 Runtime" -Xms256m -Xmx768m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.clie nt.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 "-Djava.endorsed.d irs=/home/remote/dpospisi/eap51/jboss-as/lib/endorsed" -Djava.library.path="/ho me/remote/dpospisi/eap51/jboss-as/bin/native"-classpath /home/remote/dpospisi/ea p51/jboss-as/bin/run.jar org.jboss.Main --configuration=default -b JAWA23.MW.LA B.ENG.BRQ.REDHAT.COM&
      [1] 28429
      -bash-3.2$ Exception in thread "main" java.lang.NoClassDefFoundError: /home/remote/dpospisi/eap51/jboss-as/bin/run/jar
      Caused by: java.lang.ClassNotFoundException: .home.remote.dpospisi.eap51.jboss-as.bin.run.jar
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      Could not find the main class: /home/remote/dpospisi/eap51/jboss-as/bin/run.jar. Program will exit.

      The problem seems to be that there is no whitespace between -Djava.library.path="/ho me/remote/dpospisi/eap51/jboss-as/bin/native" and -classpath parameters. If I try to execute constructed command on remote system manually, i get the same exception. After adding whitespace before -classpath, it works.

              rob.stryker Rob Stryker (Inactive)
              dpospisil Dominik Pospisil (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: