[jboss-as7-dev] In JBoss AS 7, got an error of Native Library xxx already loaded in another classloader
Jaikiran Pai
jpai at redhat.com
Sat May 12 01:57:49 EDT 2012
Thank you for bringing this up in the forums
https://community.jboss.org/thread/199577?tstart=0
-Jaikiran
On Friday 11 May 2012 09:22 PM, Jason T. Greene wrote:
> Can you move this to the forums and paste more details about your
> application. More specifically how you are using JAI?
>
> On 5/11/12 10:47 AM, M. Steven wrote:
>> Hi,
>>
>> I am working on migrating an App from JBoss 4.2.3 to JBoss AS 7.1.1. Now
>> I am facing a problem says "Native Library xxx already loaded in another
>> classloader".
>> To be specific: Here are the errors:
>> 11:22:17,854 ERROR [stderr] (http--127.0.0.1-80-4) Caused by:
>> java.lang.UnsatisfiedLinkError: Native Library
>> E:\programs\jdk1.6.0_29\jre\bin\jpeg.dll already loaded in another
>> classloader
>> 11:22:17,855 ERROR [stderr] (http--127.0.0.1-80-4) at
>> java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1772)
>> 11:22:17,856 ERROR [stderr] (http--127.0.0.1-80-4) at
>> java.lang.ClassLoader.loadLibrary(ClassLoader.java:1724)
>> 11:22:17,856 ERROR [stderr] (http--127.0.0.1-80-4) at
>> java.lang.Runtime.loadLibrary0(Runtime.java:823)
>> 11:22:17,857 ERROR [stderr] (http--127.0.0.1-80-4) at
>> java.lang.System.loadLibrary(System.java:1028)
>> 11:22:17,857 ERROR [stderr] (http--127.0.0.1-80-4) at
>> sun.security.action.LoadLibraryAction.run(Unknown Source)
>> 11:22:17,858 ERROR [stderr] (http--127.0.0.1-80-4) at
>> java.security.AccessController.doPrivileged(Native Method)
>> 11:22:17,859 ERROR [stderr] (http--127.0.0.1-80-4) at
>> sun.awt.image.codec.JPEGImageDecoderImpl.<clinit>(Unknown Source)
>> 11:22:17,859 ERROR [stderr] (http--127.0.0.1-80-4) at
>> com.sun.image.codec.jpeg.JPEGCodec.createJPEGDecoder(Unknown Source)
>> 11:22:17,860 ERROR [stderr] (http--127.0.0.1-80-4) at
>> com.sun.media.jai.codecimpl.JPEGImage.<init>(JPEGImageDecoder.java:106)
>> 11:22:17,861 ERROR [stderr] (http--127.0.0.1-80-4) at
>> com.sun.media.jai.codecimpl.JPEGImageDecoder.decodeAsRenderedImage(JPEGImageDecoder.java:46)
>> 11:22:17,862 ERROR [stderr] (http--127.0.0.1-80-4) at
>> com.sun.media.jai.opimage.CodecRIFUtil.create(CodecRIFUtil.java:88)
>> 11:22:17,865 ERROR [stderr] (http--127.0.0.1-80-4) at
>> com.sun.media.jai.opimage.JPEGRIF.create(JPEGRIF.java:43)
>> 11:22:17,867 ERROR [stderr] (http--127.0.0.1-80-4) ... 114 more
>>
>> The same App runs well under JBoss 4.2.3. I am wondering if the error is
>> caused by the Modularized class loading in JBoss AS7?
>>
>> Could someone please give me some advices on how to resolve the problem?
>>
>> Thanks a lot in advance.
>>
>> Regards,
>>
>> Michael
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>
More information about the jboss-as7-dev
mailing list