• Post Reply Bookmark Topic Watch Topic
  • New Topic

Could not load mediaLib accelerator wrapper classes. Continuing in pure Java mode.

 
Bhaskar Varanasi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm working on an application where an applet connects to a flat bed scanner and capture the scanned objects.

Per the application architecture this raw scanned object is sent to the server where the servlets use the JAI API to
convert the scanned object into a BWTiffimage.

The goal is to have same instance of JAI installed on a system/server (Solaris + Weblogic same on all dev, qa, uat and prod)
and use these settings for the application I'm working with.

On my individual developer environment I'm using Tomcat 5.0.27.

When the image is sent to the server, I'm getting this exception and any help in resolving this would be great.

I've tried copying the clib_jiio.dll, mlib_jai.dll and mlib_jai_mmx.dll into various locations like C:\windows\system32 and/or <JRE_HOME>\bin folders but to no avail.

Could not load mediaLib accelerator wrapper classes. Continuing in pure Java mode.
java.lang.ClassCastException: com.sun.media.imageioimpl.plugins.tiff.TIFFImageMetadata
at com.mytest.core.imaging.ImageFunctionSet.exportTIFFImage(ImageFunctionSet.java:1286)
at com.mytest.core.imaging.MYImage.exportBWTIFFImage(MYImage.java:666)
at com.mytest.myclient.datapersistence.transactions.ReceiveFlatbedItemTrans.convertImageToTiffBW(ReceiveFlatbedItemTrans.java:217)

at com.mytest.myclient.datapersistence.transactions.ReceiveFlatbedItemTrans.<init>(ReceiveFlatbedItemTrans.java:107)
at com.mytest.myclient.datapersistence.transactions.TransMgr.receiveFlatbedItemTransaction(TransMgr.java:257)
at com.mytest.myclient.servlet.ReceiveFlatbedItem.doPost(ReceiveFlatbedItem.java:116)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.netdeposit.domainbranding.BrandingFilter.doFilter(BrandingFilter.java:32)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)


Any pointers/tips?

Thanks,
Bhaskar
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!