Hi All, I am using JBoss3.0.Here i implemented the following code and i get the following exception.
try { ObjectName containerFactory = null; containerFactory = new ObjectName( "jboss.system:service=MainDeployer"); (RMIAdaptorImpl_Stub).invoke(containerFactory, "listDeployed", new Object[] {}, new String[] {}); } catch(Exception ex2) { ex2.printStackTrace(); } Exception : --------------- java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: org.jboss.deployment.DeploymentInfo java.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: org.jboss.deployment.DeploymentInfo at java.io.ObjectInputStream.readObject(ObjectInputStream.java:445) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) at java.util.ArrayList.readObject(ArrayList.java:531) at java.lang.reflect.Method.invoke(Native Method) at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2214) at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:300) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:134) at org.jboss.jmx.adaptor.rmi.RMIAdaptorImpl_Stub.invoke(Unknown Source) at GetMBeanServer.main(GetMBeanServer.java:93) Is this the rigth way to get the applications deployed into the JBoss3.0 server?If yes,how do i resolve this exception? If no,please do help me how to find out the deployed applications? Thanks in Advance. --Jagan. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Stuff, things, and much much more. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user