You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by bu...@apache.org on 2001/12/05 19:19:02 UTC
DO NOT REPLY [Bug 5284] -
J2eeDataSource problems when using A diferent ContextFactory
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5284>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5284
J2eeDataSource problems when using A diferent ContextFactory
robmv@promca.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|J2eeDataSource appends a |J2eeDataSource problems when
|fixed string to the jndi |using A diferent
|search |ContextFactory
------- Additional Comments From robmv@promca.com 2001-12-05 10:19 -------
I have identified the real problem, in WebSphere is required to set a diferent
ContextFactory...
java.util.Properties parms = new java.util.Properties();
parms.setProperty(Context.INITIAL_CONTEXT_FACTORY,
"com.ibm.websphere.naming.WsnInitialContextFactory");
// Create the Initial Naming Context
javax.naming.Context ctx = new javax.naming.InitialContext(parms);
This class needs a configuration parameter to set the ContextFactory
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>