search cancel

Workpoint Designer does not start after Identity Manager upgrade to 14.3 CP3

book

Article ID: 240348

calendar_today

Updated On:

Products

CA Identity Portal

Issue/Introduction

We upgraded our Identity Manager installation to 14.3 CP3
We use WildFly 8.2.1.Final

After that Workpoint Designer will not start, showing this error:


Setting EJB client classpath
Setting Workpoint classpath
java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)
Starting Workpoint Designer
2022-04-26 20:09:25,482 [main] INFO  com.workpoint.client.ClientContext  - Loaded client properties from URL: file:/D:/localapps/CA/Identity%20Manager/IAM%20Suite/Identity%20Manager/tools/Workpoint/conf/workpoint-client.properties
2022-04-26 20:09:25,498 [main] INFO  com.workpoint.client.ClientContext  - Connected to server at: remote+http://localhost:8080
2022-04-26 20:09:25,529 [main] INFO  com.workpoint.gui.designer.Designer  - PRODUCT = Workpoint; VERSION = 3.5.2; BUILD = 20140214.P015; BUILD DATE = July 19, 2019
2022-04-26 20:09:28,046 [main] ERROR com.workpoint.client.connect.ClientContextEJB  - An error occured while attempting to get a connection to the server.
java.rmi.RemoteException: NamingException caught attempting to locate the 'ServerConfigPvt_EJB' object. Please verify that the server is running and the client configuration is correct.; nested exception is:
        javax.naming.NoInitialContextException: Cannot instantiate class: org.wildfly.naming.client.WildFlyInitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.wildfly.naming.client.WildFlyInitialContextFactory]
        at com.workpoint.client.connect.ClientContextEJB.A(Unknown Source)
        at com.workpoint.client.connect.ClientContextEJB.getServerConfigPvt(Unknown Source)
        at com.workpoint.client.ClientContext.retrieveAuthInfo(Unknown Source)
        at com.workpoint.gui.designer.Designer.A(Unknown Source)
        at com.workpoint.gui.designer.Designer.launch(Unknown Source)
        at com.workpoint.gui.designer.Designer.main(Unknown Source)
Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: org.wildfly.naming.client.WildFlyInitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.wildfly.naming.client.WildFlyInitialContextFactory]
        at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
        at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
        at javax.naming.InitialContext.init(Unknown Source)
        at javax.naming.InitialContext.<init>(Unknown Source)
        at com.workpoint.client.connect.ClientContextEJB$_A.<init>(Unknown Source)
        at com.workpoint.client.connect.ClientContextEJB.B(Unknown Source)
        ... 6 more
Caused by: java.lang.ClassNotFoundException: org.wildfly.naming.client.WildFlyInitialContextFactory
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
        at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
        ... 12 more
2022-04-26 20:09:28,062 [main] WARN  com.workpoint.client.ClientContext  - Attempt failed to retrieve authorization options from server.  Either the server is not running or the client configuration may not be set up correctly. See the client log file for details.

Cause

Incorrect Workpoint configuration.

Environment

Release : 14.3 CP3

Component : Identity Manager

Resolution

For some reason in 14.3 CP3 workpoint designer has
java.naming.factory.initial=org.jboss.as.naming.WildFlyInitialContextFactory
setting for WildFly 8 in workpoint-client properties.

This class does not exist in WildFly 8.2.1

Instead please use:

java.naming.factory.initial=org.jboss.as.naming.InitialContextFactory

Also ensure that init.bat file has "..\lib\wildfly-naming-8.2.1.Final.jar" in EJB_CLASSPATH variable