users@glassfish.java.net

Re: Glassfish cannot find some inner classes

From: Stefan Schilling <mail.suse_at_gmx.de>
Date: Fri, 07 Mar 2008 15:48:06 +0100

Hello!

Alright, I solved it.
I tried March 5th 2008 nightly build and the problem is gone. It seems, there is a bug in glassfish-v2ur1-b09d.

Well, it's gone ... that's enough for me.

Thanks and have a good weekend.

Bye,
Stefan


-------- Original-Nachricht --------
> Datum: Tue, 04 Mar 2008 12:01:40 +0100
> Von: "Stefan Schilling" <mail.suse_at_gmx.de>
> An: users_at_glassfish.dev.java.net
> Betreff: Glassfish cannot find some inner classes

> Hello!
>
> I'm running Sun Java System Application Server 9.1_01 (build b09d-fcs)
> here on a JRE 1.6.0_03-b05.
>
> I tried to deploy a number of beans that are using the SAP JCO connector.
> The beans look good in eclipse and -as long as I do not import / use the
> com.sap.mw.jco.JCO.Exception class- I can deploy the beans without any
> trouble.
> But once I enable usage of com.sap.mw.jco.JCO.Exception, deployment fails
> for a java.lang.NoClassDefFoundError.
> Meanwhile, it still loads a number of other imported classes, such as:
> - com.sap.mw.jco.JCO
> - com.sap.mw.jco.JCO.Client
> - com.sap.mw.jco.JCO.Pool
>
> I don't really understand the problem; the com.sap.mw.jco.JCO.Exception is
> included in the sapjco.jar provided to glassfish as
> com.sap.mw.jco.JCO$Exception.
>
> Here's the stacktrace created by glassfish:
>
> [#|2008-03-04T11:52:39.381+0100|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=50;_ThreadName=Thread-130;_RequestID=8ed10eef-a25f-481d-b6a0-de444cc031fa;|Exception
> occured in J2EEC Phase
> java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO$Exception
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
> at java.lang.Class.privateGetPublicMethods(Class.java:2547)
> at java.lang.Class.getMethods(Class.java:1410)
> at
> com.sun.xml.ws.model.RuntimeModeler.determineWebMethodUse(RuntimeModeler.java:303)
> at
> com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:319)
> at
> com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:256)
> at com.sun.tools.ws.wscompile.WsgenTool.buildModel(WsgenTool.java:218)
> at com.sun.tools.ws.wscompile.WsgenTool.run(WsgenTool.java:119)
> at
> com.sun.tools.ws.util.WSToolsObjectFactoryImpl.wsgen(WSToolsObjectFactoryImpl.java:61)
> at
> com.sun.tools.ws.spi.WSToolsObjectFactory.wsgen(WSToolsObjectFactory.java:107)
> at com.sun.enterprise.webservice.WsUtil.runWsGen(WsUtil.java:1845)
> at com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2249)
> at
> com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:424)
> at
> com.sun.enterprise.deployment.backend.EjbModuleDeployer.deploy(EjbModuleDeployer.java:140)
> 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)
> |#]
>
> Thanks for your help and please let me know, if you need any other
> information regarding this problem.
>
> Bye,
> Stefan
> --
> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net

-- 
Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! 
http://games.entertainment.gmx.net/de/entertainment/games/free