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.
Created attachment 98436 [details] Error output from the build script and the server log 1. Create a web application that uses a new datasource that uses a driver that is not yet on the server 2. Deploy the application The IDE tries to deploy the app with the datasource and the driver. The driver is successfully copied to the server, but the datasource deployment code does not see it and fails. See the attached error output. The workaround is to restart the server, then it works.
Fixed in web-main 58a6f3403704.
I am afraid this did not help for me - still getting the same error in web-main 3174 build.
Quite strange looks like IDE thinks driver is already there... Anything in the IDE log? Is the case reproducible? For me the log looks like this: ... Building jar: /home/sickboy/NetBeansProjects/WebApplication9/dist/WebApplication9.war Checking data source definitions for missing JDBC drivers... JDBC driver deployment completed. Distributing /home/sickboy/NetBeansProjects/WebApplication9/dist/WebApplication9.war to [examplesServer/server, WseeJMSServer/JMS server, ReliableWseeSAFAgent/SAF agent, examplesJMSServer/JMS server] Deploying /home/sickboy/NetBeansProjects/WebApplication9/dist/WebApplication9.war Deployment completed. ... Can you retest with empty your_domain/lib directory?
Ok, now I have at least one reproducible use case: 1) weblogic 10.3.3 zip 2) empty domain/lib 3) no data sources and applications deployed on server 4) server is stopped 5) run web app with generated "entity from database" classes (glassfish bundled sample derby DB)
Should work - at leas for the case I was able to reproduce. web-main 5f5067612d74.
One more patch to fix the issue properly - web-main 786e40c47755.
Integrated into 'main-golden', will be available in build *201005100200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ User: Log: