Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » XML schema saving is slow
XML schema saving is slow [message #119641] Tue, 12 July 2005 07:18 Go to next message
Eclipse UserFriend
Originally posted by: mslocins.gmail.com

Hi,

I have problems with newest M5 WTP version on linux machine (all
dependencies are downloaded and installed correctly, I don't use any other
plugins concurrently with WTP). When I try to modify and save XML schema,
sometimes it takes even few minutes, no matter how big schema is. Eclipse
just hangs in that moment.

I checked logs in my workspace but I don't see anything suspicious. Do you
know any possibilities to see what is exactly done in background? I'm
looking for something like decreasing log level ...

cheers

Michal
Re: XML schema saving is slow [message #119669 is a reply to message #119641] Tue, 12 July 2005 07:33 Go to previous messageGo to next message
Alain Marc Pannetier is currently offline Alain Marc PannetierFriend
Messages: 26
Registered: July 2009
Junior Member
Hi Michal,

Did you uncheck the Disable caching preference in the
Preferences -> Internet -> Cache.

By default validation is performed against schemas on the net.
One schema pulling another one and some sites being slow to answer, this
can indeed be an excruciating experience. However once cache is enabled,
validation is immediate.

Alain
Re: XML schema saving is slow [message #119720 is a reply to message #119669] Tue, 12 July 2005 07:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mslocins.gmail.com

Yes, I have caching enabled, hovewer I'm working in wired environment
where Eclipse doesn't have direct internet access so it cannot download
anything from internet. Anyway - I don't include any other schemas which
are located in the network. I use only those ones defined by default in
XML catalog which are placed in jar files or other eclipse resources.

I used also tcpdump to check if eclipse is trying to connect somewhere
while saving schema, but no packets were sent.

Michal
Re: XML schema saving is slow [message #119786 is a reply to message #119720] Tue, 12 July 2005 09:31 Go to previous messageGo to next message
Alain Marc Pannetier is currently offline Alain Marc PannetierFriend
Messages: 26
Registered: July 2009
Junior Member
It happenned to me as well.

I reported that in another post :

http://www.eclipse.org/newsportal/article.php?id=5477&gr oup=eclipse.webtools#5477

I had configured my proxy in the internet preferences but XSD saving was
generating many stalled jobs.

To make a long story short, I came to the conclusion that the proxy was
not taken into account and eventually put the blame on the JVM.
Switching from 1.4.2_06 to 1.4.2_08 solved (but I probably had overtweaked
my 1.4.2_06 as well ;-).

Using WTP from home (no proxy) everything was fine.

Hope this helps. As a last resort, you can disable validation in builders
either at the workbench level or at the project level.

Alain
Re: XML schema saving is slow [message #119799 is a reply to message #119786] Tue, 12 July 2005 09:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mslocins.gmail.com

Hi,

as I said I don't use any type of internet connection (and as I see,
Eclipse doesn't trying to send any packets into the network). I use
jdk1.5_04, I think most useful information for me would be how to enable
some more debugging and tracing in Eclipse.

Michal
Re: XML schema saving is slow [message #119838 is a reply to message #119799] Tue, 12 July 2005 11:41 Go to previous messageGo to next message
Alain Marc Pannetier is currently offline Alain Marc PannetierFriend
Messages: 26
Registered: July 2009
Junior Member
OK, no prob.
Sorry if some of the things detailed below are already familiar to you.

Package Explorer -> Import -> External Plugin and Fragments

For a start I would select :

* org.apache.xerces
* org.eclipse.wst.common.uriresolver
* org.eclipse.wst.internet.cache
* org.eclipse.wst.internet.proxy
* org.eclipse.wst.validation
* org.eclipse.wst.validation.ui
* org.eclipse.wst.xml.core

Pull the source code out as well (radio button group : Import as, Proj
with source).

Then create a new run config with "Debug as...",

Select the Eclipse Application category. Press "New".
Accept defaults.

This will generate a runtime workbench.
In this workbench, manipulate your schema, when things start to get slow,
switch to the debug perspective in the home workbench,
find the working thread and prese the pause button.

That's a good start for investigating...

Anything else please ask.

Alain
Re: XML schema saving is slow [message #119982 is a reply to message #119838] Tue, 12 July 2005 15:52 Go to previous message
Craig Salter is currently offline Craig SalterFriend
Messages: 169
Registered: July 2009
Senior Member
I'd also encourage you to open bugs for these issues and feel free to add
patches to fix the problem, or any analysis of the problem to the bugzilla
bug.
Previous Topic:web.xml wrong editing with
Next Topic:Problems debugging WebLogic Server 8.1 w/WebTools M5
Goto Forum:
  


Current Time: Sat Nov 09 03:02:26 GMT 2024

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

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

Back to the top