javax.ejb.EJBException: Unable to connect to database. No object bound t o name java:comp/env/jdbc/BankDB

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 807595, 1 year ago
Unable to connect to database. No object bound t o name java:comp/env/jdbc/BankDB
via Oracle Community by 843833, 1 year ago
Unable to connect to database. ejbTutorialDB not found
via hivmr.com by Unknown author, 1 year ago
Database Connection open Error OpenConnection: No object bound to name java:comp/env/jdbc/KinNMS1
via hivmr.com by Unknown author, 1 year ago
Database Connection open Error OpenConnection: No object bound to name java:comp/env/jdbc/KinNMS1
via Oracle Community by 3004, 1 year ago
Unable to connect to database. Oracle not found
via Oracle Community by eve2, 1 year ago
Unable to connect to database. No object bound t o name java:comp/env/jdbc/Mysqlserdb
javax.ejb.EJBException: Unable to connect to database. No object bound t o name java:comp/env/jdbc/BankDB
at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:195)
at undefined.BankBean_EJBObjectImpl.transferToSaving(BankBean_EJBObjectImpl.java:39)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:648)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:191)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1655)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1514)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:896)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:172)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:668)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:352)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.read(SocketOrChannelConnectionImpl.java:261)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.