[ 
https://issues.apache.org/jira/browse/GERONIMO-3123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493848
 ] 

Anita Kulshreshtha commented on GERONIMO-3123:
----------------------------------------------

Some clarifications- 
1. template/var does not cause any problem, either in TCK or otherwise. We 
should consider keeping that..
2. The problem is geronimo0/var. It appears that TCK is setting some dir to an 
absolute path GHOME.  If not, then we have a problem that something in server 
is still
 accessing var. I have run webservices testsuit successfully which uses 
geronimo-maven-plugin to start the server. I have used console extensively. The 
only problem 
I am aware of is that sometimes (not sure when) a stray derby.log (0 bytes) is 
created in GHOME  in addition to the real derby.log in var\derby. 
3. This change does not affect how users name their instances. As explained in 
another mail users can name their instances in any way they please. They can 
even delete geronimo0/var.
ServerInfo allows lots of flexiblity in naming once we ensure that Geronimo is 
not tied to anything in 'var' directory.

> Create a template/var directory for creating additional instances of geronimo
> -----------------------------------------------------------------------------
>
>                 Key: GERONIMO-3123
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3123
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 2.0-M6
>         Environment: All
>            Reporter: Anita Kulshreshtha
>         Assigned To: Anita Kulshreshtha
>            Priority: Minor
>             Fix For: 2.0-M6
>
>         Attachments: asm.patch
>
>
> Related discussions:
> http://www.nabble.com/Naming-the-servers-tf3655401s134.html
> http://www.nabble.com/Re%3A-Help-needed-with-geronimo.sh-p10200885s134.html
> Create a template/var and <defaultName>/var in GHOME. If the server is 
> started using java -jar bin\server.jar, the default will be used. It is not 
> necessary to use the default server.
> The instances can be named using 
> set 
> GERONIMO_OPTS=-Dorg.apache.geronimo.server.name=thisIsWhereTheServerInstanceDataIsLocatedIfYourLookingForIt/geronimo01,
>  portOffset=0, i.e. it behaves like the default server 
> set 
> GERONIMO_OPTS=-Dorg.apache.geronimo.server.name=thisIsWhereTheServerInstanceDataIsLocatedIfYourLookingForIt/geronimo02,
>  portOffset=10,
> ...........................................................................................
> copy 'var' to 
> GHOME/thisIsWhereTheServerInstanceDataIsLocatedIfYourLookingForIt/geronimo01 
> and use bin\startup.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to