users@glassfish.java.net

Re: JAXWS CNF with JDK6 [Was - Re: Glassfish Java 1.6 Error]

From: Kenneth Clark <kenneth_at_rabiddog.co.za>
Date: Wed, 17 Jan 2007 06:20:53 +0200

Hi

java -version returns:
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

Thanks.

Should I downgrade my java version in the meantime? Where can I find
1.5.9 because 1.5.10 kept hanging my machine

Kenneth Clark
Programmer/Analyst

Rabid Dog Laboratories ™
Putting the art back into development

*tel:* +27 11 475 7409
*mobile:* +27 82 500 5090
*e-mail:* kenneth_at_rabiddog.co.za
*website:* http://www.rabiddog.co.za/


Vijay Ramachandran wrote:
> Ken - Which JDK6 build are you using ?
>
> JAXWS team - can you please look into this. Looks like there is an
> issue when a user using GF-v1/GF-v1UR1 with JDK6.
>
> Thanks
>
> Kenneth Clark wrote:
>> Another attempt to deploy without verification produces the error
>>
>> Deploying application in domain failed; Could not initialize class
>> com.sun.xml.messaging.saaj.soap.ExpressMessageFactoryImpl Could not
>> initialize class
>> com.sun.xml.messaging.saaj.soap.ExpressMessageFactoryImpl
>>
>> The stack trace in the log also appears different
>>
>> DetailsTimestamp: Jan 16, 2007 20:37:54.125
>> Log Level: SEVERE
>> Logger: javax.enterprise.system.tools.deployment
>> Name-Value Pairs:
>> _ThreadID=14;_ThreadName=Thread-27;_RequestID=cb6eae4b-cad5-4452-92f1-47e0cf24864f;
>>
>> Record Number: 152
>> Message ID: Exception occured in J2EEC Phase
>> java.lang.NoClassDefFoundError
>> Complete Message
>> Could not initialize class
>> com.sun.xml.messaging.saaj.soap.ExpressMessageFactoryImpl at
>> com.sun.xml.xwss.SystemHandlerDelegateImpl.<init>(SystemHandlerDelegateImpl.java:148)
>> at
>> com.sun.xml.xwss.SystemHandlerDelegateFactory.create(SystemHandlerDelegateFactory.java:45)
>> at
>> com.sun.xml.ws.spi.runtime.SystemHandlerDelegateFactory.getDelegate(SystemHandlerDelegateFactory.java:59)
>> at
>> com.sun.xml.ws.binding.soap.SOAPBindingImpl.setupSystemHandlerDelegate(SOAPBindingImpl.java:217)
>> at
>> com.sun.xml.ws.binding.soap.SOAPBindingImpl.<init>(SOAPBindingImpl.java:66)
>> at
>> com.sun.xml.ws.binding.BindingImpl.getBinding(BindingImpl.java:185)
>> at
>> com.sun.tools.ws.wscompile.CompileTool.isValidWSGenClass(CompileTool.java:463)
>> at
>> com.sun.tools.ws.wscompile.CompileTool.parseArguments(CompileTool.java:427)
>> at com.sun.tools.ws.util.ToolBase.run(ToolBase.java:49) at
>> com.sun.tools.ws.util.WSToolsObjectFactoryImpl.wsgen(WSToolsObjectFactoryImpl.java:42)
>> at com.sun.enterprise.webservice.WsUtil.runWsGen(WsUtil.java:1740) at
>> com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2004) at
>> com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:396)
>> at
>> com.sun.enterprise.deployment.backend.EjbModuleDeployer.deploy(EjbModuleDeployer.java:138)
>> at
>> com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:160)
>> at
>> com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
>> at
>> com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
>> at
>> com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
>> at
>> com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
>> at
>> com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
>> at
>> com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
>> at
>> com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
>>
>>
>>
>>
>>
>> Kenneth Clark
>> Programmer/Analyst
>>
>> Rabid Dog Laboratories ™
>> Putting the art back into development
>>
>> *tel:* +27 11 475 7409
>> *mobile:* +27 82 500 5090
>> *e-mail:* kenneth_at_rabiddog.co.za
>> *website:* http://www.rabiddog.co.za/
>>
>>
>> Kenneth Clark wrote:
>>> Hi everyone
>>>
>>> I noticed some really weird performance issues when running
>>> glassfish v1 b48 with java 1.5 update 10. I upgraded the Java to 1.6
>>> and now my EJB JAR won't deploy. It fails with the following error
>>> in the logs:
>>>
>>> Details
>>> Timestamp:
>>>
>>> Jan 16, 2007 20:22:22.671
>>> Log Level:
>>>
>>> SEVERE
>>> Logger:
>>>
>>> javax.enterprise.system.tools.deployment
>>> Name-Value Pairs:
>>>
>>> _ThreadID=13;_ThreadName=Thread-25;_RequestID=ceb50347-6783-49e4-8f49-38d1c76ed27d;
>>>
>>> Record Number:
>>>
>>> 150
>>> Message ID:
>>>
>>> Exception occured in J2EEC Phase
>>> java.lang.ExceptionInInitializerError at
>>> com.sun.xml.xwss.SystemHandlerDelegateImpl.<init>(SystemHandlerDelegateImpl.java
>>>
>>> Complete Message
>>>
>>> 148)
>>> at
>>> com.sun.xml.xwss.SystemHandlerDelegateFactory.create(SystemHandlerDelegateFactory.java:45)
>>>
>>> at
>>> com.sun.xml.ws.spi.runtime.SystemHandlerDelegateFactory.getDelegate(SystemHandlerDelegateFactory.java:59)
>>>
>>> at
>>> com.sun.xml.ws.binding.soap.SOAPBindingImpl.setupSystemHandlerDelegate(SOAPBindingImpl.java:217)
>>>
>>> at
>>> com.sun.xml.ws.binding.soap.SOAPBindingImpl.<init>(SOAPBindingImpl.java:66)
>>>
>>> at com.sun.xml.ws.binding.BindingImpl.getBinding(BindingImpl.java:185)
>>> at
>>> com.sun.tools.ws.wscompile.CompileTool.isValidWSGenClass(CompileTool.java:463)
>>>
>>> at
>>> com.sun.tools.ws.wscompile.CompileTool.parseArguments(CompileTool.java:427)
>>>
>>> at com.sun.tools.ws.util.ToolBase.run(ToolBase.java:49)
>>> at
>>> com.sun.tools.ws.util.WSToolsObjectFactoryImpl.wsgen(WSToolsObjectFactoryImpl.java:42)
>>>
>>> at com.sun.enterprise.webservice.WsUtil.runWsGen(WsUtil.java:1740)
>>> at com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2004)
>>> at
>>> com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:396)
>>>
>>> at
>>> com.sun.enterprise.deployment.backend.EjbModuleDeployer.deploy(EjbModuleDeployer.java:138)
>>>
>>> at
>>> com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:160)
>>>
>>> at
>>> com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
>>>
>>> at
>>> com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
>>>
>>> at
>>> com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
>>>
>>> at
>>> com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
>>>
>>> at
>>> com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
>>>
>>> at
>>> com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
>>>
>>> at
>>> com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
>>>
>>> Caused by: java.lang.IllegalArgumentException:
>>> com.sun.xml.internal.messaging.saaj.soap.LocalStrings !=
>>> com.sun.xml.messaging.saaj.soap.LocalStrings
>>> at java.util.logging.Logger.getLogger(Logger.java:328)
>>> at
>>> com.sun.xml.messaging.saaj.soap.ExpressMessageFactoryImpl.<clinit>(ExpressMessageFactoryImpl.java:73)
>>>
>>> ... 22 more
>>>
>>> I noticed someone posted something similar at
>>> http://forums.java.net/jive/thread.jspa?messageID=185171
>>>
>>> I am wondering if the issue has been resolved in GF v2 but v2 is not
>>> labelled production ready so I am hesitant to use it. Please help!
>>>
>>>
>>> --
>>> Kenneth Clark
>>> Programmer/Analyst
>>>
>>> Rabid Dog Laboratories ™
>>> Putting the art back into development
>>>
>>> *tel:* +27 11 475 7409
>>> *mobile:* +27 82 500 5090
>>> *e-mail:* kenneth_at_rabiddog.co.za
>>> *website:* http://www.rabiddog.co.za/
>>> ------------------------------------------------------------------------
>>>
>>>
>>> No virus found in this incoming message.
>>> Checked by AVG Free Edition.
>>> Version: 7.5.432 / Virus Database: 268.16.12/630 - Release Date:
>>> 15/01/2007 20:28
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>
>