facebook

IDE "goes into the weeds" when opening tiles-defs.

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #268266 Reply

    Hi folks,

    I have to admit, I have a rather large tiles-defs.xml file. Any time I open it the IDE seems to lock up for a very long time
    but it does eventaully come back to life.

    Any insight?
    – System Setup ——————————-
    Operating System and version: Linux RHEL 5.0
    Eclipse version: 3.2
    Eclipse build id:
    Fresh Eclipse install (y/n): y
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins: none
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*:
    MyEclipse version: can’t tell right now…
    Eclipse JDK version: jdk1.5.0_06
    Application Server JDK version: jdk1.5.0_06
    Are there any exceptions in the Eclipse log file? no log file

    If this is a DB related question please answer the following:

    – Message Body ——————————-

    #268315 Reply

    Riyad Kalla
    Member

    Peter,
    How big is the file? We have a known issue with XML files over a meg… the lexer likes to go crazy sometimes.

    #268336 Reply

    Here is the output of wc (various arguments) on tiles-def.xml

    
    [pberghol@cowdawg WEB-INF]$ wc tiles-defs.xml 
      416  1264 15703 tiles-defs.xml
    [pberghol@cowdawg WEB-INF]$ wc -c tiles-defs.xml 
    15703 tiles-defs.xml
    [pberghol@cowdawg WEB-INF]$ wc -l tiles-defs.xml 
    416 tiles-defs.xml
    

    Which translates to the file being 15703 bytes in length. Yesterday it took 30 minutes of the IDE being hung before it came back to me.

    Here the file is in its entirety:

    
    
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    
    <!--  
    
            $Id: tiles-defs.xml,v 1.16 2007/04/02 22:45:07 peter Exp $
    
    
            $Log: tiles-defs.xml,v $
            Revision 1.16  2007/04/02 22:45:07  peter
            Added external link page
    
            Revision 1.15  2007/03/16 02:12:26  peter
            Added an "FMI" link to the class overview
            Added a "lost" page.
            Added logic to send email to board, agility and obedience.
    
            Revision 1.14  2007/03/15 18:51:46  peter
            Added an online membership directory
    
            Revision 1.13  2007/03/14 19:35:47  peter
            Added a new bit of content to the web application.  Once logged in a user
            can access the list of committees and who is on them.
    
            Revision 1.12  2007/03/11 01:56:58  peter
            *** empty log message ***
    
            Revision 1.11  2007/03/01 17:38:53  peter
            Added class schedule adds/edits to the web site.
    
            That understated sentance does not quite put to words the
            actual amount of work that went into this release. There is
            more work to be done, but this will get us over the hurdle for
            now.
    
            Revision 1.10  2007/01/30 16:30:59  peter
            BUG FIX:
            Name change was causing the surname to be set to the given name
            of a person.  Fat fingering corrected.
    
            Revision 1.9  2007/01/29 20:05:54  peter
            BUG FIX:
            Change of password was causing a crash of application due to
            Hibernate's handling of objects in a session context. Added interceptors
            and a filter to correct the issue. HibernateSessions are now HttpSession
            level entities.
    
            Revision 1.8  2007/01/23 21:56:44  peter
            Release debugging complete on the "MyAccount" page.
    
            Revision 1.7  2007/01/18 01:34:32  peter
            Checkpoint to the process.
            Added new functionality for myAccount page.
    
            Revision 1.6  2007/01/04 21:04:47  peter
            New website... new problems. ;-/
    
            Revision 1.5  2006/12/28 02:51:36  peter
            Updated database schema.  It is now frozen.
            Future database schema changes are now going to be
            a lot harder!!
    
            Added an error handler page.
    
            Added account logging for logins and loguts.
    
            Added titles to pages.
    
            Corrected coding bugs with respect to class schedule display.
    
            Revision 1.4  2006/12/27 04:03:11  peter
            testing and fixing continues
    
            Revision 1.3  2006/12/26 17:47:31  peter
            Updated presentation of scheudles.
            Implemented "email instructor"
            Implemented "email registrar"
            Tweaked pooling implemenation
    
            Revision 1.2  2006/12/25 21:42:16  peter
            Class detail glue put into struts-config.xml and tiles-defs.xml
    
            Bug fixes to ClassScheduleService made
    
    
    
    -->
    <!DOCTYPE tiles-definitions PUBLIC
           "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
           "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
    
    <tiles-definitions>
            <definition name=".public.layout" path="/layouts/public.jsp">
                    <putList name="metaTags">
                            <item value="verify-v1"
                                    link="ZWlzt2XN84phltOmTB0QotumZbiEhnfwbxX2sjQHuDo=" />
                            <item value="keywords"
                                    link="Dog Training, Obedience, Agility, Dogs, A well trained dog is a better citizen, CGC, Canine Good Citizen, AKC, Tracking, Herding, Show Handling" />
    
    
                            <item value="description"
                                    link="Bayshore Companion Dog Club (BCDC) is an organization where its members enjoy training their dogs and performing in a variety of canine pursuits. " />
                            <item value="author" link="Peter L. Berghold" />
                            <item value="ROBOTS" link="ALL" />
                    </putList>
            </definition>
    
            <definition name=".welcome.page" extends=".public.layout">
                    <put name="content" value="/content-pages/welcome.jsp" />
                    <put name="left_menu" value="/menus/public/general.jsp" />
                    <put name="title" value="Bayshore Companion Dog Club" />
    
            </definition>
    
            <definition name=".public.directions" extends=".public.layout">
                    <put name="content"
                            value="/content-pages/public/directions.jsp" />
                    <put name="left_menu" value="/menus/public/general.jsp" />
                    <put name="title" value="Bayshore Companion Dog Club" />
            </definition>
            <definition name=".public.officers" extends=".public.layout">
                    <put name="content" value="/content-pages/public/officers.jsp" />
                    <put name="left_menu" value="/menus/public/general.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club: Officers and Board" />
            </definition>
    
            <definition name=".public.login.page" extends=".public.layout">
                    <put name="content" value="/content-pages/public/login.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club: Member Login" />
            </definition>
            <definition name=".public.login.failed" extends=".public.layout">
                    <put name="content"
                            value="/content-pages/public/failed-login.jsp" />
                    <put name="title" value="FAILED LOGIN" />
            </definition>
            <definition name=".public.password.reset"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/public/reset-password.jsp" />
                    <put name="title" value="BCDC:Password Reset Request" />
            </definition>
    
            <definition name=".public.password.reset.success"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/public/password-reset-success.jsp" />
                    <put name="left-menu" value="/menus/public/general.jsp" />
            </definition>
    
            <definition name=".public.membership" extends=".public.layout">
                    <put name="content"
                            value="/content-pages/public/membership_req.jsp" />
                    <put name="left_menu" value="/menus/public/general.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club: Membership Info" />
            </definition>
    
            <!--  Class schedule related pages  -->
            <definition name=".public.class.overview"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/public/classes/schedule-overview.jsp" />
                    <put name="left_menu" value="/menus/public/general.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club:Class Schedule Overview" />
            </definition>
            <definition name=".public.class.detail" extends=".public.layout">
                    <put name="content"
                            value="/content-pages/public/classes/show_class_detail.jsp" />
                    <put name="left_menu" value="/menus/public/general.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club: Class Detail" />
            </definition>
            <definition name=".public.class.confused" extends=".public.layout">
            <put name="content"
                            value="/content-pages/public/classes/lost.jsp" />
                    <put name="left_menu" value="/menus/public/general.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club: Confused? " />
            </definition>
            <definition name=".public.class.rfi_sent" extends=".public.layout">
            <put name="content"
                            value="/content-pages/public/classes/rfi_sent.jsp" />
                    <put name="left_menu" value="/menus/public/general.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club: Request for information sent. " />
            </definition>
            <!--  Email sending pages...  -->
            <definition name=".public.email.send" extends=".public.layout">
                    <put name="content" value="/content-pages/public/sendEmail.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club:Send Email" />
            </definition>
    
            <definition name=".public.external.links" extends=".public.layout">
                    <put name="content" value="/content-pages/public/external_links.jsp"/>
                    <put name="left_menu" value="/menus/public/general.jsp" />
                    <put name="title" value="Bayshore Companion Dog Club: External Links"/>
    
            </definition>
            <!--  ============================== -->
            <definition name=".protected.events.add" extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/events/add.jsp" />
                    <put name="left_menu" value="/menus/public/general.jsp" />
            </definition>
    
            <!--  Account Related Pages  -->
            <definition name=".protected.my.account" extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/account/my-account.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club: My Account" />
                    <put name="left_menu" value="/menus/public/general.jsp" />
            </definition>
            <definition name=".protected.account.operation.ok"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/account/response-pages/ok.jsp" />
    
            </definition>
            <definition name=".protected.account.operation.cancelled"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/account/response-pages/cancelled.jsp" />
    
            </definition>
            <definition name=".protected.password.change"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/account/change_password.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club: Password Change" />
            </definition>
            <definition name=".protected.name.change"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/account/change_name.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club:Name Change" />
            </definition>
            <definition name=".protected.email.change"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/account/change_email.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club: Change Email" />
            </definition>
            <definition name=".protected.address.update"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/account/update_address.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club: Update Mailing Address" />
            </definition>
            <definition name=".protected.telephone.add"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/account/add_telephone.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club: Add Telephone" />
            </definition>
    
            <!--  Curriculum related pages  -->
            <definition name=".protected.curriculum.list"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/curriculum/listCurriculum.jsp" />
                    <put name="left_menu" value="/menus/public/general.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club: Curriculum List" />
            </definition>
    
            <definition name=".protected.curriculum.add.class"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/curriculum/addClassOffering.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club: Add Class Offering" />
            </definition>
            <definition name=".protected.curriculum.add.class.done"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/curriculum/response-pages/class_added.jsp" />
    
            </definition>
            <definition name=".protected.curriculum.add.class.cancelled"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/curriculum/response-pages/class_add_cancelled.jsp" />
    
            </definition>
            <definition name=".protected.curriculum.class.preview"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/curriculum/class_preview.jsp" />
    
            </definition>
            <definition name=".protected.curriculum.class.edit"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/curriculum/edit_class.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club: Edit Class Offering" />
            </definition>
            <!--  Class scheduling Pages -->
            <definition name=".protected.class.menu" extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/class-schedules/schedulingMenu.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club: Class/Curriculum Menu" />
                    <put name="left_menu" value="/menus/public/general.jsp" />
            </definition>
    
            <definition name=".protected.semesters.show"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/class-schedules/show_semesters.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club: Class/Semester Display" />
                    <put name="left_menu" value="/menus/public/general.jsp" />
            </definition>
            <definition name=".protected.semester.edit" extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/class-schedules/edit_semester.jsp"/>
                    <put name="title"
                            value="Bayshore Companion Dog Club: Edit Semester"/>
    
            </definition>
            <definition name=".protected.class.add.semester"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/class-schedules/add_semester.jsp" />
                    <put name="title"
                            value="Bayshore Companion Dog Club: Class/Semester Add" />
    
            </definition>
            <definition name=".protected.class.semester.schedule"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/class-schedules/make_semester_schedule.jsp" />
                    <put name="title" value="Bayshore Companion Dog Club : Semester Scheduling " />
            </definition>
            <definition name=".protected.class.schedule"
                    extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/class-schedules/schedule_a_class.jsp" />
                    <put name="title" value="Bayshore Companion Dog Club : Schedule a class " />
            </definition>
    
            <definition name=".protected.class.edit" extends=".public.layout">
                    <put name="content"
                            value="/content-pages/protected/class-schedules/edit_class.jsp"/>
                    <put name="title" value="Bayshore Companion Dog Club: Edit class"/>
            </definition>
    
            <!--  Employee/Instructor/Registrar Edit/Create/Delete pages  -->
            <definition name=".protected.instructor.add" extends=".public.layout">
                    <put name="content" value="/content-pages/protected/employees/add_new_instructor.jsp"/>
                    <put name="title" value="Bayshore Companion Dog Club: Add New Instructor" />
    
            </definition>
    
            <!--  People Add/Modify/Delete pages  -->
            <definition name=".protected.person.add" extends=".public.layout">
                    <put name="content" value="/content-pages/protected/person/add_new_person.jsp"/>
                    <put name="title" value="Bayshore Companion Dog Club: Add New Person" />
            </definition>
    
            <definition name=".protected.registrar.add" extends=".public.layout">
                    <put name="content" value="/content-pages/protected/employees/add_new_registrar.jsp"/>
                    <put name="title" value="Bayshore Companion Dog Club: Add New Registrar"/>
    
            </definition>
            <!--  Place add/modify/delete pages.  -->
            <definition name=".protected.place.add" extends=".public.layout">
                    <put name="content" value="/content-pages/protected/places/add_new_place.jsp"/>
                    <put name="title" value="Bayshore Companion Dog Club: Add New Place"/>
    
            </definition>
    
            <!--  Pages related to announcements  -->
            <definition name=".protected.announcement.add" extends=".public.layout">
                    <put name="content" value="/content-pages/protected/announcements/add.jsp"/>
                    <put name="title" value="Bayshore Companion Dog Club: Add New Announcement"/>
            </definition>
    
            <!--  Pages that dump info to the logged in members  -->
            <definition name=".protected.info.committees" extends=".public.layout">
            <put name="content" value="/content-pages/protected/info/committees.jsp"/>
    
            <put name="title"
                            value="Bayshore Companion Dog Club: Current Committees" />
                    <put name="left_menu" value="/menus/public/general.jsp" />
            </definition>
    
            <definition name=".protected.info.membership" extends=".public.layout">
                    <put name="content" value="/content-pages/protected/info/membership.jsp"/>
                    <put name="title" value="Bayshore Companion Dog Club: Membership Directory"/>
                    <put name="left_menu" value="/menus/public/general.jsp" />
            </definition>
    
            <!--  Generic Message Page(s) -->
            <definition name=".protected.show.message">
                    <put name="content" value="/content-pages/protected/generic-response/show_a_message.jsp"/>
                    <put name="title" value="Bayshore Companion Dog Club"/>
                    <put name="left_menu" value="/menus/public/general.jsp" />
            </definition>
            <!--  Web Committee Only Pages  -->
            <definition name=".protected.links.category.add" extends=".public.layout">
                    <put name="content" value="/content-pages/protected/link-admin/add_category.jsp"/>
                    <put name="title" value="Bayshore Companion Dog Club: Add Link Category" />
    
            </definition>
    </tiles-definitions>
    

    Don’t know if having that to test against will be of help, but there ya go.

    #268339 Reply

    Riyad Kalla
    Member

    Peter,
    Thank you for posting that, this file shouldn’t be any problem at all. Is it always when opening this one file that it hangs up? If so can you do two things:

    1) Go to MyEclipse > Installation Summary > Installation Details and post that information here and
    2) Can you post the contents of eclipse.ini for me from your eclipse dir and/or your entire command line argument used to launch MyEclipse

    #268346 Reply

    Yes, this is the file that always gives me grief.

    Here is the installation summary:

    
    *** Date: 
    Tuesday, April 3, 2007 3:47:12 PM EDT
    
    ** System properties:
    OS=Linux
    OS version=2.6.18-8.1.1.el5
    Java version=1.5.0_06
    
    
    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 5.1.0 GA
    Build id: 20061111-5.1.0-GA
    
    
    *** Eclipse details:
    Eclipse SDK
    
    Version: 3.2.0
    Build id: M20060629-1905
    
    
    
    
    Eclipse Graphical Editing Framework
    
    Version: 3.2.1.v20060921
    Build id: 20060921-1617
    
    
    Eclipse Platform
    
    Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
    Build id: M20060629-1905
    
    
    Eclipse RCP
    
    Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
    Build id: M20060629-1905
    
    
    Eclipse Java Development Tools
    
    Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
    Build id: M20060629-1905
    
    
    Eclipse Plug-in Development Environment
    
    Version: 3.2.0.v20060609m------6zXJJzJzJq
    Build id: M20060629-1905
    
    
    Eclipse Project SDK
    
    Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
    Build id: M20060629-1905
    
    
    
    
    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86
    -launcher
    /usr/local/software/eclipse/eclipse
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    54828012
    -vm
    /usr/java/jdk1.5.0_06//bin/java
    
    

    and here is the eclipse.ini file. (This is a “right out of the box” ini file since I just re-installed on a new laptop)

    
    -vmargs
    -Xms40m
    -Xmx256m
    
    #268348 Reply

    Riyad Kalla
    Member

    Ok try and shut down MyEclipse and change your eclipse.ini file to:

    
    -vmargs -Xms128m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m
    

    (yes all one line… the line breaks seem to screw how and IF the launcher reads the options… really random it seems)

    then first it up and see how it treats that file.

    #268355 Reply

    It still went into the weeds, but not for quite as long. A mere 5 minutes as opposed to 30 minutes. Much better!

    Any of those numbers up there tweakable? Or should I leave well enough alone?

    #268358 Reply

    Riyad Kalla
    Member

    Sure they are all tweakable, I just have no idea why this is happening… if you right-click on the tiles file and go to Open With, what file has the dot next to it? (default)

    #268360 Reply

    XML Editor comes up.

    #268362 Reply

    Riyad Kalla
    Member

    How big is this project if you export it to an archive and is it something you can share with me? I wonder if the validation code is eating up major cycles.

    #268370 Reply

    Exported it is 87.5Mb as a zip file. Where would you like me to send a “sanitized” versoin?

    (I’ll set the embedded passwords to something benign….)

    #268375 Reply

    Riyad Kalla
    Member

    oh lord… I have no good way to get something that big. Can you trim it down to just the struts config files?

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: IDE "goes into the weeds" when opening tiles-defs.

You must be logged in to post in the forum log in