Web Service Clients From EJBs Do Not Work On WLS 12.1.3 With " Invocation fails with exception: java.lang.IllegalStateException: MASM0001: Default configuration file [ metro-default.xml ] was not found" Error (Doc ID 1935524.1)

Last updated on NOVEMBER 02, 2017

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3.0.0 version, WLS-WebServices

When attempting to run an application which is calling an EJB web service fails with the next error in the logs.
The Configuration is as follows:

WLS: 12.1.3.0.0
JDK: jJava(TM) SE Runtime Environment (build 1.7.0_65-b19) Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

ERROR
-----------------------
MASM0001: Default configuration file [ metro-default.xml ] was not found
at com.sun.xml.ws.assembler.MetroConfigLoader.init(MetroConfigLoader.java:142)
at com.sun.xml.ws.assembler.MetroConfigLoader.(MetroConfigLoader.java:119)
at com.sun.xml.ws.assembler.TubelineAssemblyController.getTubeCreators(TubelineAssemblyController.java:93)
at com.sun.xml.ws.assembler.MetroTubelineAssembler.createClient(MetroTubelineAssembler.java:118)
at com.sun.xml.ws.client.Stub.createPipeline(Stub.java:343)
at com.sun.xml.ws.client.Stub.(Stub.java:310)
at com.sun.xml.ws.client.Stub.(Stub.java:243)
at com.sun.xml.ws.client.Stub.(Stub.java:258)
at com.sun.xml.ws.client.sei.SEIStub.(SEIStub.java:98)
at com.sun.xml.ws.client.WSServiceDelegate.getStubHandler(WSServiceDelegate.java:829)
at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:818)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:451)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:419)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:474)
at javax.xml.ws.Service.getPort(Service.java:241)
at de.suedleasing.elease.util.ws.client.WSClientUtil.getPort(WSClientUtil.java:39)
...
at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

javax.faces.FacesException: #{startBpelTaskMb.startBpelTask()}: javax.ejb.EJBException: EJB Exception: : java.lang.IllegalStateException: MASM0001: Default configuration file [ metro-default.xml ] was not found
at com.sun.xml.ws.assembler.MetroConfigLoader.init(MetroConfigLoader.java:142)
at com.sun.xml.ws.assembler.MetroConfigLoader.(MetroConfigLoader.java:119)
at com.sun.xml.ws.assembler.TubelineAssemblyController.getTubeCreators(TubelineAssemblyController.java:93)
at com.sun.xml.ws.assembler.MetroTubelineAssembler.createClient(MetroTubelineAssembler.java:118)
at com.sun.xml.ws.client.Stub.createPipeline(Stub.java:343)
at com.sun.xml.ws.client.Stub.(Stub.java:310)
at com.sun.xml.ws.client.Stub.(Stub.java:243)
at com.sun.xml.ws.client.Stub.(Stub.java:258)
at com.sun.xml.ws.client.sei.SEIStub.(SEIStub.java:98)
at com.sun.xml.ws.client.WSServiceDelegate.getStubHandler(WSServiceDelegate.java:829)
at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:818)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:451)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:419)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:474)
at javax.xml.ws.Service.getPort(Service.java:241)
at de.suedleasing.elease.util.ws.client.WSClientUtil.getPort(WSClientUtil.java:39)
...
at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:117)
at javax.faces.component.UICommand.broadcast(UICommand.java:315)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:786)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1251)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
Truncated. see log file for complete stacktrace
Caused By: javax.faces.el.EvaluationException: javax.ejb.EJBException: EJB Exception: : java.lang.IllegalStateException: MASM0001: Default configuration file [ metro-default.xml ] was not found
at com.sun.xml.ws.assembler.MetroConfigLoader.init(MetroConfigLoader.java:142)
at com.sun.xml.ws.assembler.MetroConfigLoader.(MetroConfigLoader.java:119)
at com.sun.xml.ws.assembler.TubelineAssemblyController.getTubeCreators(TubelineAssemblyController.java:93)
at com.sun.xml.ws.assembler.MetroTubelineAssembler.createClient(MetroTubelineAssembler.java:118)
at com.sun.xml.ws.client.Stub.createPipeline(Stub.java:343)
at com.sun.xml.ws.client.Stub.(Stub.java:310)
at com.sun.xml.ws.client.Stub.(Stub.java:243)
at com.sun.xml.ws.client.Stub.(Stub.java:258)
at com.sun.xml.ws.client.sei.SEIStub.(SEIStub.java:98)
at com.sun.xml.ws.client.WSServiceDelegate.getStubHandler(WSServiceDelegate.java:829)
at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:818)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:451)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:419)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:474)
at javax.xml.ws.Service.getPort(Service.java:241)
at de.suedleasing.elease.util.ws.client.WSClientUtil.getPort(WSClientUtil.java:39)
...
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1251)
Truncated. see log file for complete stacktrace
Caused By: javax.ejb.EJBException: EJB Exception: : java.lang.IllegalStateException: MASM0001: Default configuration file [ metro-default.xml ] was not found
at com.sun.xml.ws.assembler.MetroConfigLoader.init(MetroConfigLoader.java:142)
at com.sun.xml.ws.assembler.MetroConfigLoader.(MetroConfigLoader.java:119)
at com.sun.xml.ws.assembler.TubelineAssemblyController.getTubeCreators(TubelineAssemblyController.java:93)
at com.sun.xml.ws.assembler.MetroTubelineAssembler.createClient(MetroTubelineAssembler.java:118)
at com.sun.xml.ws.client.Stub.createPipeline(Stub.java:343)
at com.sun.xml.ws.client.Stub.(Stub.java:310)
at com.sun.xml.ws.client.Stub.(Stub.java:243)
at com.sun.xml.ws.client.Stub.(Stub.java:258)
at com.sun.xml.ws.client.sei.SEIStub.(SEIStub.java:98)
at com.sun.xml.ws.client.WSServiceDelegate.getStubHandler(WSServiceDelegate.java:829)
at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:818)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:451)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:419)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:474)
at javax.xml.ws.Service.getPort(Service.java:241)
at de.suedleasing.elease.util.ws.client.WSClientUtil.getPort(WSClientUtil.java:39)
...
at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetry(BaseLocalObject.java:204)
Truncated. see log file for complete stacktrace
Caused By: java.lang.IllegalStateException: MASM0001: Default configuration file [ metro-default.xml ] was not found
at com.sun.xml.ws.assembler.MetroConfigLoader.init(MetroConfigLoader.java:142)
at com.sun.xml.ws.assembler.MetroConfigLoader.(MetroConfigLoader.java:119)
at com.sun.xml.ws.assembler.TubelineAssemblyController.getTubeCreators(TubelineAssemblyController.java:93)
at com.sun.xml.ws.assembler.MetroTubelineAssembler.createClient(MetroTubelineAssembler.java:118)
at com.sun.xml.ws.client.Stub.createPipeline(Stub.java:343)
Truncated. see log file for complete stacktrace
>

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