[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-5923) After several files deletion eclipse decelerate and takes 50% cpu time

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Mon Mar 1 19:22:10 EST 2010


     [ https://jira.jboss.org/jira/browse/JBIDE-5923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Snjezana Peco resolved JBIDE-5923.
----------------------------------

    Resolution: Done


The cause of this issue is the XHTML Validator which doesn't have a valid entity resolver.
Vitaly, 
if you disable the XHTML validator, you won't be able to reproduce the issue.

The fix uses the entity resolver from Webtools. The XHTML validation is much faster (more than 20 times on my machine). The XHTML Validator doesn't require internet connection anymore which fixes https://jira.jboss.org/jira/browse/JBIDE-5933.

The fix is committed to the trunk.

Max,
Will we add it to CR2/CR3 since it significantly speeds up the XHTML validation.

> After several files deletion eclipse decelerate and takes 50% cpu time
> ----------------------------------------------------------------------
>
>                 Key: JBIDE-5923
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5923
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>    Affects Versions: 3.1.0.CR2
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Snjezana Peco
>             Fix For: 3.1.1, 3.2.next
>
>         Attachments: screenshot-1.jpg, screenshot-2.jpg, screenshot-3.jpg, screenshot-4.jpg, screenshot-5.jpg
>
>
> 1) as a test project I use dvdstore;
> 2) dvdstore-ejb - I change hibernate-console.properties to use MySQL instead of HQL db for dvdstore-ejb Hibernate Console Configuration:
> #hibernate.connection.password=
> #hibernate.connection.username=sa
> #hibernate.connection.driver_class=org.hsqldb.jdbcDriver
> #hibernate.dialect=org.hibernate.dialect.HSQLDialect
> #hibernate.connection.url=jdbc:hsqldb:MyDB
> hibernate.connection.password=p at ssw0rd
> hibernate.connection.username=root
> hibernate.connection.driver_class=com.mysql.jdbc.Driver
> hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
> hibernate.connection.url=jdbc:mysql://localhost:3306/jpa3
> 3) I generate Hibernate db for MySQL via dvdstore-ejb Hibernate Console Config -> context menu -> Run Schema export;
> 4) then I run Seam Generate Entities for dvdstore project - the entities was generated succesfully;
> 5) rebuild dvdstore-ejb Hibernate Console Config - get exception - with duplicate Inventory - ok that is right;
> 6) so I delete generated entities;
> 7) during 15 minutes my rbds decelerate - it works, but very slowly; no exceptions;
> 8) then I get situation - screenshort-2 - it start to work normally;

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list