Hi Lilian !
The problems comes from the fact that some snapshots are supposed to
be found in the maven repository, but they are not there anymore.
Let me update this example asap.
Alternatively, you can try the following commands (i've tried them and
they should work):
features addUrl
http://svn.apache.org/repos/asf/servicemix/smx4/obr-repo/features-nmr-1.0-m1.xml
wsdl-first-example
It will install the wsdl-first example from the servicemix 3.2.1 distribution.
Answer 'y' to install the example.
Then you can run some commands:
jbi list
See http://servicemix.apache.org/nmr/1-quick-start.html
On Fri, Apr 25, 2008 at 4:32 PM, ldu <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> After your announce on smx4.0-m1 ( congratulations ! ), I try your sample
> application that is explained in the userguide's quickstart chapter.
>
> After the step 'obr start org.apache.servicemix.bundles.jaxb-impl-2.0.3
> camel-spring camel-example-osgi' I have this error message:
> ____ _ __ __ _
> / ___| ___ _ ____ _(_) ___ ___| \/ (_)_ __
> \___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ /
> ___) | __/ | \ V /| | (_| __/ | | | |> <
> |____/ \___|_| \_/ |_|\___\___|_| |_|_/_/\_\
>
> ServiceMix (1.0-m2)
>
> Type 'help' for more information.
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
> [EMAIL PROTECTED]:/> obr addUrl
>
> http://svn.apache.org/repos/asf/servicemix/smx4/obr-repo/repository-snapshot.xml
> [EMAIL PROTECTED]:/> obr start org.apache.servicemix.bundles.jaxb-impl-2.0.3
> camel-spring camel-example-osgi
> Target resource(s):
> -------------------
> ServiceMix OSGI Common Bundles: jaxb-impl (1.0.0.SNAPSHOT)
> camel-example-osgi (1.3.0.SNAPSHOT)
> camel-spring (1.3.0.SNAPSHOT)
>
> Required resource(s):
> ---------------------
> geronimo-activation_1.1_spec (1.0.1)
> ServiceMix OSGI Common Bundles: jaxb-api (1.0.0.SNAPSHOT)
> camel-core (1.3.0.SNAPSHOT)
> spring-tx (2.5.0)
> Resolver: Install error - org.apache.servicemix.bundles.jaxb-impl-2.0.3
> java.lang.RuntimeException: URL
> [mvn:http://people.apache.org/repo/[EMAIL
> PROTECTED]@noreleases!org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl-2.0.3/1.0-SNAPSHOT]
> could not be resolved.
> at
> org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:167)
> at java.net.URL.openStream(URL.java:1007)
> at
> org.apache.felix.bundlerepository.ResolverImpl.deploy(ResolverImpl.java:513)
> at
>
> org.apache.geronimo.gshell.obr.ObrCommandSupport.doDeploy(ObrCommandSupport.java:195)
> at
> org.apache.geronimo.gshell.obr.StartCommand.doExecute(StartCommand.java:26)
> at
>
> org.apache.geronimo.gshell.obr.ObrCommandSupport.doExecute(ObrCommandSupport.java:56)
> at
>
> org.apache.geronimo.gshell.support.OsgiCommandSupport.doExecute(OsgiCommandSupport.java:133)
> at
>
> org.apache.geronimo.gshell.support.OsgiCommandSupport.execute(OsgiCommandSupport.java:91)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
>
> org.springframework.osgi.service.importer.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:59)
> at
>
> org.springframework.osgi.service.importer.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:67)
> at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> at
>
> org.springframework.osgi.service.importer.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:34)
> at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> at
>
> org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
> at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> at
>
> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
> at
>
> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
> at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> at
>
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> at $Proxy12.execute(Unknown Source)
> at
>
> org.apache.geronimo.gshell.spring.SpringCommandRegistry$GroupCommand.execute(SpringCommandRegistry.java:221)
> at
>
> org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultCommandExecutor.java:209)
> at
>
> org.apache.geronimo.gshell.spring.SpringCommandExecutor.execute(SpringCommandExecutor.java:64)
> at
> org.apache.geronimo.gshell.ExecutingVisitor.visit(ExecutingVisitor.java:96)
> at
>
> org.apache.geronimo.gshell.parser.ASTExpression.jjtAccept(ASTExpression.java:17)
> at
>
> org.apache.geronimo.gshell.parser.SimpleNode.childrenAccept(SimpleNode.java:57)
> at
> org.apache.geronimo.gshell.ExecutingVisitor.visit(ExecutingVisitor.java:79)
> at
>
> org.apache.geronimo.gshell.parser.ASTCommandLine.jjtAccept(ASTCommandLine.java:17)
> at
>
> org.apache.geronimo.gshell.spring.SpringCommandLineBuilder$1.execute(SpringCommandLineBuilder.java:87)
> at
>
> org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultCommandExecutor.java:86)
> at
>
> org.apache.geronimo.gshell.spring.SpringCommandExecutor.execute(SpringCommandExecutor.java:60)
> at
> org.apache.geronimo.gshell.DefaultShell.execute(DefaultShell.java:123)
> at
> org.apache.geronimo.gshell.DefaultShell$1.execute(DefaultShell.java:155)
> at org.apache.geronimo.gshell.console.Console.work(Console.java:187)
> at org.apache.geronimo.gshell.console.Console.run(Console.java:128)
> at
> org.apache.geronimo.gshell.console.JLineConsole.run(JLineConsole.java:68)
> at
> org.apache.geronimo.gshell.DefaultShell.run(DefaultShell.java:202)
> at org.apache.geronimo.gshell.spring.GShell.run(GShell.java:115)
> at java.lang.Thread.run(Thread.java:595)
>
> Deploying...done.
> [EMAIL PROTECTED]:/>
>
> I thought it was because my repository maven wasn't up-to-date in my PC. So
> I have compiled the kernel.
> It is always the same result.
>
> I think it's because the jaxb-impl-2.0.3 bundle doesn't exist in your
> repository. But how can I modify it?
>
> Could you help me to understand this error ?
>
> Can you give the syntax to load a component on my pc ?
>
> Thank a lot.
> Lilian.
> --
> View this message in context:
> http://www.nabble.com/-SMX-4--Error-when-I-deploy-yoour-sample-application-tp16895801p16895801.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/