title: java.lang.UnsatisfiedLinkError: Unable to load library 'TSCLIB': The specified module could not be found
body: <p>I am trying to print TSC-244 Pro Bar Code Label Printer from GWT Web Application. They give tsclib.dll. Thus why I use jna.jar and copy tsclib.dll file to C:\Windows and [my_project_dir]\war\WEB-INF\lib. Its work but when I deploy to apache tomcat. It doesn't work and I got following error. Please give me solution. Thank.</p>
  
  <p>SEVERE: Exception while dispatching incoming RPC call
  com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract boolean com.mbc.client.Controller.print(java.lang.String,java.util.ArrayList) throws java.lang.IllegalArgumentException' threw an unexpected exception: java.lang.UnsatisfiedLinkError: Unable to load library 'TSCLIB': The specified module could not be found.</p>
  
  <pre><code>at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)
  at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)
  at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
  at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
  at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
  at java.lang.Thread.run(Unknown Source)
  </code></pre>
  
  <p>Caused by: java.lang.UnsatisfiedLinkError: Unable to load library 'TSCLIB': The specified module could not be found.</p>
  
  <pre><code>at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:164)
  at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:237)
  at com.sun.jna.Library$Handler.&lt;init&gt;(Library.java:140)
  at com.sun.jna.Native.loadLibrary(Native.java:375)
  at com.sun.jna.Native.loadLibrary(Native.java:360)
  at com.mbc.server.impls.TscLibDll.&lt;clinit&gt;(TscLibDll.java:8)
  at com.mbc.server.util.BarCode.openport(BarCode.java:73)
  at com.mbc.server.util.Printer.openBarCodePrinter(Printer.java:67)
  at com.mbc.server.util.Printer.printtsc(Printer.java:97)
  at com.mbc.server.util.Printer.print(Printer.java:35)
  at com.mbc.server.ControllerServlet.print(ControllerServlet.java:1390)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
  ... 17 more
  </code></pre>