I've got a problem with creating the InitialContext before I do a lookup for an EJB (J2EE 1.2.1 on Solaris).

It all works fine from a command-line client, but when I try to create the InitialContext from a CORBA server (intending to invoke on an EJB), I get a NamingException thrown with the message:

"Can't find SerialContextProvider"

It looks as though the environments are different in some way (the CORBA server is launched via an OrbixWeb binary called owjava, rather than "java").

Anyone seen this before? I've printed out environments and properties, but can't see anything obviously wrong ...

I've grokked the J2EE source code and tried a few variations on java.naming.*.* env vars, with no luck.

Any help appreciated.