geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Krishna Korrapati" <harikrishna.korrap...@gmail.com>
Subject EJB related exception while migrating from Geronimo1.1.1 to Geronimo2.0.2
Date Fri, 28 Dec 2007 07:26:01 GMT
Hi,


When i am migrating an application from Geronimo 1.1.1 to Geronimo 2.0.1,
getting the following exception related to EJB

19:10:33,833 ERROR [Deployer] Deployment failed due to
org.apache.geronimo.common.DeploymentException:
org.apache.openejb.OpenEJBException: Cannot unmarshall the ejb-jar.xml file:
jar:file:/E:/Geronimo 2.0.2/geronimo-tomcat6-jee5-2.0.2-bin/geronimo-
tomcat6-jee5-2.0.2/var/temp/geronimo-
deploymentUtil24547.jar!/META-INF/ejb-jar.xml: null
            at
org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(
EjbModuleBuilder.java:221)
            at
org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(
EjbModuleBuilder.java:199)
            at
org.apache.geronimo.openejb.deployment.EjbModuleBuilder$$FastClassByCGLIB$$cd80af20.invoke
(<generated>)
            at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
            at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(
FastMethodInvoker.java:38)
            at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(
GBeanOperation.java:124)
            at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(
GBeanInstance.java:830)
            at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(
RawInvoker.java:57)
            at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(
RawOperationInvoker.java:35)
            at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(
ProxyMethodInterceptor.java:96)
            at
org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$72b50ef.createModule
(<generated>)
            at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(
EARConfigBuilder.java:767)
            at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(
EARConfigBuilder.java:384)
            at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(
EARConfigBuilder.java:277)
            at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke
(<generated>)
            at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
            at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(
FastMethodInvoker.java:38)
            at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(
GBeanOperation.java:124)
            at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(
GBeanInstance.java:830)
            at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(
RawInvoker.java:57)
            at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(
RawOperationInvoker.java:35)
            at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(
ProxyMethodInterceptor.java:96)
            at
org.apache.geronimo.j2ee.deployment.CorbaGBeanNameSource$$EnhancerByCGLIB$$3e58cb04.getDeploymentPlan
(<generated>)
            at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java
:234)
            at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java
:126)
            at
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke
(<generated>)
            at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
            at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(
FastMethodInvoker.java:38)
            at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(
GBeanOperation.java:124)
            at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(
GBeanInstance.java:865)
            at org.apache.geronimo.kernel.basic.BasicKernel.invoke(
BasicKernel.java:239)
            at
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(
AbstractDeployCommand.java:116)
            at
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(
DistributeCommand.java:61)
            at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.openejb.OpenEJBException: Cannot unmarshall the
ejb-jar.xml file: jar:file:/E:/Geronimo 2.0.2/geronimo-
tomcat6-jee5-2.0.2-bin/geronimo-tomcat6-jee5-2.0.2/var/temp/geronimo-
deploymentUtil24547.jar!/META-INF/ejb-jar.xml: null
            at org.apache.openejb.config.ReadDescriptors.readEjbJar(
ReadDescriptors.java:334)
            at org.apache.openejb.config.DeploymentLoader.load(
DeploymentLoader.java:368)
            at
org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(
EjbModuleBuilder.java:211)
            ... 33 more
Caused by: javax.xml.bind.UnmarshalException
 - with linked exception:
[java.net.UnknownHostException: java.sun.com]
            at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(
UnmarshallerImpl.java:196)
            at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(
UnmarshallerImpl.java:167)
            at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(
AbstractUnmarshallerImpl.java:120)
            at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(
AbstractUnmarshallerImpl.java:103)
            at org.apache.openejb.jee.JaxbJavaee.unmarshal(JaxbJavaee.java
:103)
            at org.apache.openejb.config.ReadDescriptors.readEjbJar(
ReadDescriptors.java:330)
            ... 35 more
Caused by: java.net.UnknownHostException: java.sun.com
            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
            at java.net.Socket.connect(Socket.java:507)
            at java.net.Socket.connect(Socket.java:457)
            at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
            at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
            at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
            at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
            at sun.net.www.http.HttpClient.New(HttpClient.java:287)
            at sun.net.www.http.HttpClient.New(HttpClient.java:299)
            at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(
HttpURLConnection.java:784)
            at sun.net.www.protocol.http.HttpURLConnection.plainConnect(
HttpURLConnection.java:736)
            at sun.net.www.protocol.http.HttpURLConnection.connect(
HttpURLConnection.java:661)
            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(
HttpURLConnection.java:905)
            at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
            at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
Source)
            at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown
Source)
            at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown
Source)
            at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown
Source)
            at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
            at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
            at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
            at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
            at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java
:333)
            at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(
UnmarshallerImpl.java:194)
            ... 40 more

Please advice on what could be the problem.

Thanks and Regards,
Hari

Mime
View raw message