I have a project which currently runs on Tomcat 5.5.17 and needs to be deployed 
on JBoss AS 4.2.2.GA.

There is a simple JNDI-lookup: 
Context env = (Context)new InitialContext().lookup("java:comp/env");

On Tomcat we had ...\conf\Catalina\localhost\myApplication.xml:
<?xml version="1.0" encoding="UTF-8"?>
  | <Context reloadable="true">
  |   <Environment
  |     name="myVar"
  |     override="false"
  |     type="java.lang.String"
  |     value="myValue"/>
  | </Context>

How can I configure this on JBoss without changing the application?
I would like to have a simple config file outside the application that isn't 
affected by a redeployment of the application.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166960
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to