[ 
http://issues.apache.org/jira/browse/GERONIMO-1285?page=comments#action_12452358
 ] 
            
Rakesh Midha commented on GERONIMO-1285:
----------------------------------------


The admin console uses Dependency Manager to get the child components, which is 
not available in remote connection while using deploy tool. Only thing 
available is DeploymentManager.

Good news is on server side ConfigurationManager is used to start/stop 
components, and these services returns LifecycleResults which are never used. 
In the patch, made the changes to Start/Stop command and CommandStart to use 
the LifeCycleResults.

Attached patch provide the following functionalities :
Stop module with childs will print:
C:\geronimo\buildtrunk\geronimo-tomcat-j2ee-1.2-SNAPSHOT\bin>deploy.bat --user s
ystem --password manager stop org.apache.geronimo.configs/dojo-tomcat/1.2-SNAPSH
OT/car
Using GERONIMO_BASE:   C:\geronimo\buildtrunk\geronimo-tomcat-j2ee-1.2-SNAPSHOT
Using GERONIMO_HOME:   C:\geronimo\buildtrunk\geronimo-tomcat-j2ee-1.2-SNAPSHOT
Using GERONIMO_TMPDIR: C:\geronimo\buildtrunk\geronimo-tomcat-j2ee-1.2-SNAPSHOT\
var\temp
Using JRE_HOME:        c:\Progra~1\sun\j2se1.4.2\jre

    Stopped org.apache.geronimo.configs/dojo-tomcat/1.2-SNAPSHOT/car

    Stopped
    org.apache.geronimo.configs/webconsole-tomcat/1.2-SNAPSHOT/car
      `-> framework.war
      `-> standard.war


Start module with parents will print:
C:\geronimo\buildtrunk\geronimo-tomcat-j2ee-1.2-SNAPSHOT\bin>deploy.bat --user s
ystem --password manager start org.apache.geronimo.configs/webconsole-tomcat/1.2
-SNAPSHOT/car
Using GERONIMO_BASE:   C:\geronimo\buildtrunk\geronimo-tomcat-j2ee-1.2-SNAPSHOT
Using GERONIMO_HOME:   C:\geronimo\buildtrunk\geronimo-tomcat-j2ee-1.2-SNAPSHOT
Using GERONIMO_TMPDIR: C:\geronimo\buildtrunk\geronimo-tomcat-j2ee-1.2-SNAPSHOT\
var\temp
Using JRE_HOME:        c:\Progra~1\sun\j2se1.4.2\jre

    Started
    org.apache.geronimo.configs/webconsole-tomcat/1.2-SNAPSHOT/car
      `-> framework.war @ http://libspie.in.ibm.com:8080/console
      `-> standard.war @ http://libspie.in.ibm.com:8080/console-standard

    Started org.apache.geronimo.configs/dojo-tomcat/1.2-SNAPSHOT/car @
    http://libspie.in.ibm.com:8080/dojo


Working on a patch to provide the same service for web console.



> Deployer does not list all modules that have been stopped
> ---------------------------------------------------------
>
>                 Key: GERONIMO-1285
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1285
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 1.0-M5
>            Reporter: Aaron Mulder
>         Assigned To: Rakesh Midha
>            Priority: Critical
>             Fix For: 2.0
>
>
> When you, for example, stop the "tomcat" configuration, all the web apps 
> deployed to Tomcat are stopped too.  However, the deployer does not let you 
> know this.  It should list all modules that were stopped, just like it does 
> when starting.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to