-
Jul 23rd, 2008, 09:12 AM
#1
MBeanServerConnectionFactoryBean MalformedURL
Hi,
I am using Spring 1.2.5 and jdk 1.4 (client will not upgrade) on OC4J. The server refuses to come up - the error we get wile instantiating the client connector is -
java.net.MalformedURLException: URL path must begin with /jndi/ or /stub/ or /ior/:
Caused by: java.net.MalformedURLException: URL path must begin with /jndi/ or /stub/ or /ior/:
I tried all the tips in forums, but have not been able to make a headway. Here is the relevant app config.
<bean id="registry" class="org.springframework.remoting.rmi.RmiRegistr yFactoryBean">
<property name="port" value="6789"/>
</bean>
<bean id="mbeanServer" class="org.springframework.jmx.support.MBeanServer FactoryBean"/>
<bean id="exporter" class="org.springframework.jmx.export.MBeanExporte r">
<property name="beans">
<map>
<entry key="name=countDownBean">
<ref local="countdownTimerHolder"/>
</entry>
</map>
</property>
<property name="server" ref="mbeanServer"/>
<property name="assembler">
<bean class="org.springframework.jmx.export.assembler.In terfaceBasedMBeanInfoAssembler">
<property name="managedInterfaces">
<value>BeanInterface as MBean naming.</value>
</property>
</bean>
</property>
</bean>
<bean id="serverConnector" class="org.springframework.jmx.support.ConnectorSe rverFactoryBean">
<property name="serviceUrl"
value="service:jmx:iiop://<server name>/jndi/iiop://<server name and port>/myconnector"/>
<property name="threaded" value="true"/>
<property name="daemon" value="true"/>
</bean>
<bean id="clientConnector" class="org.springframework.jmx.support.MBeanServer ConnectionFactoryBean">
<property name="serviceUrl" value="service:jmx:rmi://<server name and port>"/>
</bean>
Any work arounds?
-
Jul 27th, 2008, 12:26 PM
#2
JMXServiceURL for OC4J
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules