File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes problem in connection pooling. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

problem in connection pooling.

toukhir mujawar
Ranch Hand

Joined: Oct 11, 2006
Posts: 70
Friends,

I am facing a problem while connection pooling.

The contents f web.cml file are




the contents of server.xml file are







The connection is created as below.





when the jsp is trying to create the connection i am getting the following exception.



exception

org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


root cause

java.lang.NullPointerException
org.apache.jsp.DisplayZoneWiseCollection_jsp._jspService(org.apache.jsp.DisplayZoneWiseCollection_jsp:52)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


I am not able to resolve the problem. kindly help me.

I am using form based authentication.


Thanks in advance


Regards
Toukhir Mujawar
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56202
    
  13

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: problem in connection pooling.
 
Similar Threads
JNDI in Servlets
Problem in connection pooling
problem in connection pooling.
Problem in connection pooling
javax. servlet. ServletException: Name myoracle is not bound in this Context