geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cpraveena <...@aol.in>
Subject Praveena, a very beginner to Geronimo
Date Thu, 10 Jan 2008 07:08:53 GMT

Hi Hari..,
This is Praveena. It was good abt u that u r working with Geronimo. Please
help me out with the initial stuff..
I would like to discuss a few related stuff if u r free...


Thanks & Regards,
Praveena.




Hari Krishna Korrapati wrote:
> 
> Hi,
> 
> I am working on Geronimo 2.0.2.
> I am able to deploy the EAR but getting the following exception at the
> back
> end.
> 
> 15:32:16,766 INFO  [Enhance] You have enabled runtime enhancement, but
> have
> not specified the set of persistent classes.  OpenJPA must look for
> metadata
> for every loaded class, which might increase class load times
> significantly.
> 15:32:18,407 INFO  [startup] Assembling app: E:\geronimo-
> tomcat6-jee5-2.0.2\var\temp\geronimo-deploymentUtil6209.jar
> 15:32:19,126 WARN  [Enhance] An exception was thrown while attempting to
> perform class file transformation on "samples/ejb/ApplicationEntityBean":
> java.lang.ClassCastException:
> org.apache.xerces.parsers.XIncludeAwareParserConfiguration
>     at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
>     at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
>     at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown
> Source)
>     at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
>     at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown
> Source)
>     at org.apache.openjpa.lib.xml.XMLFactory.getSAXParser(XMLFactory.java
> :81)
>     at org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource(
> XMLMetaDataParser.java:352)
>     at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(
> XMLMetaDataParser.java:318)
>     at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(
> XMLMetaDataParser.java:295)
>     at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(
> XMLMetaDataParser.java:268)
>     at org.apache.openjpa.persistence.PersistenceMetaDataFactory.parseXML(
> PersistenceMetaDataFactory.java:247)
>     at org.apache.openjpa.persistence.PersistenceMetaDataFactory.load(
> PersistenceMetaDataFactory.java:198)
>     at org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(
> MetaDataRepository.java:433)
>     at org.apache.openjpa.meta.MetaDataRepository.getMetaData(
> MetaDataRepository.java:288)
>     at org.apache.openjpa.enhance.PCClassFileTransformer.needsEnhance(
> PCClassFileTransformer.java:176)
>     at org.apache.openjpa.enhance.PCClassFileTransformer.transform(
> PCClassFileTransformer.java:120)
>     at
> org.apache.openjpa.persistence.PersistenceProviderImpl$ClassTransformerImpl.transform
> (PersistenceProviderImpl.java:176)
>     at org.apache.geronimo.persistence.TransformerWrapper.transform(
> TransformerWrapper.java:43)
>     at org.apache.geronimo.transformer.TransformerCollection.transform(
> TransformerCollection.java:36)
>     at sun.instrument.TransformerManager.transform(Unknown Source)
>     at sun.instrument.InstrumentationImpl.transform(Unknown Source)
>     at java.lang.ClassLoader.defineClass1(Native Method)
>     at java.lang.ClassLoader.defineClass(Unknown Source)
>     at java.security.SecureClassLoader.defineClass(Unknown Source)
>     at
> org.apache.geronimo.kernel.classloader.JarFileClassLoader.access$200(
> JarFileClassLoader.java:52)
>     at org.apache.geronimo.kernel.classloader.JarFileClassLoader$6.run(
> JarFileClassLoader.java:308)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at
> org.apache.geronimo.kernel.classloader.JarFileClassLoader.findClass(
> JarFileClassLoader.java:260)
>     at
> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(
> MultiParentClassLoader.java:422)
>     at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(
> MultiParentClassLoader.java:278)
>     at java.lang.ClassLoader.loadClass(Unknown Source)
>     at java.lang.ClassLoader.loadClass(Unknown Source)
>     at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Unknown Source)
>     at org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.load(
> EnterpriseBeanBuilder.java:415)
>     at
> org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.loadClass(
> EnterpriseBeanBuilder.java:395)
>     at org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.build(
> EnterpriseBeanBuilder.java:75)
>     at org.apache.openejb.assembler.classic.EjbJarBuilder.build(
> EjbJarBuilder.java:53)
>     at org.apache.openejb.assembler.classic.Assembler.createApplication(
> Assembler.java:431)
>     at org.apache.openejb.assembler.classic.Assembler.createEjbJar(
> Assembler.java:331)
>     at org.apache.geronimo.openejb.OpenEjbSystemGBean.createEjbJar(
> OpenEjbSystemGBean.java:373)
>     at
> org.apache.geronimo.openejb.OpenEjbSystemGBean$$FastClassByCGLIB$$5005cdd0.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.openejb.OpenEjbSystem$$EnhancerByCGLIB$$891bc313.createEjbJar
> (<generated>)
>     at org.apache.geronimo.openejb.EjbModuleImpl.start(EjbModuleImpl.java
> :123)
>     at org.apache.geronimo.openejb.EjbModuleImplGBean.doStart(
> EjbModuleImplGBean.java:39)
>     at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(
> GBeanInstance.java:996)
>     at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:268)
>     at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(
> GBeanInstanceState.java:102)
>     at org.apache.geronimo.gbean.runtime.GBeanInstance.start(
> GBeanInstance.java:539)
>     at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(
> GBeanDependency.java:111)
>     at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(
> GBeanDependency.java:146)
>     at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(
> GBeanDependency.java:120)
>     at
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(
> BasicLifecycleMonitor.java:176)
>     at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(
> BasicLifecycleMonitor.java:44)
>     at
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent
> (BasicLifecycleMonitor.java:254)
>     at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:294)
>     at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(
> GBeanInstanceState.java:102)
>     at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(
> GBeanInstanceState.java:124)
>     at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(
> GBeanInstance.java:553)
>     at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(
> BasicKernel.java:379)
>     at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans
> (ConfigurationUtil.java:448)
>     at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(
> KernelConfigurationManager.java:187)
>     at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration
> (SimpleConfigurationManager.java:530)
>     at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration
> (SimpleConfigurationManager.java:511)
>     at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.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.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$a93cc292.startConfiguration
> (<generated>)
>     at
> org.apache.geronimo.console.configmanager.ConfigManagerPortlet.processAction
> (ConfigManagerPortlet.java:208)
>     at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java
> :229)
>     at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:158)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>     at
> org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:290)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:206)
>     at org.apache.catalina.core.ApplicationDispatcher.invoke(
> ApplicationDispatcher.java:654)
>     at org.apache.catalina.core.ApplicationDispatcher.doInclude(
> ApplicationDispatcher.java:557)
>     at org.apache.catalina.core.ApplicationDispatcher.include(
> ApplicationDispatcher.java:481)
>     at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(
> PortletInvokerImpl.java:120)
>     at org.apache.pluto.invoker.impl.PortletInvokerImpl.action(
> PortletInvokerImpl.java:68)
>     at org.apache.pluto.PortletContainerImpl.processPortletAction(
> PortletContainerImpl.java:164)
>     at
> org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processPortletAction
> (PortletContainerWrapperImpl.java:82)
>     at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:227)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:290)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:206)
>     at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:230)
>     at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:175)
>     at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(
> DefaultSubjectValve.java:56)
>     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
> AuthenticatorBase.java:525)
>     at
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(
> GeronimoStandardContext.java:353)
>     at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(
> GeronimoBeforeAfterValve.java:47)
>     at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:128)
>     at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:104)
>     at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:109)
>     at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java
> :563)
>     at org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:261)
>     at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
> :844)
>     at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> Http11Protocol.java:581)
>     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
> :447)
>     at java.lang.Thread.run(Unknown Source)
> 
> I am using xerces:xercesImple:2.8.1 jar in the EAR.
> 
> I have tried using filter in geronimo-application.xml like
>         <sys:hidden-classes><filter>org.apache.xerces
> </filter></sys:hidden-classes>
> But no use, might be because the vesion of xercesImpl in geronimo
> repository
> also 2.8.1.
> 
> 
> Please advice me where i am going wrong and how to address it.
> 
> 
> Thanks and Regards,
> Hari
> 
> 

-- 
View this message in context: http://www.nabble.com/Exception-related-to-xerces-jar-while-deployment-tp14665667s134p14728690.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message