geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (GERONIMO-5981) Some objects to be injected were not found in jndi: could not look up something
Date Tue, 28 Jun 2011 07:44:17 GMT

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

Shawn Jiang reassigned GERONIMO-5981:
-------------------------------------

    Assignee: Shenghao Fang  (was: Shawn Jiang)

> Some objects to be injected were not found in jndi: could not look up something
> -------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5981
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5981
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: PlanCreator
>    Affects Versions: 3.0
>         Environment: Windows XP SP3 x86
> IBM jdk Java60
> Geronimo build on 20110525
>            Reporter: Jacky Liu
>            Assignee: Shenghao Fang
>            Priority: Minor
>         Attachments: CurrencyConverterEJB.jar, WebAppEjbAccessAnnotations.war
>
>
> 1. start Geronimo
> 2. deploy CurrencyConverterEJB.jar
> 3. deploy WebAppEjbAccessAnnotations.war through "PlanCreator" portlet
> 4. go to http://localhost:8080/WebAppEjbAccessAnnotations/ to check the "Convertor" function
--> ERROR OCCURS!!
> When WebAppEjbAccessAnnotations.war is deployed through "Plan Creator" portlet, "Convertor"
will get a RUNNING failure.
> 2011-05-26 09:42:53,677 ERROR [[ConverterHandler]] Allocate exception for servlet ConverterHandler
> java.lang.InstantiationException: Some objects to be injected were not found in jndi:
[javax.naming.NamingException: could not look up openejb/Deployment/CurrencyConverterEJB/ConverterBean/myPackage.Converter!Remote
[Root exception is javax.naming.NotContextException: openejb/Deployment/CurrencyConverterEJB/ConverterBean/myPackage.Converter!Remote]]
>         at org.apache.geronimo.j2ee.annotation.Holder.newInstance(Holder.java:174)
>         at org.apache.geronimo.tomcat.TomcatInstanceManager.newInstance(TomcatInstanceManager.java:74)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
>         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:799)
>         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:645)
>         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:581)
>         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:518)
>         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:927)
>         at org.apache.jsp.index_jsp._jspService(index_jsp.java:69)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
>         at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:696)
>         at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48)
>         at org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:550)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
>         at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288)
>         at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:243)
>         at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:373)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
>         at java.lang.Thread.run(Thread.java:736)
>        
> 2011-05-26 09:42:53,692 ERROR [[jsp]] Servlet.service() for servlet [jsp] in context
with path [/WebAppEjbAccessAnnotations] threw exception [Error instantiating servlet class
myPackage.ConverterHandler] with root cause
> java.lang.InstantiationException: Some objects to be injected were not found in jndi:
[javax.naming.NamingException: could not look up openejb/Deployment/CurrencyConverterEJB/ConverterBean/myPackage.Converter!Remote
[Root exception is javax.naming.NotContextException: openejb/Deployment/CurrencyConverterEJB/ConverterBean/myPackage.Converter!Remote]]
>         at org.apache.geronimo.j2ee.annotation.Holder.newInstance(Holder.java:174)
>         at org.apache.geronimo.tomcat.TomcatInstanceManager.newInstance(TomcatInstanceManager.java:74)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
>         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:799)
>         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:645)
>         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:581)
>         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:518)
>         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:927)
>         at org.apache.jsp.index_jsp._jspService(index_jsp.java:69)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
>         at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:696)
>         at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48)
>         at org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:550)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
>         at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288)
>         at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:243)
>         at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:373)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
>         at java.lang.Thread.run(Thread.java:736)
> But when it is deployed through "Deployer", it works fine.
> So I think maybe something is wrong with "Plan Creator".

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message