On Tue, 3 Jun 2003 11:03 pm, [EMAIL PROTECTED] wrote: > 1.30 +7 -4 > avalon-phoenix/src/java/org/apache/avalon/phoenix/components/manager/MX4JSy >stemManager.java > > Index: MX4JSystemManager.java > =================================================================== > RCS file: > /home/cvs/avalon-phoenix/src/java/org/apache/avalon/phoenix/components/mana >ger/MX4JSystemManager.java,v retrieving revision 1.29 > retrieving revision 1.30 > diff -u -r1.29 -r1.30 > --- MX4JSystemManager.java 5 Apr 2003 04:40:08 -0000 1.29 > +++ MX4JSystemManager.java 3 Jun 2003 13:03:39 -0000 1.30 > @@ -138,8 +138,8 @@ > } > > /*<user> > - <name>user</name> > - <password>passwd</password> > + �<name>user</name> > + �<password>passwd</password> > </user>*/ > final Configuration userConfig = configuration.getChild( "user" > ); m_username = userConfig.getChild( "name" ).getValue( null ); @@ -253,8 > +253,11 @@ > adaptor ); > // 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? -- Cheers, Peter Donald *-------------------------------------------* | "You can't depend on your eyes when your | | imagination is out of focus." -Mark Twain | *-------------------------------------------* --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
