> From: Patrick Flaherty [mailto:pflah...@rampageinc.com]
> Subject: Win7 calling native code via JNI
 
> as soon as I call the dll's init function
> (CPPInit) it crashed the JVM.

Are you using the same JVM when you run Tomcat as a service?  The one in this 
crash is the 32-bit client, but you're on a 64-bit platform, and I wouldn't be 
surprised that the service is using a 64-bit server JVM (assuming you have one 
installed).

> If you look at the code you will see I try to create a file on the
> root of the C drive (remotedebug.txt) and

Does the account you're running on have permission to do that?  (Win7 is a tad 
picky about things like that.)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to