On 9/27/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote:
On 9/27/06, Jamie McCrindle <[EMAIL PROTECTED]> wrote:
> hi,
>
> in servicemix 3.0 final:
>
> it appears that the deploy and install directories are under
> %SERVICEMIX_HOME%/bin on windows rather than the deploy and install
> directories one level up. is that meant to be the case?
The batch file uses the current directory to start servicemix.
This is needed to launch examples that use a standalone
configuration. I guess we need a better way to deal with that.
Any idea ?
*ponders* some trickery could be done in the batch file to work out
where you are but personally, i'm not that bothered, it was just that
the deploy and install directories in the root were confusing. i shall
ponder it further.
>
> when copying installers into the install directory, it looks like
> servicemix tries unzipping it while the copy is still being done
> resulting in a "another process is using this file" error. i switched
> down from a 1s monitor to a 10s monitor which makes the race condition
> less likely.
Could you please raise a JIRA ? It should be easy to add a check
before processing the file.
Doing it again today and the problem seems to have gone away, so I'll
hold off the JIRA for now in the event that it was environmental.
>
> mvn jbi:servicemix seems to deploy servicemix-shared and my component
> fine but it doesn't appear to work when i put them both into the
> install directory of servicemix proper. am i deploying the
> servicemix-shared component correctly?
It should work ? What kind of errors do you see ?
If I manually copy the component and then manually copy the
servicemix-shared component into the install directory, I get this
error:
ERROR - AutoDeploymentService - Failed to update Component: test-j
bi-1.0-beta2-SNAPSHOT-installer.0.tmp
javax.jbi.management.DeploymentException: java.lang.NoClassDefFoundError: org/ap
ache/servicemix/common/BaseBootstrap
at org.apache.servicemix.jbi.framework.InstallationService.initializeIns
taller(InstallationService.java:450)
at org.apache.servicemix.jbi.framework.InstallationService.doInstallComp
onent(InstallationService.java:421)
at org.apache.servicemix.jbi.framework.InstallationService.doInstallArch
ive(InstallationService.java:372)
at org.apache.servicemix.jbi.framework.InstallationService.install(Insta
llationService.java:297)
I do have:
<shared-library version="3.0-incubating">servicemix-shared</shared-library>
in my jbi.xml. deploying using mvn:servicemix works fine, though.
i'd say hang on until someone else sees the problem because i'm going
to switch to using the maven goals for the next while.
thanks for the response!
cheers,
j.
>
> cheers,
> j.
>
--
Cheers,
Guillaume Nodet