[jboss-user] [JNDI/Naming/Network] - Global environment entries
crnflke
do-not-reply at jboss.com
Thu Dec 21 08:57:00 EST 2006
I'm trying to get some form of global environment entry so that it can be seen in JNDI by everybody.
We want a series of bits of information to be stored that will be different depending on whether the server is in a dev/test environment and a live environment. In Tomcat we used server.xml Environment tags, but this doesn't seem to work in JBoss.
I found the JNDI Binding Manager, but this causes me problems too, as it produces the cryptic error message
ObjectName: jboss.tests:name=example1
State: FAILED
Reason: org.jboss.deployment.DeploymentException: No property editor for attribute: BindingsConfig; type=class org.jboss.naming.JNDIBindings
This is for the example that's in the documentation!
We're using jboss4.0.5 with the EJB3 extensions.
The only other way I can see to attack this problem is something like a custom bit of Java code that does the necessary work, or alternatively storing the properties in a database, but both of them seem like a bit of a waste.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995592#3995592
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995592
More information about the jboss-user
mailing list