From: Dain S. <da...@da...> - 2002-07-29 16:55:45
|
Aaron Metzger wrote: > Is there a way to dynamically configure data sources without > restarting the JBoss server. All services in JBoss can be reconfigured without restarting the JBoss server, but that doesn't mean that you don't have to restart the individual service. > We have one and only one instance running and its controlled by > someone else. > Its an act of congress to get the server restarted because it takes > down applications the business depends upon. > But we are allowed to redeploy as many times as we want. > > So, its a real help if anyone can show a way to dynamically add data > sources either programmatically or as part of the deployed app (ear > file). Not my area, but you can deploy a datasource as part of a .sar or a -service.xml file. You just copy the driver jar and then the -service.xml into the deploy directory and your datasource starts. David, how do you deploy a new datasource programmatically? -dain |