I think this functionality is available since 7.1.2, maybe 7.1.1 but definitely not in 7.1.0. That's why it's not used in current configs.

It's great Stian brought it up as we could use it for EPP.
 

On Wed, Sep 19, 2012 at 12:55 PM, Thomas Heute <theute@redhat.com> wrote:
On 09/19/2012 12:51 PM, Stian Thorgersen wrote:
Just managed to get GateIn (upstream master) running with 7.1.2.Final from Eclipse. Haven't tried on 7.1.0+7.1.1, let me know if you want me to.

The following needs to be added to standalone.xml (and removed from standalone.conf):

<server xmlns="urn:jboss:domain:1.3">
     ...
     <system-properties>
         <property name="exo.conf.dir" value="${jboss.server.config.dir}/gatein"/>
         <property name="exo.conf.dir.name" value="gatein"/>
         <property name="gatein.conf.dir" value="${jboss.server.config.dir}/gatein"/>
     </system-properties>

And I copied all modules from 'gatein/modules' to 'modules'. Marko: I assume your branch has already done this?

So that you don't have to add the -mp parameter right ?

Great news, we can assume it will work fine with 7.1.0 and 7.1.1 or it will be easy to spot that it doesn't.

Thomas



Stian

----- Original Message -----
From: "Marko Strukelj" <marko.strukelj@gmail.com>
To: "Stian Thorgersen" <stian@redhat.com>
Cc: "Thomas Heute" <theute@redhat.com>, "gatein-dev" <gatein-dev@lists.jboss.org>
Sent: Wednesday, 19 September, 2012 11:08:24 AM
Subject: Re: [gatein-dev] Starting AS7 package with no parameter

We can try that yes. Subsystem is activated before any GateIn init or
JCR init occurs so that should be doable.



On Wed, Sep 19, 2012 at 10:18 AM, Stian Thorgersen < stian@redhat.com
wrote:

Could the GateIn AS7 subsystem check whether or not these system
properties are already set, and if not set them to default values
before starting GateIn?


----- Original Message -----
From: "Thomas Heute" < theute@redhat.com >

To: "Nicolas Filotto" < nicolas.filotto@exoplatform.com >
Cc: "gatein-dev" < gatein-dev@lists.jboss.org >
Sent: Wednesday, 19 September, 2012 8:02:53 AM
Subject: Re: [gatein-dev] Starting AS7 package with no parameter


Could this be added or could the default be good if AS7 is detected
since we know the location in advance ?

On 09/18/2012 12:05 PM, Nicolas Filotto wrote:
About exo.conf.dir and exo.conf.dir.name
< http://exo.conf.dir.name >,
the answer is no. About gatein.conf.dir, I have no idea since it
sounds like gatein specific but I guess that the answer should be
yes

On Tue, Sep 18, 2012 at 9:39 AM, Thomas Heute < theute@redhat.com
<mailto: theute@redhat.com >> wrote:


Nicolas, can we specify exo.conf.dir, exo.conf.dir.name
< http://exo.conf.dir.name >, gatein.conf.dir in a property file
rather than command line ?

Thomas.


-------- Original Message --------
Subject: [gatein-dev] Starting AS7 package with no parameter
Date: Tue, 11 Sep 2012 10:47:51 +0200
From: Thomas Heute < theute@redhat.com
<mailto: theute@redhat.com >>
To: gatein-dev < gatein-dev@lists.jboss.org
<mailto: gatein-dev@lists.jboss.org >>




At the moment starting GateIn with AS7 package requires to add
3
parameters:
-Dexo.conf.dir=$JBOSS_HOME/standalone/configuration/gatein
- Dexo.conf.dir.name < http://Dexo.conf.dir.name >=gatein"
-Dgatein.conf.dir=\\\${jboss.server.config.dir}/gatein

While in most cases they would not change.

This is an issue for tools like Eclipse as well since they
'bypass'
standalone.conf

Do we have a way to make those, good defaults depending on the
app
server ? Or to have those written in a configuration/property
file so
that it doesn't require any command line parameter ?

Also do we have good documentation about those 3 properties ?

Thanks
Thomas.

_______________________________________________
gatein-dev mailing list
gatein-dev@lists.jboss.org <mailto: gatein-dev@lists.jboss.org >
https://lists.jboss.org/mailman/listinfo/gatein-dev



_______________________________________________
gatein-dev mailing list
gatein-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/gatein-dev

_______________________________________________
gatein-dev mailing list
gatein-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/gatein-dev