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

PDK - Bug in tomcat.bat start batch file

Hello fellow Portal Developers,

I had some problems in getting the PDK to work and I want to share my solution with you.

In the current PDK which you may download from there are

tomcat.bat and restart.bat files from SAP to start Tomcat 3.x.

Beware! They write over the original batch files and are different to my Tomcat 3.3.2-dev

to the extent, that they won't start tomcat but break with an error message.

So copy the original tomcat.bat and restart.bat to and

After unzipping the tomcat_pdk_5_0_5_0 archive into your Tomcat directory

you are able to compare tomcat.bat and

(Hint: If you import them into your Eclipse project, select both and choose

Compare to / Each other, you are in one of the best Diff Tools I've seen).

The one line which broke my Tomcat installation was

set CLASSPATH=%TOMCAT_INSTALL%\lib\tomcat.jar;

instead of

set CLASSPATH=%TOMCAT_INSTALL\lib\tomcat.jar;TOMCAT_INSTALL\lib\common\commons-logging-api.jar

(one long line)

So naturally Tomcat couldn't find the Apache comons logging library.

Other difference are the debug start option which is only existant in the SAP tomcat.bat,

the PATH which points to the native DLLs needed be JCo (and license manager?) as

well as the Proxy-settings for access by the Tomcat server.

I'm curious about how well the SDN will be accepted by developers.

But I won't be guilty of not participating 😉

Frerk Meyer

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 16, 2003 at 02:20 PM

    Hi Frank,

    Note also for higher versions of the JDK (1.3.1_7 +) the

    :debugServer target in tomcat.bat is faulty. Simply remove the

    '-classic' switch to be able to debug portal applications

    with higher JDKs (1.3.1_9 for me...).


    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.