]
Anil Saldhana closed JBAS-3558.
-------------------------------
Resolution: Done
Service(Proxy) should be transient in ServiceContext
----------------------------------------------------
Key: JBAS-3558
URL:
http://jira.jboss.com/jira/browse/JBAS-3558
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: JMX
Affects Versions: JBossAS-3.2.8.SP1, JBossAS-4.0.4.GA
Reporter: Anil Saldhana
Assigned To: Anil Saldhana
Fix For: JBossAS-4.0.5.CR1, JBossAS-5.0.0.Beta, JBossAS-3.2.8.SP2
ObjectName serviceOName = // ObjectName of any service in question
MBeanServerConnection server = getServer();
ObjectName so = ServiceControllerMBean.OBJECT_NAME;
server.invoke(so, "create", new Object[]{serviceOName},
new String[]{"javax.management.ObjectName"});
ServiceContext sc = (ServiceContext)server.invoke(so,
"getServiceContext", new Object[]{serviceOName},
new String[]{"javax.management.ObjectName"});
There is non-serializable exception in obtaining ServiceContext because Service within SC
should be transient.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: