-
1. Re: Upload and Download to/from JBoss AS through JMX
frankthetank Mar 28, 2008 11:06 AM (in response to lafbarbosa)http://forum.java.sun.com/thread.jspa?threadID=518138&messageID=2477264
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=127272
Note: You do not have to put them in /deploy. If you do so, then remember that they are not deployed on restart![/url] -
2. Re: Upload and Download to/from JBoss AS through JMX
mazz Mar 28, 2008 11:11 AM (in response to lafbarbosa)That's another subsystem that the new open-source project RHQ is trying to address (http://rhq-project.org)
Our Content subsystem will allow us to manage pushing content to managed servers. With a JBossAS plugin, you'll be able to do what you want.
Right now, JBoss ON will give you this functionality (currently in beta, 2.0 to be released in several weeks). JBoss ON will come with a JBossAS plugin. (https://network.jboss.com/confluence/display/JON2/Home) -
3. Re: Upload and Download to/from JBoss AS through JMX
lafbarbosa Mar 28, 2008 2:17 PM (in response to lafbarbosa)Hi Frank,
Thanks for your answer.
You said that the archives I copy into server/default/deploy are not deployed on restart.
As I will make this copy (hot-deploy) when the JBoss AS is running, I think this is not a problem. Isn't it? Or you would like to say that, after a reboot of JBoss AS, these archives won't be deployed? -
4. Re: Upload and Download to/from JBoss AS through JMX
lafbarbosa Mar 28, 2008 2:24 PM (in response to lafbarbosa)Hi Mazz,
Thanks for your answer!
If JBossON could provide a way to Servlets can put and get .esb archives into/from server/default/deploy, for me that's ok. I just wanna do it programatically through a Servlet or any other way to access JBoss AS remotely.
I'll take a look in it to find a sample. -
5. Re: Upload and Download to/from JBoss AS through JMX
frankthetank Mar 31, 2008 2:40 AM (in response to lafbarbosa)To be honest, I am not sure. I'll have to try it out myself.
I presume if you use the Manager-thingie to deploy your archive, it is being linked into the search dir dynamically into memory and thus not available after restart.
If you copy the archive into the dir it will stil be there when you restart. -
6. Re: Upload and Download to/from JBoss AS through JMX
lafbarbosa Apr 1, 2008 8:56 AM (in response to lafbarbosa)Hi people,
I've been reading the JBossConfigEditor's source code and I am in doubt about something.
As you know I've been thought about a way:
- to get (download) .esb archives from JBossESB server/default/deploy directory to store it in my web application;
- to put (upload) .esb archives from my web application to copy them into JBossESB server/default/deploy directory.
So, I would like to know if JBossConfigEditor's Servlets could be usable for I develop these functionalities.
I already know that UploadServlet allows a config file to be uploaded and DownloadServlet allows the config to be downloaded, but how could I do that with .esb archives (like .jar or .war archives) into server/default/deploy directory?
And what about JSR-88, is it a way to do deployment? Does it run into JBoss 4.2.1?
Thanks in advance!
Regards,
Luiz -
7. Re: Upload and Download to/from JBoss AS through JMX
lafbarbosa Apr 2, 2008 5:21 PM (in response to lafbarbosa)Hi guys,
Mazz said that we should use RHQ or JBossON to do that things.
Ok, let's forget the download. In the example I gave (http://www.servletsuite.com/jmx/jconsole.htm), listing of deployed files and uploading of them is possible, and it seems to be an older version of JBoss.
In this way, please, does anybody know where could I find a source code that does it: to list archives into server/default/deploy and another one to upload them in this directory, like in http://www.servletsuite.com/jmx/jconsole.htm?
Thanks in advance!
Cheers,
Luiz