WebService error calling JNI methods

2005-02-11 Thread Dave Hoffer
I get the following error when I call my web service methods: An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in system.web.services.dll Additional information: java.lang.reflect.InvocationTargetException I have 1 public method in my java code which calls th

RE: JNI InvocationTargetException w/Tomcat service (solved).

2004-02-13 Thread Mark
ation as to why the drive either defaults to C: or is being ignored when TC is running as an NT service, but in any case I solved the problem. Mark At 2/13/2004 05:04 PM, you wrote: For JNI the dlls need to be in the VM's java.library.path . This is usually set when the vm is started on the co

RE: JNI InvocationTargetException w/Tomcat service

2004-02-13 Thread Jonathan Melvin
For JNI the dlls need to be in the VM's java.library.path . This is usually set when the vm is started on the command line with something like -Djava.library.path="C:\my dll folder" . I have no idea where you set this for tomcat, and I don't think you can set it in

JNI InvocationTargetException w/Tomcat service

2004-02-13 Thread Mark
I have an Axis web service that needs to utilize numerous JNI C++ components under Win2k. Putting the location of the .DLL/.LIB files in the system PATH works fine when running Tomcat in standalone console mode. However, when Tomcat is run as a service I get the following error when attempts

Re: JNI with AXIS - InvocationTargetException

2004-01-23 Thread Sai Pradeep - Hotmail
Hi All!   Thanks to everyone who gave their valuable suggestions and ideas in eliminating my exception. I resolved my exception successfully.   So, my suggestion for all those who want to invoke a JNI application from AXIS Service is as follows.   1. Check whether the JNI application works

Re: JNI

2004-01-22 Thread Mario Dörr
HI! Hi Mario Check whether u have copied the DLL file into windows/System32 directory. This can happen when the axis server doesnt get ur DLL. Hope this works. Sorry, i have froget to say that i'm working with HP UX 11.0. Hi all! Doenst Java Axis support JNI? If i define a JNI Fun

Re: JNI

2004-01-20 Thread Sai
January 16, 2004 11:04 AM Subject: JNI > Hi all! > > Doenst Java Axis support JNI? If i define a JNI Function like > > public native int addsl( data p_data ); > > i've got an empty page from the server if i request the WSDL page. > > Greeting Mario > > > >

JNI

2004-01-16 Thread Mario Dörr
Hi all! Doenst Java Axis support JNI? If i define a JNI Function like public native int addsl( data p_data ); i've got an empty page from the server if i request the WSDL page. Greeting Mario

RE: JNI with AXIS - InvocationTargetException

2004-01-12 Thread Martin, Richard
Title: Message Hi Sai,   I'm not sure what container you are running Axis in. However there is an entry in the Tomcat 5.0 release notes relating to JNI with tomcat: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/RELEASE-NOTES.txt   The following is copied ver

JNI with AXIS - InvocationTargetException

2004-01-12 Thread Sai Pradeep - Hotmail
Hi All!   I came to know from the mailing list that many people used Jni with Axis. My task was to develop a web service which can invoke a JNI. Whenever I try to invoke jni from my service I get an Exception "InvocationTargetException". When i try to run this jni applicati

Re: JNI from an AXIS service

2003-10-29 Thread Christopher Blunck
It seems to me like what you do in your service is up to you. In other words, Axis doesn't care if your service implementation uses JDBC to talk to a database, uses JNI to call a native method, or even uses Axis to call another service. The struggles you'll face in getting JNI to work

JNI from an AXIS service

2003-10-28 Thread Tewari, Vijay
I am attempting to use JNI from an AXIS service under Tomcat. Would appreciate any pointers on how to do this. Thanks Regards Vijay

Re: Is JNI on Axis possible? InvocationTargetException

2003-08-27 Thread Adhamh Findlay
BTW, my InvocationTargetException was caused by not have the shared library or DLL, or whatever in the correct location. Adhamh On 8/27/03 11:27 AM, "Adhamh Findlay" <[EMAIL PROTECTED]> wrote: > Several people here are using JNI. I tired it and was able to go

Re: Is JNI on Axis possible? InvocationTargetException

2003-08-27 Thread Adhamh Findlay
On 8/27/03 2:00 AM, "Scott Rader" <[EMAIL PROTECTED]> wrote: > I am trying to implement a web service provider on Windows 2000 with Tomcat > 4.1 and Axis 1.1 installed. > > I have a JNI class and method that works when called from a Java > application, but when I c

Is JNI on Axis possible? InvocationTargetException

2003-08-27 Thread Scott Rader
I am trying to implement a web service provider on Windows 2000 with Tomcat 4.1 and Axis 1.1 installed. I have a JNI class and method that works when called from a Java application, but when I call it form inside of a service provider I get the following error

