Rolando Rivera wrote:

> Hello,
>         I downloaded the jboss_jetty.zip/jboss_tomcat.zip and looks like everything 
>is working fine. I'm trying to change the default configuration of jetty by modyfing 
>the jetty.xml, but looks like jboss is not reading the configuration at all. This is 
>what the MLET looks like this:
>
> <MLET CODE = "org.jboss.jetty.JettyService" ARCHIVE="jetty-service.jar" 
>CODEBASE="../../lib/ext/">
>       <ARG TYPE="java.lang.String" VALUE="/jetty.xml">
> </MLET>

I haven't got a copy of jboss-jetty in front of me but, if I recall correctly, this is 
how it works.

1. you sould be looking at $JBOSS_HOME/conf/default/jboss.conf
2. The path to the jetty.xml file should be given as a file: URL e.g. 
'file:/usr/local/java/jboss/conf/default/jetty.xml' (you should replace the path with 
one (absolute) that will find jetty.xml on your box)

The path (as I understand) cannot be set relative to the jboss installation as file: 
URLs must be fully specified - I am open to correction on this one - perhaps you can 
now put a simple file name here ???

So try this and let me know if you are still stuck,


Good luck,


Jules



>
>
> How can I change the default configuraton for jetty (and tomcat for that matter) 
>when they are running embeded?
>
> I also tryed to set the VALUE="JBOSS_HOME/conf/default/jetty.xml", but I got the 
>same result.
>
> I'm runing NT4.0.
>
>   Thanks in advance,
>
> --
>
> Rolando Rivera
> CYMSoft Enterprise Architect
>
> --
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



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

Reply via email to