This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
-javax.el.ELException: Exception [EclipseLink-4002] occurs when execute the sample -The problem also happens with JsfCrud and WebJps which requires database connection Steps To Reproduce: 1. Install NB 6.5 nightly All Trunk build (09/15/2008) 2. Start NB IDE 3. Create Sample > Java Web > JsfJpaCrud project 4. Change the runtime for GF V2 to GF V3 5. Select run > click at any link in the JsfJpaCrud project to execute BUG: HTTP Status 500 - type Exception report message descriptionThe server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 1.0.1 (Build 1.0 - 20080827)): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect. Error Code: 0 root cause javax.el.ELException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 1.0.1 (Build 1.0 - 20080827)): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect. Error Code: 0 root cause Exception [EclipseLink-4002] (Eclipse Persistence Services - 1.0.1 (Build 1.0 - 20080827)): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect. Error Code: 0 root cause java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect.
Created attachment 69913 [details] messages.log
the db server wasn't started.... we could add starting JavaDB to the start processing... but folks have complained about that in the past... which is why we don't do that automagic when we start V3.
autostart needs UI. we are past UI and feature freeze.
this must get resolved in 7.0 time frame. raising to "blocking level"...
Note... this is getting lowered to P3... which is the level that it was originally... I had raised the priority to force it to be a blocker for 7.0... not as a blocker for 6.5... but the dashboard is a bit confused...
this is fixed... http://hg.netbeans.org/main/rev/9b6d17383358