4 Replies Latest reply on Jul 29, 2003 4:51 AM by Juha Lindfors

    JNDI JBoss + WebSphere

    userid Newbie

      Hi,

      i have some trouble with connection to WebSphere EJB's from JBoss. Has someone experience with this topic?

      To connect from JBoss I use this settings:
      -----
      Properties props = new Properties();
      props.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
      props.put(Context.PROVIDER_URL, "IIOP://localhost:900");

      InitialContext initCtx = new InitialContext(props);
      -----

      But to get this peace of code working, I need classes from WebSphere. Where are tey, and are there any other additional classes?

      Thanks