Symptoms
Attempt to create a new resource type for an APS application fails with an error in the /var/log/pa/core.log
like the following:
Apr 26 18:56:40.767 : DBG [UI:f4da6d0e:173578:1556297800651 p:-default-threadpool;-w:-Idle:1229 pau]: c.p.p.c.ServiceInvoker ExSystem or CORBA SystemException which caused EJB exception not found
Apr 26 18:56:40.768 : DBG [UI:f4da6d0e:173578:1556297800651 p:-default-threadpool;-w:-Idle:1229 pau]: c.p.p.c.ServiceInvoker DomainManager invocation failedjavax.ejb.EJBException: WFLYEJB0442: Unexpected Error
...
Apr 26 18:56:40.768 : Caused by: java.lang.StackOverflowError: null
Cause
Issue is acknowledged as #OA-5489.
Resolution
Use the OpenAPI to create a resource type:
https://download.automation.odin.com/oa/7.4/oapremium/portal/en/operations_api_reference/73400.htm