RE: Using JNI in a service?

2003-08-14 Thread mser
I've also been using jni without a problem. The jar where my jni calls exist is deployed to the webapps/axis/WEB-INF/lib directory. Michael Ser Netweave Integrated Solutions, Inc. -Original Message- From: Adhamh Findlay [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 9:

Re: Still trying... Re: Using JNI in a service?

2003-08-14 Thread Adhamh Findlay
Below I have pasted in some classes. The IncidentService class is the class I am trying to use with Axis. DialogListener is a test class I created to test the JNI calls. If I use the DialogListener class, everything works fine as I get back the expected results. The problem only happens with I

Still trying... Re: Using JNI in a service?

2003-08-14 Thread Adhamh Findlay
could generate the fault/exception? I'm totally stuck on this... Thanks, Adhamh On 8/8/03 9:00 AM, "Adhamh Findlay" <[EMAIL PROTECTED]> wrote: > On 8/8/03 8:53 AM, "Jonathan Melvin" <[EMAIL PROTECTED]> wrote: > >> I use JNI in Axis in Jboss wit

Using JNI in a service?

2003-08-14 Thread Adhamh Findlay
Hello, Has anyone successfully used JNI from within a deployed service under axis? This seems to be creating a InvocationTargetException for me... Here is the class: package dialoglistener; public class IncidentService { static {System.loadLibrary("DialogListener");}

Re: Using JNI in a service?

2003-08-14 Thread Stuart Barlow
Im also use JNI successfully in a service hosted in tomcat. Im not sure what your error is. Sorry I was no help. Adhamh Findlay wrote: On 8/8/03 8:53 AM, "Jonathan Melvin" <[EMAIL PROTECTED]> wrote: I use JNI in Axis in Jboss without any particular problems. Post the full exception

Re: Still trying... Re: Using JNI in a service?

2003-08-11 Thread Sanjay Krishnamurthi
Hi Adamh, Are you sure that the DLL your JNI code depends on and is trying to load is available in the path for the server. Try to load the dll directly from your service code using system.loadLibrary() and see if it raises any exceptions. Sanjay --- Adhamh Findlay <[EMAIL PROTEC

Re: Using JNI in a service?

2003-08-10 Thread Adhamh Findlay
On 8/8/03 8:53 AM, "Jonathan Melvin" <[EMAIL PROTECTED]> wrote: > I use JNI in Axis in Jboss without any particular problems. > Post the full exception you are getting > Here it is In all its glory... I'm try to modify the axis source, now to call getTarg

RE: Using JNI in a service?

2003-08-08 Thread Jonathan Melvin
I use JNI in Axis in Jboss without any particular problems. Post the full exception you are getting -Original Message- From: Adhamh Findlay [mailto:[EMAIL PROTECTED] Sent: 08 August 2003 14:04 To: [EMAIL PROTECTED] Subject: Using JNI in a service? Hello, Has anyone successfully used

AW: JNI problem

2003-07-16 Thread Grossert Alexander EXT
When you created the header file you surely used "javah -jni yourClass", right? If not don't keep on reading and tell me exactely what you did.   Okay, this problem always comes up when the Class impelemting your native code is part of a package. The tutorials on the int

Re: JNI problem

2003-07-16 Thread Harald Pollak
please let me know if you have a solution, I have a simmular problem, but I have no solution until jet. nice day Harry On Die, 2003-07-15 at 05:16, SEong CHEE wrote: Hi everyone, I tried to use JNI within a Axis service. I had compile the java code to .class file, then created the .h file

JNI problem

2003-07-14 Thread SEong CHEE
Hi everyone, I tried to use JNI within a Axis service. I had compile the java code to .class file, then created the .h file, also written thet native method implementation in .c file, finally created the shared library. The program can be run successfully, but when I tried to deploy it, I

RE: Axis / JNI - need help!

2003-06-30 Thread Harald Pollak
t: 30 June 2003 12:17 To: [EMAIL PROTECTED] Subject: Axis / JNI - need help! Hy everybody! I try to use JNI within a Axis-Service. I try since weeks to bring it to work, but my result is ever

RE: Axis / JNI - need help!

2003-06-30 Thread Keith Hatton
lps Keith   -Original Message-From: Harald Pollak [mailto:[EMAIL PROTECTED]Sent: 30 June 2003 12:17To: [EMAIL PROTECTED]Subject: Axis / JNI - need help!Hy everybody!I try to use JNI within a Axis-Service. I try since weeks to bring it to work, but my result is every

Axis / JNI - need help!

2003-06-30 Thread Harald Pollak
Hy everybody! I try to use JNI within a Axis-Service. I try since weeks to bring it to work, but my result is every time the same:             soapenv:Server.userException     java.lang.reflect.InvocationTargetException             my enviroment: Linux