Adding New Servers types error: Executable commandline is unspecified [message #508760] |
Wed, 20 January 2010 03:45  |
Eclipse User |
|
|
|
Hello All,
I'm extending the Servers view plug-in following the instructions of the "Eclipse Web Tools Platform" book, Chapter 12.
The server I'm trying to include is a plug-in created by me. As the example of the book, I've defined the server as a Generic Server.
I got the logic to start the server implemented in a Java class, so in the serverdef file start tag, I define a <mainClass> instead of <external>.
If I run the plugin extension as an Eclipse Application I'm able to create the new server type, but clicking on the start buttom I got the following error: "Executable commandline is unspecified"
Any clue about what could be wrong? I'm totally lost rigth now, cause I don't know how to fix this...
This is the error messages sequence:
1.Message: Executable commandline is unspecified
Exception Stack Trace: An exception stack trace is not available.
2.Message: Error starting server Example Server at localhost
Exception Stack Trace: org.eclipse.core.runtime.CoreException: Executable commandline is unspecified
at org.eclipse.jst.server.generic.core.intern
|
|
|
|
|
Re: Adding New Servers types error: Executable commandline is unspecified [message #722392 is a reply to message #508760] |
Mon, 05 September 2011 11:59  |
Eclipse User |
|
|
|
Thanks for that info. The documentation that describes the serverdef file states that the serverType defines the type of launch. I was able to gather that the serverType definition was in the plugin.xml file but, unfortunately, I saw no indication of which fields or values in the serverType definition are used to configure the launch type. Thanks again.
|
|
|
Powered by
FUDForum. Page generated in 0.03090 seconds