External context in server.xml

Solution Verified - Updated -

Issue

I have an application which writes files in directories outside the environment jboss. To access these directories, I added in server.xml(inside <Host> label), the following:

<Host>
...
 <Context path="/contexto1" 
          docBase="/dev/shm/directorio1">
 </Context>

 <Context path="/contexto2"   
          docBase="/tmp/directorio2">
 </Context>
...
</Host>



It works fine, but I get this warning in the logs:

WARN  [javax.enterprise.resource.webcontainer.jsf.config] Unable to process deployment descriptor for context '/contexto1'
WARN  [javax.enterprise.resource.webcontainer.jsf.config] Unable to process deployment descriptor for context '/contexto2'

What does it mean?? Am I doing something wrong?

Environment

  • JBoss Enterprise Application Platform (EAP) 4.3
  • JSF

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content