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.
dev build 200809231435 When I deploy my application under Glassfish2 it works fine but under Glassfish3 I get: INFO: [EL Warning]: 2008.09.24 18:08:59.216--ServerSession(22440829)--java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3307/db The MySQL JDBC Driver is specified as a project dependency, so I expect Netbeans to make this work.
I just noticed that Glassfish3 has "Enable JDBC driver deployment" under properties. I tried enabling that and redeploying but it did not help. IF "Enable JDBC driver deployment" means to deploy any JDBC drivers the project depends on, then I would expect it to be enabled by default (like Glassfish2). If not, I would suggest renaming it so its purpose is more obvious.
Reassigning to web. To reporter: could you please attach messages.log?
Created attachment 70576 [details] messages.log
Not sure if this is a Glassfish plugin issue. Vince, please evaluate and reassign if thats not the case.
vkraemer, Can you please give us some quick feedback? There are some Glassfish bugs that are only being fixed in v3 (no backports) so I want to upgrade as soon as possible.
yup this is a plugin issue. NOTE: you can install the driver in v3 'by hand'... See http://weblogs.java.net/blog/lancea/archive/2008/11/moving_tomcat_t_1.html (step 4) which should let you work-around this issue for the time being
Thanks for the workaround vkraemer, it worked perfectly! I'm just glad I won't have to repeat this process in the future, it took a long while to get up and running. I look forward to the Netbeans fix ;)
http://hg.netbeans.org/main-golden/rev/22d3326b581a forgot to mark as fixed