This content has been marked as final.
Show 2 replies
-
1. Re: JBoss 5.1.0.GA, deployers.SARDeployer, local-directory e
work_registries Jul 15, 2009 1:56 PM (in response to work_registries)ad. jboss-service.xml content
<server> <local-directory path="kussscommon" /> </server>
-
2. Re: JBoss 5.1.0.GA, deployers.SARDeployer, local-directory e
work_registries Jul 15, 2009 3:56 PM (in response to work_registries)Follow-up: appart from SARDeployer local-directory problem, I seem to be unable to make JBoss Web deploy my static context as I did in JBoss 4.0.4.GA
in jbossweb.sar/server.xml: add to Host element<Host name="localhost" appBase="${jboss.server.data.dir}/empty-dir" deployOnStartup="true">
deployOnStartup="true" to let Tomcat deploy a context as described in http://tomcat.apache.org/tomcat-5.5-doc/config/context.html:
created: jboss/server/default/conf/jboss.web/localhost/common#pics.xml:<Context docBase="${jboss.server.data.dir}/common" />
alternatively, could add Context element as child to Host element in server.xml (discouraged by tomcat docs)
Both version do not seem to work in JBoss 5.1.0.GA / JBossWeb 2.1.3.GA any more: deployOnStartup is ignored
Is there a way to
A) make it work as described
B) advise JBossWeb to publish static content from filesystem under a specific (sub)context, without creating a webapp (.war, web.xml, jboss-web.xml, ...)