Passing Variables at JBoss Startup

2009-07-14 Thread daniel.green

I would like to configure my build scripts to deploy an ear file to a remote
jboss server. However, as a requirement, I also need the ability to start
the server, from the script, with parameters.

Our current Perl and Bash scripts start the server with the following
arguments:


--configuration="..." -b localhost -Djboss.jndi.conf.root="..."
-Djboss.jndi.conf.specific="..."


Is it possible to replicate this behavior through maven and
jboss-maven-plugin? Or am I stuck with Perl and Bash for now?

-- 
View this message in context: 
http://www.nabble.com/Passing-Variables-at-JBoss-Startup-tp24488807p24488807.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Passing Variables at JBoss Startup

2009-07-14 Thread Tim O'Brien
You should take a look at Cargo: http://cargo.codehaus.org/

Cargo has a Maven 2 plugin which will allow you complete control over
your JBoss server.

Tim

On Tue, Jul 14, 2009 at 5:20 PM, daniel.green wrote:
>
> I would like to configure my build scripts to deploy an ear file to a remote
> jboss server. However, as a requirement, I also need the ability to start
> the server, from the script, with parameters.
>
> Our current Perl and Bash scripts start the server with the following
> arguments:
>
> 
> --configuration="..." -b localhost -Djboss.jndi.conf.root="..."
> -Djboss.jndi.conf.specific="..."
> 
>
> Is it possible to replicate this behavior through maven and
> jboss-maven-plugin? Or am I stuck with Perl and Bash for now?
>
> --
> View this message in context: 
> http://www.nabble.com/Passing-Variables-at-JBoss-Startup-tp24488807p24488807.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Passing Variables at JBoss Startup

2009-07-14 Thread daniel.green


Tim O'Brien wrote:
> 
> You should take a look at Cargo: http://cargo.codehaus.org/
> 
Thank you for the info! Is
http://cargo.codehaus.org/Passing+system+properties what I'm looking for?
That would have the effect of -D, right?


Tim O'Brien wrote:
> 
> You should take a look at Cargo: http://cargo.codehaus.org/
> 
> Cargo has a Maven 2 plugin which will allow you complete control over
> your JBoss server.
> 
> Tim
> 
> On Tue, Jul 14, 2009 at 5:20 PM, daniel.green wrote:
>>
>> I would like to configure my build scripts to deploy an ear file to a
>> remote
>> jboss server. However, as a requirement, I also need the ability to start
>> the server, from the script, with parameters.
>>
>> Our current Perl and Bash scripts start the server with the following
>> arguments:
>>
>> 
>> --configuration="..." -b localhost -Djboss.jndi.conf.root="..."
>> -Djboss.jndi.conf.specific="..."
>> 
>>
>> Is it possible to replicate this behavior through maven and
>> jboss-maven-plugin? Or am I stuck with Perl and Bash for now?
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Passing-Variables-at-JBoss-Startup-tp24488807p24488807.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
> 
> -----------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Passing-Variables-at-JBoss-Startup-tp24488807p24488990.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Passing Variables at JBoss Startup

2009-07-14 Thread Tim O'Brien
On Tue, Jul 14, 2009 at 5:34 PM, daniel.green wrote:
>
>
> Tim O'Brien wrote:
>>
>> You should take a look at Cargo: http://cargo.codehaus.org/
>>
> Thank you for the info! Is
> http://cargo.codehaus.org/Passing+system+properties what I'm looking for?
> That would have the effect of -D, right?
>

I believe so, although I have to admit I've never used JBoss so don't
hold me to it.


>
> Tim O'Brien wrote:
>>
>> You should take a look at Cargo: http://cargo.codehaus.org/
>>
>> Cargo has a Maven 2 plugin which will allow you complete control over
>> your JBoss server.
>>
>> Tim
>>
>> On Tue, Jul 14, 2009 at 5:20 PM, daniel.green wrote:
>>>
>>> I would like to configure my build scripts to deploy an ear file to a
>>> remote
>>> jboss server. However, as a requirement, I also need the ability to start
>>> the server, from the script, with parameters.
>>>
>>> Our current Perl and Bash scripts start the server with the following
>>> arguments:
>>>
>>> 
>>> --configuration="..." -b localhost -Djboss.jndi.conf.root="..."
>>> -Djboss.jndi.conf.specific="..."
>>> 
>>>
>>> Is it possible to replicate this behavior through maven and
>>> jboss-maven-plugin? Or am I stuck with Perl and Bash for now?
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Passing-Variables-at-JBoss-Startup-tp24488807p24488807.html
>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>> For additional commands, e-mail: users-h...@maven.apache.org
>>>
>>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Passing-Variables-at-JBoss-Startup-tp24488807p24488990.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Passing Variables at JBoss Startup

2009-07-14 Thread Anders Hammar
Hi,

You're writing "remote jboss server"; is the jboss instance on a
remote server? If that's the case, cargo cannot start/stop it, that
can only be done on a local instance. (However, your current script
binds to localhost, so maybe your saying 'remote' out of a Maven
instance jvm perspective?)

It's my opinion that cargo is the best choice as it gives you a
unified interface, independent of app server. However, there is also a
JBoss AS specific plugin:
http://mojo.codehaus.org/jboss-maven-plugin/

In the past, I've used a mix of these two plugins to get things
rocking (that was before v1.0 of cargo).

/Anders

On Wed, Jul 15, 2009 at 00:20, daniel.green wrote:
>
> I would like to configure my build scripts to deploy an ear file to a remote
> jboss server. However, as a requirement, I also need the ability to start
> the server, from the script, with parameters.
>
> Our current Perl and Bash scripts start the server with the following
> arguments:
>
> 
> --configuration="..." -b localhost -Djboss.jndi.conf.root="..."
> -Djboss.jndi.conf.specific="..."
> 
>
> Is it possible to replicate this behavior through maven and
> jboss-maven-plugin? Or am I stuck with Perl and Bash for now?
>
> --
> View this message in context: 
> http://www.nabble.com/Passing-Variables-at-JBoss-Startup-tp24488807p24488807.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org