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
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
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
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
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
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
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
>
>
>
>
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
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
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
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
I am attempting to use JNI from an AXIS service under Tomcat.
Would appreciate any pointers on how to do this.
Thanks
Regards
Vijay
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
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
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
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:
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
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
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");}
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
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
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
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
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
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
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
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
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
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
29 matches
Mail list logo