[ http://issues.apache.org/jira/browse/GERONIMO-1926?page=all ]

Matt Hogstrom updated GERONIMO-1926:
------------------------------------

    Fix Version/s: Wish List
                       (was: 1.2)

> Changes to navigation break remote clients
> ------------------------------------------
>
>                 Key: GERONIMO-1926
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1926
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: core
>    Affects Versions: 1.1
>            Reporter: Aaron Mulder
>            Priority: Critical
>             Fix For: Wish List
>
>         Attachments: peek-remote.jar, peek.jar
>
>
> From an e-mail:
> I have created a simple program that calls J2EEDomain.getServerInstances() on 
> J2EEDomain obtained from remote kernel.  Detatch the two jars to bin 
> directory and run the program using the cmd "java -jar peek.jar".  Here is 
> the code in the main() method.
>     public static void main(String[] args) throws Exception {
>         String host = "localhost";
>         String username = "system";
>         String password = "manager";
>         for(int i = 0; i < args.length-1; ++i) {
>             if("--username".equalsIgnoreCase(args[i])) username = args[i+1];
>             if("--host".equalsIgnoreCase(args[i])) host = args[i+1];
>             if("--password".equalsIgnoreCase(args[i])) password = args[i+1];
>         }
>         System.out.println("Using host="+host+", username="+username+", 
> password="+password);
>         KernelManagementHelper mgr = 
> KernelManagementHelper.getRemoteKernelManager(host, username, password);
>         System.out.println("KernelManagementHelper = "+mgr);
>         J2EEDomain domain = mgr.getDomains()[0];
>         System.out.println("J2EEDomain = "+domain);
>         J2EEServer[] j2eeServers = domain.getServerInstances();
>         System.out.println("J2EEServer = "+j2eeServers[0]);
>     }

-- 
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