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 97981

Summary: new datasource is not created
Product: javaee Reporter: Jan Horvath <jhorvath>
Component: PersistenceAssignee: Erno Mononen <emononen>
Status: RESOLVED WORKSFORME    
Severity: blocker Keywords: RANDOM
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jan Horvath 2007-03-15 15:01:27 UTC
build 200703131900

-create webapplication (java ee 5)
-create persistence unit
-create new datasource
-ERROR: datasource is not created, in the combo box is selected value "New Data
Source..."

when building application I get this error:
Finished registering server resources
moduleID=WebApplication34
deployment started : 0%
Deploying application in domain failed; Deployment Error --
javax.naming.NameNotFoundException: New Data Source... not found
/home/honza/NetBeansProjects/WebApplication34/nbproject/build-impl.xml:458:
Deployment error:
The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 1 second)
Comment 1 Erno Mononen 2007-03-19 14:30:20 UTC
I can't reproduce this, but it does seem that for some reason the data source 
combo box returns 'New Data Source ..' as the value for the selected item. 
Marking as RANDOM until I found a way to reproduce this.
Comment 2 Erno Mononen 2007-08-08 14:24:36 UTC
I was able to reproduce this once a while ago, but not anymore. Possibly the fix for issue 98529 fixed this one as 
well, could you please try and reopen if this is still reproducible for you?