Deployment details and troubleshooting¶
This page holds the detailed procedures that the README links to.
Publishing the ISG writeback service¶
The Model Context Protocol (MCP) Toolbox sends the writebacks to the
ge_ebs_scm_tools Oracle Integrated SOA Gateway (ISG) REST service. Publish it
once per Oracle E-Business Suite (EBS) instance, after you install the database
objects as the README describes. Those scripts
create the package and the VOLTGUARD_AGENT user that calls the service.
- If you haven't enabled ISG REST services yet, follow steps 1 and 2 of the
Oracle EBS ISG setup and troubleshooting guide to
configure
ISGADMINand checkoafm_server1. -
On the application tier, as the
oracleuser, sourceEBSapps.env run, copyebs-scripts/ge_ebs_scm_tools_pkg.plsto the current directory, and load the annotated specification into the Integration Repository: -
As
SYSADMIN, with the Integrated SOA Gateway responsibility and the Integration Administrator role, deploy the REST service:- Open Integrated SOA Gateway > Integration Repository, click
Search, and search for the internal name
GE_EBS_SCM_TOOLSwith the interface typePL/SQL. - Open VoltGuard Supply Chain Writebacks, and select the REST Web Service tab.
- In Service Alias, enter
ge_ebs_scm_tools. - Under Service Operations, select Post for the four operations:
STAGE_INTERORG_TRANSFER,STAGE_PURCHASE_REQUISITION,UPDATE_SAFETY_STOCK, andCLOSE_WORKFLOW_NOTIFICATION. - Click Deploy. Oracle EBS confirms with
Successfully deployed Web Service, and REST Service Status showsDeployed. Ignore the second message, which says that ISG isn't configured for SOAP services.
- Open Integrated SOA Gateway > Integration Repository, click
Search, and search for the internal name
-
Grant the operations to the writeback user: on the Grants tab, select the four operations, click Create Grant, grant access to the user
VOLTGUARD_AGENT, and create the grant. Oracle EBS confirms withGrant has been created successfullyfor the four operations. -
Activate the grants: run the Compile Security concurrent program with Everything set to
No, or run this block asAPPSin SQL*Plus:DECLARE l_errbuf VARCHAR2(2000); l_retcode VARCHAR2(2000); BEGIN fnd_function.compile(l_errbuf, l_retcode, 'N'); IF l_retcode <> '0' THEN raise_application_error( -20001, 'Compile Security failed: ' || l_errbuf ); END IF; COMMIT; END; /Then restart the ISG managed server with
admanagedsrvctl.sh stop oafm_server1andadmanagedsrvctl.sh start oafm_server1. -
Check the service from the application tier. The response contains a
NOT_FOUNDstatus for the unknown hubXXX:curl -u VOLTGUARD_AGENT -H "Content-Type: application/json" \ -X POST http://localhost:8000/webservices/rest/ge_ebs_scm_tools/update_safety_stock/ \ -d '{"UPDATE_SAFETY_STOCK_Input": {"RESTHeader": {"Responsibility": "INVENTORY_VISION_OPERATIONS", "RespApplication": "INV", "SecurityGroup": "STANDARD", "NLSLanguage": "AMERICAN"}, "InputParameters": {"P_ORGANIZATION_CODE": "XXX", "P_ITEM_CODE": "VG-GEN-7500", "P_SAFETY_STOCK_QTY": 100}}}'
Troubleshooting¶
- Step 5 of the deployment fails because the
ebs-mcp-toolboxrevision isn't ready: the MCP Toolbox couldn't open one of its sources at startup, and its Cloud Run logs name the source. Forebs-oracle, checkoracle_host, the firewall rule forsubnet_name, and theAPPS_AIpassword, and deploy again. - Requisition Import fails with
APP-FND-01564(ORACLE error 1017): the concurrent managers hold an outdatedAPPSpassword. Change it only withAFPASSWDorFNDCPASS, and restart the managers withadcmctl.sh. - ISG returns
ISG_SERVICE_AUTH_FAILURE(HTTP 403): the grants aren't active yet. Run Compile Security with Everything set toNo, and restartoafm_server1. - ISG returns
ISG_USER_RESP_MISMATCH:VOLTGUARD_AGENTdoesn't hold the responsibility interraform.tfvars. Set the responsibility constants at the top ofinstall_voltguard_agent_user.sqlto the keys interraform.tfvars, and run the script again. - ISG returns HTTP 401:
ebs_writeback_passworddoesn't match theVOLTGUARD_AGENTpassword. Runinstall_voltguard_agent_user.sqlagain, and deploy with the same password and a higherebs_writeback_password_version. irep_parser.plcan't locateClass/MethodMaker.pm: install the pure PerlClass-MethodMaker-1.12package from the Comprehensive Perl Archive Network (CPAN) intoPERL5LIB.- The agent says that the map service is unavailable: HTTP 403 in the
agent's logs means that the URL signing secret doesn't match the project.
Add the current secret to
oracle-ebs-scm-maps-static-signing-secret, and deploy again. - The deployment skips the zone exposure and place density tables: the
project has no Places Insights subscription. Subscribe to the US listing
with the linked dataset name
places_insights___us, and deploy again. - Some answers take 30 seconds or more: on shared capacity, a Gemini call
sometimes takes 30 seconds, as the
Gemini call:log lines show. Purchase Vertex AI Provisioned Throughput to reduce this latency. - The first answer after an idle period takes longer: both Cloud Run
services scale to zero when idle, so an idle deployment adds no Cloud Run
charges, and the next request starts them again. A conversation that
waited until the agent instance stopped loses its earlier turns, so plan a
pending change again before you confirm it. During a demo, set
min_instance_count = 1and deploy again to keep both services running.