Peter Donald wrote:
On Tue, 3 Jun 2003 11:03 pm, [EMAIL PROTECTED] wrote:
// Set the JNDI name with which will be registered
mbean.setJNDIName( "jrmp" );
- mbean.putJNDIProperty(
javax.naming.Context.INITIAL_CONTEXT_FACTORY, -
m_namingFactory );
+
+ mbean.putNamingProperty(
javax.naming.Context.INITIAL_CONTEXT_FACTORY, +
m_namingFactory);
+ //mbean.putJNDIProperty(
javax.naming.Context.INITIAL_CONTEXT_FACTORY, + //
m_namingFactory );
//mbean.putJNDIProperty( javax.naming.Context.PROVIDER_URL,
"rmi://localhost:1099" ); // Register the JRMP adaptor in JNDI and start it
mbean.start();
Why are you doing this?
Phoenix wouldn't compile with the .putJNDIProperty, because the method
was missing from the version of MX4J downloaded by the build script.
The proper substitution from what I saw was the putNamingProperty.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]