users@glassfish.java.net

Error WSGEN FAILED on deployment

From: <glassfish_at_javadesktop.org>
Date: Thu, 26 Apr 2007 03:44:03 PDT

Hi.

I'm using GF V2 beta 1 (b33e) and get the following error on deployment of a ear:
[pre]
[#|2007-04-26T12:32:27.882+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;|
Problem encountered during annotation processing;
|#]

[#|2007-04-26T12:32:27.884+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;|see stacktrace below for more information.
|#]

[#|2007-04-26T12:32:27.884+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;|java.lang.NullPointerException
|#]

[#|2007-04-26T12:32:27.885+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.isSubtype(WebServiceAP.java:345)
|#]

[#|2007-04-26T12:32:27.887+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.isRemote(WebServiceAP.java:340)
|#]

[#|2007-04-26T12:32:27.887+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.isLegalType(WebServiceVisitor.java:745)
|#]

[#|2007-04-26T12:32:27.888+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.isLegalMethod(WebServiceVisitor.java:596)
|#]

[#|2007-04-26T12:32:27.888+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.methodsAreLegal(WebServiceVisitor.java:573)
|#]

[#|2007-04-26T12:32:27.889+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.isLegalImplementation(WebServiceVisitor.java:491)
|#]

[#|2007-04-26T12:32:27.889+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.shouldProcessWebService(WebServiceVisitor.java:306)
|#]

[#|2007-04-26T12:32:27.890+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitClassDeclaration(WebServiceVisitor.java:109)
|#]

[#|2007-04-26T12:32:27.890+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)
|#]

[#|2007-04-26T12:32:27.890+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.buildModel(WebServiceAP.java:311)
|#]

[#|2007-04-26T12:32:27.891+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.process(WebServiceAP.java:252)
|#]

[#|2007-04-26T12:32:27.892+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
|#]

[#|2007-04-26T12:32:27.893+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
|#]

[#|2007-04-26T12:32:27.893+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
|#]

[#|2007-04-26T12:32:27.894+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.apt.main.Main.compile(Main.java:1075)
|#]

[#|2007-04-26T12:32:27.894+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.apt.main.Main.compile(Main.java:938)
|#]

[#|2007-04-26T12:32:27.894+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.apt.Main.processing(Main.java:95)
|#]

[#|2007-04-26T12:32:27.895+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.apt.Main.process(Main.java:85)
|#]

[#|2007-04-26T12:32:27.895+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.apt.Main.process(Main.java:67)
|#]

[#|2007-04-26T12:32:27.896+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.ws.wscompile.WsgenTool.buildModel(WsgenTool.java:175)
|#]

[#|2007-04-26T12:32:27.896+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.ws.wscompile.WsgenTool.run(WsgenTool.java:102)
|#]

[#|2007-04-26T12:32:27.896+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.ws.util.WSToolsObjectFactoryImpl.wsgen(WSToolsObjectFactoryImpl.java:47)
|#]

[#|2007-04-26T12:32:27.897+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.tools.ws.spi.WSToolsObjectFactory.wsgen(WSToolsObjectFactory.java:93)
|#]

[#|2007-04-26T12:32:27.897+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.enterprise.webservice.WsUtil.runWsGen(WsUtil.java:1812)
|#]

[#|2007-04-26T12:32:27.906+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2110)
|#]

[#|2007-04-26T12:32:27.907+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:346)
|#]

[#|2007-04-26T12:32:27.907+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.enterprise.deployment.backend.AppDeployer.explodeArchive(AppDeployer.java:274)
|#]

[#|2007-04-26T12:32:27.908+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:188)
|#]

[#|2007-04-26T12:32:27.908+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:132)
|#]

[#|2007-04-26T12:32:27.909+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:174)
|#]

[#|2007-04-26T12:32:27.909+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
|#]

[#|2007-04-26T12:32:27.909+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:892)
|#]

[#|2007-04-26T12:32:27.910+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
|#]

[#|2007-04-26T12:32:27.910+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:761)
|#]

[#|2007-04-26T12:32:27.911+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
|#]

[#|2007-04-26T12:32:27.911+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;| at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
|#]

[#|2007-04-26T12:32:27.912+0200|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=24;_ThreadName=Thread-93;|
error: compilation failed, errors should have been reported|#]

[#|2007-04-26T12:32:28.122+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=24;_ThreadName=Thread-93;_RequestID=a944ea5f-2ea7-4d74-b3b8-96dec3a33df2;|Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: WSGEN FAILED
        at com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2117)
        at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:346)
        at com.sun.enterprise.deployment.backend.AppDeployer.explodeArchive(AppDeployer.java:274)
        at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:188)
        at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:132)
        at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:174)
        at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:892)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:761)
        at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
        at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
|#]
[/pre]


I have only one @WebService annotation in an ejb module that belongs to an ear.
My GF runs on linux with jdk5 p11 from sun.

Please help me. I tried *everything*!

Alexander.
[Message sent by forum member 'sahlix' (sahlix)]

http://forums.java.net/jive/thread.jspa?messageID=214434