Hi,
The following show you how to run the examples that come with tomcat under
[jBoss+tomcat]. It probably has been answered somewhere, but I try to make
it as simple as possible. enjoy!
How to run example that comes with tomcat using [jBoss + tomcat]
=============================================================
Assume that <jboss_tomcat_home> is your installation home.
1. make sure that your jBoss starts without any question.
---------------------------------------------------------
Start it using run_with_tomcat.bat under
<jboss_tomcat_home>\jboss-2.0-FINAL\bin\
You should see the following line appears on your screen
:
[Default] jBoss 2.0 FINAL Started
2. Copy .war file.
-----------------
Go to <jboss_tomcat_home>\tomcat-3.2-b7\webapps directory
You should find a file called examples.war. Copy this file to
the deploy directory which is <jboss_tomcat_home>\jboss-2.0-FINAL\deploy
on my machine. After done copying, you should see some output
in the window console.
3. Testing.
-----------
Now, those examples are deployed under the environment and
you can use the following line to go to the menu page of those examples.
http://localhost:8080/examples/jsp/index.html
4. Question.
(1) If you see the following excepiton been thrown,
:
javax.servlet.ServletException: sun/tools/javac/Main
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
:
Fix: add <JDK1.3_HOME>/lib/tools.jar to your classpath and restart
everything.
(2) If you are curious where are those generated java source file for jsp
file,
they are in the following directory:
<jboss_tomcat_home>\tomcat-3.2-b7\work\localhost_8080%2Fexamples
Cheers,
FengShuo
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user