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 119278 - IllegalArgumentException: URI is not hierarchical
Summary: IllegalArgumentException: URI is not hierarchical
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL: http://statistics.netbeans.org/except...
Keywords:
: 120208 (view as bug list)
Depends on:
Blocks: 112110
  Show dependency tree
 
Reported: 2007-10-17 20:51 UTC by robsonrey
Modified: 2007-10-26 22:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 6000


Attachments
stacktrace (405 bytes, text/plain)
2007-10-17 20:51 UTC, robsonrey
Details
stacktrace (405 bytes, text/plain)
2007-10-18 01:20 UTC, jbsabmello
Details
stacktrace (405 bytes, text/plain)
2007-10-18 02:25 UTC, jbsabmello
Details
Server Log (9.13 KB, text/plain)
2007-10-18 18:08 UTC, Yousuf Haider
Details
stacktrace (405 bytes, text/plain)
2007-10-24 15:10 UTC, smithd1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description robsonrey 2007-10-17 20:51:33 UTC
Build: NetBeans IDE Dev (Build 200710150000)
VM: Java HotSpot(TM) Client VM, 1.5.0_12-b04
OS: Linux, 2.6.18.2-34-default, i386

User Comments:
Comment 1 robsonrey 2007-10-17 20:51:52 UTC
Created attachment 51162 [details]
stacktrace
Comment 2 jbsabmello 2007-10-18 01:20:16 UTC
Build: NetBeans IDE Dev (Build 200710170000)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06
OS: Windows XP, 5.1, x86

User Comments: 
Deploy on GlassFish
Comment 3 jbsabmello 2007-10-18 01:20:23 UTC
Created attachment 51177 [details]
stacktrace
Comment 4 jbsabmello 2007-10-18 02:25:16 UTC
Build: NetBeans IDE Dev (Build 200710170000)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06
OS: Windows XP, 5.1, x86

User Comments: 
Does not register an DataSource
Comment 5 jbsabmello 2007-10-18 02:25:23 UTC
Created attachment 51178 [details]
stacktrace
Comment 6 Yousuf Haider 2007-10-18 18:01:31 UTC
Only happening with MySql driver.

Product Version: NetBeans IDE 6.0 Beta 2 (Build 200710172300)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)

Steps to reproduce:

1. Using the bundled MySql driver add a connection : jdbc:mysql://jbrave-pc1.sfbay.sun.com:3306/travel   (travel/travel)
2. Create new VW application.
3. Add a drop down list component to the page.
4. Drag n drop a Database table from Mysql connection onto the component.
5. Run application.

Deployment process will start and will be stuck at JDBC driver deployment.

As a result VW application that use MySql cannot be deployed. Workaround is to copy dirver jar manually to server/lib.
Comment 7 Yousuf Haider 2007-10-18 18:08:53 UTC
Created attachment 51233 [details]
Server Log
Comment 9 Yousuf Haider 2007-10-18 23:38:21 UTC
Has the fix been integrated in the beta1 branch as well ?
Comment 10 Nitya Doraisamy 2007-10-18 23:55:23 UTC
No. Fix is only in trunk. Not sure that it qualifies for beta2 branch as there is a pretty simple workaround and it
involves drivers which are in NB as libraries.
Comment 11 smithd1 2007-10-24 15:10:51 UTC
Build: NetBeans IDE 6.0 Beta 2 (Build 200710212201)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Windows XP, 5.1, x86

User Comments: 
I worked through the following tutorial without problem:

http://www.netbeans.org/kb/60/web/databoundcomponents.html

I then tried exactly the same but using mySQL as the database. When I get to "Connecting the Component to a Database" step 8, testing the drop down list I press "Run" and the progress bar says "Deploying <project-name>" and just sits there for ever. The output window says "Checking for missing JDBC drivers ...".

I have the mySQL database connected and viewable in the "Services -> Databases"  tab.

Regards,
David
Comment 12 smithd1 2007-10-24 15:10:59 UTC
Created attachment 51582 [details]
stacktrace
Comment 13 smithd1 2007-10-24 16:18:18 UTC
To clarify the workaround I had to copy the file:

<nb-install-dir>\ide8\modules\ext\mysql-connector-java-<version-number>-bin.jar

to the directory:

<appserver-install-dir>\domains\<domain-name>\lib\

Where <nb-install-dir>, <appserver-install-dir>, <version-number>
and <domain-name> should be replaced with the appropriate values
for your system. Then everything worked fine for me.

Regards,
David
Comment 14 Petr Hejl 2007-10-24 16:23:50 UTC
smithd1, I think the issue is resolved in trunk - no plans to integrate it into beta2, afaik.
Comment 15 Nitya Doraisamy 2007-10-26 19:17:08 UTC
*** Issue 120208 has been marked as a duplicate of this issue. ***
Comment 16 pkuisman 2007-10-26 21:10:09 UTC
THIS ISSUE HAS 5 MORE DUPLICATES
Comment 17 Nitya Doraisamy 2007-10-26 21:58:00 UTC
More Info : IZ 119423
Comment 18 John Baker 2007-10-26 22:07:51 UTC
Unfortunately, this issue didn't get fixed until just after beta2.
You can try a nightly 6.0 build