--- 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]