[jboss-jira] [JBoss JIRA] Closed: (JBAS-3558) Service(Proxy) should be transient in ServiceContext

Anil Saldhana (JIRA) jira-events at jboss.com
Wed Aug 23 13:53:47 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBAS-3558?page=all ]

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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list