It's all about the answers!

Ask a question

CLM 4.0.2 Server doesn't start after installing/setting up DM 4.0.2


Monika Gupta (15279) | asked May 24 '13, 12:42 a.m.

I have installed CLM 4.0.2 and also configured DM 4.0.2.

Everything runs fine initially and when I restart the server, it is not coming up. after showing message deploying dm.war, it throws this error and hangs .

I tried reinstalling, still the problem remains.

Please help.

Error Trace -----

May 22, 2013 5:55:57 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Program Files\IBM\JazzTeamServer\serv
er\tomcat\webapps\dm.war
DM Server has started
Startup: com.ibm.xtools.impactanalysis.hostintegration.internal.HostServicesComp
onent
Starting DM Default Display Thread
[ERROR] 2013-05-22 17:56:52.562 - FrameworkManager: An error event has occurred
involving the bundle "com.ibm.ccl.soa.deploy.portlet.ui_1.0.200.v20120119_1919 [
709]".
org.osgi.framework.BundleException: The activator Activator for bundle com.ibm.c
cl.soa.deploy.portlet.ui is invalid
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleAct
ivator(AbstractBundle.java:156)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Bund
leContextImpl.java:751)
        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl
eHost.java:370)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(Abstra
ctBundle.java:374)
        at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Frame
work.java:1067)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBund
les(StartLevelManager.java:561)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBund
les(StartLevelManager.java:546)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(St
artLevelManager.java:459)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStart
Level(StartLevelManager.java:243)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEv
ent(StartLevelManager.java:440)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventM
anager.java:227)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Even
tManager.java:337)
Caused by: java.lang.ClassNotFoundException: Activator
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(Bundl
eLoader.java:506)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.
java:422)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.
java:410)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(De
faultClassLoader.java:107)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:626)
        at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.
java:338)
        at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleH
ost.java:232)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleAct
ivator(AbstractBundle.java:149)
        ... 11 more
[ERROR] 2013-05-22 17:56:52.577 - FrameworkManager: An error event has occurred
involving the bundle "com.ibm.ccl.soa.deploy.systemz.ui_1.0.100.v20120119_1919 [
711]".
org.osgi.framework.BundleException: The activator Activator for bundle com.ibm.c
cl.soa.deploy.systemz.ui is invalid
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleAct
ivator(AbstractBundle.java:156)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Bund
leContextImpl.java:751)
        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl
eHost.java:370)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(Abstra
ctBundle.java:374)
        at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Frame
work.java:1067)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBund
les(StartLevelManager.java:561)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBund
les(StartLevelManager.java:546)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(St
artLevelManager.java:459)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStart
Level(StartLevelManager.java:243)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEv
ent(StartLevelManager.java:440)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventM
anager.java:227)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Even
tManager.java:337)
Caused by: java.lang.ClassNotFoundException: Activator
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(Bundl
eLoader.java:506)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.
java:422)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.
java:410)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(De
faultClassLoader.java:107)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:626)
        at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.
java:338)
        at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleH
ost.java:232)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleAct
ivator(AbstractBundle.java:149)
        ... 11 more
[ERROR] 2013-05-22 17:56:55.682 - FrameworkManager: An error event has occurred
involving the bundle "org.eclipse.debug.ui_3.6.3.v20110513_r363 [887]".
org.osgi.framework.BundleException: Exception in org.eclipse.debug.internal.ui.D
ebugUIPlugin.start() of bundle org.eclipse.debug.ui.
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv
ator(BundleContextImpl.java:806)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Bund
leContextImpl.java:755)
        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl
eHost.java:370)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(Abstra
ctBundle.java:374)
        at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Frame
work.java:1067)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBund
les(StartLevelManager.java:561)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBund
les(StartLevelManager.java:546)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(St
artLevelManager.java:459)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStart
Level(StartLevelManager.java:243)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEv
ent(StartLevelManager.java:440)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventM
anager.java:227)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Even
tManager.java:337)
Caused by: java.lang.IllegalStateException: Workbench has not been created yet.
        at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)
        at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManag
er.startup(LaunchingResourceManager.java:542)
        at org.eclipse.debug.internal.ui.DebugUIPlugin.getLaunchingResourceManag
er(DebugUIPlugin.java:302)
        at org.eclipse.debug.internal.ui.DebugUIPlugin.start(DebugUIPlugin.java:
503)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(Bund
leContextImpl.java:783)
        at java.security.AccessController.doPrivileged(AccessController.java:277
)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv
ator(BundleContextImpl.java:774)
        ... 11 more
[ERROR] 2013-05-22 17:56:55.822 - FrameworkManager: An error event has occurred
involving the bundle "org.eclipse.jdt.ui_3.6.50.r362j7_v20111020 [888]".
org.osgi.framework.BundleException: Exception in org.eclipse.jdt.internal.ui.Jav
aPlugin.start() of bundle org.eclipse.jdt.ui.
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv
ator(BundleContextImpl.java:806)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Bund
leContextImpl.java:755)
        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl
