An Application Using a MDB Callout to WebService Results in a Deployment Compilation Error (Doc ID 1067871.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version: 10.1.3.0.0 to 10.1.3.5.0 - Release: AS10gR3 to AS10gR3
Information in this document applies to any platform.

Symptoms

A MDB based application to do a call out to JAX-RPC WebService cannot be deployed to OracleAS 10.1.3.x. The ejb-jar.xml is configured with <service-ref> to do a JNDI lookup to the webservice as follows:

<service-ref>
  <service-ref-name>services/hello</service-ref-name>
  <service-interface>hello.tennet.org.HelloWS</service-interface>
  <wsdl-file>META-INF/wsdl/HelloWSSoapHttpPort.wsdl</wsdl-file>
  <jaxrpc-mapping-file>META-INF/HelloWS-java-wsdl-mapping.xml</jaxrpc-mapping-file>
</service-ref>

Deployment Error:

[JMSConsume-MDB-opp] An error occured deploying EJB module:
com.evermind.compiler.CompilationException: compilation error occurred
at com.evermind.compiler.ExternalJavac.compile(ExternalJavac.java:718)
at com.evermind.compiler.ExternalJavac.invokeCompiler(ExternalJavac.java:114)
at com.evermind.compiler.ExternalJavac.compile(ExternalJavac.java:495)
at com.evermind.compiler.FileLinkedCompiler.invokeCompiler(FileLinkedCompiler.java:250)
at com.evermind.compiler.FileLinkedCompilation.run(FileLinkedCompilation.java:140)
at oracle.oc4j.security.OC4JSecurity.doUnprivileged(OC4JSecurity.java:325)
at com.evermind.compiler.FileLinkedCompiler.compile(FileLinkedCompiler.java:82)
at com.evermind.server.ejb.compilation.Compilation.invokeCompiler(Compilation.java:504)
at com.evermind.server.ejb.compilation.Compilation.doBatchCompile(Compilation.java:419)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:957)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
at com.evermind.server.Application.setConfig(Application.java:413)
at com.evermind.server.Application.setConfig(Application.java:314)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1853)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)

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