Remote Starting of a bundle

Hi Every body. I have a idea in my mind and I need to automate the bundle installation. can it be done using an Ant script or can we do it using a separate bundle. If some one has an idea pls reply. Thank you in advance.tharanga Wijethilake.
[262 byte] By [dtb.tharangaa] at [2007-10-3 6:41:33]
# 1

Hi again,

I found way to automate this using ant. In websphere studio application developer they offer some tasks to install smf bundles. I wrote following build file to submit the bundle "HelloWorld".

<project name="bundleRunner" default="submit_a_bundle" basedir=".">

<target name="submit_a_bundle">

<smfbd.submitJarBundle bundlepath="/HelloWorld" replace="true">

<bundleserver host="localhost" user="Admin" password="admin" port="8080" webapp="/smf"/>

</smfbd.submitJarBundle>

</target>

</project>

The build.xml file is in the same folder where the src and the METE-INF folder is in. Bundle runs fine.

But I when I run the build it gives the following error. Could anyone tell me what this means.

Buildfile: C:\Documents and Settings\tharanga\My Documents\IBM\wssitedev51\workspace\HelloWorld\build.xml

submit_a_bundle:

[smfbd.submitJarBundle] Error occurred submitting /HelloWorld

[smfbd.submitJarBundle]Connection aborted by peer: socket write error

BUILD SUCCESSFUL

Total time: 801 milliseconds

Thank you again.

Tharanga Wijethilake

dtb.tharangaa at 2007-7-15 1:30:39 > top of Java-index,Java Mobility Forums,Consumer and Commerce...