Wondering if this is due to a classNotFoundException.
Do you run the script from the ant dir ?
The classpath defined in the script assumes so because it looks for jars in
the ../lib directory.
Cheers,
Guillaume Nodet
On 5/23/06, yusef <[EMAIL PROTECTED]> wrote:
Hi ,
I saw Guillaume's reply on this list, suggesting to use version 3.0 and
its
ant build file.
I have the same problem with Ant task to install a component.
I am using ServiceMix 3.0-SNAPSHOT and the Ant build file that is provided
with this version.
when I run the Ant task to install my component I get this output:
install-component:
[echo] install-component
[echo] Installing a service engine or binding component.
[echo] host=localhost
[echo] port=1099
[echo] file=../build/dist/mycomponent.jar
[jbi-install-component] Error accessing ServiceMix administration:
org/apache/commons/logging/LogFactory
BUILD FAILED
The following error occurred while executing this line:
Error accessing ServiceMix administration
ServiceMix is running fine, and I could connect to it using MC4J/JConsole
JMX consoles.
this is the build file:
<!-- install-component task -->
<target name="install-component"
description="Installs service engine or binding component
with
installation parameters.">
<echo message=" install-component"/>
<echo message=" Installing a service engine or binding
component."/>
<echo message=" host=${sm.host}"/>
<echo message=" port=${sm.port}"/>
<echo message=" file=${sm.install.file}"/>
<jbi-install-component
username="${sm.username}"
password="${sm.password}"
host="${sm.host}"
file="${sm.install.file}"/>
</target>
the value for username and password is default (empty string).
Any help is appreciated.
-- Yusef
--
View this message in context:
http://www.nabble.com/Exception+thrown+when+using+ServiceMix+AntTasks-t1361538.html#a4530009
Sent from the ServiceMix - User forum at Nabble.com.
--
Cheers,
Guillaume Nodet