[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Exclude folder from deployment

2008-02-22 Thread abondi
I found something like the solution you propose in this forum. The problem is that I'd like to do this without touching jboss-service.xml configuration file but only modifying my META-INF/jboss-app.xml file, inside the container jar. Thank you very much for your interest! Andrea View the orig

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Exclude folder from deployment

2008-02-22 Thread abondi
Hello everybody, how can I exclude a folder from being deployed? I mean: I have a jar containing a folder named "components". In this folder there are few jars which are automatically deployed when I copy my original jar in the "deploy" folder. How can I prevent JBoss from doing this? I want to

[jboss-user] [Management, JMX/JBoss] - Array as param type when invoking an MBean

2008-02-12 Thread abondi
Hello everybody, I need to transfer a file using a byte array. How can I do this? I mean, the MBean has a method: public boolean fileUpload(byte[] bytes, String filename); And I want to invoke this using: boolean uploaded = (Boolean)(server.invoke(client, "fileUpload", params, sign)); Where pa

[jboss-user] [Management, JMX/JBoss] - Re: Retrieve Root Path

2008-02-11 Thread abondi
Thank you for your interest, I want to find the path of the directory where the MBean is deployed. The subdirectory of "deploy" in jboss. I.E. if my MBean is "example.ear" it will deploy under "jboss/server/default/deploy/example.ear/" and I want to retrieve the absolute path of this string. Th

[jboss-user] [Management, JMX/JBoss] - Retrieve Root Path

2008-02-10 Thread abondi
Hi everybody, I must retrieve the root path of my MBean. Is there any method to do this? Thank you Andrea View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128191#4128191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128

[jboss-user] [Management, JMX/JBoss] - File Transfer using MBeans

2008-02-08 Thread abondi
Hello everybody, I'm trying to develop ad MBean that can manage very simple file transfer over the net. I don't need any standard protocol, only simple file transfer from a client, written in java, and a server, and I wanted to do this using MBeans. Do you have any suggestion/example? Thank yo

[jboss-user] [Management, JMX/JBoss] - Re: File Transfer using MBeans

2008-02-08 Thread abondi
My idea is to open a ServerSocket when in the MBean is invoked one particular method, then connect from the client to this socket, transfer the file and close the ServerSocket. Is there any better method to do this? Thank you Andrea View the original post : http://www.jboss.com/index.html?mod

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Local Deployment using JSP & Servlet

2008-02-05 Thread abondi
I'm developing an application that must deploy ears using jsp and servlet. It's like an installer for j2ee applications: receives the request to deploy a package (war or ear) and ask the application server where it's hosted to deploy the specified package. I think it can be done using jsp, serv

[jboss-user] [Management, JMX/JBoss] - Jboss Remote Deploy using MBeans

2008-02-05 Thread abondi
I'm studying for remote deploying of ears using MBeans. I found the RemoteDeployer class. Is there any example of remote deploy? Thank you very much! Andrea View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126485#4126485 Reply to the post : http://www.jboss

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Confirmation of Deploy

2008-02-04 Thread abondi
I'm developing a deployer for J2EE applications. I need to deploy applications composed by many ears and to be distributed in different computers. They are tightly linked and dependent, so order of deploy is important. Is there a way to verify if one application is correctly deployed in one com