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