users@glassfish.java.net

Errors encountered when migrating a web service

From: <glassfish_at_javadesktop.org>
Date: Mon, 03 Mar 2008 15:14:34 PST

Please help. Although the application server I use is not Glassfish, I guess Sun Application Server is close enough to Galssfish.

I encountered errors while trying to migrate a web service from Sun Application Server v.9 to v.9.1. The web service works fine on v.9.0. I have tried to deploy the service either from the integrated Netbeans IDE 6 or deployment script on both Windows and Linux platforms but both of the approaches returned me the same error messages. My server log is attached as the following:

[#|2008-03-03T17:23:44.000-0500|FINE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=16;_ThreadName=Thread-26;ClassName=com.sun.enterprise.deployment.backend.ModuleDeployer;MethodName=doRequestFinish;_RequestID=de181150-9a4f-42a8-be23-1911718c5e0b;|Deployment Errorjava.lang.VerifyError: class com.sun.xml.ws.client.ClientConfigurationException overrides final method .
com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [ttpServer] -- class com.sun.xml.ws.client.ClientConfigurationException overrides final method .
        at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:390)
        at com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:423)
        at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java:157)
        at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:179)
        at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
        at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
        at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
        at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
Caused by: java.lang.VerifyError: class com.sun.xml.ws.client.ClientConfigurationException overrides final method .
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:687)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
        at java.lang.Class.getConstructors(Class.java:1446)
        at com.sun.enterprise.deployment.annotation.impl.ComponentDefinition.initializeConstructors(ComponentDefinition.java:111)
        at com.sun.enterprise.deployment.annotation.impl.ComponentDefinition.<init>(ComponentDefinition.java:69)
        at com.sun.enterprise.deployment.annotation.impl.JavaEEScanner.getComponentInfo(JavaEEScanner.java:57)
        at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:172)
        at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:129)
        at com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:445)
        at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:346)
        at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:318)
        at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:213)
        at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:763)
        at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:744)
        at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:349)
        ... 10 more
|#]

[#|2008-03-03T17:23:44.000-0500|FINE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=16;_ThreadName=Thread-26;ClassName=com.sun.enterprise.deployment.backend.Deployer;MethodName=finish;_RequestID=de181150-9a4f-42a8-be23-1911718c5e0b;|Total Deployment Time: 3375 msec, Total EJB Compiler Module Time: 0 msec, Portion spent EJB Compiling: 0%|#]

[#|2008-03-03T17:23:44.015-0500|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=16;_ThreadName=Thread-26;_RequestID=de181150-9a4f-42a8-be23-1911718c5e0b;|Exception occured in J2EEC Phasejava.lang.VerifyError: class com.sun.xml.ws.client.ClientConfigurationException overrides final method .
com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [ttpServer] -- class com.sun.xml.ws.client.ClientConfigurationException overrides final method .
        at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:390)
        at com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:423)
        at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java:157)
        at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:179)
        at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
        at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
        at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
        at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
Caused by: java.lang.VerifyError: class com.sun.xml.ws.client.ClientConfigurationException overrides final method .
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:687)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
        at java.lang.Class.getConstructors(Class.java:1446)
        at com.sun.enterprise.deployment.annotation.impl.ComponentDefinition.initializeConstructors(ComponentDefinition.java:111)
        at com.sun.enterprise.deployment.annotation.impl.ComponentDefinition.<init>(ComponentDefinition.java:69)
        at com.sun.enterprise.deployment.annotation.impl.JavaEEScanner.getComponentInfo(JavaEEScanner.java:57)
        at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:172)
        at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:129)
        at com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:445)
        at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:346)
        at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:318)
        at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:213)
        at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:763)
        at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:744)
        at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:349)
        ... 10 more
|#]

Thanks for help in advance.
[Message sent by forum member 'reinhardlee' (reinhardlee)]

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