Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Why it always try to access the internet resource?
Why it always try to access the internet resource? [message #127931] Sun, 31 July 2005 05:40 Go to next message
Eclipse UserFriend
Originally posted by: sportboy02.software.nju.edu.cn

I do not check the box "Disable cache" in Preference->Internet->Cache.
After I created a new Dynamic Web Project, I can see all the DTD file
and Schema have been cached from
the preference page.
However, after I closed the internet connection by unpluging the wire,
when I made a little change in web.xml
and press Ctrl+S to save it, the project will build automatically and a
warning will come out showing that the
resource could'n be accessed.

What I use:
Eclipse 3.1 + WinXP sp2
WTP 0.7 release
Re: Why it always try to access the internet resource? [message #128140 is a reply to message #127931] Mon, 01 August 2005 04:42 Go to previous messageGo to next message
Eclipse UserFriend
I think I noticed that as well. The solution I used is to add user
entries to the catalog. Look at how system catalog entries are defined.
Define your own ones after having downloaded the schemas and DTDs from Sun
& IBM.

Alain Pannetier
Re: Why it always try to access the internet resource? [message #128413 is a reply to message #128140] Mon, 01 August 2005 10:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sportboy02.software.nju.edu.cn

Alain Pannetier wrote:
> I think I noticed that as well. The solution I used is to add user
> entries to the catalog. Look at how system catalog entries are
> defined. Define your own ones after having downloaded the schemas and
> DTDs from Sun & IBM.
> Alain Pannetier
>
Thank you:-)
How did you place those dtd and xsd files, putting them in the project
folder?

Actually I don't know how to accurately specify the "xsi:schemaLocation"
for a local file,
could you post an example fragment?

Jason
Re: Why it always try to access the internet resource? [message #128467 is a reply to message #128413] Mon, 01 August 2005 11:39 Go to previous messageGo to next message
Eclipse UserFriend
Sure,

Actually I think the 'Articles' page of the WTP project has a link for
catalogs.
Put the DTDs/XSD wherever you feel appropriate (the pref page allows for
workspace or 'external' resources browsing.

For Sun stuff you can only define Schema locations because everythin is
under the same url.

Cheers,


Here is a typical setup :

URI: platform:/resource/_Resources/catalog/sun/application_1_4.xs d
Key Type: Schema Location
Key: http://java.sun.com/xml/ns/j2ee/application_1_4.xsd

URI: platform:/resource/_Resources/catalog/sun/j2ee_1_4.xsd
Key Type: Schema Location
Key: http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd

URI: platform:/resource/_Resources/catalog/sun/jsp_2_0.xsd
Key Type: Schema Location
Key: http://java.sun.com/xml/ns/j2ee/jsp_2_0.xsd

URI: platform:/resource/_Resources/catalog/sun/web-app_2_4.xsd
Key Type: Schema Location
Key: http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd

URI:
platform:/resource/_Resources/catalog/ibm/j2ee_web_services_ client_1_1.xsd
Key Type: Schema Location
Key: http://www.ibm.com/webservices/xsd/j2ee_web_services_client_ 1_1.xsd
Re: Why it always try to access the internet resource? [message #128624 is a reply to message #128467] Mon, 01 August 2005 21:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sportboy02.software.nju.edu.cn

Alain Pannetier wrote:
> Sure,
>
> Actually I think the 'Articles' page of the WTP project has a link for
> catalogs.
> Put the DTDs/XSD wherever you feel appropriate (the pref page allows for
> workspace or 'external' resources browsing.
>
> For Sun stuff you can only define Schema locations because everythin is
> under the same url.
>
> Cheers,
>
>
> Here is a typical setup :
>
> URI:
> platform:/resource/_Resources/catalog/sun/application_1_4.xs d
> Key Type: Schema Location
> Key: http://java.sun.com/xml/ns/j2ee/application_1_4.xsd
>
> URI: platform:/resource/_Resources/catalog/sun/j2ee_1_4.xsd
> Key Type: Schema Location
> Key: http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd
>
> URI: platform:/resource/_Resources/catalog/sun/jsp_2_0.xsd
> Key Type: Schema Location
> Key: http://java.sun.com/xml/ns/j2ee/jsp_2_0.xsd
>
> URI: platform:/resource/_Resources/catalog/sun/web-app_2_4.xsd
> Key Type: Schema Location
> Key: http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
>
> URI:
> platform:/resource/_Resources/catalog/ibm/j2ee_web_services_ client_1_1.xsd
> Key Type: Schema Location
> Key:
> http://www.ibm.com/webservices/xsd/j2ee_web_services_client_ 1_1.xsd
>
>
>
Perfect, it works now:-)
Thanks a lot.

Jason
Re: Why it always try to access the internet resource? [message #128975 is a reply to message #127931] Tue, 02 August 2005 11:51 Go to previous message
Eclipse UserFriend
Originally posted by: leif.hanack.t-systems.com

FYI: if have the same problem and report it as bug 105812
Previous Topic:stopping CVS files getting into .deployables
Next Topic:exploded WAR project layout vs .deployables dir
Goto Forum:
  


Current Time: Thu Jul 17 19:35:30 EDT 2025

Powered by FUDForum. Page generated in 0.03369 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top