"[EMAIL PROTECTED]" wrote :
| I don't see the need to add <classpath/> tag to the -ds.xml
| since you get much better semantics by creating a sar that contains
| both the -ds.xml and the driver jar. But still no hotredeploy.
Thanks Adrian for the suggestion. Hot deploying a datasource using a sar works
great, where the sar looks like this:
mydatasource.sar/
| META-INF/jboss-service.xml = <?xml version="1.0"?><server></server>
| my-ds.xml
| mydriver.jar
One interesting thing I found is that if I deployed it exploded, I can't then
delete it, there is a lock on the META-INF folder? There is no problem deleting
it when archived. So in effect "hot undeploy" also works: removing the .sar
unbinds the datasource it created.
Also when I delete one .sar and replace it with another one, (same sar name,
just new driver) I get the following logged to the console: "INFO
[JCAResource] Registration is not done -> stop". Regardless of this, as we
would expect, after restarting the server the new driver is picked up perfectly.
Thanks
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862957#3862957
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862957
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user