Jeff Fayman wrote:
> 
> Greetings,
> 
> I am trying to use a non-EJB client to connect using JNDI
> to an EJB deployed on Jboss.  When executing the client,
> I receive the following error:
> 
> Error: javax.naming.CommunicationException: Can't find SerialContextProvider
> 
> Which occurs when the system executes the following:
> 
> Object result = c.lookup("xyzbean");
> 
> I looked through the archives and saw some others with similar
> problems.  The recommended solution was to remove the j2ee RI.
> 
> Can someone please add some clarity to this suggestion.  Does this
> mean to remove the j2ee jar file from the project?  If so, I am unable
> to get access to javax.rmi which is necessary for the call.

You absolutely most definitely without doubt MUST remove the j2ee RI jar
from your classpath. Clear? :-)

The javax.rmi stuff is in 1.3, or you can find the RMI-IIOP download at
java.sun.com.

Toby.


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to