IBM Support

IBM Business Automation Studio fails with "Failed to publish services" error

Troubleshooting


Problem

Publishing automation services in IBM Business Automation Studio fails with the following error message:
"An error occurred. Your request couldn't be processed."
No automation services show up when you search in the logs.

Symptom

In the liberty-message.log of Business Automation Studio, the publish/search of automation services fails due to the asset index used by automation services getting corrupted.

[2024-01-12T15:56:11.890+0000] 00008af8 com.ibm.bpmstd.engine.api.util.ExceptionCheckerI WARNING: Exception not recognized by com.ibm.bpmstd.engine.api.util.ExceptionChecker.

Exception associated with method com.ibm.bpmstd.engine.iafprovider.api.rest.impl.RecentAutomationServicesImpl.getRecentAutomationServices().

Exception message is: /opt/ibm/wlp/output/defaultServer/searchIndex/asset/defaultServer/_18b.si (No such file or directory)
java.io.FileNotFoundException: /opt/ibm/wlp/output/defaultServer/searchIndex/asset/defaultServer/_18b.si (No such file or directory)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:333)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:257)
at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:222
at org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoReader.read(Lucene40SegmentInfoReader.java:50)
at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:301)
at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:56)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:783)
at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoyReader.java:52)
at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:65)
at com.ibm.bpm.bas.common.asset.index.BasCommonAssetIndex$SearcherManager.getSearcher(BasCommonAssetIndex.java:945)
at com.ibm.bpm.bas.common.asset.index.BasCommonAssetIndex.doSearch(BasCommonAssetIndex.java:562)
at com.ibm.bpm.bas.common.asset.index.BasCommonAssetIndex.textualSearch(BasCommonAssetIndex.java:529)
at com.ibm.bpm.bas.common.asset.catalog.BasCommonAssetCatalogBasDB.search(BasCommonAssetCatalogBasDB.java:525)
at com.ibm.bpm.bas.common.asset.api.BasCommonAssetStoreApi.search(BasCommonAssetStoreApi.java:450)
at com.ibm.bpmstd.engine.iafprovider.api.rest.impl.RecentAutomationServicesImpl.getRecentAutomationServices(RecentAutomationServicesImpl.java:51)
at com.ibm.bpmstd.engine.iafprovider.api.rest.impl.RecentAutomationServicesResource.getRecentAutomationServices(RecentAutomationServicesResource.java:86)

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSBYVB","label":"IBM Cloud Pak for Business Automation"},"ARM Category":[{"code":"a8m50000000L1MZAA0","label":"Authoring"},{"code":"a8m0z0000001iU5AAI","label":"Design-\u003EBAS App Development"}],"ARM Case Number":"TS015164518","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"23.0.1;23.0.2"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
04 March 2024

UID

ibm17128105