0 Replies Latest reply on May 12, 2006 4:42 PM by Jeff Storck

    Configuring JBoss by web-app deployment?

    Jeff Storck Newbie

      Is it still possible to package DB and LDAP configuration information in your web app and have JBoss use that upon application deployment? Or is the only way to do this by adding (in my case) oracle-ds.xml to the server's deployment directory, and adding a policy to the login-config.xml?

      Here's a little background on why I'm asking this:

      My company's web app used to be deployed to Tomcat 5.0.28. There was a context.xml that included Oracle and LDAP configuration information in there, so that when the web app was deployed to Tomcat, it could read the config information in the context.xml and be able to authenticate users with our Active Directory server, and use the Oracle config so it could access our database.

      I've migrated the web app to work on JBoss 4.0.4CR2, but it looks like the DB and LDAP config needs to be in JBoss-specific config files (in my case, oracle-ds-xml and adding a policy to login-config.xml) instead of the context.xml packaged with the web app.

      Thanks in advance for your replies!

      Jeff