tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwaastad <he...@waastad.org>
Subject Re: tomee redeployment issue
Date Thu, 19 Jun 2014 08:35:45 GMT
Hi,
I found out whats causing this issue.

The error message is:

Caused by: javax.naming.NameNotFoundException: Name "module/Object" not
found.
	at
org.apache.openejb.core.ivm.naming.IvmContext.federate(IvmContext.java:197)
	at
org.apache.openejb.core.ivm.naming.IvmContext.lookup(IvmContext.java:151)
	at
org.apache.openejb.core.ivm.ContextHandler.lookup(ContextHandler.java:50)
	at
org.apache.openejb.core.ivm.naming.IvmContext.lookup(IvmContext.java:126)
	at
org.apache.openejb.core.ivm.naming.IntraVmJndiReference.getObject(IntraVmJndiReference.java:43)
	at
org.apache.openejb.core.ivm.naming.IvmContext.lookup(IvmContext.java:175)
	at
org.apache.openejb.core.ivm.ContextHandler.lookup(ContextHandler.java:50)
	at org.apache.tomee.catalina.OpenEJBContext.lookup(OpenEJBContext.java:59)
	at org.apache.naming.SelectorContext.lookup(SelectorContext.java:158)
	at javax.naming.InitialContext.lookup(InitialContext.java:411)
	at
org.apache.openejb.bval.BeanValidationAppendixInterceptor.aroundInvoke(BeanValidationAppendixInterceptor.java:52)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:182)
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:164)
	at
org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:180)
	at
org.apache.openejb.monitoring.StatsInterceptor.invoke(StatsInterceptor.java:99)
	at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:182)
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:164)
	at
org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:80)
	at
org.apache.openejb.core.singleton.SingletonContainer._invoke(SingletonContainer.java:233)
	at
org.apache.openejb.core.singleton.SingletonContainer.invoke(SingletonContainer.java:197)
	at org.apache.openejb.util.proxy.ProxyEJB$Handler.invoke(ProxyEJB.java:73)
	at
org.waastad.app.war.service.InvoiceService$$LocalBeanProxy.getInvoicesByCustomer(org/waastad/app/war/service/InvoiceService.java)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at
org.apache.openejb.server.cxf.rs.OpenEJBEJBInvoker.performInvocation(OpenEJBEJBInvoker.java:93)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)


All projects is using this configuration in ejb-jar.xml

<interceptor-binding>
            <ejb-name>InvoiceService</ejb-name>
           
<interceptor-class>org.apache.openejb.bval.BeanValidationAppendixInterceptor</interceptor-class>
        </interceptor-binding>

Is there a workaound?
I know its possible to add:
org.apache.openejb.default.system.interceptors =
org.apache.openejb.bval.BeanValidationAppendixInterceptor

But I have had issues with mdb's using this option (1.6.0).


br hw



--
View this message in context: http://openejb.979440.n4.nabble.com/tomee-redeployment-issue-tp4670067p4670078.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message