On 11/20/05, Johan Eltes <[EMAIL PROTECTED]> wrote:
> Here is the stack trace that 1.0.1 spits out when i deploy the jbi
> archives I've built from the Spring client example:
>
> /Johan
>
> Vidarebefordrat brev:
>
> > Från: Johan Eltes <[EMAIL PROTECTED]>
> > Datum: torsdag 17 nov 2005 00.01.59 GMT+01:00
> > Till: [email protected]
> > Ämne: Problems deploying Spring Client Toolkit jbi archives
> >
> > I get the following stacktrace when deploying generated archives to
> > servicemix 1.0.1 on JDK 1.4 on OS X. Any help would be very
> > appreciated.
> >
> > /Johan
> >
> > [WARN] AutoDeploymentService - -Directory: install: Automatic
> > install of ../install/mySecondComponent-1.0-jbi-installer.zip
> > failed
> > <org.springframework.beans.factory.BeanDefinitionStoreException:
> > IOException parsing XML document from file [/Users/johan/
> > Applications/servicemix-1.0.1/bin/Users/johan/Applications/
> > servicemix-1.0.1/bin/../wdir/defaultJBI/components/
> > mySecondComponent/installation/META-INF/jbi-spring.xml]; nested
> > exception is java.io.FileNotFoundException: Users/johan/
> > Applications/servicemix-1.0.1/bin/../wdir/defaultJBI/components/
> > mySecondComponent/installation/META-INF/jbi-spring.xml (No such
> > file or directory)
> > >org.springframework.beans.factory.BeanDefinitionStoreException:
> > IOException parsing XML document from file [/Users/johan/
> > Applications/servicemix-1.0.1/bin/Users/johan/Applications/
> > servicemix-1.0.1/bin/../wdir/defaultJBI/components/
> > mySecondComponent/installation/META-INF/jbi-spring.xml]; nested
> > exception is java.io.FileNotFoundException: Users/johan/
> > Applications/servicemix-1.0.1/bin/../wdir/defaultJBI/components/
> > mySecondComponent/installation/META-INF/jbi-spring.xml (No such
> > file or directory)
> > java.io.FileNotFoundException: Users/johan/Applications/
> > servicemix-1.0.1/bin/../wdir/defaultJBI/components/
> > mySecondComponent/installation/META-INF/jbi-spring.xml (No such
> > file or directory)
Do you have the jbi-spring.xml file? As long as you follow the
instructions, everything should work.
I do see one other thing and maybe I'm wrong, but the error may be due
to the fact that ServiceMix is looking for the jbi-spring.xml
descriptor here:
java.io.FileNotFoundException:
Users/johan/Applications/servicemix-1.0.1/bin/../wdir/defaultJBI/components/mySecondComponent/installation/META-INF/jbi-spring.xml
instead of here:
java.io.FileNotFoundException:
/Users/johan/Applications/servicemix-1.0.1/bin/../wdir/defaultJBI/components/mySecondComponent/installation/META-INF/jbi-spring.xml
Notice the leading slash is missing in couple of places in the stack trace.
This seems very odd though because the first part of the log output
states this:
IOException parsing XML document from file
[/Users/johan/Applications/servicemix-1.0.1/bin/Users/johan/Applications/servicemix-1.0.1/bin/../wdir/defaultJBI/components/mySecondComponent/installation/META-INF/jbi-spring.xml]
which does include the leading slash. Very weird.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
The Castor Project
http://www.castor.org/
Apache Geronimo
http://geronimo.apache.org/