|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
OSGI stack dump but everything working |
« View previous topic :: View next topic » |
Author |
Message
|
fjb_saper |
Posted: Tue May 08, 2012 7:42 pm Post subject: OSGI stack dump but everything working |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
See http://www.mqseries.net/phpBB2/viewtopic.php?t=58571&sid=2acb270e49727fe7aa294232c93d11e2 but with a twist...
OK so here is the environment:
Code: |
Win 7 64 bit
dspmqver:
Name: WebSphere MQ
Version: 7.0.1.8
CMVC level: p701-108-120224
BuildType: IKAP - (Production)
mqsiservice -v
BIPmsgs en_US
Console OEM CP=437, ICU CCSID=5348
Default codepage=ibm-5348_P100-1997, in ascii=ibm-5348_P100-1997
JAVA console codepage name=cp437
BIP8996I: Version: 7003
BIP8997I: Product: WebSphere Message Broker
BIP8998I: CMVC Level: S700-FP03
BIP8999I: Build Type: Production, 64 bit, amd64_nt_4
BIP8071I: Successful command completion.
Toolkit: 7.0.0.303
Classpath=
C:\Program Files\IBM\MQSI\7.0\messages;C:\Program Files\IBM\MQSI\7.0\classes;C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar;C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib\connector.jar;C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib\com.ibm.mq.pcf.jar;C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jmqi.jar;C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar;C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib\com.ibm.mq.headers.jar;C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib\com.ibm.mq.commonservices.jar;C:\Program Files\IBM\MQSI\7.0\classes\ConfigManagerProxy.jar;C:\Program Files\IBM\MQSI\7.0\classes\brokerutil.jar;C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar;C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar;C:\ProgramData\Application Data\IBM\MQSI\common\wsrr
Path=
C:\Program Files\IBM\MQSI\7.0\jre16\bin;"C:\Program Files (x86)\IBM\WMBT700";C:\Program Files\IBM\MQSI\7.0\bin;C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib64;C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib;C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib64;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Intel\Services\IPT\;C:\Program Files\Common Files\NeatReceipts\Drivers\M12\;C:\Program Files (x86)\Java\jre7\bin;C:\Program Files (x86)\Hewlett-Packard\HP ProtectTools Security Manager\Bin\;C:\Program Files (x86)\IBM\WebSphere MQ\bin64;C:\Program Files (x86)\IBM\WebSphere MQ\bin;C:\Program Files (x86)\IBM\WebSphere MQ\tools\c\samples\bin;;
|
Now the problems:
mqsireadbar, mqsicreatebar and mqsiapplybaroverride are giving me an osgi dump. After the dump output they work however as advertised...
Code: |
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Another singleton version selected: org.eclipse.osgi_3
.4.4.R34x_v20110215
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:279)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:271)
at org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.startBundles(ConfigApplier.java:317)
at org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:86)
at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:124
)
at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:138
)
at org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:48)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(AccessController.java:251)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:369)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1074)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:616)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:299)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:247)
at org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:201)
at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:644)
at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:313)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
BIP1051I: Reading Bar file using toolkit mqsireadbar...
lab.bar:
PropertyWriter.cmf (5/7/12 8:52 AM):
PropertyWriterJava.jar (5/7/12 8:52 AM):
Deployment descriptor:
PropertyWriter#additionalInstances
PropertyWriter#commitCount
PropertyWriter#commitInterval
PropertyWriter#coordinatedTransaction
PropertyWriter#consumerPolicySet
PropertyWriter#providerPolicySet
PropertyWriter#consumerPolicySetBindings
PropertyWriter#providerPolicySetBindings
PropertyWriter#securityProfileName
...............
|
Has anybody come across something like this?
Note the Osgi framework that gets started is part of the eclipse startup plugins...
Thanks for any help on getting rid of the stack dumps... _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Wed May 09, 2012 3:27 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
add the -v to create a trace file and see if it sheds any light?
otherwise, I assume you've followed up with a PMR?
Is it only for *some* bar files/workspaces? or is it for *everything*? |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed May 09, 2012 8:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
mqjeff wrote: |
add the -v to create a trace file and see if it sheds any light?
otherwise, I assume you've followed up with a PMR?
Is it only for *some* bar files/workspaces? or is it for *everything*? |
It's for everything... -v did not shed any light on it. Will have to follow up with a pmr. Not essential as the job is being done... Osgi complains really of a different version being in cache / memory... _________________ MQ & Broker admin |
|
Back to top |
|
 |
Gemz |
Posted: Tue Jan 13, 2015 7:55 am Post subject: |
|
|
 Centurion
Joined: 14 Jan 2008 Posts: 124
|
This is a multi-part answer as each step could resolve problem. You will typically see a message something like this: org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Another singleton version selected: org.eclipse. osgi_3 .4.4.R34x_v20110215
So check to see if problem is resolved after each step:
1) check Toolkit instructions - IBM Installation manager must be current
2) clean java cache as follows: https://www.java.com/en/download/help/plugin_cache.xml
3) Restart eclipse toolkit with "clean" option follows: C:/<WMBT700>/mb -clean
4) start toolkit under another user and see if error disappeared. If so then remove .eclipse folder from installed directories.
Source: https://developer.ibm.com/answers/questions/28260/bundleexception-on-linux-in-message-broker.html _________________ GemZ
"An expert is one who knows more and more about less and less until he knows absolutely everything about nothing...." |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|