[jboss-user] [JNDI/Naming/Network] - Problem with Migration from Tomcat to JBoss
Ulrike
do-not-reply at jboss.com
Mon Jul 28 07:35:07 EDT 2008
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
More information about the jboss-user
mailing list