- This topic has 5 replies, 2 voices, and was last updated 19 years, 10 months ago by Riyad Kalla.
-
AuthorPosts
-
asafbuMemberI’m trying to create some existing projects to MyEclipse. In one of the EJB related project I get following error from the entity beans descriptor file:
Unable to connect to host: “www.bea.com”.
Error is coming from the following line(s):
<!DOCTYPE weblogic-rdbms-jar PUBLIC
‘-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB RDBMS Persistence//EN’
‘http://www.bea.com/servers/wls810/dtd/weblogic-rdbms20-persistence-810.dtd’>I can connect to http://www.bea.com with no problem and reach to this DTD file.
Any ideas?
Thanks
Riyad KallaMemberAre you behind a proxy? If so make sure to setup your proxy information correctly and/or add this DTD to your XML Catalog so it can resolve it locally and doesn’t try and go out over the web to validate it.
asafbuMemberThanks Riyad! Yes I’m behind proxy but my browser setup to use ‘automatic configuration script’ not manually entered proxy server. Is there anyway I can use the same script in MyEclipse IDE?
Thanks again!
Riyad KallaMemberHmm unfortunately not, BUT you can download that file manually, place it somewhere on your hard drive, then go to the XML Catalog (Window > Prefs > MyEclipse > Editors > XML > XML Catalog) and add a new User Entry:
Type: PUBLIC
Key: -//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB RDBMS Persistence//EN
URI: file:/c:/dtd/weblogic-rdbms20-persistence-810.dtdNote that the URI will need to be a path to the file. Also NOTE there is a currently a bug where you cannot editor or remove entries from the XML catalog, but you can add them, so if you get something wrong, just add a new entry.
This should allow the XML editor to validate against the XML Catalog instead of remotely against the file.
asafbuMemberDo I have to change anything on the XML descriptors or they can still point to the URL on the web ?
Thanks
Riyad KallaMemberIt *should* hit the catalog but now that you reminded me I think there is currently a bug where it will still try and hit the web-DTD… the workaround is to place the DTD in the same dir as the XML file and change the DTD location to just the name of the DTD.
I’m sorry for this inconvenience, we have all these bugs filed and hope to fix them soon.
-
AuthorPosts