|
 |
Monday, March 31, 2003 |
|
jetty notes
jetty questions to answer tomorrow:
- How does one turn off the pre-compiled jsp option? ________.
- Which -D command line java options are being used to start jetty? Eliminate one at a time to clean log files.
- Which -D options are there in general?
- Number of webapps in the directory: ____.
- Number of webapps explicitly added through jetty.xml, admin.xml, demo.xml and webdefault.xml: ___.
- How to find errors encountered on startup: ____.
- How to find errors encountered starting a specific webapp: ____.
- When installing jettysvc, it should be installed in a)%java_home%/jre/bin/server, b)%java_home%/jre/bin/client, c)%java_home%/jre/bin/hotspot. Why does this matter?
Idea for daily build (upgrade webapp1) scheduled task on server runs bat file that does following:
- turn off service ("net stop jettysvc")
- rename dir webapp1 to webapp1_old (do this only if webapp1_new exists. how?)
- rename dir webapp1_new to webapp
- start service ("net start jettysvc")
- experiment: with jettysvc running, try to delete webapp1_old