javax.naming.NameNotFoundException: Name CursoJ2EE is not bound in this Context 
at org.apache.naming.NamingContext.lookup(NamingContext.java:76 
at org.apache.naming.NamingContext.lookup(NamingContext.java:151) 
at br.com.biblioteca.daos.ConexaoDAO.getConnection(ConexaoDAO.java:19) 
at br.com.biblioteca.daos.UsuarioDAO.inserirUsuario(UsuarioDAO.java:22) 
at 
br.com.biblioteca.actions.SalvarUsuarioAction.execute(SalvarUsuarioAction.java:54)
 
at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
 
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) 
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) 
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
 
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
 
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:19
 
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:11 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) 
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) 
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) 
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
 
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) 
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
 
at java.lang.Thread.run(Thread.java:595) 
Erro na insercao! 
Motivo: null 
init OK! 
Contexto OK! 

my Context .xml  

I 'm using  mysql  dataBase  

<?xml version="1.0" encoding="UTF-8"?> 
 
 
 
WEB-INF/web.xml 
 

thank  you 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981630#3981630

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981630
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to