Export XML Running Indefinitely When Picked Up By The Remote Mode API Deployment (PrimaveraAPI.war), And Results In The Following Error In The Remote Mode API Log File: "java.lang.NoClassDefFoundError: com/primavera/common/util/FitnesseBootstrap" (Doc ID 2118120.1)

Last updated on APRIL 29, 2016

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 15.2.0.0 and later
Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 15.2.0.0 and later
Information in this document applies to any platform.

Symptoms

If PrimaveraAPI deployment is running (with services turned on) and picks up an Export job from either P6 Professional using Cloud Connect or from P6 Web, it will hang in a running state indefinitely and the following exception is noted in the PrimaveraAPI P6WebAccess.html log file:

INFO MESSAGE:
From: com.primavera.guiservices.impexp.ImportExportServiceImpl
Export Job In Progress: 2090

INFO MESSAGE:
From: com.primavera.guiservices.impexp.ImportExportServiceImpl
Timestamp: Export Project Job Detected

ERROR MESSAGE:
From: com.primavera.infr.threadpool.ThreadPoolImpl
[ThreadPoolImpl] ERROR TIMESTAMP: An uncaught thread exception was caught by the threadpool.
java.lang.NoClassDefFoundError: com/primavera/common/util/FitnesseBootstrap
at com.primavera.guiservices.impexp.ImportExportServiceImpl.createDirectoryForExport(ImportExportServiceImpl.java:2421)
at com.primavera.guiservices.impexp.ImportExportServiceImpl.doExport(ImportExportServiceImpl.java:2244)
at com.primavera.guiservices.impexp.ImportExportServiceImpl.doExport(ImportExportServiceImpl.java:2119)
at com.primavera.guiservices.impexp.ImportExportWorker.execute(ImportExportWorker.java:16)
at com.primavera.infr.threadpool.ThreadPoolImpl.run(ThreadPoolImpl.java:320)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: com.primavera.common.util.FitnesseBootstrap
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:335)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:302)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:180)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
... 6 more


The issue can be reproduced at will with the following steps:

  1. Deploy the Remote Mode API
  2. Deploy the P6 Professional Cloud Connect
  3. Configure P6 Professional to connect using the cloud connect driver
  4. Attempt to run an Export job (File > Export... > Primavera XML)
  5. When the job creation completes:
    1. Browse to Tools > Job Status
    2. Note that the job never completes and shows as if it is running indefinitely
Note, if an export job is also created from P6 Web, but is picked up by the PrimaveraAPI java process, the same issue can occur.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms