Guys,

Jetty is looking for it's default XML parser.

My JBoss integration tells Jetty to use the XML parser
distributed with JBoss, to cut down on classes.

This is done in the run.sh script by a
-Dorg.xml.sax.parser=com.sun.xml.parser.Parser.

I expect your run script is out of date. The one
checked into CVS shortly after contrib/jetty provides
this flag.

Hope that helps,



Jules


"Michael G. Drew" wrote:

     Hi all,     I'm having trouble getting the
jBoss/Jetty integration to work.  I get the following
exception when jboss 
  starts:[Jetty] Testing if Jetty is
present.....[Jetty] Configuration error 
 
jar:file:/usr/java/jBoss/bin/webapps/default|/org.xml.sax.SAXException:
/usr/java/jBoss/bin/etc/webdefault.xml (no 
  such file or directory)       at
com.microstar.xml.SAXDriver.parse(SAXDriver.java:189) 
 <<<< snip >>>>>
           The exception is correct, there is no
webapps/default in jboss's bin directory.  It looks
like Jetty is trying to use 
  $JBOSS_HOME instead of $JETTY_HOME to look for its
files.  I did have to change the run.sh script to
include the 
  $JETTY_HOME/lib jar files in the classpath and also
to set a -Djetty.home=$JETTY_HOME to the startup line
to get this far.  
  Are there other system properties or environment
vars that need to be set?  I tried setting $JETTY_ETC,
with no luck.
     Michael G. DrewKishwaukee CollegeInterface
[EMAIL PROTECTED](815) 825-2086 ext 595




__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to