Yeah, that's what I was looking for when I asked the debug output.
I've yet no answers on both questions, but I think the first one may
be somewhere at
  http://wiki.ops4j.org/confluence/display/ops4j/Pax+URL+-+mvn
As for the second, I'm wondering if it uses the local repo.  I have
all these jars in my
local repo, so it may explain the behavior if you don't have them.

On Fri, Feb 29, 2008 at 12:46 PM, Lars Heinemann
<[EMAIL PROTECTED]> wrote:
> Guillaume,
>
>  after having a deeper look into the log I found the following interesting:
>
>  
> ---------------------------------------------------------------------------------
>  Executing (obr): [start, org.apache.servicemix.bundles.jaxb-impl-2.0.3,
>  camel-spring, camel-example-osgi]
>  12:09:29,609 | INFO  | Thread-5         | obr:start                        |
>  shell.support.OsgiCommandSupport  113 | Executing w/args:
>  [org.apache.servicemix.bundles.jaxb-impl-2.0.3, camel-spring,
>  camel-example-osgi]
>  12:09:33,313 | DEBUG | Thread-5         |
>  Connection                       | .pax.url.mvn.internal.Connection  212 |
>  Collecting versions from repostory
>  
> [http://people.apache.org/repo/m2-snapshot-repository/,releases=true,snapshots=false]
>  12:09:33,314 | DEBUG | Thread-5         |
>  Connection                       | .pax.url.mvn.internal.Connection  253 |
>  Skipping repository
>  
> [http://people.apache.org/repo/m2-snapshot-repository/,releases=true,snapshots=false],
>  reason: Snapshots not enabled
>  12:09:33,314 | DEBUG | Thread-5         |
>  Connection                       | .pax.url.mvn.internal.Connection  212 |
>  Collecting versions from repostory
>  [file:/home/lhe/.m2/repository/,releases=true,snapshots=true]
>  12:09:33,315 | DEBUG | Thread-5         |
>  Connection                       | .pax.url.mvn.internal.Connection  405 |
>  Resolving snapshot version [1.0-SNAPSHOT]
>  12:09:33,315 | DEBUG | Thread-5         |
>  Connection                       | .pax.url.mvn.internal.Connection  275 |
>  Resolving metadata
>  12:09:33,317 | DEBUG | Thread-5         |
>  Connection                       | .pax.url.mvn.internal.Connection  330 |
>  Resolving exact version
>  12:09:33,324 | DEBUG | Thread-5         |
>  Connection                       | .pax.url.mvn.internal.Connection  212 |
>  Collecting versions from repostory
>  [http://repo1.maven.org/maven2/,releases=true,snapshots=false]
>  12:09:33,324 | DEBUG | Thread-5         |
>  Connection                       | .pax.url.mvn.internal.Connection  253 |
>  Skipping repository
>  [http://repo1.maven.org/maven2/,releases=true,snapshots=false], reason:
>  Snapshots not enabled
>  12:09:33,325 | DEBUG | Thread-5         |
>  Connection                       | .pax.url.mvn.internal.Connection  212 |
>  Collecting versions from repostory
>  [http://repository.ops4j.org/maven2/,releases=true,snapshots=false]
>  12:09:33,325 | DEBUG | Thread-5         |
>  Connection                       | .pax.url.mvn.internal.Connection  253 |
>  Skipping repository
>  [http://repository.ops4j.org/maven2/,releases=true,snapshots=false], reason:
>  Snapshots not enabled
>  12:09:33,326 | DEBUG | Thread-5         |
>  Connection                       | .pax.url.mvn.internal.Connection  162 |
>  Could not download [Version [1.0-SNAPSHOT] from URL
>  
> [file:/home/lhe/.m2/repository/org/apache/servicemix/bundles/org.apache.servicemix.bundles.jaxb-impl-2.0.3/1.0-SNAPSHOT/org.apache.servicemix.bundles.jaxb-impl-2.0.3-1.0-SNAPSHOT.jar]]
>  12:09:33,331 | DEBUG | Thread-5         | DefaultCommandExecutor           |
>  mo.gshell.DefaultCommandExecutor  211 | Command completed with result: null,
>  after: 0:00:03.722
>  
> ---------------------------------------------------------------------------------
>
>  It complains about that the snapshots are disabled and so he skips the online
>  repo falling back to my local m2 repo....and there it will never find the
>  demanded files.
>  So how to turn on using snapshot versions? And why don't you guys have this
>  issue?
>
>  Regards,
>  Lars
>
>
>
>  Am Freitag, 29. Februar 2008 12:37:57 schrieb Lars Heinemann:
>
>
> > Guillaume,
>  >
>  > I've uploaded the log file.
>  > (http://people.apache.org/~lhein/data/servicemix.log)
>  >
>  > The following steps were done by me with a fresh installation (so the log
>  > was clean):
>  >
>  > 1. obr addUrl
>  > http://svn.apache.org/repos/asf/servicemix/smx4/obr-repo/repository-snapsho
>  >t.xml 2. obr start org.apache.servicemix.bundles.jaxb-impl-2.0.3
>  > camel-spring camel-example-osgi
>  > 3. exit
>  >
>  > Maybe this helps for tracking the problem.
>  >
>  > Regards,
>  > Lars
>  >
>  > Am Freitag, 29. Februar 2008 11:58:19 schrieb Guillaume Nodet:
>  > > Could you increase the log level and look at what's inside ?
>  > > Looking at the code, the maven url handler logs at debug and trace level,
>  > > so we may find something usefull in it.    The last solution is remote
>  > > debugging ...
>  > >
>  > > On Fri, Feb 29, 2008 at 11:47 AM, Lars Heinemann
>  > >
>  > > <[EMAIL PROTECTED]> wrote:
>  > > > Guillaume,
>  > > >
>  > > >  now I am really sure that something is wrong here.
>  > > >  The installation of the nmr still gives the same error.
>  > > >  I start to think about if its maybe really a proxy problem. What I am
>  > > >  wondering about is that mvn has no problems downloading things.
>  > > >  I set the environment vars for http_proxy and secure http_proxy as
>  > > > well as ftp. Strange thing.
>  > > >
>  > > >  Regards,
>  > > >  Lars
>  > > >
>  > > >  Am Freitag, 29. Februar 2008 11:39:50 schrieb Guillaume Nodet:
>  > > > > I've update the repositories, and I've been able to successfully
>  > > > >
>  > > >  > install the nmr
>  > > >  > and jbi features.   However, I'm thinking we'd better not use OBR
>  > > >  > for that, as it's
>  > > >  > really a pain to maintain these repositories.   We may want to
>  > > >  > convert these features to a list of bundles url using maven instead
>  > > >  > of obr (and obr using maven).
>  > > >  > When we control these features, I think it's much easier to work
>  > > >  > with.
>  > > >  >
>  > > >  > On Fri, Feb 29, 2008 at 10:10 AM, Lars Heinemann
>  > > >  >
>  > > >  > <[EMAIL PROTECTED]> wrote:
>  > > >  > > I just tried to install the NMR to the kernel.
>  > > >  > >
>  > > >  > >  [EMAIL PROTECTED]:/> features addUrl
>  > > >  > >
>  > > >  > > http://svn.apache.org/repos/asf/servicemix/smx4/obr-repo/features-
>  > > >  > >sn apsho t.xml
>  > > >  > >
>  > > >  > > [EMAIL PROTECTED]:/> obr addUrl
>  > > >  > >
>  > > >  > > http://svn.apache.org/repos/asf/servicemix/smx4/obr-repo/repositor
>  > > >  > >y- snaps hot.xml [EMAIL PROTECTED]:/> nmr
>
>
> > > >  > >  This feature is not yet installed.  Do you want to install it
>  > > >  > > (y/n) ? Installing feature.  Please wait...
>  > > >  > >  Unsatisfied requirement(s):
>  > > >  > >  ---------------------------
>  > > >  > >    (&(package=org.springframework.osgi.service.importer.support)
>  > > >  > >  (version>=1.0.0.rc1))
>  > > >  > >       ServiceMix NMR Spring
>  > > >  > >
>  > > >  > > (&(package=org.springframework.osgi.context)(version>=1.0.0.rc1))
>  > > >  > > ServiceMix NMR Spring
>  > > >  > >
>  > > >  > >  Something is really wrong here, isn't it? Do I miss some
>  > > >  > > settings? I am sitting behind a proxy but maven works fine for me.
>  > > >  > >
>  > > >  > >  Regards,
>  > > >  > >  Lars
>  > > >  > >
>  > > >  > >  Am Freitag, 29. Februar 2008 10:05:30 schrieb Lars Heinemann:
>  > > >  > > > Guillaume,
>  > > >  > > >
>  > > >  > >  > exact the same behaviour as described in my first mail.
>  > > >  > >  > I even tried to reinstall the kernel and then retry, but it
>  > > >  > >  > didn't helped.
>  > > >  > >  >
>  > > >  > >  > I really have no idea whats wrong there. Is that uri
>  > > >  > >  > referencing to jaxb-impl correct?
>  > > >  > >  >
>  > > >  > >  > Regards,
>  > > >  > >  > Lars
>  > > >  > >  >
>  > > >  > >  > Am Freitag, 29. Februar 2008 09:54:18 schrieb Guillaume Nodet:
>  > > >  > >  > > Could you retry ? I suspect a problem accessing the snapshot
>  > > >  > >  > > repository, as I've just run the same commands without any
>  > > >  > >  > > problems.
>  > > >  > >  > >
>  > > >  > >  > > On Fri, Feb 29, 2008 at 9:41 AM, Lars Heinemann
>  > > >  > >  > >
>  > > >  > >  > > <[EMAIL PROTECTED]> wrote:
>  > > >  > >  > > > Guillaume,
>  > > >  > >  > > >
>  > > >  > >  > > >  I just tested the kernel and found that the described
>  > > >  > >  > > > quickstart
>  > > >  > >  > > > (http://servicemix.apache.org/SMX4KNL/1-quick-start.html)
>  > > >  > >  > > > is not working for me. I don't know if it's only in your
>  > > >  > >  > > > version or if it's a general issue.
>  > > >  > >  > > >
>  > > >  > >  > > >  The following is the output:
>  > > >  > >  > > >
>  > > >  > >  > > >  [EMAIL PROTECTED]:/> obr addUrl
>  > > >  > >  > > >
>  > > >  > >  > > > http://svn.apache.org/repos/asf/servicemix/smx4/obr-repo/re
>  > > >  > >  > > >po sitor y-sna ps hot.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/m2-snapshot-repository!o
>  > > >  > >  > > >rg .apac he.se rv
>
> > > >  > >  > > > icemix.bundles/org.apache.servicemix.bundles.jaxb-impl-2.0.
>  > > >  > >  > > >3/ 1.0-S NAPSH OT] could not be resolved.
>  > > >  > > > > >
>  > > >  > > > > >         at
>  > > >  > > > > >
>  > > >  > >  > > > org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Co
>  > > >  > >  > > >nn ectio n.jav a: 167) at
>
> > > >  > >  > > > java.net.URL.openStream(URL.java:1007)
>  > > >  > > > > >
>  > > >  > > > > >         at
>  > > >  > > > > >
>  > > >  > >  > > > org.apache.felix.bundlerepository.ResolverImpl.deploy(Resol
>  > > >  > >  > > >ve rImpl .java
>
> > > >  > >  > > >
>  > > >  > >  > > >:5 13) at
>  > > >  > >  > > >
>  > > >  > >  > > > org.apache.geronimo.gshell.obr.ObrCommandSupport.doDeploy(O
>  > > >  > >  > > >br Comma ndSup po rt.java:195) at
>
> > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.apache.geronimo.gshell.obr.StartCommand.doExecute(Start
>  > > >  > >  > > >Co mmand .java
>
> > > >  > >  > > >
>  > > >  > >  > > >:2 6) at
>  > > >  > >  > > >
>  > > >  > >  > > > org.apache.geronimo.gshell.obr.ObrCommandSupport.doExecute(
>  > > >  > >  > > >Ob rComm andSu pp ort.java:56) at
>  > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.apache.geronimo.gshell.support.OsgiCommandSupport.doExe
>  > > >  > >  > > >cu te(Os giCom ma ndSupport.java:133) at
>
> > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.apache.geronimo.gshell.support.OsgiCommandSupport.execu
>  > > >  > >  > > >te (Osgi Comma nd Support.java:91) at
>
> > > >  > > > > >
>  > > >  > > > > > sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
>  > > >  > > > > > at
>  > > >  > > > > >
>  > > >  > >  > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingM
>  > > >  > >  > > >et hodAc cesso rI mpl.java:25) at
>
> > > > > >  > > >
>  > > > > >  > > > java.lang.reflect.Method.invoke(Method.java:585) at
>  > > > > >  > > >
>  > > >  > >  > > > org.springframework.osgi.service.importer.internal.aop.Serv
>  > > >  > >  > > >ic eInvo ker.d oI nvoke(ServiceInvoker.java:59) at
>
> > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.springframework.osgi.service.importer.internal.aop.Serv
>  > > >  > >  > > >ic eInvo ker.i nv oke(ServiceInvoker.java:67) at
>
> > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.springframework.aop.framework.ReflectiveMethodInvocatio
>  > > >  > >  > > >n. proce ed(Re fl ectiveMethodInvocation.java:171) at
>
> > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.springframework.osgi.service.importer.internal.aop.Serv
>  > > >  > >  > > >ic eTCCL Inter ce
>
> > > >  > >  > > > ptor.invoke(ServiceTCCLInterceptor.java:34) at
>  > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.springframework.aop.framework.ReflectiveMethodInvocatio
>  > > >  > >  > > >n. proce ed(Re fl ectiveMethodInvocation.java:171) at
>
> > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.springframework.osgi.service.importer.support.LocalBund
>  > > >  > >  > > >le Conte xtAdv ic e.invoke(LocalBundleContextAdvice.java:59)
>
> > > >  > >  > > > at
>  > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.springframework.aop.framework.ReflectiveMethodInvocatio
>  > > >  > >  > > >n. proce ed(Re fl ectiveMethodInvocation.java:171) at
>
> > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.springframework.aop.support.DelegatingIntroductionInter
>  > > >  > >  > > >ce ptor. doPro ce
>
> > > >  > >  > > > ed(DelegatingIntroductionInterceptor.java:131) at
>  > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.springframework.aop.support.DelegatingIntroductionInter
>  > > >  > >  > > >ce ptor. invok e(
>
> > > >  > >  > > > DelegatingIntroductionInterceptor.java:119) at
>  > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.springframework.aop.framework.ReflectiveMethodInvocatio
>  > > >  > >  > > >n. proce ed(Re fl ectiveMethodInvocation.java:171) at
>
> > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.springframework.aop.framework.JdkDynamicAopProxy.invoke
>  > > >  > >  > > >(J dkDyn amicA op Proxy.java:204) at
>  > > >  > >  > > > $Proxy12.execute(Unknown Source)
>  > > >  > > > > >
>  > > >  > > > > >         at
>  > > >  > > > > >
>  > > >  > >  > > > org.apache.geronimo.gshell.spring.SpringCommandRegistry$Gro
>  > > >  > >  > > >up Comma nd.ex ec ute(SpringCommandRegistry.java:221) at
>
> > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.apache.geronimo.gshell.DefaultCommandExecutor.execute(D
>  > > >  > >  > > >ef aultC omman dE xecutor.java:209) at
>
> > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.apache.geronimo.gshell.spring.SpringCommandExecutor.exe
>  > > >  > >  > > >cu te(Sp ringC om mandExecutor.java:64) at
>
> > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.apache.geronimo.gshell.ExecutingVisitor.visit(Executing
>  > > >  > >  > > >Vi sitor .java
>
> > > >  > >  > > >
>  > > >  > >  > > >:9 6) at
>  > > >  > >  > > >
>  > > >  > >  > > > org.apache.geronimo.gshell.parser.ASTExpression.jjtAccept(A
>  > > >  > >  > > >ST Expre ssion .j ava:17) at
>
> > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.apache.geronimo.gshell.parser.SimpleNode.childrenAccept
>  > > >  > >  > > >(S imple Node. ja va:57) at
>  > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.apache.geronimo.gshell.ExecutingVisitor.visit(Executing
>  > > >  > >  > > >Vi sitor .java
>
> > > >  > >  > > >
>  > > >  > >  > > >:7 9) at
>  > > >  > >  > > >
>  > > >  > >  > > > org.apache.geronimo.gshell.parser.ASTCommandLine.jjtAccept(
>  > > >  > >  > > >AS TComm andLi ne .java:17) at
>  > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.apache.geronimo.gshell.spring.SpringCommandLineBuilder$
>  > > >  > >  > > >1. execu te(Sp ri ngCommandLineBuilder.java:87) at
>  > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.apache.geronimo.gshell.DefaultCommandExecutor.execute(D
>  > > >  > >  > > >ef aultC omman dE xecutor.java:86) at
>
> > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > > org.apache.geronimo.gshell.spring.SpringCommandExecutor.exe
>  > > >  > >  > > >cu te(Sp ringC om mandExecutor.java:60) at
>
> > > >  > > > > >
>  > > >  > > > > > org.apache.geronimo.gshell.DefaultShell.execute(DefaultShell
>  > > >  > > > > >.j ava:1 23)
>  > > >  > > > > >
>  > > >  > >  > > >         at
>  > > >  > >  > > >
>  > > >  > >  > > > org.apache.geronimo.gshell.DefaultShell$1.execute(DefaultSh
>  > > >  > >  > > >el l.jav a:155 ) at
>
> > > >  > >  > > > org.apache.geronimo.gshell.console.Console.work(Console.jav
>  > > >  > >  > > >a: 187) at
>
> > > >  > >  > > > org.apache.geronimo.gshell.console.Console.run(Console.java
>  > > >  > >  > > >:1 28) at
>  > > >  > >  > > >
>  > > >  > >  > > > org.apache.geronimo.gshell.console.JLineConsole.run(JLineCo
>  > > >  > >  > > >ns ole.j ava:6 8) at
>
> > > >  > >  > > > org.apache.geronimo.gshell.DefaultShell.run(DefaultShell.ja
>  > > >  > >  > > >va
>  > > >  > >  > > >
>  > > >  > >  > > >:202)
>  > > >  > > > > >
>  > > >  > > > > > at
>  > > >  > > > > > org.apache.geronimo.gshell.spring.GShell.run(GShell.java:115
>  > > >  > > > > >) at
>  > > >  > > > > >
>  > > >  > >  > > > java.lang.Thread.run(Thread.java:595)
>  > > >  > >  > > >
>  > > >  > >  > > >  Deploying...done.
>  > > >  > >  > > >
>  > > >  > >  > > >
>  > > >  > >  > > >  The demo definitly doesn't run as it should.
>  > > >  > >  > > >
>  > > >  > >  > > >  I tested most of the rest of the console functions and
>  > > >  > >  > > > they seem to work fine. So if this issue gets solved I
>  > > >  > >  > > > would vote with +1.
>  > > >  > >  > > >
>  > > >  > >  > > >  Regards,
>  > > >  > >  > > >  Lars
>  > > >  > >  > > >
>  > > >  > >  > > >  Am Donnerstag, 28. Februar 2008 17:51:54 schrieb Guillaume
>  >
>  > Nodet:
>  > > >  > >  > > > > I've uploaded a distribution of ServiceMix Kernel 1.0-m2.
>  > > >  > >  > > > >
>  > > >  > >  > > >  > http://people.apache.org/~gnodet/staging/servicemix-kern
>  > > >  > >  > > >  >el -1.0- m2/or g/ apach
>
> > > >  > >  > > >  > e/servicemix/kernel/apache-servicemix-kernel/1.0-m2 The
>  > > >  > >  > > >  > svn
>  > > >  > > > > >  >
>  > > >  > > > > >  > tag is available at
>  > > >  > > > > >  >
>  > > >  > >  > > >  > http://svn.apache.org/repos/asf/servicemix/smx4/kernel/t
>  > > >  > >  > > >  >ag s/ker nel-1 .0 -m2/
>
> > > >  > >  > > >  >
>  > > >  > >  > > >  > This second milestone mostly contain bug fixes compared
>  > > >  > >  > > >  > to m1, but some of them are quite important.
>  > > >  > >  > > >  > Release notes:
>  > > >  > >  > > >  >
>  > > >  > >  > > >  > http://svn.apache.org/repos/asf/servicemix/smx4/kernel/t
>  > > >  > >  > > >  >ag s/ker nel-1 .0 -m2/R ELEASE-NOTES.txt
>
>
> > > >  > >  > > >  >
>  > > >  > >  > > >  > [ ] +1 Release ServiceMix Kernel 1.0-m2
>  > > >  > >  > > >  > [ ] -1 Do not release
>  > > >  > >  > > >  >
>  > > >  > >  > > >  > Happy reviewing and voting
>
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to