[JBoss-user] ant deploy task
Hi everybody, I remember having heard of an ant task which talks directly to the jboss deployer mbean, so you can get along w/o filesystem copies. Or does it only provide an url to the deployer?... Can anybody provide me whith a hint where to look for the thing? Regards, Michael Bartmann --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] ant deploy task
varia/output/lib/jbossjmx-ant.jar There are slight instructions in the package docs for it, I think I wrote more instructions in the patch notice. You can do arbitrary (serializable) mbean operations with it. As with all deployment, it works by sending a url to the deployer. The deployer copies all jars to a local temp directory. david jencks On 2002.11.04 14:24:59 -0500 Michael Bartmann wrote: Hi everybody, I remember having heard of an ant task which talks directly to the jboss deployer mbean, so you can get along w/o filesystem copies. Or does it only provide an url to the deployer?... Can anybody provide me whith a hint where to look for the thing? Regards, Michael Bartmann --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Ant JBoss NT service
JNT -Original Message- From: Guy Rouillier [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 18, 2002 1:51 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Ant JBoss NT service What are you using to run JBoss as a service? javants from the contrib directory? - Original Message - From: Kim, Yong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 16, 2002 2:52 PM Subject: [JBoss-user] Ant JBoss NT service It's sort of more generic question on Ant... Does anyone know (or even it's possible to do) how to stop and start the NT service using ANT? I am running JBoss as a NT service and I'd like to stop and start the JBoss using ANT... Thanks in advance, Mitch --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Ant JBoss NT service
Hi Yong. Try something along the lines of exec executable=service os=Windows and set the command line parameters to have the service name and start or stop, depending on what you are trying to do. I apologize, but I do not remember the exact syntax of the M$ service command, but a little experimentation and research should get you what you need. NB: You probably need to use an account with admin privileges to use the service command. -Steve Kim, Yong wrote: It's sort of more generic question on Ant... Does anyone know (or even it's possible to do) how to stop and start the NT service using ANT? I am running JBoss as a NT service and I'd like to stop and start the JBoss using ANT... Thanks in advance, Mitch --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Java/J2EE Developer/Systems Integrator Looking for a new job opportunity 214-724-7741 --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Ant 1.5 - ServerDeploy
We use a class that does this think for local deployments, but does not work for remote deployments. Is there anyway to change the deployer to allow us to push a stream to it? Right now it will only work if the file to be deployed can be seen on the file system, or from a url. I would like to see a true remote deployment that takes a local file and pushes it up. James Birchfield Director, Application Development Genscape, Inc. (502) 583-2298 (o) (502) 639-3136 (c) -Original Message- From: David Jencks [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 1:41 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Ant 1.5 - ServerDeploy Hmm, I left out some useful details. There's a jmx -rmi-connector or adapter that provides a remote representation of the mbean server. The testsuite uses it to deploy everything in the tests. Basically what you'd need to do is take testsuite/.../test/JBossTestServices.java and rewrite it into an ant task, removing some of the unneeded functionality. Thanks david jencks On 2002.05.29 12:44:24 -0400 Dave Smith wrote: Does the jboss mbean server have an socket connection for querying and executing mbeans or would you need an Ant mbean in jboss which acted as a proxy between the external ant task and jboss. What would be better is if we add an ant service running in jboss and a lightweight external client connection mechanism. The slowest part of ant is starting java and initializing the parser .. On Wed, 2002-05-29 at 12:18, David Jencks wrote: I looked at it and started implementing, however I didn't see a way to do it without including many jboss and/or jmx classes in ant, which I don't think they'd go for. The task has a rather questionable design, it is based on the assumption that you want to deploy to many app servers at once in the same task ?!?!? I would rather implement an ant task (in the jboss source tree) that can call methods on mbeans. This can then be used trivially as a deployer. Interested? thanks david jencks On 2002.05.29 11:14:02 -0400 Dave Smith wrote: I see that in ant 1.5 they have a ServerDeploy task. Has anyone looked at it or added a jboss function? ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Ant 1.5 - ServerDeploy
I see that in ant 1.5 they have a ServerDeploy task. Has anyone looked at it or added a jboss function? ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Ant 1.5 - ServerDeploy
I looked at it and started implementing, however I didn't see a way to do it without including many jboss and/or jmx classes in ant, which I don't think they'd go for. The task has a rather questionable design, it is based on the assumption that you want to deploy to many app servers at once in the same task ?!?!? I would rather implement an ant task (in the jboss source tree) that can call methods on mbeans. This can then be used trivially as a deployer. Interested? thanks david jencks On 2002.05.29 11:14:02 -0400 Dave Smith wrote: I see that in ant 1.5 they have a ServerDeploy task. Has anyone looked at it or added a jboss function? ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Ant 1.5 - ServerDeploy
Does the jboss mbean server have an socket connection for querying and executing mbeans or would you need an Ant mbean in jboss which acted as a proxy between the external ant task and jboss. What would be better is if we add an ant service running in jboss and a lightweight external client connection mechanism. The slowest part of ant is starting java and initializing the parser .. On Wed, 2002-05-29 at 12:18, David Jencks wrote: I looked at it and started implementing, however I didn't see a way to do it without including many jboss and/or jmx classes in ant, which I don't think they'd go for. The task has a rather questionable design, it is based on the assumption that you want to deploy to many app servers at once in the same task ?!?!? I would rather implement an ant task (in the jboss source tree) that can call methods on mbeans. This can then be used trivially as a deployer. Interested? thanks david jencks On 2002.05.29 11:14:02 -0400 Dave Smith wrote: I see that in ant 1.5 they have a ServerDeploy task. Has anyone looked at it or added a jboss function? ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Ant 1.5 - ServerDeploy
Hmm, I left out some useful details. There's a jmx -rmi-connector or adapter that provides a remote representation of the mbean server. The testsuite uses it to deploy everything in the tests. Basically what you'd need to do is take testsuite/.../test/JBossTestServices.java and rewrite it into an ant task, removing some of the unneeded functionality. Thanks david jencks On 2002.05.29 12:44:24 -0400 Dave Smith wrote: Does the jboss mbean server have an socket connection for querying and executing mbeans or would you need an Ant mbean in jboss which acted as a proxy between the external ant task and jboss. What would be better is if we add an ant service running in jboss and a lightweight external client connection mechanism. The slowest part of ant is starting java and initializing the parser .. On Wed, 2002-05-29 at 12:18, David Jencks wrote: I looked at it and started implementing, however I didn't see a way to do it without including many jboss and/or jmx classes in ant, which I don't think they'd go for. The task has a rather questionable design, it is based on the assumption that you want to deploy to many app servers at once in the same task ?!?!? I would rather implement an ant task (in the jboss source tree) that can call methods on mbeans. This can then be used trivially as a deployer. Interested? thanks david jencks On 2002.05.29 11:14:02 -0400 Dave Smith wrote: I see that in ant 1.5 they have a ServerDeploy task. Has anyone looked at it or added a jboss function? ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] ANT
Can someone who has used EJBDoclet send me their build.xml file? Devraj ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] ant tutorial for jboss
Looking at the ant/docs, you will find your answer. It is not that tough. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of marc fleury Sent: Tuesday, June 26, 2001 3:09 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] ant tutorial for jboss |Can someone please tell me where the best resoucres are for using ant |with jboss. wow that's a tough one... marcf ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] ant tutorial for jboss
|Can someone please tell me where the best resoucres are for using ant |with jboss. wow that's a tough one... marcf ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] ant tutorial for jboss
AS == Antony Stace [EMAIL PROTECTED] writes: AS Hi Folks Can someone please tell me where the best resoucres are AS for using ant with jboss. cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/jboss login cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/jboss co jbosstest/src/build Should do the trick. There is a nice build.xml file which is a good example on how to use ANT with jboss. Any other questions should probably be handled by the ANT FAQ and Manual. Happy Hacking! -- Nicolai P Gubahttp://www.gnu.org http://www.frontwire.com mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] GSM: +44 (0)7909 960 751 DDI: +44 (0)20 7368 9708 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] ant tutorial for jboss
Hi Folks Can someone please tell me where the best resoucres are for using ant with jboss. Cheers Tony ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Ant
you dont need custom tasks, just use jar and war and move and copy and mkdir etc. Ivan - Original Message - From: Hunter Hillegas [EMAIL PROTECTED] To: JBoss 2 [EMAIL PROTECTED] Sent: Sunday, June 24, 2001 3:37 PM Subject: [JBoss-user] Ant I've been using Ant with my JSP+Servlet projects and I'm trying to transition it to my work with EJBs. The only EJB related tasks seem to be associated with WebLogic... Is anyone using Ant with JBoss to build the beans, package a WAR, create an EAR? Hunter ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Ant
I've been using Ant with my JSP+Servlet projects and I'm trying to transition it to my work with EJBs. The only EJB related tasks seem to be associated with WebLogic... Is anyone using Ant with JBoss to build the beans, package a WAR, create an EAR? Hunter ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user