This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 66290 - [50cat] Deploying webapp after adding simple webservice: Error in EJB compiler
Summary: [50cat] Deploying webapp after adding simple webservice: Error in EJB compiler
Status: VERIFIED INVALID
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@webservices
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-07 23:06 UTC by clever
Modified: 2006-06-03 17:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description clever 2005-10-07 23:06:31 UTC
[ BUILD # : 200510050715 ]
[ JDK VERSION : 1.4.2_xx ]

I have a webapp that deploys successfully (to SJS 8). I add a web service "HelloWorld" in an existing package. Add an operation "SayHello". I compile, and try to deploy. I get the following error:

deployment started : 0%
Deploying application in domain  failed; Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
; requested operation cannot be completed
C:\Data\Projects\<<project path>>\nbproject\build-impl.xml:434: Deployment failed.
BUILD FAILED (total time: 17 seconds)

The following stacktrace is on the SJS log:

[#|2005-10-07T18:03:34.236-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=12;|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)
|#]
Comment 1 _ pcw 2005-10-08 02:04:05 UTC
You probably have an error in the way your web service or one of it's operations
is constructed.  Post this as a message in nbj2ee forum along with the
operations and their arguments.  You can also check against the types supported
by JAX-RPC here: 
http://java.sun.com/j2ee/1.4/docs/tutorial-update2/doc/JAXRPC4.html, though this
is not necessarily the error.
Comment 2 Lukas Jungmann 2005-12-01 00:42:14 UTC
v.