Hi Stuart, I did as you asked and now it hangs at this point: -> start 5 DEBUG: WIRE: 5.0 -> au.edu.qut.ranet.p2ps.service -> 4.0 DEBUG: WIRE: 5.0 -> org.osgi.framework -> 0 [Linking class au/edu/qut/ranet/p2ps/service/itest/Activator] Before reference Class name is au.edu.qut.ranet.p2ps.service.P2PS [Linking class org/apache/felix/framework/util/ldap/Parser$PresentOperator] [Loaded org/apache/felix/framework/util/ldap/Parser$PresentOperator] Got past reference [Loaded java/util/logging/FileHandler from /mnt/hda/sw/share/classpath] [Linking class java/util/logging/FileHandler] [Loaded java/util/logging/XMLFormatter from /mnt/hda/sw/share/classpath] [Linking class java/util/logging/XMLFormatter] [Loaded java/text/Format from /mnt/hda/sw/share/classpath] [Linking class java/text/Format] [Loaded java/text/DateFormat from /mnt/hda/sw/share/classpath] [Linking class java/text/DateFormat] [Loaded java/text/SimpleDateFormat from /mnt/hda/sw/share/classpath] [Linking class java/text/SimpleDateFormat] [Loaded java/util/Calendar from /mnt/hda/sw/share/classpath] [Linking class java/util/Calendar] [Loaded java/util/GregorianCalendar from /mnt/hda/sw/share/classpath] [Linking class java/util/GregorianCalendar] [Loaded java/util/TimeZone from /mnt/hda/sw/share/classpath] [Linking class java/util/TimeZone] [Loaded java/util/TimeZone$1 from /mnt/hda/sw/share/classpath] [Linking class java/util/TimeZone$1] [Loaded java/util/VMTimeZone from /mnt/hda/sw/share/classpath] [Linking class java/util/VMTimeZone] [Loaded java/util/SimpleTimeZone from /mnt/hda/sw/share/classpath] [Linking class java/util/SimpleTimeZone] [Loaded java/util/ResourceBundle from /mnt/hda/sw/share/classpath] [Linking class java/util/ResourceBundle] [Loaded java/util/ResourceBundle$BundleKey from /mnt/hda/sw/share/classpath] [Linking class java/util/ResourceBundle$BundleKey] [Loaded java/lang/StackOverflowError from /mnt/hda/sw/share/classpath] [Linking class java/lang/StackOverflowError] [Loaded java/lang/ThreadDeath from /mnt/hda/sw/share/classpath] [Linking class java/lang/ThreadDeath] [Loaded java/net/MalformedURLException from /mnt/hda/sw/share/classpath] [Linking class java/net/MalformedURLException]
On 9/10/07, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > On 08/09/2007, Ken Robinson <[EMAIL PROTECTED]> wrote: > > > > Just an update, > > I've used the verbose switch. It look like a Stack overflow (I think). > > > Hi Ken, this might be related to the following issue: > > > http://mail-archives.apache.org/mod_mbox/felix-dev/200709.mbox/[EMAIL > PROTECTED] > > [ subject was "Re: Felix on Harmony (was Re: Anyone used Felix succesfully > under Harmony?)" ] > > could you try setting 'felix.service.urlhandlers=false' as mentioned in the > FAQ at http://felix.apache.org/site/faq.html > > -> START LEVEL 1 > > ID State Level Name > > [ 0] [Active ] [ 0] System Bundle (1.0.0) > > [ 1] [Active ] [ 1] Apache Felix Shell Service (1.0.0) > > [ 2] [Active ] [ 1] Apache Felix Shell TUI (1.0.0) > > [ 3] [Active ] [ 1] Apache Felix Bundle Repository (1.0.0) > > [ 4] [Active ] [ 1] PSPS Service (0.1) > > [ 5] [Installed ] [ 1] P2PS Test (0.1) > > -> start 5 > > DEBUG: WIRE: 5.0 -> au.edu.qut.ranet.p2ps.service -> 4.0 > > DEBUG: WIRE: 5.0 -> org.osgi.framework -> 0 > > [Linking class au/edu/qut/ranet/p2ps/service/itest/Activator] > > Before reference > > Class name is au.edu.qut.ranet.p2ps.service.P2PS > > [Linking class > > org/apache/felix/framework/util/ldap/Parser$PresentOperator] > > [Loaded org/apache/felix/framework/util/ldap/Parser$PresentOperator] > > Got past reference > > [Loaded java/util/logging/FileHandler from /mnt/hda/sw/share/classpath] > > [Linking class java/util/logging/FileHandler] > > [Loaded java/util/logging/XMLFormatter from /mnt/hda/sw/share/classpath] > > [Linking class java/util/logging/XMLFormatter] > > [Loaded java/text/Format from /mnt/hda/sw/share/classpath] > > [Linking class java/text/Format] > > [Loaded java/text/DateFormat from /mnt/hda/sw/share/classpath] > > [Linking class java/text/DateFormat] > > [Loaded java/text/SimpleDateFormat from /mnt/hda/sw/share/classpath] > > [Linking class java/text/SimpleDateFormat] > > [Loaded java/util/Calendar from /mnt/hda/sw/share/classpath] > > [Linking class java/util/Calendar] > > [Loaded java/util/GregorianCalendar from /mnt/hda/sw/share/classpath] > > [Linking class java/util/GregorianCalendar] > > [Loaded java/util/TimeZone from /mnt/hda/sw/share/classpath] > > [Linking class java/util/TimeZone] > > [Loaded java/util/TimeZone$1 from /mnt/hda/sw/share/classpath] > > [Linking class java/util/TimeZone$1] > > [Loaded java/util/VMTimeZone from /mnt/hda/sw/share/classpath] > > [Linking class java/util/VMTimeZone] > > [Loaded java/util/SimpleTimeZone from /mnt/hda/sw/share/classpath] > > [Linking class java/util/SimpleTimeZone] > > [Loaded java/util/ResourceBundle from /mnt/hda/sw/share/classpath] > > [Linking class java/util/ResourceBundle] > > [Loaded java/util/ResourceBundle$BundleKey from > > /mnt/hda/sw/share/classpath] > > [Linking class java/util/ResourceBundle$BundleKey] > > [Loaded java/lang/StackOverflowError from /mnt/hda/sw/share/classpath] > > [Linking class java/lang/StackOverflowError] > > [Linking class org/osgi/service/url/URLStreamHandlerSetter] > > [Loaded org/osgi/service/url/URLStreamHandlerSetter] > > [Linking class org/apache/felix/framework/URLHandlersStreamHandlerProxy] > > [Loaded org/apache/felix/framework/URLHandlersStreamHandlerProxy] > > [Linking class org/apache/felix/framework/URLHandlersServiceTracker] > > [Loaded org/apache/felix/framework/URLHandlersServiceTracker] > > [Linking class org/osgi/service/url/URLStreamHandlerService] > > [Loaded org/osgi/service/url/URLStreamHandlerService] > > [Linking class org/apache/felix/framework/URLHandlersServiceTracker$1] > > [Loaded org/apache/felix/framework/URLHandlersServiceTracker$1] > > [Linking class org/apache/felix/framework/util/ldap/EvaluationException] > > [Loaded org/apache/felix/framework/util/ldap/EvaluationException] > > [Linking class > > org/apache/felix/framework/util/ldap/AttributeNotFoundException] > > [Loaded org/apache/felix/framework/util/ldap/AttributeNotFoundException] > > [Linking class org/osgi/framework/InvalidSyntaxException] > > [Loaded org/osgi/framework/InvalidSyntaxException] > > [Loaded gnu/java/net/URLParseError from /mnt/hda/sw/share/classpath] > > [Linking class gnu/java/net/URLParseError] > > [Linking class org/apache/felix/framework/util/ldap/Unknown] > > [Loaded org/apache/felix/framework/util/ldap/Unknown] > > [Loaded java/lang/NoSuchMethodException from /mnt/hda/sw/share/classpath] > > [Linking class java/lang/NoSuchMethodException] > > [Loaded java/lang/IllegalStateException from /mnt/hda/sw/share/classpath] > > [Linking class java/lang/IllegalStateException] > > [Loaded java/util/PropertyResourceBundle from /mnt/hda/sw/share/classpath] > > [Linking class java/util/PropertyResourceBundle] > > [Loaded java/util/Date from /mnt/hda/sw/share/classpath] > > [Linking class java/util/Date] > > [Loaded java/lang/VMMath from /mnt/hda/sw/share/classpath] > > [Linking class java/lang/VMMath] > > [Loaded java/text/DateFormatSymbols from /mnt/hda/sw/share/classpath] > > [Linking class java/text/DateFormatSymbols] > > [Loaded java/util/regex/Pattern from /mnt/hda/sw/share/classpath] > > [Linking class java/util/regex/Pattern] > > [Loaded gnu/regexp/RESyntax from /mnt/hda/sw/share/classpath] > > [Linking class gnu/regexp/RESyntax] > > [Loaded gnu/regexp/REToken from /mnt/hda/sw/share/classpath] > > [Linking class gnu/regexp/REToken] > > [Loaded gnu/regexp/RE from /mnt/hda/sw/share/classpath] > > [Linking class gnu/regexp/RE] > > [Loaded java/lang/ExceptionInInitializerError from > > /mnt/hda/sw/share/classpath] > > [Linking class java/lang/ExceptionInInitializerError] > > [Loaded java/lang/reflect/InvocationTargetException from > > /mnt/hda/sw/share/classpath] > > [Linking class java/lang/reflect/InvocationTargetException] > > [Loaded java/lang/InstantiationException from /mnt/hda/sw/share/classpath] > > [Linking class java/lang/InstantiationException] > > [Loaded java/lang/IllegalAccessException from /mnt/hda/sw/share/classpath] > > [Linking class java/lang/IllegalAccessException] > > [Linking class org/osgi/framework/BundleException] > > [Loaded org/osgi/framework/BundleException] > > [Loaded java/lang/NumberFormatException from /mnt/hda/sw/share/classpath] > > [Linking class java/lang/NumberFormatException] > > [Loaded java/lang/Throwable$StaticData from /mnt/hda/sw/share/classpath] > > [Linking class java/lang/Throwable$StaticData] > > org.osgi.framework.BundleException: Activator start error. > > at org.apache.felix.framework.Felix._startBundle(Felix.java:1579) > > at org.apache.felix.framework.Felix.startBundle(Felix.java:1469) > > at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:348) > > at org.apache.felix.shell.impl.StartCommandImpl.execute( > > StartCommandImpl.java:82) > > at > > org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand( > > Activator.java) > > at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run( > > Activator.java:167) > > at java.lang.Thread.run(Thread.java:712) > > Caused by: java.lang.ExceptionInInitializerError > > at gnu.regexp.RESyntax.<clinit>(RESyntax.java:57) > > at java.util.regex.Pattern.<init>(Pattern.java:89) > > at java.util.regex.Pattern.compile(Pattern.java:148) > > at java.util.regex.Pattern.compile(Pattern.java:130) > > at java.lang.String.split(String.java:1430) > > at java.text.DateFormatSymbols.getStringArray(DateFormatSymbols.java > > :83) > > at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:127) > > at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:448) > > at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:430) > > at java.util.logging.XMLFormatter.<init>(XMLFormatter.java:83) > > at java.lang.reflect.Constructor.constructNative(Native Method) > > at java.lang.reflect.Constructor.newInstance(Constructor.java:334) > > at java.lang.Class.newInstance(Class.java:1159) > > at java.util.logging.LogManager.getInstanceProperty(LogManager.java > > :747) > > at java.util.logging.StreamHandler.<init>(StreamHandler.java:138) > > at java.util.logging.FileHandler.<init>(FileHandler.java:356) > > at java.util.logging.FileHandler.<init>(FileHandler.java:275) > > at > > au.edu.qut.ranet.p2ps.service.impl.Activator$P2PSServiceImpl.testP2PS( > > Activator.java) > > at au.edu.qut.ranet.p2ps.service.itest.Activator.start(Activator.java > > :39) > > at org.apache.felix.framework.util.SecureAction.startActivator( > > SecureAction.java:589) > > at org.apache.felix.framework.Felix._startBundle(Felix.java:1535) > > ...6 more > > Caused by: java.lang.IllegalStateException: Unknown protocol: felix > > at org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL > > (URLHandlersStreamH) > > at java.net.URL.<init>(URL.java:480) > > at java.net.URLClassLoader$RemoteURLLoader.getResource( > > URLClassLoader.java:485) > > at java.net.URLClassLoader.findURLResource(URLClassLoader.java:1145) > > at java.net.URLClassLoader.findResource(URLClassLoader.java:1160) > > at java.lang.ClassLoader.getResource(ClassLoader.java:608) > > at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:730) > > at java.util.ResourceBundle.tryBundle(ResourceBundle.java:491) > > at java.util.ResourceBundle.tryBundle(ResourceBundle.java:560) > > at java.util.ResourceBundle.getBundle(ResourceBundle.java:401) > > at java.util.ResourceBundle.getBundle(ResourceBundle.java:242) > > at gnu.regexp.RE.<clinit>(RE.java:133) > > at gnu.regexp.RESyntax.<clinit>(RESyntax.java:57) > > ...26 more > > java.lang.ExceptionInInitializerError > > > > On 9/5/07, Ken Robinson <[EMAIL PROTECTED]> wrote: > > > It runs on Jamvm with GNU Classpath > > > ken. > > > > > > On 9/5/07, Richard S. Hall <[EMAIL PROTECTED]> wrote: > > > > This sounds strange. Are you running on the Sun JVM? > > > > > > > > -> richard > > > > > > > > Ken Robinson wrote: > > > > > Hi, > > > > > I get the following error when starting osgi bundles which depend on > > > > > other bundles in felix 1.0.0. This does not happen in 0.8.0. Is > > there > > > > > some new property that I need to set in the system.properties for > > this > > > > > to work? > > > > > > > > > > ERROR: Error starting file:ranet.app-0.1.jar ( > > org.osgi.framework.BundleExceptio) > > > > > [Loaded java/lang/Throwable$StaticData from > > /mnt/hda/sw/share/classpath] > > > > > [Linking class java/lang/Throwable$StaticData] > > > > > java.lang.ExceptionInInitializerError > > > > > at gnu.regexp.RESyntax.<clinit>(RESyntax.java:57) > > > > > at java.util.regex.Pattern.<init>(Pattern.java:89) > > > > > at java.util.regex.Pattern.compile(Pattern.java:148) > > > > > at java.util.regex.Pattern.compile(Pattern.java:130) > > > > > at java.lang.String.split(String.java:1430) > > > > > at java.text.DateFormatSymbols.getStringArray( > > DateFormatSymbols.java:83) > > > > > at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:127) > > > > > at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:448) > > > > > at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:430) > > > > > at java.util.logging.XMLFormatter.<init>(XMLFormatter.java:83) > > > > > at java.lang.reflect.Constructor.constructNative(Native Method) > > > > > at java.lang.reflect.Constructor.newInstance(Constructor.java > > :334) > > > > > at java.lang.Class.newInstance(Class.java:1159) > > > > > at java.util.logging.LogManager.getInstanceProperty( > > LogManager.java:747) > > > > > at java.util.logging.StreamHandler.<init>(StreamHandler.java:138) > > > > > at java.util.logging.FileHandler.<init>(FileHandler.java:356) > > > > > at java.util.logging.FileHandler.<init>(FileHandler.java:275) > > > > > at > > au.edu.qut.ranet.jxtaold.service.impl.Activator$JXTAServiceImpl.configure) > > > > > at au.edu.qut.ranet.app.Activator.start(Activator.java:53) > > > > > at org.apache.felix.framework.util.SecureAction.startActivator > > (SecureAction.) > > > > > at org.apache.felix.framework.Felix._startBundle(Felix.java:1535) > > > > > at org.apache.felix.framework.Felix.startBundle(Felix.java:1469) > > > > > at org.apache.felix.framework.Felix.setFrameworkStartLevel( > > Felix.java:1064) > > > > > at org.apache.felix.framework.StartLevelImpl.run( > > StartLevelImpl.java:258) > > > > > at java.lang.Thread.run(Thread.java:712) > > > > > Caused by: java.lang.IllegalStateException: Unknown protocol: felix > > > > > at > > org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHand) > > > > > at java.net.URL.<init>(URL.java:480) > > > > > at java.net.URLClassLoader$RemoteURLLoader.getResource( > > URLClassLoader.java:4) > > > > > at java.net.URLClassLoader.findURLResource(URLClassLoader.java > > :1145) > > > > > at java.net.URLClassLoader.findResource(URLClassLoader.java:1160) > > > > > at java.lang.ClassLoader.getResource(ClassLoader.java:608) > > > > > at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java > > :730) > > > > > at java.util.ResourceBundle.tryBundle(ResourceBundle.java:491) > > > > > at java.util.ResourceBundle.tryBundle(ResourceBundle.java:560) > > > > > at java.util.ResourceBundle.getBundle(ResourceBundle.java:401) > > > > > at java.util.ResourceBundle.getBundle(ResourceBundle.java:242) > > > > > at gnu.regexp.RE.<clinit>(RE.java:133) > > > > > at gnu.regexp.RESyntax.<clinit>(RESyntax.java:57) > > > > > ...24 more > > > > > > > > > > > > > > > > > > -- > Cheers, Stuart >
