users@glassfish.java.net

Glassfish Java 1.6 Error

From: Kenneth Clark <kenneth_at_rabiddog.co.za>
Date: Tue, 16 Jan 2007 20:33:45 +0200

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 ^(TM)
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/