geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shiva Kumar H R" <shiv...@gmail.com>
Subject Re: Hot deployment with MyEclipse on Geronimo 2.0.1
Date Thu, 06 Sep 2007 14:46:28 GMT
In case someone else is facing the same issue, this turned out to be due to
- incorrect way of starting Geronimo in debug mode. "geronimo jpda run" is
the right way. Related discussion here:
http://servlet.uwyn.com/drone/log/bevinbot/geronimo/20070906

- Shiva

On 9/6/07, Tomasz Mazan <wind22@wp.pl> wrote:
>
> Tomasz Mazan pisze:
> > I think that MyEclipse is not cause of problem. When I run Geronimo
> > using "debug" command, I get the same exceptions
> >
> > Tomasz Mazan
> >
> >
> When I change DatabasePool - different configuration, the same database
> - I get another strange exception but *only* if I run Geronimo in debug
> mode or from MyEclipse Run AppServ.
>
> SEVERE: find by property name failed
> <1.0.0-r561970-r561970 fatal user error>
> org.apache.openjpa.persistence.ArgumentException: Could not locate
> metadata for the class using alias "Customer". This could mean that the
> OpenJPA enhancer or load-time weaver was not run on the type whose alias
> is "Customer". Registered alias mappings: "{Customer=null}"
>     at
> org.apache.openjpa.meta.MetaDataRepository.getMetaData(
> MetaDataRepository.java:362)
>     at
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData(
> JPQLExpressionBuilder.java:169)
>     at
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.resolveClassMetaData(
> JPQLExpressionBuilder.java:147)
>     at
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData(
> JPQLExpressionBuilder.java:216)
>     at
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData(
> JPQLExpressionBuilder.java:186)
>     at
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateType(
> JPQLExpressionBuilder.java:179)
>     at
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.access$500(
> JPQLExpressionBuilder.java:66)
>     at
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.populate(
> JPQLExpressionBuilder.java:1678)
>     at
> org.apache.openjpa.kernel.jpql.JPQLParser.populate(JPQLParser.java:55)
>     at
> org.apache.openjpa.kernel.ExpressionStoreQuery.populateFromCompilation(
> ExpressionStoreQuery.java:148)
>     at
> org.apache.openjpa.kernel.QueryImpl.newCompilation(QueryImpl.java:652)
>     at
> org.apache.openjpa.kernel.QueryImpl.compilationFromCache(QueryImpl.java
> :633)
>     at
> org.apache.openjpa.kernel.QueryImpl.compileForCompilation(QueryImpl.java
> :599)
>     at
> org.apache.openjpa.kernel.QueryImpl.compileForExecutor(QueryImpl.java:661)
>     at org.apache.openjpa.kernel.QueryImpl.getOperation(QueryImpl.java
> :1487)
>     at
> org.apache.openjpa.kernel.DelegatingQuery.getOperation(
> DelegatingQuery.java:123)
>     at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java
> :219)
>     at
> org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:269)
>     at
> pl.netia.fonbsa.core.dao.facade.impl.CommonFacadeImpl.findByProperty(
> CommonFacadeImpl.java:64)
>     at
> pl.netia.fonbsa.core.dao.facade.impl.CommonFacadeImpl.findSingleByProperty
> (CommonFacadeImpl.java:130)
>     at
> pl.netia.fonbsa.core.dao.facade.impl.CustomerFacadeImpl.findByIdentifier(
> CustomerFacadeImpl.java:86)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at
>
> org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke
> (ReflectionInvocationContext.java:146)
>     at
> org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(
> ReflectionInvocationContext.java:129)
>     at
> org.apache.openejb.core.interceptor.InterceptorStack.invoke(
> InterceptorStack.java:67)
>     at
> org.apache.openejb.core.stateless.StatelessContainer._invoke(
> StatelessContainer.java:203)
>     at
> org.apache.openejb.core.stateless.StatelessContainer.invoke(
> StatelessContainer.java:165)
>     at
> org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(
> EjbObjectProxyHandler.java:211)
>     at
> org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(
> EjbObjectProxyHandler.java:65)
>     at
> org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(
> BaseEjbProxyHandler.java:320)
>     at
> org.apache.openejb.util.proxy.Jdk13InvocationHandler.invoke(
> Jdk13InvocationHandler.java:49)
>     at $Proxy65.findByIdentifier(Unknown Source)
>     at
> pl.netia.fonbsa.core.services.mgr.impl.CoreManagerImpl.createCustomer(
> CoreManagerImpl.java:38)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at
>
> org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke
> (ReflectionInvocationContext.java:146)
>     at
> org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(
> ReflectionInvocationContext.java:129)
>     at
> org.apache.openejb.core.interceptor.InterceptorStack.invoke(
> InterceptorStack.java:67)
>     at
> org.apache.openejb.core.stateless.StatelessContainer._invoke(
> StatelessContainer.java:203)
>     at
> org.apache.openejb.core.stateless.StatelessContainer.invoke(
> StatelessContainer.java:165)
>     at
> org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(
> EjbObjectProxyHandler.java:211)
>     at
> org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(
> EjbObjectProxyHandler.java:65)
>     at
> org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(
> BaseEjbProxyHandler.java:320)
>     at
> org.apache.openejb.util.proxy.Jdk13InvocationHandler.invoke(
> Jdk13InvocationHandler.java:49)
>     at $Proxy63.createCustomer(Unknown Source)
>     at
> pl.netia.fonbsa.core.services.jws.FonBsaPanelService.createCustomer(
> FonBsaPanelService.java:34)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at
>
> org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke
> (ReflectionInvocationContext.java:146)
>     at
> org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(
> ReflectionInvocationContext.java:129)
>     at
> org.apache.geronimo.cxf.ejb.EJBMethodInvoker.directEjbInvoke(
> EJBMethodInvoker.java:156)
>     at
> org.apache.geronimo.cxf.ejb.EJBInterceptor.intercept(EJBInterceptor.java
> :99)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at
>
> org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke
> (ReflectionInvocationContext.java:146)
>     at
> org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(
> ReflectionInvocationContext.java:129)
>     at
> org.apache.openejb.core.interceptor.InterceptorStack.invoke(
> InterceptorStack.java:73)
>     at
> org.apache.openejb.core.stateless.StatelessContainer.invokeWebService(
> StatelessContainer.java:263)
>     at
> org.apache.openejb.core.stateless.StatelessContainer._invoke(
> StatelessContainer.java:199)
>     at
> org.apache.openejb.core.stateless.StatelessContainer.invoke(
> StatelessContainer.java:165)
>     at
> org.apache.geronimo.cxf.ejb.EJBMethodInvoker.preEjbInvoke(
> EJBMethodInvoker.java:94)
>     at
> org.apache.geronimo.cxf.ejb.EJBMethodInvoker.invoke(EJBMethodInvoker.java
> :69)
>     at
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java
> :56)
>     at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(
> ServiceInvokerInterceptor.java:56)
>     at
> org.apache.cxf.workqueue.SynchronousExecutor.execute(
> SynchronousExecutor.java:37)
>     at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(
> ServiceInvokerInterceptor.java:87)
>     at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
> PhaseInterceptorChain.java:206)
>     at
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(
> ChainInitiationObserver.java:67)
>     at
> org.apache.geronimo.cxf.GeronimoDestination.invoke(
> GeronimoDestination.java:115)
>     at
> org.apache.geronimo.cxf.CXFWebServiceContainer.processPOST(
> CXFWebServiceContainer.java:105)
>     at
> org.apache.geronimo.cxf.CXFWebServiceContainer.invoke(
> CXFWebServiceContainer.java:83)
>     at
>
> org.apache.geronimo.tomcat.TomcatEJBWebServiceContext$EJBWebServiceValve.invoke
> (TomcatEJBWebServiceContext.java:180)
>     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)
>
> Any suggestion?
>
> Beniamin
>

Mime
View raw message