I have been trying to run the JBOSS interest example,
and ahve followed the advise of a few peopl who had at
one point experience dtbhe same problem.
Unfortunately, I am still unable to run the servlet
for the interest example. When going to the
.../interest/home.html page and pushing the Calculate
button I get the error printed at the end of my email:
I have tried everything, but don't exactly understand
the error, to know how to debug the problem. Could
someone explain to me what is going on, and what this
error means. Perhaps then I will be able to run the
servlet.
Thanks to those who have already tried to help solve
my problem, and to anyone who will give me any new
advice.
Thanks,
-Amos
HERE is the error I am receiving.
Error: 500
Location: /interest/InterestServlet
Internal Servlet Error:
javax.servlet.ServletException: Failed to lookup
java:comp/env/ejb/Interest
at
org.jboss.docs.interest.InterestServlet.init(InterestServlet.java:45)
at
javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at
org.apache.tomcat.core.Handler.init(Handler.java:215)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.core.Handler.service(Handler.java:254)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Unknown Source)
Root cause:
javax.naming.NameNotFoundException: env not bound
at
org.jnp.server.NamingServer.getBinding(NamingServer.java:473)
at
org.jnp.server.NamingServer.getBinding(NamingServer.java:481)
at
org.jnp.server.NamingServer.getObject(NamingServer.java:487)
at
org.jnp.server.NamingServer.lookup(NamingServer.java:253)
at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:457)
at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
at javax.naming.InitialContext.lookup(Unknown Source)
at
org.jboss.docs.interest.InterestServlet.init(InterestServlet.java:39)
at
javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at
org.apache.tomcat.core.Handler.init(Handler.java:215)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.core.Handler.service(Handler.java:254)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Unknown Source)
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user