|
Re: Error on 'update' console statement [message #640164 is a reply to message #640143] |
Fri, 19 November 2010 12:10 |
Ivan Furnadjiev Messages: 2426 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi,
is your plugin "osgi.tkdata.ui.rap.main" marked as "singleton"? If yes -
do you really need this plugin to be singleton? Uncheck "This plug-in is
a singleton" checkbox in plug-in configuration editor "Overview" tab. Is
this fix your problem?
HTH,
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?
|
|
|
Re: Error on 'update' console statement [message #640174 is a reply to message #640143] |
Fri, 19 November 2010 12:53 |
Ivan Furnadjiev Messages: 2426 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
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 1.03317 seconds