Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 5th, 2008, 11:06 PM
Registered User
 
Join Date: Jun 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default native library not found

this is the error which i am getting
i am using apache tomcat server
i am calling native library through system.loadlibrary method but it is giving me this error
even native library present at java library path
java.lang.UnsatisfiedLinkError: no JCAdaptor.dll in java.library.path
    java.lang.ClassLoader.loadLibrary(Unknown Source)
    java.lang.Runtime.loadLibrary0(Unknown Source)
    java.lang.System.loadLibrary(Unknown Source)
    HelloWorldExample.doGet(HelloWorldExample.java:53)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:690)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:803)


 
Old June 20th, 2008, 12:59 PM
Authorized User
 
Join Date: Apr 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

May be you have already figured it out. The easiest thing is to add the folder containing the dll in the PATH environment variable. Or just copy it to the bin directory of Tomcat.

-eNJay





Similar Threads
Thread Thread Starter Forum Replies Last Post
Managed C# and Native C++ han_nomad C# 1 February 22nd, 2007 05:36 PM
XML native databases codesamurai XML 2 January 28th, 2006 01:13 PM
Java Native Interface Bosshard Java Basics 0 January 17th, 2006 02:04 PM
Native PDF Classes? Aaron Edwards ASP.NET 2.0 Basics 1 September 17th, 2005 06:02 AM
project or library not found error KenK Access VBA 5 February 4th, 2005 01:01 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.