I think I have almost got it.  I am looking for an example jetty-web.xml
file?  Does anyone have one?  I am trying to add a web application to jetty
and have put a jetty-web.xml file in my war file.  Here is what I have so
far, the xml parser is definitely looking for something different.  Thanks
in advance.

Here is what I have in my jetty-web.xml:

<Configure class="org.mortbay.jetty.Server">

  <Set name="ChunkingForced" type="boolean">false</Set>
  <Call name="addWebApplication">
    <Arg>/</Arg>
    <Arg><SystemProperty name="broker.webapp" default=".."/></Arg>
    <Arg><SystemProperty name="broker.home"
default=".."/>/WEB-INF/web.xml</Arg>
    <Call name="getResourceHandler">
      <Set name="AcceptRanges" type="boolean">false</Set>
    </Call>
  </Call>

</Configure>

Thanks.

Steve


-----Original Message-----
From: Steven Jardine [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 10:52 AM
To: Julian Gosnell; [EMAIL PROTECTED]
Subject: RE: [JBoss-user] JBoss-Jetty Setup


Thanks for your help Jules.  This is what I ended up doing:

  <Call name="addListener">
    <Arg>
      <New class="org.mortbay.http.SunJsseListener">
        <Set name="Port">8443</Set>
        <Set name="MinThreads">5</Set>
        <Set name="MaxThreads">255</Set>
        <Set name="MaxIdleTimeMs">30000</Set>
        <Set name="MaxReadTimeMs">10000</Set>
        <Set name="MaxStopTimeMs">5000</Set>
        <Set name="LowResourcePersistTimeMs">2000</Set>
        <Set name="Keystore"><SystemProperty
name="jboss.server.home.dir"/><SystemProperty name="jetty.home"
default="/etc"/>/keystore</Set>
        <Set name="Password">MYPASSWORD</Set>
        <Set name="KeyPassword">MYKEYPASSWORD</Set>
      </New>
    </Arg>
  </Call>

It works great.  Thanks again.

Steve

-----Original Message-----
From: Julian Gosnell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 9:31 AM
To: Steven Jardine; [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JBoss-Jetty Setup


<SystemProperty name="jetty.home"> dereferences the
java property "jetty.home" - which no longer exists,
now that Jetty is packaged in a SAR rather than it's
own filespace.

Try an absolute filepath here.

jboss.home may still exist, so once you get this
working you could try using that to position your file
relative to your jboss installation.

Good Luck,

Jules



 --- Steven Jardine <[EMAIL PROTECTED]> wrote: > I
am attempting to set up a Jetty SSLListener for
> the JBoss3.0.0beta2.  I
> remove the comment for the SSLListener in the
> jboss-service.xml file and add
> a keystore, password and keypassword.  The problem
> is the path for the
> keystore.  JBoss cannot find the keystore.  Could
> anyone explain to me where
> the path I have listed points to.  I thought it
> would point to
> "{jboss-home}/server/default/etc"
>
> Thanks in advance.
>
> Steve
>
> Here is the XML I currently have:
>
>            <Call name="addListener">
>              <Arg>
>                <New
> class="org.mortbay.http.SunJsseListener">
>                  <Set name="Port">8443</Set>
>                  <Set name="MinThreads">5</Set>
>                  <Set name="MaxThreads">255</Set>
>                  <Set
> name="MaxIdleTimeMs">30000</Set>
>                  <Set
> name="MaxReadTimeMs">10000</Set>
>                  <Set
> name="MaxStopTimeMs">5000</Set>
>                  <Set
> name="LowResourcePersistTimeMs">2000</Set>
>                  <Set
> name="Keystore"><SystemProperty name="jetty.home"
> default="/etc"/>/keystore</Set>
>                  <Set
> name="Password">MYPASSWORD</Set>
>                  <Set
> name="KeyPassword">MYKEYPASSWORD</Set>
>                </New>
>              </Arg>
>            </Call>
>
>

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to