geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dain Sundstrom (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (GERONIMO-3267) Naming lookup fails. Reported error for a different name than requested
Date Wed, 11 Jul 2007 23:43:04 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-3267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dain Sundstrom reassigned GERONIMO-3267:
----------------------------------------

    Assignee: Matt Hogstrom  (was: Dain Sundstrom)

I believe David Jencks committed a fix for this earlier today.  Please verify.

> Naming lookup fails.  Reported error for a different name than requested
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-3267
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3267
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>         Environment: All
>            Reporter: Matt Hogstrom
>            Assignee: Matt Hogstrom
>             Fix For: 2.0-M7
>
>
> DayTrader 1.2 deploy's correctly on 2.0 but when an attempt to execute a SessionBean
is tried a JNDI lookup fails.  Here is the code from TradeBean.java
> 			                             InitialContext ic = new InitialContext();
>    *this is line 1041  --->*		qConnFactory = (ConnectionFactory) ic.lookup("*java:comp/env/jms/QueueConnectionFactory*");
> {panel:title=Name Not Found Exception| borderStyle=dashed| borderColor=#ccc| titleBGColor=#F7D6C1|
bgColor=#FFFFCE} 
> The lookup fails with a name not found exception.  What is odd is that the exception
says:
> javax.naming.NameNotFoundException: Name "*java:openejb/Resource/jms/TradeBrokerQCF*"
not found.
>         at org.apache.openejb.core.ivm.naming.IvmContext.federate(IvmContext.java:172)
>         at org.apache.openejb.core.ivm.naming.IvmContext.lookup(IvmContext.java:129)
>         at org.apache.openejb.core.ivm.naming.IntraVmJndiReference.getObject(IntraVmJndiReference.java:38)
>         at org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
>         at org.apache.xbean.naming.context.ContextUtil.resolve(ContextUtil.java:61)
>         at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:112)
>         at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:611)
>         at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:152)
>         at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:611)
>         at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:152)
>         at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:597)
>         at javax.naming.InitialContext.lookup(InitialContext.java:363)
>         *at org.apache.geronimo.samples.daytrader.ejb.TradeBean.ejbCreate(TradeBean.java:1041)*
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:615)
>         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.StatelessInstanceManager.getInstance(StatelessInstanceManager.java:177)
>         at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:156)
>         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:230)
>         at org.apache.openejb.util.proxy.Jdk13InvocationHandler.invoke(Jdk13InvocationHandler.java:49)
>         at $Proxy25.resetTrade(Unknown Source)
>         at org.apache.geronimo.samples.daytrader.TradeAction.resetTrade(TradeAction.java:510)
>         at org.apache.geronimo.samples.daytrader.web.TradeConfigServlet.doResetTrade(TradeConfigServlet.java:73)
>         at org.apache.geronimo.samples.daytrader.web.TradeConfigServlet.service(TradeConfigServlet.java:362)
>         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.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:342)
>         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(Thread.java:803)
> {panel}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message