[jboss-user] [Datasource Configuration] - Re: how to pass parameters to ds.xml from jboss startup script?

Wolf-Dieter Fink do-not-reply at jboss.com
Wed Sep 21 10:17:10 EDT 2011


Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the discussion

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

To view the discussion, visit: http://community.jboss.org/message/627808#627808

--------------------------------------------------------------
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
[http://community.jboss.org/message/627808#627808]

Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110921/894248c7/attachment.html 


More information about the jboss-user mailing list