With the reference: URLs, Felix and Equinox both do not copy the bundle from it's original location. My issue was how Pax Web dealt with the bundle afterwards. The Spring DM Web Server actually copies the bundle no matter where it came from, to a temp directory. I'm just trying to avoid that, and it does seem like that is avoided with Pax Web.
Thanks. >>> Achim Nierbeck <[email protected]> 4/7/2011 3:23 AM >>> Hi Kurt, I added this thread to the mailinglist :) OK yes you can use urls you even can use something like mvn:groupid/artifactid/version the URL stuff is done the "regular" java way. But as usual the OSGi container either Felix or Equinox do some caching. That's probably why this might take a bit longer. You can also ask those kind of questions at the mailing list for Karaf since there are more people involved. :) regards, Achim 2011/4/7 Kurt Westerfeld <[email protected]>: > OK, should have waited as I resolved my classloader issue. I can verify > that reference: URLs work, but I'm not sure they are mounted as directories > directly. Can you confirm? > > On Wed, Apr 6, 2011 at 11:40 PM, Kurt Westerfeld <[email protected]> > wrote: >> >> To answer my own question, it seems yes, you can use reference: URLs. >> However, I'm not sure it's actually running from the referenced directory or >> not. >> >> On another note, using Karaf 2.2.0 I cannot for the life of me get the >> simplest of GWT webapps to load using paxweb. I am constantly getting a >> NoClassDefFound exception from java.lang.NoClassDefFoundError: >> com/google/gwt/user/client/rpc/RemoteService, which is embedded within >> WEB-INF/lib as a jar, and listed on the bundle classpath. I can get the >> exact same bundle to load using Spring DM Web. Is that something of a known >> issue or can I provide you a testcase for that? >> >> On Wed, Apr 6, 2011 at 10:22 PM, Kurt Westerfeld >> <[email protected]> wrote: >>> >>> Hey, Achim. Recently we had the need to deploy really large, GWT-based >>> webapps that are about 60MB in size. When using Spring-DM Web, this results >>> in deploying the war, which copies to bundle cache, and then re-copied to an >>> exploded dir in the TMP directory. This is obvoiusly not ideal. >>> >>> We started using reference:file:/ URL references and I patched Spring-DM >>> Web JettyWarDeployer to detect the use of the reference: URL and allow for >>> the webapp to be run directly from a directory. >>> >>> Does PaxWeb War Extender copy the bundle in any way? Or can it handle >>> reference: URLs? >> > > _______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
_______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
