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 57551 - JNDI name 'jdbc/' is generated for MS SQL database
Summary: JNDI name 'jdbc/' is generated for MS SQL database
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
: 57527 57599 57602 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-06 15:56 UTC by Petr Blaha
Modified: 2006-03-24 12:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
project (44.71 KB, application/x-gzip)
2005-04-06 16:07 UTC, Petr Blaha
Details
Diffs for Fix (20.44 KB, text/plain)
2005-04-08 02:03 UTC, Nitya Doraisamy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2005-04-06 15:56:52 UTC
[Build 20050406]
Steps:
1) create J2EE application
2) create CMP beans from MS SQL database
3) sun resources are created only with JNDI name jdbc/
wihout any subcontext !!!
Comment 1 Petr Blaha 2005-04-06 16:01:23 UTC
Connection resource was created without DataSource Classname
Comment 2 _ ludo 2005-04-06 16:03:50 UTC
Please attach the zip file of the project....

MS sql is microsoft sql, correct?

Might be a config issue in our drivers definition file.
Comment 3 Petr Blaha 2005-04-06 16:07:07 UTC
Created attachment 21428 [details]
project
Comment 4 Petr Blaha 2005-04-06 18:32:50 UTC
The resources are generated with wrong properties. I should change properties to
these:
ServerName: ....
DatabaseName: ....
Comment 5 Rajeshwar Patil 2005-04-06 18:42:38 UTC
Can you please attach bitmaps of properties sheet for both connection pool  &
datasource with current and modified correct values.
Comment 6 Rajeshwar Patil 2005-04-06 20:48:23 UTC
New driver; never supported. Information of this driver not in the list of
information of all the drivers. Need to add information of this
driver(com.microsoft.jdbc.sqlserver.SQLServerDriver) to the list.
Comment 7 _ ludo 2005-04-06 22:39:54 UTC
maybe not, if we do not support this driver for CMPs...
Nitya is lookin at this as well.
Comment 8 _ ludo 2005-04-06 22:41:34 UTC
*** Issue 57527 has been marked as a duplicate of this issue. ***
Comment 9 Nitya Doraisamy 2005-04-07 01:13:59 UTC
The resource creations should handle unsupported drivers too. The user should be
warned, but valid resources should be created for them.
Comment 10 _ ludo 2005-04-07 13:43:54 UTC
*** Issue 57599 has been marked as a duplicate of this issue. ***
Comment 11 Petr Blaha 2005-04-07 13:46:39 UTC
*** Issue 57602 has been marked as a duplicate of this issue. ***
Comment 12 Nitya Doraisamy 2005-04-08 02:03:54 UTC
Created attachment 21478 [details]
Diffs for Fix
Comment 13 Nitya Doraisamy 2005-04-08 02:04:59 UTC
Fixed in plugin trunk
Comment 14 Petr Blaha 2005-04-08 15:16:53 UTC
Verified in continual build 20050408-1305
Comment 15 _ ludo 2005-04-10 19:59:49 UTC
integrated in 41 branch as well.
Comment 16 Petr Blaha 2005-04-12 13:39:20 UTC
[Build 20050411] netbeans41 branch
Comment 17 Vince Kraemer 2005-07-20 23:59:19 UTC
*** Issue 57602 has been marked as a duplicate of this issue. ***