[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7226) RSE server startup does not work

Rob Stryker (JIRA) jira-events at lists.jboss.org
Thu Oct 7 06:43:40 EDT 2010


    [ https://jira.jboss.org/browse/JBIDE-7226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555819#action_12555819 ] 

Rob Stryker commented on JBIDE-7226:
------------------------------------

Good catch, I'll patch it. 

> RSE server startup does not work
> --------------------------------
>
>                 Key: JBIDE-7226
>                 URL: https://jira.jboss.org/browse/JBIDE-7226
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 3.2.0.Beta1
>         Environment: jbosstools-3.2.0.Beta1.aggregate-Update-2010-09-29_23-54-19-H182.zip
>            Reporter: Dominik Pospisil
>            Assignee: Rob Stryker
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list