DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12945>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12945

JSP Compilation errors: jars in WEB-INF/lib and classes in WEB-INF/classes not in 
classpath

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |



------- Additional Comments From [EMAIL PROTECTED]  2002-09-24 09:48 -------
In order to reproduce the failure with Tomcat 4.1.12 I followed these steps:

1.-  Downloaded file: jakarta-tomcat-4.1.12.tar.gz
     File size: 5.714.133 bytes

2.-  Extracted (unzipped) to folder: C:\Tomcat-4.1.12  [TOMCAT_HOME == 
CATALINA_HOME]

3.-  Created the following files into TOMCAT_HOME (C:\Tomcat-4.1.12):
     + environ.cmd
     + InstallTomcatAsWinNTService.cmd
     + shutdown.cmd
     + startup.cmd
     + UninstallTomcatAsWinNTService.cmd

4.-  Executed: InstallTomcatAsWinNTService.cmd
     + C:\Tomcat-4.1.12>InstallTomcatAsWinNTService.cmd
     + C:\Tomcat-4.1.12\bin\Tomcat.exe -install "Apache Tomcat 4.1.12" 
C:\j2sdk14\jre\bin\server\jvm.dll -Djava.class.path=C:\Tomcat-4.1.12
\bin\bootstrap.jar -Dcatalina.home=C:\Tomcat-4.1.12 -start 
org.apache.catalina.startup.BootstrapService -method main -params start -stop 
org.apache.catalina.startup.BootstrapService -method main -params stop -out 
C:\Tomcat-4.1.12\logs\stdout.log -err C:\Tomcat-4.1.12\logs\stderr.log
     + The service was successfully installed.
     + C:\Tomcat-4.1.12>

5.-  Started Tomcat with: "C:\Tomcat-4.1.12\startup.cmd"
     ( This first time execution created some extra folders, as you know :^)
     Tested its execution by accesing to a sample JSP (numberguess) 
under /examples context: Ok.
     Stopped Tomcat with: "C:\Tomcat-4.1.12\shutdown.cmd"

6.-  Started WinNT Service: "Apache Tomcat 4.1.12" with: net start "Apache 
Tomcat 4.1.12"
     Tested its execution by accesing to a sample JSP (date & snoop) 
under /examples context: FAIL.
     Stopped WinNT Service: "Apache Tomcat 4.1.12" with: net stop "Apache 
Tomcat 4.1.12"

7.-  Edited %TOMCAT_HOME%\conf\server.xml and set all "debug=0" values 
to: "debug=99"
     Edited %TOMCAT_HOME%\conf\web.xml and set all "debug" values to: "99"
     Deleted all log files
     Deleted all fles under: %TOMCAT_HOME%\work\Standalone\localhost

8.-  Started WinNT Service: "Apache Tomcat 4.1.12" with: net start "Apache 
Tomcat 4.1.12"
     Tested its execution by accesing to a sample JSP (carts & checkbox & 
error) under /examples context: FAIL.
     Stopped WinNT Service: "Apache Tomcat 4.1.12" with: net stop "Apache 
Tomcat 4.1.12"
     Moved log files to "NTService" folder under "logs".

9.-  Started Tomcat with: "C:\Tomcat-4.1.12\startup.cmd"
     Tested its execution by accesing to a sample JSP (carts & checkbox & 
error) under /examples context: FAIL.
     Stopped Tomcat with: "C:\Tomcat-4.1.12\shutdown.cmd"
     Moved log files to "StandAlone" folder under "logs".

10.- Generated: "Files.zip" with all files under \conf and \logs folders, and 
also the MSDOS scripts in %TOMCAT_HOME%.

It looks like the NT Service fails to find something to work fine.
Maybe that the "NT Service Install" command needs to be passed extra info 
regarding where is "ant", some library, or whatever, but started Tomcat as a 
Stand Alone task from command line, does not fails.


Attached I posted a ZIP file with all needed archives to test my installation.

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

Reply via email to