|
|
|
Re: Non-standard JBoss server name [message #173359 is a reply to message #173135] |
Thu, 06 July 2006 15:23 |
Eclipse User |
|
|
|
Originally posted by: wknauf_NO_._INSIDE_hg-online.de
Hi Jörg,
edit the file
" eclipse\plugins\org.eclipse.jst.server.generic.jboss_1.5.0.v 200606130315\servers\jboss.serverdef ".
Change this line:
<property id="serverConfig"
label="%jboss323serverConfig"
type="select"
context="server"
default="default,all,minimal" />
and append your own server name to "default,all,minimal".
The non-editable combobox is filled with the values from this list.
Hope this helps (and works)
Wolfgang
Jörg Henne wrote:
> Hi,
>
> how am I supposed to use a non-standard JBoss server name, i.e. one !=
> [default, minimal, all]? The server setup offers only exactly those
> choices and seems to overwrite changes made to the launch configuration
> (-c parameter).
>
> Thanks in advance
> Joerg Henne
|
|
|
Re: Non-standard JBoss server name [message #176153 is a reply to message #173359] |
Wed, 02 August 2006 18:02 |
Eclipse User |
|
|
|
Originally posted by: rairamos.deltafunding.com
Hi Jörg,
Wolfgang's suggestion will work, but I prefer to change the dropdown to
a textfield instead so you don't have to edit the file everytime you
create a new server configuration. You can achieve this by changing the
"type" attribute to "string" instead of "select". It would look
something like this...
<property id="serverConfig"
label="%jboss323serverConfig"
type="string"
context="server"
default="default" />
In addition, if you want WTP to work with non-standard ports (ie. if you
use jboss' ports-01 configuration which opens http on 8180 and jnp on
1199), further down in the same file, modify the "<stop>"
configuration... the only change you would have to make is in the
"<programArguments>" node, it should look like this...
<stop>
<mainClass>org.jboss.Shutdown</mainClass>
<workingDirectory>${serverRootDirectory}/bin</workingDirectory >
<programArguments>-s ${serverAddress}:${jndiPort}</programArguments>
<vmParameters>-Djboss.boot.loader.name=shutdown.bat</vmParameters >
<classpathReference>jboss.shutdown</classpathReference>
</stop>
Good luck.
King
Wolfgang Knauf wrote:
> Hi Jörg,
>
> edit the file
> " eclipse\plugins\org.eclipse.jst.server.generic.jboss_1.5.0.v 200606130315\servers\jboss.serverdef ".
>
>
> Change this line:
> <property id="serverConfig"
> label="%jboss323serverConfig"
> type="select"
> context="server"
> default="default,all,minimal" />
>
> and append your own server name to "default,all,minimal".
>
> The non-editable combobox is filled with the values from this list.
>
> Hope this helps (and works)
>
> Wolfgang
>
> Jörg Henne wrote:
>> Hi,
>>
>> how am I supposed to use a non-standard JBoss server name, i.e. one !=
>> [default, minimal, all]? The server setup offers only exactly those
>> choices and seems to overwrite changes made to the launch
>> configuration (-c parameter).
>>
>> Thanks in advance
>> Joerg Henne
|
|
|
Powered by
FUDForum. Page generated in 0.02747 seconds