Simpler question here:
Is it possible to deploy an exploded directory which has the .war structure outside the jboss deploy/ directory?
Part of the answer is yes because we currently have a working webapp (jsp compilation, execution and reloading) deployed this way BUT services provided by JBoss such as JNDI and JAAS are not visible to the application.
Where should we look?
Are these JNDI and JAAS services available to your application if you deploy in $JBOSS_SERVER/deploy directory?
Also, I am not sure, but I think setting up JNDI references is a two step process. The web.xml elements specify how to map resources from names that are deployment specific to names used by application. Then you must also map from the server environment name to your deployment environment name. See http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html for more details.
Finally, I would try to look at TRACE logging of the Deployer and JNDI actions to see how things are getting bound(or not bound).
hope this is helpful, cgriffith[/url]
I am sorry if I am miss-leading. I am not sure what exactly your application is not able to access. My post before assumes that you are having trouble setting a resource reference. However, after reading your post again, as well as the other thread (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=80616), I am sure I am way off base.
That said, I would still look at TRACE logging to see what is happening when war is deployed.
If you have any other info, let us know so we can help,
Found the problem. Virtual host's files MUST be deployed in the deploy directory. I simply put a symbolic link (on Linux) named with a .war suffix
For symbolic links on Windows, see http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3887963
Also, I removed the
attributes found in the Host element in server.xml
(which was used to specify the webapp's root directory)
Now the webapp is hooked into JBoss and JNDI, datasources, JAAS are accessible as expected.
thanks for your time