aspose file tools*
The moose likes JBoss/WildFly and the fly likes Apllication config change Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Apllication config change" Watch "Apllication config change" New topic
Author

Apllication config change

Chandraprabha Rajput
Ranch Hand

Joined: Apr 01, 2003
Posts: 37
Hi All,

I having a config file which i have deployed in jboss deploy directory.
How I can make this file value configurable at run time. or Does JBOSS have an MBean by which i can do ?
file:

1.<?xml version="1.0" encoding="UTF-8"?>
2. <server>
3. <mbean code="org.jboss.naming.JNDIBindingServiceMgr" name="test=config">
4. <attribute name="BindingsConfig" serialDataType="jbxb">
5. <jndi:bindings xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
6. xmlns:jndi="urn:jboss:jndi-binding-service:1.0"
7. xs:schemaLocation="urn:jboss:jndi-binding-service:1.0 resource:jndi-binding-service_1_0.xsd">
8. <jndi:binding name="test/hello">
9. <java:properties xmlns:java="urn:jboss:java-properties"
10. xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
11. xs:schemaLocation="urn:jboss:java-properties resource:java-properties_1_0.xsd">
12 <java:property>
13 <java:key>job.run.time</java:key>
14 <java:value>2</java:value>
15 </java:property>
16 </java:properties>
17 </jndi:binding>
18 </jndi:bindings>
19 </attribute>
20 <depends>jboss:service=Naming</depends>
21 </mbean>
22 </server>

Thanks,
Chandra


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apllication config change
 
Similar Threads
How to deploy URLs like default URL provider in websphere
javax.naming.NamingException: Could not dereference object
Question about generating XSD
.SAR file problem
JBoss JNDI question - very basic