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

PDK5 with Tomcat 4.1.24?

Since PDK 5 worked with JDK 1.4.2 so I tried Tomcat 4.1.24.

Well I'm just curious and I don't want to maintain lots of different Tomcats

for different Applications:

So it went well and was deployed until:

[ServiceManager] Problem during start-up of service: usermanagement

java.lang.UnsatisfiedLinkError: no jniutils in java.library.path

I had jniutils.dll with all SAP dlls and Jars in /common/lib

and pointed PATH and CLASSPATH to that directory (in catalina.bat)

and I added tomcat-jni.jar to the CLASSPATH.

The error message wasn't changed at all.

So is JNI in Tomcat 4.1 totally different to Tomcat 3.3?

Where are jniutils.dll supposed to be found?

Frerk Meyer

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Oct 23, 2003 at 05:55 PM

    All I can tell you is the following.

    Let me know if it works.






    How can I use Tomcat 4.1.x with PDK?


    Install JDK 1.4.x:

    Don't forget to set the %JAVA_HOME% environment variable.

    Please remember, that JDK 1.4 is not supported by the portal platform. There could be some strange behaviour with this version.

    Download Tomcat: and install it on your PC. We recommend that you use C: omcat as the target folder. Make sure that the %CATALINA_HOME% environment variable is set to C: omcat after the installation.

    Download PDK:

    Extract PDK to the Tomcat folder

    Move all files from folder %CATALINA_HOME%/lib/apps to folder


    Remove files tomcat.bat and restart.bat from folder %CATALINA_HOME%/bin (tomcat.bat is renamed to catalina.bat in Tomcat 4.0).

    Modify file catalina.bat in folder %CATALINA_HOME%/bin. Add the following lines under :okHome:

    rem --- Start SAP modification

    rem --- Insert your proxy settings here


    set PROXYPORT=8080

    rem --- Set CATALINA_OPTS

    setCATALINA_OPTS=-Djava.library.path=%CATALINA_HOME%commonlib -Dhttp.proxyHost=%_PROXY_HOST% -Dhttp.proxyPort=%_PROXY_PORT% -Dhttp.nonProxyHosts=localhost -Dcm.decode=X


    set PATH=%CATALINA_HOME%commonlib;%PATH%

    echo Using PATH: %PATH%

    rem --- End SAP modification

    Start Tomcat.

    Stop Tomcat after the irj.war file was deployed.

    Modify the web.xml file in folder %CATALINA_HOME%/webapps/irj/WEB-INF. Add the following serlvet mapping:





    Start Tomcat using catalina.bat.

    Open the PDK portal: http://localhost:8080/irj


    When I start Tomcat I get an error message:

    Exception in thread "main" java.lang.NoClassDefFoundError: files omcat/lib/apps. What is wrong?


    Do not install Tomcat in a directory that contains blanks (such as c:program files). Move the complete Tomcat folder to c: and set the environment variable to the new location.

    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.