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.

Bug 157107

Summary: Can not deploy JsfJpaCrud web sample application if JDBC driver deployment is enabled
Product: serverplugins Reporter: dpkumar <dpkumar>
Component: GlassFishAssignee: Vince Kraemer <vkraemer>
Status: RESOLVED FIXED    
Severity: blocker CC: issues
Priority: P2    
Version: 6.x   
Hardware: Sun   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Attaching server.log

Description dpkumar 2009-01-20 09:49:22 UTC
Build Used:
GFV3-b32(http://download.java.net/glassfish/v3/promoted/)
NB Build-NetBeans IDE Build 200901151401(http://bits.netbeans.org/download/trunk/nightly/latest/ )

Steps to reproduce:
-Install IDE.
-Register V3 server and start.
-Right click on the server select properties and enable JDBC Driver deployment
-Restart the server.
-Open JsfJpaCrud web sample application
-Right click on the application select Clean and Build/Run.

Issue:
After few seconds build is failed.

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
Building jar: C:\Documents and Settings\admin\My Documents\NetBeansProjects\JsfJpaCrud\dist\JsfJpaCrud.war
Checking for missing drivers
Deploying driver: C:\glassfishv3\glassfish\domains\domain1\lib\derbyclient.jar
Driver deployment completed
In-place deployment at C:\Documents and Settings\admin\My Documents\NetBeansProjects\JsfJpaCrud\build\web
deploy?path=C:\Documents and Settings\admin\My
Documents\NetBeansProjects\JsfJpaCrud\build\web&name=JsfJpaCrud&force=true&properties=keepSessions=true running on
GlassFish v3 (1)
Connection refused: connect
C:\Documents and Settings\admin\My Documents\NetBeansProjects\JsfJpaCrud\nbproject\build-impl.xml:546: The module has
not been deployed.
BUILD FAILED (total time: 3 seconds)
Comment 1 dpkumar 2009-01-20 09:50:12 UTC
Created attachment 76023 [details]
Attaching server.log
Comment 2 Vince Kraemer 2009-01-20 23:26:51 UTC
work-around: turn off directory deployment...
Comment 3 Vince Kraemer 2009-02-09 21:02:11 UTC
I think this fixes the threading issue...

http://hg.netbeans.org/main/rev/22d3326b581a

Note there may still be issues with the DB not starting and/or not having the right tables, etc.

Those are covered by other DEFECT and ENHANCEMENT entries, though.