Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Non-standard JBoss server name
Non-standard JBoss server name [message #173135] Wed, 05 July 2006 15:53 Go to next message
Joerg Henne is currently offline Joerg Henne
Messages: 5
Registered: July 2009
Junior Member
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 17:55 Go to previous messageGo to next message
Fred Grott is currently offline Fred Grott
Messages: 96
Registered: July 2009
Member
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 11:11 Go to previous messageGo to next message
Joerg Henne is currently offline Joerg Henne
Messages: 5
Registered: July 2009
Junior Member
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 15:23 Go to previous messageGo to next message
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 Go to previous message
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
Previous Topic:newbie question HTML editor
Next Topic:Web Service creation error
Goto Forum:
  


Current Time: Tue Sep 23 06:25:14 GMT 2014

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

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