[jboss-jira] [JBoss JIRA] Created: (JBAS-4602) org.jboss.deployment.DeploymentException is thrown when configuring the ServerSocketFactory attribute of the NamingService

Roland Räz (JIRA) jira-events at lists.jboss.org
Fri Aug 10 11:56:03 EDT 2007


org.jboss.deployment.DeploymentException is thrown when configuring the ServerSocketFactory attribute of the NamingService
--------------------------------------------------------------------------------------------------------------------------

                 Key: JBAS-4602
                 URL: http://jira.jboss.com/jira/browse/JBAS-4602
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Other
    Affects Versions: JBossAS-4.2.1.GA
            Reporter: Roland Räz


The following exception is thrown when the ServerSocketFactory attribute is configured in the org.jboss.naming.NamingService MBean is configured:

16:09:01,948 INFO  [ServiceConfigurator] Problem configuring service jboss:service=Naming
org.jboss.deployment.DeploymentException: No property editor for attribute: ServerSocketFactory; type=interface java.rmi.server.RMIServerSocketFactory
        at org.jboss.system.ServiceConfigurator.parseTextSerialData(ServiceConfigurator.java:554)
        at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:329)
        at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:460)
        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
        at org.jboss.system.ServiceController.install(ServiceController.java:226)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
...


Reason:

The file conf/xmdesc/NamingService-xmbean.xml contains a second definition of the ServerSocketFactory attribute ServerSocketFactory. The second definition should be ServerSocketFactoryBean.

Snippet from NamingService-xmbean.xml:

<attribute access="read-write" getMethod="getServerSocketFactory" setMethod="setServerSocketFactory">
 <description>The RMI service java.rmi.server.RMIServerSocketFactory class name</description>
 <name>ServerSocketFactory</name>
 <type>java.lang.String</type>
</attribute>
<attribute access="read-write" getMethod="getServerSocketFactoryBean" setMethod="setServerSocketFactoryBean">
 <description>The RMI service java.rmi.server.RMIServerSocketFactory instance</description>
 <name>ServerSocketFactory</name>
 <type>java.rmi.server.RMIServerSocketFactory</type>
</attribute>


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