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 - Can not deploy JsfJpaCrud web sample application if JDBC driver deployment is enabled
Summary: Can not deploy JsfJpaCrud web sample application if JDBC driver deployment is...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: Sun Windows XP
: P2 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-20 09:49 UTC by dpkumar
Modified: 2009-02-19 23:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Attaching server.log (31.82 KB, text/plain)
2009-01-20 09:50 UTC, dpkumar
Details

Note You need to log in before you can comment on or make changes to this bug.
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.