The problem was that the samples are linked from svn so they refer to the
latest stage of development. In this case to an unreleased 0.7.0.But now pax
Web 0.7.0 is out so there should be no problem anymore.

On Tue, Sep 8, 2009 at 1:06 PM, Rintcius Blok(dev) <d...@rintcius.nl> wrote:

> Hi,
>
> I was trying to run Hello World (JSP support (extended http service)) on
> http://srv07.ops4j.org:8081/display/paxweb/Examples
> and got the error:
>
> Oops, there has been a problem!
> URL [mvn:org.ops4j.pax.web/pax-web-jetty-bundle] could not be resolved.
>
> This was via the "download bundle" way.
>
> I also ran it directly through:
> $ ./pax-runner-1.1.1/bin/pax-run.sh
> 'scan-file:jar:mvn:org.ops4j.pax.web.samples/provision!/sample-helloworld-jsp.bundles'
>
> ______  ________  __  __
> / __  / /  __   / / / / /
> /  ___/ /  __   / _\ \ _/
> /  /    /  / /  / / _\ \
> /__/    /__/ /__/ /_/ /_/
>
> Pax Runner (1.1.1) from OPS4J - http://www.ops4j.org
> ----------------------------------------------------
>
> -> Using config [classpath:META-INF/runner.properties]
> -> Using only arguments from command line
> -> Scan bundles from
> [scan-file:jar:mvn:org.ops4j.pax.web.samples/provision!/sample-helloworld-jsp.bundles]
>
> -> Provision bundle [mvn:org.ops4j.pax.logging/pax-logging-api, at default
> start level, bundle will be started, bundle will be loaded from the cache]
> -> Provision bundle [mvn:org.ops4j.pax.logging/pax-logging-service, at
> default start level, bundle will be started, bundle will be loaded from the
> cache]
> -> Provision bundle [mvn:org.ops4j.pax.web/pax-web-service, at default
> start level, bundle will be started, bundle will be loaded from the cache]
> -> Provision bundle [mvn:org.ops4j.pax.web/pax-web-jsp, at default start
> level, bundle will be started, bundle will be loaded from the cache]
> -> Provision bundle [mvn:org.ops4j.pax.web.samples/helloworld-jsp, at
> default start level, bundle will be started, bundle will be loaded from the
> cache]
> -> Preparing framework [Felix 1.8.1]
> -> Downloading bundles...
> -> Using execution environment [J2SE-1.6]
> -> Runner has successfully finished his job!
>
> BTW: note that I had to use single quotes to make this working (under
> linux).
>
> When inspecting the contents of the bundle I noticed that the 3rd bundle
> should be mvn:org.ops4j.pax.web/pax-web-service instead of
> mvn:org.ops4j.pax.web/pax-web-jetty-bundle. After I edited the bundle it
> worked just like the direct way.
> So I think this is a bug or am I missing something?
>
> Rintcius
>
>
>
>
>
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general
>



-- 
Alin Dreghiciu
Software Developer
My profile: http://www.linkedin.com/in/alindreghiciu
My blog: http://adreghiciu.blogspot.com
http://www.ops4j.org - New Energy for OSS Communities - Open Participation
Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to