com.evermind.compiler.CompilationException

Error instantiating compiler: Web service artifact generation failed:oracle.j2ee.ws.common.tools.api.ValidationException: The JAX-RPC value return-type javax.ejb.EJBHome in implementation class: cl.presto.services.clientes.EstadoCuentaServicesBean method: getEJBHome should not implement java.rmi.Remote

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web64

  • via Oracle Community by 616020, 1 year ago
    Error instantiating compiler: Web service artifact generation failed:oracle.j2ee.ws.common.tools.api.ValidationException: The JAX-RPC value return-type javax.ejb.EJBHome in implementation class: cl.presto.services.clientes.EstadoCuentaServicesBean method: getEJBHome should not implement java.rmi.Remote
  • Error instantiating compiler: Web service artifact generation failed:java.lang.RuntimeException: generator error: generator error: can't create directory: C:\product\10.1.3.1\OracleAS_2\j2ee\home\application-deployments\ThClicks\ThClicksEJB\_Inv56607\java\util\List<com\thclicks\ccmc\domain
  • Error instantiating compiler: webservice artifact generation failed :java.lang.InstantiationException : Unable to find/read file META-INF/wsdl/AService.wsdl in D:\fusion\jdev\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\application-deployments\current-workspace-app\app_endpoint_1 (META-INF/wsdl/AService.wsdl)
  • Stack trace

    • com.evermind.compiler.CompilationException: Error instantiating compiler: Web service artifact generation failed:oracle.j2ee.ws.common.tools.api.ValidationException: The JAX-RPC value return-type javax.ejb.EJBHome in implementation class: cl.presto.services.clientes.EstadoCuentaServicesBean method: getEJBHome should not implement java.rmi.Remote at com.evermind.server.ejb.compilation.Compilation.generateWebServices(Compilation.java:1526) at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:187) at com.evermind.server.ejb.compilation.Compilation.doGenerateCode(Compilation.java:264) at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:898) 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) Caused by: java.lang.InstantiationException: Web service artifact generation failed:oracle.j2ee.ws.common.tools.api.ValidationException: The JAX-RPC value return-type javax.ejb.EJBHome in implementation class: cl.presto.services.clientes.EstadoCuentaServicesBean method: getEJBHome should not implement java.rmi.Remote at oracle.j2ee.ws.server.codegen.ServerArtifactGenerator.generateCompilables(ServerArtifactGenerator.java:455) at com.evermind.server.ejb.compilation.Compilation.generateWebServices(Compilation.java:1510)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.