Encountering "Error initializing API library. Invalid doc2text command [doc to text command]" Error After Installing WCI 10.3.0.1 Patch (Doc ID 1104094.1)

Last updated on JANUARY 03, 2017

Applies to:

Oracle WebCenter Interaction - Version 10.3.0.0 to 10.3.0.1
Information in this document applies to any platform.
***Checked for relevance on 24-Jan-2014***

Symptoms

When trying to run ptverify.sh and diagnostic.sh after installing the WebCenter Interaction (WCI) 10.3.0.1 patch, the following error occurs:

OpenLog native: Registered application name [server name] (local machine only)
Exception in thread "Main Thread" java.lang.RuntimeException: Error initializing API library. Invalid doc2text command [doc to text command]
at com.plumtree.openkernel.impl.search.core.PRFSearchGlobals.InitAPILibrary(Native Method)
at com.plumtree.openkernel.impl.search.SearchService.Init(SearchService.java:81)
at com.plumtree.server.impl.core.InternalSession.Init(InternalSession.java:180)
at com.plumtree.server.PortalObjectsFactory.Init(PortalObjectsFactory.java:53)
at com.plumtree.server.impl.test.ConfigVerify.sessionConnect(ConfigVerify.java:110)
at com.plumtree.server.impl.test.ConfigVerify.main(ConfigVerify.java:50)


Running diagnostic.sh:

Expected PORTAL_HOME=/apps/portal/ptportal/10.3.0
PLATFORM is linux32
BIT_DEPTH is 32
Running Diagnostic Tool...
.
OpenLog: verbosity level = 2
Diagnostic system initialization OK.
Task 'MasterTask' Failed on Startup
Task #100 (MasterTask) Step #1
--------------------------------------------------------------------------------
error: Unexpected Error
platform: RedHat Linux (JRockit VM)
failure: FATAL: Unexpected Error
recommendation: Uncaught exception while running startup tasks
exception: XPException
com/plumtree/xpshared/jsutil/JSRegistry

message: com/plumtree/xpshared/jsutil/JSRegistry
at
com.plumtree.openfoundation.util.XPException.GetInstance(XPException.java:428)
at
com.plumtree.openfoundation.util.XPException.GetInstance(XPException.java:350)
at
com.plumtree.uiinfrastructure.application.AppWarmUp.GenerateFailureErrorReport(AppWarmUp.java:269)
at
com.plumtree.uiinfrastructure.application.AppWarmUp.Init(AppWarmUp.java:230)
at
com.plumtree.uiinfrastructure.diagnostic.DiagnosticRunner.executeAllTestsWithoutPause(DiagnosticRunner.java:127)
at
com.plumtree.uiinfrastructure.diagnostic.DiagnosticRunner.executeAllTests(DiagnosticRunner.java:138)
at
com.plumtree.diagtool.diagnostic_net.main(diagnostic_net.java:40
Caused
by: java.lang.NoClassDefFoundError:
com/plumtree/xpshared/jsutil/JSRegistry
at
com.plumtree.uiinfrastructure.application.startup.PTStartupTasks.<clinit>(PTStartupTasks.java:38)
at
com.plumtree.uiinfrastructure.application.AppWarmUp.RunStartupTasks(AppWarmUp.java:861)
at
com.plumtree.uiinfrastructure.application.AppWarmUp.Init(AppWarmUp.java:201)
at
com.plumtree.uiinfrastructure.diagnostic.DiagnosticRunner.executeAllTestsWithoutPause(DiagnosticRunner.java:127)
at
com.plumtree.uiinfrastructure.diagnostic.DiagnosticRunner.executeAllTests(DiagnosticRunner.java:138)
at
com.plumtree.diagtool.diagnostic_net.main(diagnostic_net.java:40)

--------------------------------------------------------------------------------
FAILED TO INITIALIZE SYSTEM. YOU CANNOT PROGRESS BEYOND THIS POINT.
======= Diagnostic Run Complete =======
Startup completion percentage: 0% (0 steps out of complete)
===== Portal should now start successfully =====
Diagnostic Test execution complete.
Press <enter> key to exit.


As a result, custom IDK applications running on a separate JBoss server cease to work:

2010-04-14 09:32:03,613 ERROR [com.cfa.apps.cfaportal.helper.PortalHelper] (http-10.11.110.103-12017-3) Error in creating common configurations java.lang.RuntimeException: Error initializing API library. Invalid doc2text command [doc to text command]
java.lang.RuntimeException: Error initializing API library. Invalid doc2text command [doc to text command]
at com.plumtree.openkernel.impl.search.core.PRFSearchGlobals.InitAPILibrary(Native Method)
at com.plumtree.openkernel.impl.search.SearchService.Init(SearchService.java:81)
at com.plumtree.server.impl.core.InternalSession.Init(InternalSession.java:180)
at com.plumtree.server.PortalObjectsFactory.Init(PortalObjectsFactory.java:53)
at com.cfa.apps.cfaportal.helper.IPTSessionFactory.getIPTSession(IPTSessionFactory.java:24)
at com.cfa.apps.cfaportal.helper.PortalSynchronization.getIPTSession(PortalSynchronization.java:41)
at com.cfa.apps.cfaportal.helper.PortalHelper.createIPTSession(PortalHelper.java:185)
at com.cfa.apps.cfaportal.helper.PortalHelper.initializeCommonConfiguration(PortalHelper.java:156)
at com.cfa.apps.cfaportal.helper.PortalHelper.init(PortalHelper.java:233)
at com.cfa.apps.cfaportal.helper.BannerHelper.getBanner(BannerHelper.java:84)
at com.cfa.apps.cfaportal.helper.BannerHelper.getBanner(BannerHelper.java:96)
at com.cfa.apps.cfaportal.servlet.PortalBannerServlet.doGet(PortalBannerServlet.java:79)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)

Changes

Installed WCI 10.3.0.1 patch on top of WCI 10gR3 (10.3.0.0.0).

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