Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-dev] fork the JVM in jetty-maven-plugin?

Hi!

I think it would be beneficial to be able to fork the JVM in which
jetty-maven-plugin
(http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin) runs, just
like Maven Surefire plugin currently allows
(http://maven.apache.org/plugins/maven-surefire-plugin/examples/forking.html).

Sometimes forking is necessary. E.g. when a web application loads a
native library through JNI - starting a Jetty container more than once
in such a build causes an UnsatisfiedLinkError (e.g.
java.lang.UnsatisfiedLinkError: Native Library /usr/lib/libfoo.so
already loaded in another classloader).

What do you think about the general idea?

-- 
Best Regards,
  Aleksander Adamowski
  http://olo.org.pl


Back to the top