You are working too hard.  My start-up icon looks like:

"C:\dev\tomcat\Tomcat 4.1.18\bin\catalina.bat" start

That's it.

--- Thomas Davis <[EMAIL PROTECTED]> wrote:
> 
> --- Norris Shelton <[EMAIL PROTECTED]> wrote:
> > Remember, these changes were for W2K PRO, should work on
> other
> > environments but YMMV.
> > 
> > setclasspath.bat
> > set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
> >      I added %CLASSPATH% after the = sign
> 
> Thanks for the tip.  I tried that (which was the same as my
> original
> attempt, but I tried again just for kicks) and it didn't work.
>  Further
> investigation revealed that the shortcut to start Tomcat
> doesn't call
> catalina.bat at all!  Instead, it calls this:
> 
>     C:\j2sdk1.4.2\bin\java.exe -jar -Duser.dir="C:\Program
> Files\Apache
> Group\Tomcat 4.1" "C:\Program Files\Apache Group\Tomcat
> 4.1\bin\bootstrap.jar" start
> 
> So I tried hacking the shortcut in the following ways:
> 
>     C:\j2sdk1.4.2\bin\java.exe -classpath "%CLASSPATH%" -jar
> -Duser.dir="C:\Program Files\Apache Group\Tomcat 4.1"
> "C:\Program
> Files\Apache Group\Tomcat 4.1\bin\bootstrap.jar" start
> 
>     C:\j2sdk1.4.2\bin\java.exe -classpath
> "c:\myapp\native;c:\myapp\foreign" -jar -Duser.dir="C:\Program
> Files\Apache Group\Tomcat 4.1" "C:\Program Files\Apache
> Group\Tomcat
> 4.1\bin\bootstrap.jar" start
> 
> But neither worked.  After restarting the server, I'm still
> presented
> with the expected error:
> 
>     javax.servlet.ServletException: Wrapper cannot find
> servlet class 
> com.myapp.servlet.BootStrap or a class it depends on
> 
> Somehow there must be a way to get the class loader to look in
> the
> "/foreign" and "/native" directories :-(
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


=====

Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Appriss, Inc.
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to