Skip to main content

Errors while deploying Web-Service

1 reply [Last post]
octopus
Offline
Joined: 2005-06-14

I'm trying to deploy Web-Service using the deployment tool and if I do that according with the example, presented in j2ee 1.4 tutorial, everything is ok, but if I try to customize this example (by just adding an "import declaration", deployment fails:

[#|2005-06-15T10:03:14.756+0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=17;|Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:206)
at com.sun.enterprise.deployment.WebBundleDescriptor.visit(WebBundleDescriptor.java:1101)
at com.sun.enterprise.deployment.Application.visit(Application.java:1346)
at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java:103)
at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:785)
at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:563)
at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployModule(EJBCompiler.java:427)
at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:213)
at com.sun.enterprise.deployment.backend.ModuleDeployer.runEJBC(ModuleDeployer.java:967)
at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java:193)
at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:140)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:146)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:188)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:520)
at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:143)
at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:172)
|#]

The code of my Web-Service:

package ru.korusconsulting.peterstarservice;
import org.w3c.dom.Document;

//import java.rmi.RemoteException;

public class PeterstarImpl implements PeterstarIF {

public void parseDoc(Document doc)
{

}

public void create(Document doc)
{

}

}

Does enybody have any suppositions, why do I get this error?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kohlert
Offline
Joined: 2003-06-16

Can you post the full stack trace?