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

PDK 5.0.5.0 - 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 5.0.5.0 which you may download from www.iviewstudio.com 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 tomcat.org.bat and restart.org.bat.

After unzipping the tomcat_pdk_5_0_5_0 archive into your Tomcat directory

you are able to compare tomcat.bat and tomcat.org.bat.

(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 comment
10|10000 characters needed characters exceeded

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...).

    -Jeremiah

    Add comment
    10|10000 characters needed characters exceeded