TIBCO BusinessEvents Studio, throws the error, "could not initialize class com.tibco.security.impl.F", after importing a Business Event 3.0.x project with Java Messaging Service (JMS) connections.

TIBCO BusinessEvents Studio, throws the error, "could not initialize class com.tibco.security.impl.F", after importing a Business Event 3.0.x project with Java Messaging Service (JMS) connections.

book

Article ID: KB0084829

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
============
This problem is not specific to importing BE 3.0.x projects. The problem shows up in working with BE 5.0.0 with or without hotfix 01with JMS connections. Accessing JMS connections will display an error stack (see the Symptoms section below).

Environment:
==========
Linux
BE 5.0.0

Symptoms:
=========
1). Error in Studio could not initialize class com.tibco.security.impl.F after importing Business Event 3.0.x project with JMS connections.

2). Editor is always marked dirty.

3). Changes are not saved.

Full stack is:

java.lang.NoClassDefFoundError: Could not initialize class com.tibco.security.impl.F
at com.tibco.security.Crypto.undo(Crypto.java:73)
at com.tibco.security.ObfuscationEngine.decrypt(ObfuscationEngine.java:307)
at com.tibco.cep.studio.core.util.PasswordUtil.getDecodedString(SourceFile:36)
at com.tibco.cep.sharedresource.model.SharedResModelMgr.decodeFields(SourceFile:109)
at com.tibco.cep.sharedresource.jms.JmsConModelMgr.parseModel(SourceFile:41)
at com.tibco.cep.sharedresource.jms.JmsConEditor.loadModel(SourceFile:56)
at com.tibco.cep.sharedresource.jms.JmsConEditor.addPages(SourceFile:64)
at org.eclipse.ui.forms.editor.FormEditor.createPages(FormEditor.java:146)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:310)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2643)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:646)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:605)
at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:99)
at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:99)
at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221)
at org.eclipse.ui.internal.navigator.CommonNavigatorManager$3.open(CommonNavigatorManager.java:184)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:880)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079)
at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:372)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1183)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)


Cause:
=====
JMS jar files (jms.jar and tibjms.jar) are not present or the path to EMS_HOME/lib is in studio.tra .

Resolution:
=========
If you have EMS_HOME/lib in the path in studio.tra remove it. Not having any EMS (TIBCO Enterprise Message Service) libraries installed will cause this problem.  Add the jms.jar and tibjms.jar files to BE_HOME\be\5.0\lib\ext\tpcl.  (It may be necessary to create this directory if not so previously). Then add that directory to the extended path in the studio.tra file. You do not need to have EMS installed. You only need to have jms.jar and tibjms.jar files available.

Issue/Introduction

TIBCO BusinessEvents Studio, throws the error, "could not initialize class com.tibco.security.impl.F", after importing a Business Event 3.0.x project with Java Messaging Service (JMS) connections.