[jboss-user] [Installation, Configuration & DEPLOYMENT] - virtual directories in Jboss 5

david.bennett do-not-reply at jboss.com
Fri Dec 26 21:37:41 EST 2008


Hi,
    I am trying to upgrade to jboss 5 and cant a virtual directory to work. I serve static content from a directory outside of jboss. This was working fine up to 4.2.3 by specifying a context in deploy/jboss-web.deployer/server.xml inside the host tag : -



I tried duplicating this in jboss 5 in the 

deploy\jbossweb.sar\server.xml

however it fails on bootup with (Partial only)
10:55:10,539 ERROR [AbstractKernelController] Error installing to Start: name=WebServer state=Create
org.jboss.xb.binding.JBossXBException: Failed to parse source: Context not found as a child of Host
	at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)

which indicates you cant specify a context tag here any more. The server does start, but it fails to load the webserver because of this problem and nothing works.

Anyone have a solution to this?

thanks,
dave.

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

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



More information about the jboss-user mailing list