I get the same warning when I use jbi:projectDeploy (on a SA). However,
everything seems to work as a new version of the component is installed and
initialized. The SA is initialized ok and runs fine.

projectDeploy works fine. the problem is that i have a situation where
two components need to use servicemix-shared. when I try projectDeploy
both of them, it can't uninstall servicemix-shared for the second one
and bombs out. so the plan was to use projectDeploy on the first one
and then installComponent on the second. this is so that i can do
incremental development on the second one  (i could wrap them all up
in a single project but projectDeploy will start taking longer and
longer as i add more components -- they take a bit of time to start
up).

Could it be that the component actually is installed (check if the
version number is increased)?

hmmm... could be. i'll investigate further.

cheers,
j.

On 10/11/06, Anders Hammar <[EMAIL PROTECTED]> wrote:

I get the same warning when I use jbi:projectDeploy (on a SA). However,
everything seems to work as a new version of the component is installed and
initialized. The SA is initialized ok and runs fine.

Have you tried the projectDeploy mojo? Also, what you get is a warning, not
an error. Could it be that the component actually is installed (check if the
version number is increased)?

/Anders


dkfn wrote:
>
> hiya,
>
> it appears that jbi:installComponent can't reinstall a component. I
> just get this error:
>
> WARN  - InstallationService            - Failed to delete old installation
> direc
> tory:
> C:\Java\apache-servicemix-3.0.1-incubating-SNAPSHOT\bin\data\smx\component
> s\mycomponent\version_1
>
> i tried it on its own and then tried jbi:shutdownComponent and then
> jbi:uninstallComponent (which gave this error: WARN  -
> EnvironmentContext             - Failed to remove directory structure
> for component [version]: mycomponent [mycomponent] ) first but neither
> seem to work.
>
> copying the component into the install directory seems to work.
>
> tried it from jconsole but oddly enough, it only shows the one
> installComponent operation, the one that takes properties and is
> disabled as a result.
>
> cheers,
> j.
>
>

--
View this message in context: 
http://www.nabble.com/mvn-jbi%3AinstallComponent-can%27t-seem-to-reinstall-component-tf2422163.html#a6753507
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Reply via email to