[jbosstools-issues] [JBoss JIRA] (JBIDE-12229) Error properly when server start fails because of -server parameter

Rob Stryker (JIRA) jira-events at lists.jboss.org
Wed Jul 25 01:32:06 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-12229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Stryker reassigned JBIDE-12229:
-----------------------------------

    Assignee: Martin Malina  (was: Rob Stryker)


Another way to test this is to simply:

1) Create a server, make sure it's jre has a server folder
2) Create another server, make sure it's jre does NOT have a proper server folder. 
3) Open editor for both
4) Open Launch config for both
5) verify server1 has -server flag
6) verify server2 does not have -server flag

Where are these server folders? On windows, the location is always ${jdkhome}/jre/bin/server.  On linux, the location is ${jdkhome}/jre/lib/${arch}/server.  In this case, ${arch} may be anything like i386, i686, amd64, or some other relevant architecture. Each official JDK comes with only one such architecture folder, so you'll never find two folders full of server libs. 
                
> Error properly when server start fails because of -server parameter
> -------------------------------------------------------------------
>
>                 Key: JBIDE-12229
>                 URL: https://issues.jboss.org/browse/JBIDE-12229
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: JBossAS/Servers
>    Affects Versions: 3.3.0.CR1
>         Environment: jbdevstudio-product-eap-universal-5.0.0.v20120615-1714-H213-GA.jar
> Windows XP
>            Reporter: Martin Malina
>            Assignee: Martin Malina
>             Fix For: 3.3.2, 3.4.0.M1
>
>         Attachments: JBIDE-12229.patch
>
>
> When you try to run EAP6/AS7 server with Java JRE (not JDK) as the java runtime, it will fail because the startup command includes "-server" which is not supported by JRE. If you use Java JDK instead, it works fine.
> See JBIDE-12227 for more details about the errors displayed.
> It would be good if the error made it obvious what the problem actually is.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list