Micheal,
Not sure if this is related, but you can't have the struts.jar in the classpath when 
running strut applications under tomcat. You need the struts.jar when compiling with 
JBuilder, but not when running Tomcat. Tomcat picks up the struts.jar from your web 
applications' lib folder e.g. /tomcat3.2.1/webapps/yourapp/lib/struts.jar and NOT from 
the classpath. Hope this helps out.

-Gerry

At 09:34 AM 02/23/2001 +0100, [EMAIL PROTECTED] wrote:

>Hello,
>it's only slightly related to Struts, but I hope to find a JBuilder user who can
>help me
>with the  following problem:
>
>I use JBuilder 4 Enterprise Trial with Tomcat 3.2 and Struts. If I want to run
>the application,
>the Tomcat docBase is always set to D:\ instead of D:\TOMCAT.
>
>The same problem occured with the tomcat.home / install setting but could be
>solved
>by setting the correct path to the JVM via the -D.. parameter.
>
>The project properties for docBase etc. are set correctly.
>
>Here's the related output from JBuilder:
>
>------------------------------------------------------------------------------------------------------------------------
>
>Setting home to D:\
>Starting tomcat. Check logs/tomcat.log for error messages
>
>Context log: path="" Adding context path=""  docBase="D:\"
>Context log: path="/vip-gallery" Adding context path="/vip-gallery"
>docBase="D:\"
>Starting tomcat install="d:\tomcat\" home="D:\"
>classPath="C:\Programme\JBuilder4\tomcat\lib\webserver.jar;C:\Programme\JBuilder4\tomcat\lib\jasper.jar;C:\Programme\JBuilder4\tomcat\lib\xml.jar;C:\Programme\JBuilder4\lib\servlet.jar;D:\tomcat\vipshop\classes;C:\Programme\Oracle\JDeveloper
>
>3.2\myclasses\struts.jar;C:\Programme\JBuilder4\lib\webserverglue.jar;D:\tomcat\webapps\vip-gallery\WEB-INF\classes;C:\Programme\Oracle\JDeveloper
>
>3.2\myclasses\struts.jar;C:\Programme\JBuilder4\lib\servlet.jar;D:\tomcat\vipshop\classes;C:\Programme\JBuilder4\lib\jbuilder.jar;C:\Programme\JBuilder4\lib\help.jar;C:\Programme\JBuilder4\lib\gnuregexp.jar;C:\Programme\JBuilder4\jdk1.3\demo\jfc\Java2D\Java2Demo.jar;C:\Programme\JBuilder4\jdk1.3\jre\lib\i18n.jar;C:\Programme\JBuilder4\jdk1.3\jre\lib\jaws.jar;C:\Programme\JBuilder4\jdk1.3\jre\lib\rt.jar;C:\Programme\JBuilder4\jdk1.3\jre\lib\sunrsasign.jar;C:\Programme\JBuilder4\jdk1.3\lib\dt.jar;C:\Programme\JBuilder4\jdk1.3\lib\tools.jar;C:\Programme\Oracle\JDeveloper
>
>3.2\java1.2;
>C:\Programme\Oracle\JDeveloper 3.2\java1.2\jre;C:\Programme\Oracle\JDeveloper
>3.2\java1.2\lib"
>JSP Servlet Started
>...
>
>------------------------------------------------------------------------------------------------------------------------
>
>
>Do you have a suggestion how to set the docBase correctly?
>
>Regards
>
>Michael




Good, Cheap, or Fast: Pick any two.
---------------------------------------------------------------------------
       .           .        Gerry Chike
      .|.         .|.       IT Engineer, CSE-IT
     .|||.       .|||.      Cisco Systems - RTP
    .|||||.     .|||||.     Phone: +1 919.392.2701
  .:|||||||:. .:|||||||:.   7025 Kit Creek Rd RTP, NC 27709-4987
       Cisco Systems        [EMAIL PROTECTED]
---------------------------------------------------------------------------


Reply via email to