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

Russell E Glaue commented on GERONIMO-5164:
-------------------------------------------

GERONIMO-5988 duplicates this issue.

A new instance requires var, etc, and repository else it won't start up.
The documented method is a straight copy of these directories to the instance 
directory.

A problem with this method is if the directories being copied have already been 
modified from a separate run-time execution. deploy:new-instance would only 
copy the directories instead of generating new "default" directories. So after 
a person make this call, then they have to go and make modifications to these 
directories on the local disk to set up the instance.

If we are going to have a gogo/karaf command to do this for us, what we really 
need is to have the var, etc, and repository directories generated new each 
time deploy:new-instance is called. And still then, we need a way to configure 
the new instance from gogo/karaf commands as well.

Otherwise, we might as well abandon this procedure and use a different 
procedure that allows us to deploy an archive that contains an 
admin-user-modified var/etc/repository bundle.

Or I guess, deploy:new-instance could allow (optionally) a new-instance-archive 
to be passed in as an argument.

> Incomplete feature for deploy:new-instance command in geronimo3.0
> -----------------------------------------------------------------
>
>                 Key: GERONIMO-5164
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5164
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: commands
>    Affects Versions: 3.0
>         Environment: Windows XP
>            Reporter: Vanessa Wang 
>            Assignee: Shawn Jiang
>            Priority: Minor
>             Fix For: 3.0
>
>         Attachments: new-instance 30.patch, start new-instance-server 
> command_30.patch
>
>
> "deploy/new-instance" Command in geronimo previous version just copy var 
> folder.
> In G30 with karaf, bin, etc, data, repository also need copied or created in 
> new instance folder.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to