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 63509 - The Sun Java System Application Server 8.1 Catalog doesn work
Summary: The Sun Java System Application Server 8.1 Catalog doesn work
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-01 12:55 UTC by Petr Pisl
Modified: 2005-11-03 12:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Diff how to get code completion for JSF (1.33 KB, patch)
2005-09-01 13:21 UTC, Petr Pisl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2005-09-01 12:55:20 UTC
Go to Runtime tab -> DTD and XML Schema Catalogs.
Choose Sun Java SystemApplication Server 8.1 Catalog and try to open an DTD (for
example -//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN)
Error: the dtd is not found. -> completion for appropriate xml files doesn't work.
Comment 1 Petr Pisl 2005-09-01 13:05:43 UTC
*** Issue 63455 has been marked as a duplicate of this issue. ***
Comment 2 Petr Pisl 2005-09-01 13:21:24 UTC
Created attachment 24454 [details]
Diff how to get code completion for JSF
Comment 3 Petr Pisl 2005-09-01 13:24:18 UTC
I attached the diff, where I removed the JSF DTDs from the Server 8.1 Catalog.
Now there is JSF catalog, which contains the dtds as well, so we shouldn't
double these dtds in two catalogs. At least it fix the issue #63455.
Comment 4 Petr Pisl 2005-09-01 13:53:24 UTC
I find out, that this doesn't work when the application server is not added. If
you add an instance of application server, then it works.
Comment 5 _ ludo 2005-09-01 15:07:42 UTC
Vince, please remove *just* the JSF dtd entries from our catalog.
Now JSF in in NetBeans 4.2.

thanks...
Comment 6 Petr Blaha 2005-09-08 13:33:20 UTC
Beta stopper.
Comment 7 Vince Kraemer 2005-09-08 22:02:39 UTC
I doubt this is a beta stopper, but I have a fix for it.
Comment 8 Petr Blaha 2005-09-09 07:48:10 UTC
The issue is very important for us since caused that CC for JSF doesn't work in
IDE without registered App server. CC in JSF coinfig file should definitely work
in Beta.
Comment 9 Petr Pisl 2005-09-09 09:21:24 UTC
I think Vince removed the jsf entries from the catalog and the CC for JSF works
now. So from this point of view it's now OK. But the other entries don't work.
Comment 10 zikmund 2005-09-09 11:16:28 UTC
Only JSF DTDs in catalog cause this issue being Beta stopper. If there's partial
fix for JSF (DTDs are removed) I agree with downgrading to P2/P3.
Comment 11 Vince Kraemer 2005-09-09 19:09:56 UTC
Verify the the files are accessible before creating the return value for
getPublicIDs and getSystemID.

Actually register catalog listeners.

Fire the listeners when the plugin's PlatformRoot property changes [currently
hard -coded]

http://www.netbeans.org/source/browse/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/RunTimeDDCatalog.java?r1=1.4&r2=1.5
http://www.netbeans.org/source/browse/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/PluginProperties.java?r1=1.3&r2=1.4
Comment 12 Michal Mocnak 2005-11-03 12:58:46 UTC
Verified