Re: Constructing deployment plans from Configuration GBeanData

2005-11-19 Thread John Sisson
You could look at how ant does it. I am guessing using exec(). http://ant.apache.org/manual/CoreTasks/chmod.html John Aaron Mulder wrote: On 11/18/05, Dain Sundstrom [EMAIL PROTECTED] wrote: In 1.1+ we could change the config store to set the file permissions on the directories it

Re: Constructing deployment plans from Configuration GBeanData

2005-11-19 Thread Dain Sundstrom
How about we do what apple does... When connecting to a protected wifi node, it won't show you the password unless you ask it to. This prevents shoulder surfing but if you know your location is safe, you can actually see what you typed. Also the key chain manager built into the os

Re: Constructing deployment plans from Configuration GBeanData

2005-11-18 Thread Dain Sundstrom
If we are the ones copying over the plans, why not have the deployment code for the module, simply remove passwords from the file before copying it. Alternatively, we could choose to not copy over the plan for connectors. -dain On Nov 17, 2005, at 11:30 PM, Aaron Mulder wrote: Note

Re: Constructing deployment plans from Configuration GBeanData

2005-11-18 Thread Dain Sundstrom
Wait a sec. We are worried about an administrator that has access to the console from seeing a password embedded an a configuration file? The admin can deploy applications, which could easily just scan for passwords in memory or on disk. Anyone with access to this console is root for

Re: Constructing deployment plans from Configuration GBeanData

2005-11-18 Thread Aaron Mulder
On 11/18/05, Dain Sundstrom [EMAIL PROTECTED] wrote: Wait a sec. We are worried about an administrator that has access to the console from seeing a password embedded an a configuration file? The admin can deploy applications, which could easily just scan for passwords in memory or on disk.

Re: Constructing deployment plans from Configuration GBeanData

2005-11-18 Thread Dain Sundstrom
On Nov 18, 2005, at 11:05 AM, Kevan Miller wrote: On 11/18/05, Aaron Mulder [EMAIL PROTECTED] wrote: On 11/18/05, Dain Sundstrom [EMAIL PROTECTED] wrote: Wait a sec. We are worried about an administrator that has access to the console from seeing a password embedded an a configuration

Re: Constructing deployment plans from Configuration GBeanData

2005-11-18 Thread Aaron Mulder
On 11/18/05, Dain Sundstrom [EMAIL PROTECTED] wrote: In 1.1+ we could change the config store to set the file permissions on the directories it creates. How can you do that from Java? Aaron On Nov 18, 2005, at 11:05 AM, Kevan Miller wrote: On 11/18/05, Aaron Mulder [EMAIL PROTECTED]

Re: Constructing deployment plans from Configuration GBeanData

2005-11-18 Thread Dain Sundstrom
On Nov 18, 2005, at 3:03 PM, Aaron Mulder wrote: On 11/18/05, Dain Sundstrom [EMAIL PROTECTED] wrote: In 1.1+ we could change the config store to set the file permissions on the directories it creates. How can you do that from Java? The same way ant does, you exec some platform program :(

Re: Constructing deployment plans from Configuration GBeanData

2005-11-17 Thread Vamsavardhana Reddy
If deployment plans are inside the archive (ear, war, etc.) they can be obtained from config-store. If the deployment plan is supplied as an external file to the deployer and if the original file is not available, the only way to get any information on the configuration is from the Configuration

Re: Constructing deployment plans from Configuration GBeanData

2005-11-17 Thread David Jencks
On Nov 17, 2005, at 4:45 AM, Vamsavardhana Reddy wrote: If deployment plans are inside the archive (ear, war, etc.) they can be obtained from config-store.  If the deployment plan is supplied as an external file to the deployer and if the original file is not available, the only way to get

Re: Constructing deployment plans from Configuration GBeanData

2005-11-17 Thread Aaron Mulder
I don't think that would be such a bad idea -- storing the original plan in the config-store somewhere. Aaron On 11/17/05, David Jencks [EMAIL PROTECTED] wrote: On Nov 17, 2005, at 4:45 AM, Vamsavardhana Reddy wrote: If deployment plans are inside the archive (ear, war, etc.) they can be

Re: Constructing deployment plans from Configuration GBeanData

2005-11-17 Thread Jeff Genender
I was think about this too and it would be very helpful... What about each plan goes in: ./config-store/XXX/plan where XXX is the deployment id. Jeff Aaron Mulder wrote: I don't think that would be such a bad idea -- storing the original plan in the config-store somewhere. Aaron On

Re: Constructing deployment plans from Configuration GBeanData

2005-11-17 Thread Jacek Laskowski
Jeff Genender wrote: I was think about this too and it would be very helpful... What about each plan goes in: ./config-store/XXX/plan where XXX is the deployment id. +1. I could implement if noone objects and we agree upon it. Jeff Jacek

Re: Constructing deployment plans from Configuration GBeanData

2005-11-17 Thread Jeff Genender
Go Jacek Go! Also what would be cool is on the console, that we have another link next to the app name called plan and we can see the plan in the web browser/console. Jeff Jacek Laskowski wrote: Jeff Genender wrote: I was think about this too and it would be very helpful... What about

Re: Constructing deployment plans from Configuration GBeanData

2005-11-17 Thread Joe Bohn
I can look into adding that to the console once the plans are persisted. -Joe Jeff Genender wrote: Go Jacek Go! Also what would be cool is on the console, that we have another link next to the app name called plan and we can see the plan in the web browser/console. Jeff Jacek Laskowski

Re: Constructing deployment plans from Configuration GBeanData

2005-11-17 Thread Vamsavardhana Reddy
On 11/17/05, David Jencks [EMAIL PROTECTED] wrote: On Nov 17, 2005, at 4:45 AM, Vamsavardhana Reddy wrote: If deployment plans are inside the archive (ear, war, etc.) they can be obtained from config-store. If the deployment plan is supplied as an external file to the deployer and if the original

Re: Constructing deployment plans from Configuration GBeanData

2005-11-17 Thread David Jencks
On Nov 17, 2005, at 9:21 PM, Vamsavardhana Reddy wrote: On 11/17/05, David Jencks [EMAIL PROTECTED] wrote: On Nov 17, 2005, at 4:45 AM, Vamsavardhana Reddy wrote: If deployment plans are inside the archive (ear, war, etc.) they can be obtained from config-store. If the deployment plan is

Re: Constructing deployment plans from Configuration GBeanData

2005-11-16 Thread David Jencks
On Nov 16, 2005, at 4:10 AM, Vamsavardhana Reddy wrote: I am trying to reconstruct deployment plan from the Configuration GBeanData. umm, why? I have a code segment like the following.    ObjectName configName = Configuration.getConfigurationObjectName(configId);    GBeanData