Oracle « Glassfish « JPA Q&A





4. Use Oracle with Glassfis2 u2 for JPA    java.net

Buildfile: /Users/venkibalasubramanian/Software/workspace/.metadata/.plugins/org.eclipse.jst.server.generic.core/serverdef/sunappsrv-ant.xml deploy.j2ee.web:resourcesfile.check:replace.module.name.space: [delete] Deleting: /Users/venkibalasubramanian/Software/workspace/.metadata/.plugins/org.eclipse.jst.server.generic.core/serverdef/fooFile2.properties tools: addresources: replace.module.name.space: [delete] Deleting: /Users/venkibalasubramanian/Software/workspace/.metadata/.plugins/org.eclipse.jst.server.generic.core/serverdef/fooFile2.properties tools: deploydir: [exec] CLI171 Command deploydir failed : Deploying application in domain failed; Deployment ErrorException [EclipseLink-4002] (Eclipse Persistence Services - 1.1.2.v20090612-r4475): org.eclipse.persistence.exceptions.DatabaseException [exec] Internal Exception: java.sql.SQLException: Connection could not be allocated because: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused. [exec] Error Code: ...