users@jax-rpc.java.net

Re: Problems with wsdeploy

From: David Sharp <dsharp02_at_gmail.com>
Date: Thu, 24 Mar 2005 19:44:15 -0600

Yes, the result is the same. The missing class is in saaj-impl.jar though.

Here is the last thing I tried:

E:\Programming\ClaimNet\ws-reference\war>wsdeploy -verbose -classpath
"f:\Sun\jwsdp-1.5\saaj\lib\saaj-api.jar;f:\Sun\jwsdp-1.5\saaj\lib\saaj-impl.jar"
-o dave.war claimnet.war

info: created temporary directory:
F:\DOCUME~1\dsharp\LOCALS~1\Temp\jaxrpc-deploy-1b0749
[CustomClassGenerator: Class claimnet.webservice.server.SubmitPOC
exists. Not overriding.]
[CustomClassGenerator: Class claimnet.webservice.server.SubmitPOCDatum
exists. Not overriding.]
[CustomClassGenerator: Class
claimnet.webservice.server.ClaimNetServiceException exists. Not
overriding.]
[CustomClassGenerator: Class claimnet.webservice.server.GetPOCData
exists. Not overriding.]
[CustomClassGenerator: Class
claimnet.webservice.server.GetPOCDataReturn exists. Not overriding.]
[CustomClassGenerator: Class
claimnet.webservice.server.GetPOCDataReturnDatum exists. Not
overriding.]
[CustomClassGenerator: Class claimnet.webservice.server.GetPOCStatus
exists. Not overriding.]
[CustomClassGenerator: Class
claimnet.webservice.server.GetPOCStatusReturn exists. Not overriding.]
[CustomClassGenerator: Class
claimnet.webservice.server.GetSecurityQuestion exists. Not
overriding.]
[CustomClassGenerator: Class
claimnet.webservice.server.GetSecurityQuestionReturn exists. Not
overriding.]
[LiteralObjectSerializerGenerator: writing serializer/deserializer
for: submitPOC-datum]
[LiteralObjectSerializerGenerator: writing serializer/deserializer
for: submitPOC]
[LiteralObjectSerializerGenerator: writing serializer/deserializer
for: ClaimNetServiceException]
[LiteralObjectSerializerGenerator: writing serializer/deserializer
for: getPOCData]
[LiteralObjectSerializerGenerator: writing serializer/deserializer
for: getPOCData-return-datum]
[LiteralObjectSerializerGenerator: writing serializer/deserializer
for: getPOCData-return]
[LiteralObjectSerializerGenerator: writing serializer/deserializer
for: getPOCStatus]
[LiteralObjectSerializerGenerator: writing serializer/deserializer
for: getPOCStatus-return]
[LiteralObjectSerializerGenerator: writing serializer/deserializer
for: getSecurityQuestion]
[LiteralObjectSerializerGenerator: writing serializer/deserializer
for: getSecurityQuestion-return]
[CustomExceptionGenerator: generating CustomException for:
claimnet.webservice.server.ClaimNetServiceException]
[SOAPFaultSerializerGenerator: generating FaultHandler for: submitPOC]
[SOAPFaultSerializerGenerator: generating FaultHandler for: getPOCData]
[SOAPFaultSerializerGenerator: generating FaultHandler for: getPOCStatus]
[SOAPFaultSerializerGenerator: generating FaultHandler for: getSecurityQuestion]
[FaultExceptionBuilderGenerator: writing object builder for: submitPOC]
[FaultExceptionBuilderGenerator: writing object builder for: getPOCData]
[FaultExceptionBuilderGenerator: writing object builder for: getPOCStatus]
[FaultExceptionBuilderGenerator: writing object builder for:
getSecurityQuestion]
[SerializerRegistryGenerator: Class
claimnet.webservice.server.ReceivershipService_SerializerRegistry
exists. Not overriding.]
info: removed temporary directory:
F:\DOCUME~1\dsharp\LOCALS~1\Temp\jaxrpc-deploy-1b0749
Exception in thread "main" java.lang.NoClassDefFoundError:
com/sun/xml/messaging/saaj/util/ByteInputStream
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:219)
        at com.sun.xml.rpc.processor.modeler.rmi.RmiUtils.getLoadableClassName(RmiUtils.java:78)
        at com.sun.xml.rpc.processor.generator.GeneratorUtil.classExists(GeneratorUtil.java:140)
        at com.sun.xml.rpc.processor.generator.StubTieGeneratorBase.writeClass(StubTieGeneratorBase.java:225)
        at com.sun.xml.rpc.processor.generator.StubTieGeneratorBase.postVisitPort(StubTieGeneratorBase.java:141)
        at com.sun.xml.rpc.processor.generator.TieGenerator.postVisitPort(TieGenerator.java:174)
        at com.sun.xml.rpc.processor.generator.GeneratorBase.visit(GeneratorBase.java:253)
        at com.sun.xml.rpc.processor.model.Port.accept(Port.java:138)
        at com.sun.xml.rpc.processor.generator.GeneratorBase.visitService(GeneratorBase.java:232)
        at com.sun.xml.rpc.processor.generator.GeneratorBase.visit(GeneratorBase.java:220)
        at com.sun.xml.rpc.processor.model.Service.accept(Service.java:102)
        at com.sun.xml.rpc.processor.generator.GeneratorBase.visitModel(GeneratorBase.java:211)
        at com.sun.xml.rpc.processor.generator.GeneratorBase.visit(GeneratorBase.java:199)
        at com.sun.xml.rpc.processor.model.Model.accept(Model.java:139)
        at com.sun.xml.rpc.processor.generator.GeneratorBase.doGeneration(GeneratorBase.java:188)
        at com.sun.xml.rpc.processor.generator.GeneratorBase.perform(GeneratorBase.java:133)
        at com.sun.xml.rpc.processor.Processor.runActions(Processor.java:88)
        at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:739)
        at com.sun.xml.rpc.tools.wsdeploy.DeployTool.process(DeployTool.java:344)
        at com.sun.xml.rpc.tools.wsdeploy.DeployTool.run(DeployTool.java:254)
        at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43)
        at com.sun.xml.rpc.tools.wsdeploy.Main.main(Main.java:22)

E:\Programming\ClaimNet\ws-reference\war>




On Fri, 25 Mar 2005 08:57:53 +0800, zhanglin <zhanglin_at_ics.nju.edu.cn> wrote:
> Have you added the saaj-api.jar into the classpath?
[snip]