File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
EJB Timer Problem
Joined: Jan 09, 2005
Mar 11, 2006 02:17:00
Hi all, I'm trying to run the
Timer sample, but I keep getting an exception:
Errors while obtaining information about the database. Got the following exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Connection does not exist. . ... ... com.sun.jdo.api.persistence.support.JDOFatalInternalException: JDO76519: Failed to identify vendor type for the data store. NestedException: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Connection does not exist. .
The tutorial says that I should start the PointBase database first, and I did; but there seems to be something missing, like the server is trying to lookup some datasource and it can't find it.
Share Knowledge to gain it.<br /> <br />SCJP 1.2, SCDJWS 1.4, SCWCD 1.4, SCBCD 1.3, ICAD
I agree. Here's the link:
subject: EJB Timer Problem
Problems Conectiong Database to a WebApplication - Unable to get connection, DataSource invalid
@PersistenceContext Injection in SessionBeans
Connecting to oracle through glassfish
Java EE 6 Glassfish App problem
Glassfish SQLException: Error in allocating a connection in MySQL
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015