Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RRS_SEVERE : jdbc not bound exception in jboss  RSS feed

vaidehi Agate-keskar
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi All,

I am getting following expetion while logging in to web application. After debugging from code,it gets connection value as null at

try {
conn = super.getConnection(RRConstants.PRRS_DATA_SOURCE_NAME);
and throws following exception.

2011-06-10 07:41:04,934 SEVERE [SECURITY] (http- [SECURITY] : RRS_SEVERE : jdbc not bound
2011-06-10 07:41:04,934 ERROR [STDERR] (http- Unexpected error occured while retrieving user role data
2011-06-10 07:41:04,934 ERROR [STDERR] (http- at com.putnaminv.riskrpt.dao.SecurityServiceDAOJDBC.getTasks(
2011-06-10 07:41:04,934 ERROR [STDERR] (http- at com.putnaminv.riskrpt.web.struts.actions.LoginAction.setRole(
2011-06-10 07:41:04,934 ERROR [STDERR] (http- at com.putnaminv.riskrpt.web.struts.actions.RRBaseAction.execute(
2011-06-10 07:41:04,934 ERROR [STDERR] (http- at org.apache.struts.action.RequestProcessor.processActionPerform(
2011-06-10 07:41:04,934 ERROR [STDERR] (http- at org.apache.struts.action.RequestProcessor.process(
2011-06-10 07:41:04,934 ERROR [STDERR] (http- at org.apache.struts.action.ActionServlet.process(
2011-06-10 07:41:04,934 ERROR [STDERR] (http- at org.apache.struts.action.ActionServlet.doPost(
2011-06-10 07:41:04,934 ERROR [STDERR] (http- at javax.servlet.http.HttpServlet.service(

Can anybody suggest ?

Peter Johnson
Posts: 5856
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suspect that the JNDI name you are using is not correct for the type of code (EJB, servlet). You can use JNDIView to see what names are registered. (

You should have shown the code for getConnection(), and the value for RRConstants.PRRS_DATA_SOURCE_NAME. Also post you *-ds.xml file. Also, what kind of code is this: and EJB, a servlet?

Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!