[jboss-user] [JBoss Web Services] - JBossWS on Jboss5.1.0 - Virtual host and service config

Sandeep Mohan do-not-reply at jboss.com
Wed Aug 11 13:41:39 EDT 2010

Sandeep Mohan [http://community.jboss.org/people/sandypm0] created the discussion

"JBossWS on Jboss5.1.0 - Virtual host and service config"

To view the discussion, visit: http://community.jboss.org/message/556951#556951


I recently upgraded from JBoss 4.0.5 to Jboss 5.1.0. In Jboss 4.0.5 there was a facility to configure my own service on a different port number apart from the regular 8443 and 8080. I did that from jboss-4.0.5/server/default/deploy/jbossweb-tomcat55.sar/server.xml with the following entry:

<Service name="mydir" className="org.jboss.web.tomcat.tc5.StandardService">
      <Connector port="9000" address="${jboss.bind.address}" compression="on"
           maxThreads="80" strategy="ms" maxHttpHeaderSize="8192"
           emptySessionPath="true" protocol="HTTP/1.1" maxSpareThreads="5"
           scheme="http" secure="false" clientAuth="false"
      <Engine name="myweb.web" defaultHost="localhost">
      <Host name="localhost" debug="0" appBase="webapps" deployXML="false"
              unpackWARs="false" autoDeploy="false">
        <Context path="/mydir" docBase="${jboss.server.home.dir}/mydir" debug="0"
                       cookies="false" reloadable="false" crossContext="false"
                        privileged="false" >

This will give me my own folder where i can deploy static files on and it will be available to me from  http://localhost:9000/mydir http://localhost:9000/mydir
Looks like this cannot be done in the jbossweb.sar\server.xml on Jboss 5.1.0. When the server starts it gives me an exception that the attributes are not recognized. Is there any other configuration i can do to acheive the same?



Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100811/b69e2d58/attachment.html 

More information about the jboss-user mailing list