eHost.java:370)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(Abstra
ctBundle.java:374)
        at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Frame
work.java:1067)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBund
les(StartLevelManager.java:561)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBund
les(StartLevelManager.java:546)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(St
artLevelManager.java:459)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStart
Level(StartLevelManager.java:243)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEv
ent(StartLevelManager.java:440)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventM
anager.java:227)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Even
tManager.java:337)
Caused by: org.eclipse.core.runtime.AssertionFailedException: null argument:
        at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
        at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
        at org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:283)

        at org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:308)

        at org.eclipse.jface.resource.JFaceResources.getFontRegistry(JFaceResour
ces.java:342)
        at org.eclipse.jdt.internal.ui.JavaPlugin.ensurePreferenceStoreBackwards
Compatibility(JavaPlugin.java:448)
        at org.eclipse.jdt.internal.ui.JavaPlugin.start(JavaPlugin.java:373)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(Bund
leContextImpl.java:783)
        at java.security.AccessController.doPrivileged(AccessController.java:277
)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv
ator(BundleContextImpl.java:774)
        ... 11 more
Exception in thread "DM Default Display Thread" java.lang.NoClassDefFoundError:
org.eclipse.jface.preference.PreferenceConverter (initialization failure)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:140)
        at com.ibm.xtools.rsa.rmps.diagrams.Activator$Preloader.preload(Activato
r.java:33)
        at com.ibm.xtools.rsa.rmps.diagrams.Activator$Preloader.run(Activator.ja
va:41)
        at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
        at org.eclipse.swt.widgets.Display.syncExec(Display.java:4584)
        at com.ibm.xtools.rsa.rmps.diagrams.Activator.uiThread(Activator.java:16
9)
        at com.ibm.xtools.rsa.rmps.diagrams.Activator$1.run(Activator.java:209)
Caused by: org.eclipse.swt.SWTException: Invalid thread access
        at org.eclipse.swt.SWT.error(SWT.java:4083)
        at org.eclipse.swt.SWT.error(SWT.java:3998)
        at org.eclipse.swt.SWT.error(SWT.java:3969)
        at org.eclipse.swt.widgets.Display.error(Display.java:1249)
        at org.eclipse.swt.widgets.Display.checkDevice(Display.java:755)
        at org.eclipse.swt.widgets.Display.getSystemFont(Display.java:2412)
        at org.eclipse.jface.preference.PreferenceConverter.<clinit>(PreferenceC
onverter.java:84)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
        at org.eclipse.debug.internal.ui.DebugUIPreferenceInitializer.setDefault
(DebugUIPreferenceInitializer.java:186)
        at org.eclipse.debug.internal.ui.DebugUIPreferenceInitializer.setThemeBa
sedPreferences(DebugUIPreferenceInitializer.java:204)
        at org.eclipse.debug.internal.ui.DebugUIPreferenceInitializer.initialize
DefaultPreferences(DebugUIPreferenceInitializer.java:79)
        at org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper
$1.run(PreferenceServiceRegistryHelper.java:281)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper
.runInitializer(PreferenceServiceRegistryHelper.java:284)
        at org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper
.applyRuntimeDefaults(PreferenceServiceRegistryHelper.java:130)
        at org.eclipse.core.internal.preferences.PreferencesService.applyRuntime
Defaults(PreferencesService.java:368)
        at org.eclipse.core.internal.preferences.DefaultPreferences.applyRuntime
Defaults(DefaultPreferences.java:166)
        at org.eclipse.core.internal.preferences.DefaultPreferences.load(Default
Preferences.java:237)
        at org.eclipse.core.internal.preferences.EclipsePreferences.create(Eclip
sePreferences.java:307)
        at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode
(EclipsePreferences.java:543)
        at org.eclipse.core.internal.preferences.EclipsePreferences.node(Eclipse
Preferences.java:669)
        at org.eclipse.core.internal.preferences.AbstractScope.getNode(AbstractS
cope.java:38)
        at org.eclipse.core.runtime.preferences.DefaultScope.getNode(DefaultScop
e.java:67)
        at org.eclipse.ui.preferences.ScopedPreferenceStore.getDefaultPreference
s(ScopedPreferenceStore.java:250)
        at org.eclipse.ui.preferences.ScopedPreferenceStore.getPreferenceNodes(S
copedPreferenceStore.java:285)
        at org.eclipse.ui.preferences.ScopedPreferenceStore.internalGet(ScopedPr
eferenceStore.java:475)
        at org.eclipse.ui.preferences.ScopedPreferenceStore.getString(ScopedPref
erenceStore.java:535)
        at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager
.initPerspectives(PerspectiveManager.java:990)
        at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager
