This content has been marked as final.
Show 1 reply
-
1. Re: JMX remote deploy to ${jboss.server.lib.url}
mazz May 9, 2006 8:59 AM (in response to cveerman)This doesn't directly answer your question but... JBoss Operations Network has the capability to deploy any artifact/file to any directory under your JBossAS installation. This capability was added for just this use-case - deploying JDBC drivers, wars, ears, etc. to remote JBossAS servers.
That said, sure - you can deploy an MBean that has an operation that takes a byte[] array of the file contents and writes that contents to a local file. Then you remotely call that MBean passing in the file contents. Of course, the file can't be too large since you have to load it all in memory. And you'd have to worry about things like - do you need to restart the server in order to pick up the new library.