I really do not know what to say. You are now the second user that ran
into problems (from the ones that I know). The other user had
"java.lang.StackOverflowError".
The bad part is that I cannot duplicate it (using max osx leopard).
Works all the time and I did this quite some number of times.
Seems like bnd tool (the one used also by maven bundle plugin) has
some issues with large jars as petclinic one.
Can you try to do run using this spring petclnic war:
https://scm.ops4j.org/repos/ops4j/laboratory/users/adreghiciu/petclinic.war
It should not make any difference but maybe worth trying. It is a
petclinic war build by me a couple of days ago. So, just place it in
the folder you start pax runner from and use the sam pax-run command.

Thanx,
Alin

On Sun, Mar 9, 2008 at 4:09 AM, Ulrik Sandberg <[EMAIL PROTECTED]> wrote:
> I tried to get the Spring petclinic to run according to instructions, but
> end up with an OutOfMemoryError seemingly regardless of what heap size I
> specify:
>
> $ pax-run "--vmOptions=-Xmx768m"
> scan-file:jar:mvn:org.ops4j.pax.web-extender.samples/provision\!/spring-petclinic-2.5-wrap.bundles
>      ______  ________  __  __
>    / __  / /  __   / / / / /
>    /  ___/ /  __   / _\ \ _/
>  /  /    /  / /  / / _\ \
>  /__/    /__/ /__/ /_/ /_/
>
> Pax Runner from OPS4J - http://www.ops4j.org
>  --------------------------------------------
>
>  -> Using config [classpath:META-INF/runner.properties]
>   -> Provision from
> [scan-file:jar:mvn:org.ops4j.pax.web-extender.samples/provision!/spring-petclinic-2.5-wrap.bundles]
>   -> Installing bundle
> [{location=mvn:org.ops4j.pax.logging/pax-logging-api,startlevel=null,shouldStart=true,shouldUpdate=false}]
>   -> Installing bundle
> [{location=mvn:org.ops4j.pax.logging/pax-logging-service,startlevel=null,shouldStart=true,shouldUpdate=false}]
>   -> Installing bundle
> [{location=mvn:org.ops4j.pax.web/pax-web-service,startlevel=null,shouldStart=true,shouldUpdate=false}]
>   -> Installing bundle
> [{location=mvn:org.ops4j.pax.web/pax-web-jsp,startlevel=null,shouldStart=true,shouldUpdate=false}]
>   -> Installing bundle
> [{location=mvn:org.ops4j.pax.web-extender/pax-web-ex-war,startlevel=null,shouldStart=true,shouldUpdate=false}]
>   -> Installing bundle
> [{location=wrap:file:petclinic.war,jar:mvn:org.ops4j.pax.web-extender.samples/provision!/spring-petclinic-2.5.bnd,startlevel=null,shouldStart=true,shouldUpdate=false}]
>   -> Downloading bundles...
>
> ___e:petclinic.war,jar:mvn:org.ops4j.pax.web-extender.samples/provision!/spring-petclinic-2.5.bnd
> : connecting...
>          /  /
>        /  / Ops, there has been a problem!
>        /  /
>      /__/
>      ___
>    /__/
>
>  -> java.lang.OutOfMemoryError: Java heap space
> java.lang.OutOfMemoryError: Java heap space
>      at aQute.lib.osgi.EmbeddedResource.collect(EmbeddedResource.java:53)
>     at aQute.lib.osgi.EmbeddedResource.collect(EmbeddedResource.java:58)
>      at aQute.lib.osgi.EmbeddedResource.collect(EmbeddedResource.java:58)
>     at aQute.lib.osgi.EmbeddedResource.collect(EmbeddedResource.java:58)
>      at aQute.lib.osgi.EmbeddedResource.collect(EmbeddedResource.java:58)
>     ... etc
>
>
> --
> Ulrik
> _______________________________________________
>  general mailing list
>  [email protected]
>  http://lists.ops4j.org/mailman/listinfo/general
>
>

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to