I'm currently in the process of writing a Java servlet that relies on
Microsoft's Java Native extensions to use interfaces in a COM object. The
current setup I have is the following:
Win Nt 2000 Workstation
Apache 1.3.12 for Win32
Apache Jserv 1.0
Microsoft Java SDK 4.0
JSDK 2.0
I modified the jserv.properties file to use the Java Virtual Machine
(JVIEW.EXE) instead of Sun's (JAVA.EXE). I tried the test servlet
(IsItWorking.class) and that works fine.
Here's the problem I'm having:
I have wrapper classes for the interfaces in my COM object. If I
instantiate of these objects from a normal Java application everything works
fine. However, when I try to instantiate the same object from within a
servlet (for example in the init() member function) I receive a
java.lang.ClassFormatError. I'm certain I'm using the same class files for
both the application and the servlet.
Anyone have any ideas?
Raj
----------------------------------------------------------------------------
--------
Raj Patel - Software Engineer, Web Technology Group
Sea Change Corporation, 6695 Millcreek Dr., Mississauga, ON, Canada
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html