[JBoss-user] [Management, JMX/JBoss] - Re: How to remotely deploy a MBean service using JBoss API?

2004-09-20 Thread yueming
Thanks for your reply! But could you give an example, I don't know how to use jsp to 
do the deployment work, is there some document somewhere?

Yueming

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848800#3848800

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848800


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: How to remotely deploy a MBean service using JBoss API?

2004-09-17 Thread genman

The URL you are giving is the one JBoss uses to connect to the client.  What you're 
using is a URL valid only on the client side.

If you want to deploy remotely, the client needs to make the file available remotely 
somehow.  You could create a .jsp which took a file via HTTP and then deployed it.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848634#3848634

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848634


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: How to remotely deploy a MBean service using JBoss API?

2004-09-17 Thread yueming
Hi there,
Thanks very much for your previous reply! But I found a problem, 
when my client code is running on the same machine with JBoss, everything works fine; 
if I run JBoss on a different machine, when I use MainDeployerMBean.deploy(URL) (I get 
the proxy object for MainDeployer from MBeanServerInvocationHandler), it always throws 
exception: 
org.jboss.deployment.DeploymentException: url file:/D:/myservice.sar could not be 
opened, does it exist?
at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:168)

The proxy object seems doesn't transfer myservice.sar to the remote JBoss via RMI. Is 
there a workaround for this? That is I need deployment happens at the client side, is 
that possible? Or maybe there is a way I can upload myservice.sar first to the remote 
JBoss's temporary working folder and then start the deployment using that URL?
I'd appreciate your help very much!

Yueming

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848628#3848628

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848628


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: How to remotely deploy a MBean service using JBoss API?

2004-09-15 Thread raja05
Yes its not persisted..The deployment state is not stored . The only way possible to 
have deployments of archives at startup is to store it somewhere accessible to jboss 
and point that as a deploy directory in jboss-service.xml

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848419#3848419

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848419


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: How to remotely deploy a MBean service using JBoss API?

2004-09-15 Thread yueming
Hi,
MainDeployer.deploy(URL) can deploy a sar remotely, but once when I shut down JBoss 
and restart, the deployed module by MainDeployer is lost, it seems JBoss won't persist 
the deployment made by MainDeployer. Am I missing something here? or could somebody 
shed some lights on?

Thanks,
Yueming

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848356#3848356

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848356


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: How to remotely deploy a MBean service using JBoss API?

2004-09-15 Thread yueming
Thanks, Dimitris! That works!
Yueming

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848335#3848335

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848335


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: How to remotely deploy a MBean service using JBoss API?

2004-09-14 Thread [EMAIL PROTECTED]
If you can get to the point of having a connection to the remote MBean server, you can 
call deploy(URL) on the MainDeployer.

Your archive will be then started from the provided URL

/Dimitris

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848213#3848213

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848213


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user