JBoss Community

Re: how to pass parameters to ds.xml from jboss startup script?

created by Wolf-Dieter Fink in Datasource Configuration - View the full discussion

replace the value with ${<your variable name>:<your default>}

 

e.g. minPoolsize  ==> <min-pool-size>${my.min.pool.size:5}</min-pool-size>

 

in that case you can add -Dmy.min.pool.size=10 to the JVM start (e.g. to run.conf JAVA_OPTS) or start run.sh -Dmy.min.pool.size=10

Reply to this message by going to Community

Start a new discussion in Datasource Configuration at Community