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

--------------------------------------------------------------
Hello

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" >
        </Context>
      </Host>
      </Engine>
   </Service>

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?

thanks

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/556951#556951]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to