I am running into an issue deploying an exploded warfile which contains 
symlinks. This works with standalone Tomcat, but not with JBoss 4.0.2 + 
embedded Tomcat 5.5 (on RedHat Enterprise 4, JDK 1.5_06).

My exploded war directory contains a symlink to a WEB-INF directory. The 
TomcatDeployer deploys the webapp, but the ContextConfig cannot find the 
web.xml file, so it uses the default web.xml and the war's servlets don't get 
deployed. I get this error:

15:07:45,935 INFO  [ContextConfig] Missing application web.xml, using defaults 
only StandardEngine[jboss.web].StandardHost[localhost].StandardContext[/wfm]

Normally you'd fix this by adding a DefaultContext element within the Host of 
the tomcat config file (deploy/jbossweb-tomcat55.sar/server.xml):
  <DefaultContext allowLinking="true"/>

Unfortunately this does not work - the allowLinking attribute does not get 
propagated to the Catalina context. The JMX Mbean view of the deployed web app 
shows that the 'allowLinking' attribute is false - editing the MBean view 
throws an InvocationTargetException.

I also tried adding the allowLinking attribute to the default context file 
(deploy/jbossweb-tomcat55.sar/context.xml), but that did not work either.

So far, the answers I've found involve editing server.xml (which did not seem 
to work), or adding additional paths for deployment discovery (which i don't 
want). Also I don't care about portability - this is a UNIX-only app.

All of this works with standalone tomcat, so it looks like either a 
configuration problem or a bug in the tomcat/jboss deployer code. Any ideas? 
Thanks...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924070#3924070

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924070


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to