.startup(PerspectiveManager.java:253)
        at org.eclipse.debug.internal.ui.DebugUIPlugin.start(DebugUIPlugin.java:
501)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(Bund
leContextImpl.java:783)
        at java.security.AccessController.doPrivileged(AccessController.java:277
)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv
ator(BundleContextImpl.java:774)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Bund
leContextImpl.java:755)
        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl
eHost.java:370)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(Abstra
ctBundle.java:374)
        at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Frame
work.java:1067)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBund
les(StartLevelManager.java:561)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBund
les(StartLevelManager.java:546)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(St
artLevelManager.java:459)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStart
Level(StartLevelManager.java:243)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEv
ent(StartLevelManager.java:440)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventM
anager.java:227)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Even
tManager.java:337)

Accepted answer


permanent link
Abish Mathew Zachariah (252211) | answered May 24 '13, 5:46 a.m.

Hi Monika

Even I have encountered a similar issue after restarting the CLM server which also has DM 4.0.1 deployed on the same instance of Tomcat. This is what I have done, which eventually resolved this issue:

1. Stop the CLM server
2. Cleared the temporary files inside the “temp” folder of tomcat
2. Deleted the folders in the folder \work\Catalina\localhost inside tomcat.
4. Restarted the CLM serer.

Monika Gupta selected this answer as the correct answer

Comments
Monika Gupta commented May 24 '13, 6:24 a.m.

 Thanks a ton!! It worked.  


first time no errors came.I again tried to restart to check it will work, server started but this error is still coming. 

3 other answers



permanent link
Krzysztof Kaźmierczyk (7.4k35398) | answered May 24 '13, 2:34 a.m.
Hi Monika,
I found, that someone else had this issue too: https://jazz.net/forum/questions/107768/clm-401-tomcatderbystartupframeworkmanager-an-error-event-has-occurred-involving-the-bundle-comibmcclsoadeployportletui_10200v20120119_1919-1940.
It seems to be existing issue: https://jazz.net/jazz04/web/projects/Design%20Management#action=com.ibm.team.workitem.viewWorkItem&id=27479
Please contact the support requesting APAR.

Comments
Bo Chulindra commented May 24 '13, 11:10 a.m. | edited May 24 '13, 11:14 a.m.
JAZZ DEVELOPER

Failed to start the bundle "com.ibm.ccl.soa.deploy.portlet.ui" (27479) suggests that the error

FrameworkManager: An error event has occurred
involving the bundle "com.ibm.ccl.soa.deploy.portlet.ui_1.0.200.v20120119_1919 [
709]".


is harmless.

However, the other errors are concerning. I agree that @monikagupta78 should contact support and open an APAR.


permanent link
Francois-xavier Panaget (58914) | answered May 24 '13, 5:29 a.m.
Hi,

I would recommend you to contact your support team to help you see what is going on.
From what I have seen, the error [ERROR] 2013-05-22 17:56:52.562 - FrameworkManager: An error event has occurred involving the bundle "com.ibm.ccl.soa.deploy.portlet.ui_1.0.200.v20120119_1919 [ 709]" described in WI 27479 is supposed to be harmless (see WI 36896).
The root cause of the issue may be somewhere else.

The following stack trace seems to be more interesting:
[ERROR] 2013-05-22 17:56:55.822 - FrameworkManager: An error event has occurred
involving the bundle "org.eclipse.jdt.ui_3.6.50.r362j7_v20111020 [888]".
...
and
Exception in thread "DM Default Display Thread" java.lang.NoClassDefFoundError:
org.eclipse.jface.preference.PreferenceConverter (initialization failure)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:140)

You said everything was running fine prior to restarting the server, what did you last do before the restart?
Did you use the DM Import Engine for example?
If so it could be linked to WI 36834 although it is supposed to be fixed..
Investigating what information is in the JTS/DM, catalina... logs in C:\Program Files\IBM\JazzTeamServer\server\logs and C:\Program Files\IBM\JazzTeamServer\server\tomcat\logs would be best.

Francois

Comments
Monika Gupta commented May 24 '13, 5:53 a.m.

Earlier I had CLM 4.0.1 and DM 4.0.1. I just uninstalled that and installed 4.0.2 and DM 4.0.2. After completing the custome setup for dm, i could create life cycle project, could configure import engine.


But next day, as a routine I restarted my machine and while tried starting Team server, got this error and server is not coming up only.


Francois-xavier Panaget commented May 24 '13, 6:17 a.m.

Hi Monika,

I would try to delete the catalina work folder information to as mentioned by Abish Zachariah. This is something definitely to try. If it still fails afterward then it might mean the problem is burred deeper in the configuration.
Francois


permanent link
Abish Mathew Zachariah (252211) | answered May 24 '13, 6:08 a.m.
I again received the same error after restarting my CLM 4.0.1 instance with DM 4.0.1.I carried out the same steps that I have mentioned above and it again resolved this issue. This time I cleared all the files in the “temp” folder. Then I deleted only the “dm” and “vvc” folders in the “\tomcat\work\Catalina\localhost” folder.

Your answer


Register or to post your answer.