From 96eb1a6f92744459754d8330559953f604a18479 Mon Sep 17 00:00:00 2001 From: hmalphettes Date: Tue, 6 Dec 2011 20:49:31 +0800 Subject: [PATCH] workaround to fix the test error. did not find why those packages that are imported in osgi-boot-jsp still can't be resolved by felix. --- .../org/eclipse/jetty/osgi/boot/TestJettyOSGiBootWithJsp.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/boot/TestJettyOSGiBootWithJsp.java b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/boot/TestJettyOSGiBootWithJsp.java index 1cf35b59908..d294d530a15 100644 --- a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/boot/TestJettyOSGiBootWithJsp.java +++ b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/boot/TestJettyOSGiBootWithJsp.java @@ -64,7 +64,7 @@ public class TestJettyOSGiBootWithJsp options.addAll(Arrays.asList(options( //workaround: for some reason, despite the fact that everyone of those packages is imported by the jsp fragment //felix complains that it cannot find them - //bootDelegationPackages("org.xml.sax", "org.xml.sax.helpers", "javax.xml.parsers", "org.w3c.dom", "javax.xml.transform", "org.w3c.dom.ls"), + bootDelegationPackages("org.xml.sax", "org.xml.sax.helpers", "javax.xml.parsers", "org.w3c.dom", "javax.xml.transform", "org.w3c.dom.ls"), // install log service using pax runners profile abstraction (there are more profiles, like DS) //logProfile(), @@ -72,7 +72,7 @@ public class TestJettyOSGiBootWithJsp //systemProperty( "org.ops4j.pax.logging.DefaultServiceLog.level" ).value( "INFO" ), // this just adds all what you write here to java vm argumenents of the (new) osgi process. - PaxRunnerOptions.vmOption( "-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006" ), + //PaxRunnerOptions.vmOption( "-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006" ), PaxRunnerOptions.vmOption("-Djetty.port=9876 -D" + OSGiServerConstants.MANAGED_JETTY_XML_CONFIG_URLS + "=etc/jetty.xml;" + testrealm.getAbsolutePath()),