Re: jawin and Tomcat 5
Tom Malia <[email protected]> Wed, 7 Dec 2005 09:49:46 -0500
| Newsgroups | gmane.comp.windows.devel.jawin |
|---|---|
| Message-ID | <1133966993_1009@server92> |
I put the DLL in the Windows System directory and it seems to work fine for the Java apps that I'm running in the Axis Web Services Web Application under Tomcat 5 Using this approach I don't appear to need a LD_PATH setting at all. As for the jawin.jar... I've had success putting both in the shared library folder for the Tomcat server as well as in the Library folder for the Web Application itself. -----Original Message----- From: Discussion of Java/Win32/COM integration with Jawin [mailto:[email protected]] On Behalf Of Bob Farnik Sent: Wednesday, December 07, 2005 7:17 AM To: [email protected] Subject: [JAWIN] jawin and Tomcat 5 My standalone Java application works fine using jawin (with -Djava.library.path=...), but I cannot get the same code working from JSP web application hosted by Tomcat 5. It looks like it cannot find jawin.dll. I am getting java.lang.NoClassDefFoundError MyBeans.JavaNativeBridge.<init>(JavaNativeBridge.java:134) org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:50) The index.jsp uses: <%@ page language="java" contentType="text/html;charset=ISO-8859-1" import="MyBeans.*"%> <jsp:useBean id="oJNB" scope="session" class="MyBeans.JavaNativeBridge" /> <%... some JSP stuff calling oJNB methods ... %> Is there anything special that needs to be don in Tomcat to get it working?