-
1. Re: Property Service in Wildfly 8.2.Final
jaysensharma May 6, 2015 2:28 AM (in response to arnab_ghosh)The "org.jboss.varia.property.SystemPropertiesService" is not available in WildFly but you can use the properties file and pass it to your container as following:
./standalone.sh -P ../test.properties
You can also use the CLI command to configure individual system properties:
[standalone@localhost:9999 /] /system-property=foo:add(value=bar)
-
2. Re: Property Service in Wildfly 8.2.Final
abhinav.gupta01 May 6, 2015 9:46 PM (in response to arnab_ghosh)One more option is to add your property file as a module in WildFly .
You can get many example for this on forums.
Have a look.
-
3. Re: Property Service in Wildfly 8.2.Final
sanjay05222 May 6, 2015 10:55 PM (in response to abhinav.gupta01)Best way to handle the properties is provide in this location please read through it is as simple as setting up a modules
create a new module.xml as below
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.3" name="props-config">
<resources>
<resource-root path="properties"/>
</resources>
</module>
Create a file path
modules\props-config\main\properties
Drop the module.xml
modules\mrioasis-config\main\
instead of properties folder you can use current folder as well.
Go to Section "Modify the Resource Packaging"
I hope this helps
Sanjay Gautam
-
4. Re: Property Service in Wildfly 8.2.Final
arnab_ghosh May 8, 2015 12:44 PM (in response to sanjay05222)Thanks Sanjay. I will try this approach as well.
Regards
Arnab