If you're trying to use J2sdk, and not jboss, you need to put
/usr/local/java/j2sdkee1.1.2/nativelib in your LD_LIBRARY_PATH
environment variable before you try to run.
There might also be better places to ask for help with the Sun j2ee
reference implementation.
Peter Kim wrote:
>
> Hi,
>
> Trying to do some simple tests and I'm getting an error at runtime
> complaining that libioser12.so could not be loaded/found.
>
> I have the j2sdkee1.1.2 Linux Beta installed at:
> /usr/local/java/j2sdkee1.1.2
>
> the library in question can be found in the nativelib directory immediately
> below.
>
> Does anyone know why the library can't be found and how to make the location
> of this library known?
>
> Thanks,
>
> Peter
>
> ps: error msg included below...
>
> Cannot load library libioser12.so
> ERROR! Shared library ioser12 could not be found.
> javax.naming.CommunicationException: Can't find SerialContextProvider
> at
> com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
> a:60)
> at
> com.sun.enterprise.naming.SerialContext.<init>(SerialContext.java:79)
> at
> com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(
> SerialInitContextFactory.java:54)
> at
> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
> 68)
> at
> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246
> )
> at javax.naming.InitialContext.init(InitialContext.java:222)
> at javax.naming.InitialContext.<init>(InitialContext.java:198)
> at HelloClient.main(HelloClient.java:13)
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]