Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Error on 'update' console statement
Error on 'update' console statement [message #640143] Fri, 19 November 2010 10:31 Go to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: November 2010
Junior Member
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 #640164 is a reply to message #640143] Fri, 19 November 2010 12:10 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
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 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
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?
Previous Topic:Request parameters problem in version 1.4 M3
Next Topic:Sessionmanagement in a Single Sourced RAP/RCP Application (SessionSingletonBase)
Goto Forum:
  


Current Time: Tue Oct 26 10:12:10 GMT 2021

Powered by FUDForum. Page generated in 0.01907 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top