> Refactored the projectDeploy goal so that is can determine whether
> dependencies are already deployed and if so it will stop and undeploy
> them before redeploying

This seems to have broken the jbi:projectDeploy task here. I now get:

[ERROR] BUILD ERROR
[INFO] -------------------------------------------------------------------
[INFO] Unable to deploy project, Error accessing ServiceMix administration

When I attempt to deploy a project to a local ServiceMix.

I have configured debugging of Maven tasks under Eclipse and the error 
seems to occur in IsDeployedTask:33

        if (JBI_SHARED_LIBRARY.equals(type)) {
                String result = acs.listSharedLibraries(null, name);
                setDeployed(isResultContaining(result, "shared-library", name));
        } else if (JBI_SERVICE_ASSEMBLY.equals(type)) {
**              String result = acs.listServiceAssemblies(null, null, name);
                setDeployed(isResultContaining(result, "service-assembly", 
name));
        }

The AdminCommandsServiceMBean proxy appears to be connected correctly to 
the ServiceMix instance, however executing listServiceAssemblies(null, 
null, name) causes an immediate NullPointerException.

Terry

Reply via email to