Error on 'update' console statement [message #640143] |
Fri, 19 November 2010 05:31  |
Eclipse User |
|
|
|
I've yet open a bug on bugzilla (https://bugs.eclipse.org/bugs/show_bug.cgi?id=330246), but it seems that i have to repeat my problem here...
I'm using RAP 1.3M7, and i noticed a strange behaviour.
My rap application runs directly on Equinox and Jetty (OSGi HTTP Service
implementation), without a specific servlet container.
After the startup, at console i can see this status:
[204] osgi.tkdata.ui.rap.fragment.agugiaroep RESOLVED
[13] osgi.tkdata.ui.rap.main ACTIVE
Bundle 13 is my RAP application, bundle 204 is a fragment (host bundle is 13) with the entry point management of my RAP app.
Running this statement:
osgi> update 13
i obtain this error:
org.osgi.framework.BundleException: The bundle
"osgi.tkdata.ui.rap.main_1.0.0.qualifier [13]" could not be resolved. Reason:
Another singleton version selected: osgi.tkdata.ui.rap.main_1.0.0.qualifier
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getR esolverError(AbstractBundle.java:1317)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getR esolutionFailureException(AbstractBundle.java:1301)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:319)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.upda teWorker(AbstractBundle.java:629)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.upda te(AbstractBundle.java:576)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.upda te(AbstractBundle.java:559)
at
org.eclipse.osgi.framework.internal.core.FrameworkCommandPro vider._update(FrameworkCommandProvider.java:379)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.FrameworkCommandInt erpreter.execute(FrameworkCommandInterpreter.java:155)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.do command(FrameworkConsole.java:156)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.ru nConsole(FrameworkConsole.java:141)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.ru n(FrameworkConsole.java:105)
at java.lang.Thread.run(Unknown Source)
Someone can help me?
|
|
|
|
Re: Error on 'update' console statement [message #640174 is a reply to message #640143] |
Fri, 19 November 2010 07:53  |
Eclipse User |
|
|
|
Hi,
let me correct myself... your plugin is a singleton, because this is
your RAP application plugin. Maybe OSGi newsgroup will help you with
this exception.
Best,
Ivan
On 19.11.2010 12:31 PM, d.zinato@teknodatasrl.com wrote:
> I've yet open a bug on bugzilla
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=330246), but it seems
> that i have to repeat my problem here...
>
> I'm using RAP 1.3M7, and i noticed a strange behaviour.
> My rap application runs directly on Equinox and Jetty (OSGi HTTP Service
> implementation), without a specific servlet container.
>
> After the startup, at console i can see this status:
>
> [204] osgi.tkdata.ui.rap.fragment.agugiaroep RESOLVED
> [13] osgi.tkdata.ui.rap.main ACTIVE
>
> Bundle 13 is my RAP application, bundle 204 is a fragment (host bundle
> is 13) with the entry point management of my RAP app.
> Running this statement:
>
> osgi> update 13
>
> i obtain this error:
>
> org.osgi.framework.BundleException: The bundle
> "osgi.tkdata.ui.rap.main_1.0.0.qualifier [13]" could not be resolved.
> Reason:
> Another singleton version selected:
> osgi.tkdata.ui.rap.main_1.0.0.qualifier
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.getR
> esolverError(AbstractBundle.java:1317)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.getR
> esolutionFailureException(AbstractBundle.java:1301)
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor
> ker(BundleHost.java:319)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.upda
> teWorker(AbstractBundle.java:629)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.upda
> te(AbstractBundle.java:576)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.upda
> te(AbstractBundle.java:559)
> at
> org.eclipse.osgi.framework.internal.core.FrameworkCommandPro
> vider._update(FrameworkCommandProvider.java:379)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.FrameworkCommandInt
> erpreter.execute(FrameworkCommandInterpreter.java:155)
> at
> org.eclipse.osgi.framework.internal.core.FrameworkConsole.do
> command(FrameworkConsole.java:156)
> at
> org.eclipse.osgi.framework.internal.core.FrameworkConsole.ru
> nConsole(FrameworkConsole.java:141)
> at
> org.eclipse.osgi.framework.internal.core.FrameworkConsole.ru
> n(FrameworkConsole.java:105)
> at java.lang.Thread.run(Unknown Source)
>
> Someone can help me?
|
|
|
Powered by
FUDForum. Page generated in 0.03748 seconds