Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ioser12 error running EJB in JB3.5F

0 views
Skip to first unread message

Randall Parker

unread,
May 24, 2000, 3:00:00 AM5/24/00
to

I first encountered this problem in JB3.5F using the Borland JDK1.2.2. I
thought it might be RMI-IIOP related and that is supported in JDK1.3 So
then then hoping that running with JDK 1.3 would help I switched to
JDK1.3 to both JB35F and also when invoking an EJB within JB35K

However, even with JDK1.3 I'm still getting the error about shared lib
ioser12 not being found.

I'm trying to figure out why it is not found. I'm guessing that the error
refers to ioser12.dll which is found under
j2ee\bin\nativelib
But I have that directory pathed. I also have the j2ee\bin directory
above it pathed.

Do I need to add something to a classpath perhaps?

Here's the execution that causes the error:

G:\prg\java\jdk13\bin\javaw -classpath
"G:\jbprjs\j2eetry\classes;G:\jbprjs\j2eetry\lib\j2ee.jar;G:\jbprjs\j2eet
ry\lib\ejb10deployment.jar;G:\jbprjs\j2eetry\lib\jhall.jar;G:\prg\java\j2
ee\repository\talldog\applications\ConverterAppClient.jar;G:\prg\java\jdk
13\jre\lib\rt.jar;G:\prg\java\jdk13\jre\lib\i18n.jar;G:\prg\java\jdk13\li
b\dt.jar;G:\prg\java\jdk13\lib\tools.jar" -Duser.dir=G:\jbprjs
examples.converter.ConverterClient
ERROR! Shared library ioser12 could not be found.
Caught an unexpected exception!
javax.naming.CommunicationException: Can't find SerialContextProvider
at
com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:60
)
at
com.sun.enterprise.naming.SerialContext.<init>(SerialContext.java:79)
at
com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(Seri
alInitContextFactory.java:54)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
at javax.naming.InitialContext.init(InitialContext.java:222)
at javax.naming.InitialContext.<init>(InitialContext.java:178)
at
examples.converter.ConverterClient.main(ConverterClient.java:24)

0 new messages