Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Non-standard JBoss server name
Non-standard JBoss server name [message #173135] Wed, 05 July 2006 11:53 Go to next message
Eclipse UserFriend
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 #173216 is a reply to message #173135] Wed, 05 July 2006 13:55 Go to previous messageGo to next message
Eclipse UserFriend
Jorg,

I have not checked yet but that maybe avaible in the new JBOSSIDE 2.0 alpha builds through the new JBOSS AS adapter for WTP1.5..


The nightly builds location for the JBOSSIDE is :

http://download.jboss.org/jbosside/builds/nightly/
Re: Non-standard JBoss server name [message #173314 is a reply to message #173216] Thu, 06 July 2006 07:11 Go to previous messageGo to next message
Eclipse UserFriend
Fred Grott schrieb:
> Jorg,
>
> I have not checked yet but that maybe avaible in the new JBOSSIDE 2.0 alpha builds through the new JBOSS AS adapter for WTP1.5..
>
>
> The nightly builds location for the JBOSSIDE is :
>
> http://download.jboss.org/jbosside/builds/nightly/

Sounds good! Thanks!

Joerg Henne
Re: Non-standard JBoss server name [message #173359 is a reply to message #173135] Thu, 06 July 2006 11:23 Go to previous messageGo to next message
Eclipse UserFriend
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 14:02 Go to previous message
Eclipse UserFriend
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
Previous Topic:newbie question HTML editor
Next Topic:Web Service creation error
Goto Forum:
  


Current Time: Tue Jul 22 18:14:29 EDT 2025

Powered by FUDForum. Page generated in 0.04428 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top