Skip to Content
author's profile photo Former Member
Former Member

Does SAP J2EE Engine allows JNI ?

Hi!

I have a web application running in Websphere, it uses some jni libraries to connect to a documents manager. I want to use part of this web application in the portal.

In the SAP PORTAL server, all the dlls are in WINNT\system32\ folder. And the jars libraries in classpath. When I make the connection to documents manager, I can make the instance of the object, but when trying to execute the method for connecting, the J2EE Engine ends shuting down.

I've try to do this with Apache Tomcat in the same machine (server) and everything works fine. Why doen't work in SAP J2EE Engine? Does SAP J2EE Engine allows JNI?

The server is shutting down and no errors appears in the logs.

SAP EP 6.0, SAP J2EE Engine 6.20.

Thanks!!

Best regards!!

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Nov 24, 2004 at 03:53 PM

    Hi,

    the JNI is java standard and it should be supported. the problem you are describing doesn't look related to the JNI itself. but you should know that JNI is not part of the j2ee specification so you should not it in j2ee application (it could cause problems with scalability and distribution).

    it looks like a bug or collision some where, when you say trying to connect what do you mean by that is there tcpip communication ? if so what port (maybe this causes some problems ???)

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.