Hi Anne,

Did you try the latest framework SNAPSHOT ? I seem to remember vaguely,
that there has been something fixed around this issue, not sure, though.

Regards
Felix

Am Mittwoch, den 28.11.2007, 18:50 +0100 schrieb GERODOLLE Anne
RD-MAPS-GRE:
> Hi,
> 
> I am running into problems when trying to run the http-jetty bundle on
> felix running on a jamvm.
> 
> The problem occurs also if I run a dummy bundle, with an activator that
> tries to instantiate a SimpleDateFormat (code enclosed).
> 
> I have tried with serveral combination of those options :
> -Dframework.service.urlhandlers=false
> -Dframework.service.urlhandlers=true (in case)
> Or
> -Djava.protocol.handler.pkgs=gnu.java.net.ptotocol
> 
> I have just tested with felix 1.0.0 and with felix 0.8.0, it seems that
> with felix 0.8.0-incubator it works (at least on a PC. I have to retry
> now on the target device NSLU2)
> 
> Here is the stack trace :
> 
> java.lang.IllegalStateException: Unknown protocol: felix
>    at
> org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHan
> dlersStreamHandlerProxy.java:135)
>    at java.net.URL.<init>(URL.java:480)
>    at
> java.net.URLClassLoader$RemoteURLLoader.getResource(URLClassLoader.java:
> 484)
>    at java.net.URLClassLoader.findURLResource(URLClassLoader.java:1145)
>    at java.net.URLClassLoader.findResource(URLClassLoader.java:1160)
>    at java.lang.ClassLoader.getResource(ClassLoader.java:609)
>    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.Calendar.getBundle(Calendar.java:436)
>    at java.util.Calendar.<init>(Calendar.java:461)
>    at java.util.GregorianCalendar.<init>(GregorianCalendar.java:238)
>    at java.util.GregorianCalendar.<init>(GregorianCalendar.java:224)
>    at java.util.GregorianCalendar.<init>(GregorianCalendar.java:212)
>    at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:407)
>    at com.francetelecom.osgi.test.MyActivator.start(MyActivator.java:20)
>    at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction
> .java:589)
>    at org.apache.felix.framework.Felix._startBundle(Felix.java:1563)
>    at org.apache.felix.framework.Felix.startBundle(Felix.java:1497)
>    at
> org.apache.felix.framework.Felix$RefreshHelper.restart(Felix.java:4203)
>    at org.apache.felix.framework.Felix.refreshPackages(Felix.java:3240)
>    at org.apache.felix.framework.Felix._updateBundle(Felix.java:1849)
>    at org.apache.felix.framework.Felix.updateBundle(Felix.java:1697)
>    at org.apache.felix.framework.BundleImpl.update(BundleImpl.java:372)
>    at org.apache.felix.framework.BundleImpl.update(BundleImpl.java:359)
>    at
> org.apache.felix.shell.impl.UpdateCommandImpl.execute(UpdateCommandImpl.
> java:96)
>    at
> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Ac
> tivator.java:265)
>    at
> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java
> :167)
>    at java.lang.Thread.run(Thread.java:710)
> 
> Thanks in advance,
> 
> Anne
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to