You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org> on 2006/04/27 18:14:37 UTC
[jira] Created: (GERONIMO-1926) Changes to navigation break remote
clients
Changes to navigation break remote clients
------------------------------------------
Key: GERONIMO-1926
URL: http://issues.apache.org/jira/browse/GERONIMO-1926
Project: Geronimo
Type: Bug
Security: public (Regular issues)
Components: core
Versions: 1.1
Reporter: Aaron Mulder
Assigned to: Aaron Mulder
Priority: Critical
Fix For: 1.1
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
[jira] Commented: (GERONIMO-1926) Changes to navigation break
remote clients
Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-1926?page=comments#action_12376755 ]
Aaron Mulder commented on GERONIMO-1926:
----------------------------------------
dain suggests:
public class GBeanProxyToken implements Serializable {
private static final long serialVersionUID = 2795647533801535900L;
private final AbstractName name;
public GBeanProxyToken(AbstractName name) {
this.name = name;
}
protected Object readResolve() {
Kernel kernel = getKernelFromThreadLocal();
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
Object proxy = kernel.getProxyManager().createProxy(name, classLoader);
return proxy;
}
}
> Changes to navigation break remote clients
> ------------------------------------------
>
> Key: GERONIMO-1926
> URL: http://issues.apache.org/jira/browse/GERONIMO-1926
> Project: Geronimo
> Type: Bug
> Security: public(Regular issues)
> Components: core
> Versions: 1.1
> Reporter: Aaron Mulder
> Assignee: Aaron Mulder
> Priority: Critical
> Fix For: 1.1
> 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
[jira] Updated: (GERONIMO-1926) Changes to navigation break remote
clients
Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-1926?page=all ]
Aaron Mulder updated GERONIMO-1926:
-----------------------------------
Assign To: (was: Aaron Mulder)
> Changes to navigation break remote clients
> ------------------------------------------
>
> Key: GERONIMO-1926
> URL: http://issues.apache.org/jira/browse/GERONIMO-1926
> Project: Geronimo
> Type: Bug
> Security: public(Regular issues)
> Components: core
> Versions: 1.1
> Reporter: Aaron Mulder
> Priority: Critical
> Fix For: 1.2
> 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
[jira] Updated: (GERONIMO-1926) Changes to navigation break remote
clients
Posted by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-1926?page=all ]
Matt Hogstrom updated GERONIMO-1926:
------------------------------------
Fix Version: 1.2
(was: 1.1)
> Changes to navigation break remote clients
> ------------------------------------------
>
> Key: GERONIMO-1926
> URL: http://issues.apache.org/jira/browse/GERONIMO-1926
> Project: Geronimo
> Type: Bug
> Security: public(Regular issues)
> Components: core
> Versions: 1.1
> Reporter: Aaron Mulder
> Assignee: Aaron Mulder
> Priority: Critical
> Fix For: 1.2
> 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
[jira] Updated: (GERONIMO-1926) Changes to navigation break remote
clients
Posted by "Matt Hogstrom (JIRA)" <ji...@apache.org>.
[ 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
[jira] Updated: (GERONIMO-1926) Changes to navigation break remote
clients
Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-1926?page=all ]
Aaron Mulder updated GERONIMO-1926:
-----------------------------------
Attachment: peek-remote.jar
peek.jar
> Changes to navigation break remote clients
> ------------------------------------------
>
> Key: GERONIMO-1926
> URL: http://issues.apache.org/jira/browse/GERONIMO-1926
> Project: Geronimo
> Type: Bug
> Security: public(Regular issues)
> Components: core
> Versions: 1.1
> Reporter: Aaron Mulder
> Assignee: Aaron Mulder
> Priority: Critical
> Fix For: 1.1
> 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