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 177400 - java.net.UnknownHostException: java.sun.com
Summary: java.net.UnknownHostException: java.sun.com
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal (vote)
Assignee: Alexey Butenko
URL:
Keywords:
: 177507 (view as bug list)
Depends on:
Blocks: 177500
  Show dependency tree
 
Reported: 2009-11-23 03:03 UTC by Michal Mocnak
Modified: 2009-11-30 12:32 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages log (49.79 KB, application/octet-stream)
2009-11-23 03:03 UTC, Michal Mocnak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Mocnak 2009-11-23 03:03:53 UTC
Created attachment 91509 [details]
messages log

Steps:

You have to be disconnected from the internet

1. create a new java ee 6 web
2. add jsf framework on facelets
3. open index.xhtml

=> exception is occured, see attached stacktrace
Comment 1 Petr Jiricka 2009-11-23 07:23:58 UTC
Hi Alexey, can you please look at this? Marek is sick :-(

Based on a conversation with Marek, it looks like schema file web-faceletslibrary_2_0.xsd (from jsf-impl) is not registered in the schema catalog. Probably this file should be copied to web.jsf/src/org/netbeans/modules/web/jsf/resources and registered in the catalog. This schema is used when parsing facelets libraries (e.g. html_basic.taglib.xml), which have the following header:

<facelet-taglib xmlns="http://java.sun.com/xml/ns/javaee"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd"
                version="2.0">
Comment 2 David Konecny 2009-11-23 20:31:53 UTC
Btw. according to https://glassfish-svn.dev.java.net/servlets/ReadMsg?list=commits&msgNo=17188 this schema has just been updated so make sure you get the right one.
Comment 3 Marek Fukala 2009-11-24 02:23:02 UTC
I'll do that, it is not so bad with me.
Comment 4 Marek Fukala 2009-11-24 04:12:55 UTC
fixed in web-main#d24df00f9ff1

files taken from fresh Mojarra's sources.

Alexey, please do a code review, Michale, please verify the fix. 

Thank you both guys!
Comment 5 Alexey Butenko 2009-11-24 05:43:57 UTC
reviewed, looking OK
Comment 6 Martin Schovanek 2009-11-24 09:09:57 UTC
Verified by QE at web-main.
Comment 7 Marek Fukala 2009-11-24 09:24:14 UTC
*** Bug 177507 has been marked as a duplicate of this bug. ***
Comment 8 Marek Fukala 2009-11-24 09:53:39 UTC
fixed in release68#67b00e1cfc7c
Comment 9 Martin Schovanek 2009-11-25 02:40:43 UTC
Verified by QE at the relese68 branch.
Comment 10 Quality Engineering 2009-11-25 16:59:09 UTC
Integrated into 'main-golden', will be available in build *200911251400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d24df00f9ff1
User: Marek Fukala <mfukala@netbeans.org>
Log: #177400 -  java.net.UnknownHostException: java.sun.com