geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacky Liu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GERONIMO-5979) Some objects to be injected were not found in jndi
Date Thu, 26 May 2011 02:10:48 GMT
Some objects to be injected were not found in jndi
--------------------------------------------------

                 Key: GERONIMO-5979
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5979
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: sample apps
    Affects Versions: 3.0
         Environment: Windows XP SP3 x86
IBM jdk Java60
Geronimo build on 20110525
            Reporter: Jacky Liu
            Priority: Minor


1. start Geronimo
2. deploy calculator-ear-3.0-SNAPSHOT.ear
3. go to http://localhost:8080/calculator/ and check the add or multiply function

ERROR OCCURS!!

The following error message is displayed when calculator-ear-3.0-SNAPSHOT.ear is deployed.

2011-05-26 09:55:51,505 WARN  [startup] Unresolved ejb reference "org.apache.geronimo.samples.calculator.CalculatorServlet/calc"
in bean "GeronimoEnc"
.  Will attempt resolution again at runtime.
2011-05-26 09:55:51,771 WARN  [startup] Unresolved ejb reference "org.apache.geronimo.samples.calculator.CalculatorServlet/calc"
in bean "GeronimoEnc"
.  Will attempt resolution again at runtime.
2011-05-26 09:55:51,786 WARN  [startup] Unresolved ejb reference "org.apache.geronimo.samples.calculator.CalculatorServlet/calc"
in bean "GeronimoEnc"
.  Will attempt resolution again at runtime.
 2011-05-26 09:56:26,833 ERROR [[/calculator]] Servlet /calculator threw load() exception
java.lang.InstantiationException: Some objects to be injected were not found in jndi: [javax.naming.NameNotFoundException:
No EJB found for reference
"comp/env/org.apache.geronimo.samples.calculator.CalculatorServlet/calc": ejb-link=null, interface=null]
        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.load(StandardWrapper.java:996)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4741)
        at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5062)
        at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5057)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
        at java.util.concurrent.FutureTask.run(FutureTask.java:149)
        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)


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

Mime
View raw message