facebook

JSP Editor

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #233292 Reply

    kchopra
    Member

    I am using the trial version of MyEclipse 3.8.4

    There is a major problem I am having though.

    I have configured Tomcat in MyEclipse and I deploy this from Eclipse. I

    My problem is that editing JSPs in the scriplet tag (<%……%>) is
    extremely slow. It take for each keystorke to register and even typing
    is extremely slow. This is only in the scriplet tag though. Outside of
    this tag, editing JSPs is fine and works well. However, in the
    scriplet tag it slows down almost to a halt and is impractical to
    program with the JSP editor.

    lease let me know if there is anything I can do (may be something I
    have to disable to allow fast editing in the scriplet tag). I have
    tried disabling the automatic build feature of eclipse already and it
    didn’t make a difference. Also, whether or not my Application Server
    (Tomcat) has been started or not makes no difference.

    I also tried to make more ram available to eclipse by changing startup parameters sent in my launch alias as suggested by a support engineer from myeclipse
    in a response to an email I sent.

    Some background about my environment:

    OS: Win XP

    Eclipse
    Version: 3.0.1
    Build id: 200409161125

    Eclipse was not freshly installed.

    There are 84 plugin folders in my <eclipse>/plugins directory

    Java: J2SE 1.4.2
    Tomcat 4.1.12, Cocoon 2.0.3

    System: Win XP, P3, 448Mhz, 768 MB RAM.

    Here is an exception in mtadata/log:

    SUBENTRY 1 org.eclipse.ui 4 0 Jul 20, 2005 11:04:34.622
    !MESSAGE Premature end of input.
    !STACK 0
    org.apache.crimson.parser.EndOfInputException
    at org.apache.crimson.parser.Parser2.fatal(Unknown Source)
    at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
    at org.apache.crimson.parser.Parser2.parse(Unknown Source)
    at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
    at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:97)
    at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:70)
    at org.eclipse.ui.internal.Workbench$13.run(Workbench.java:1035)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1029)
    at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:167)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:652)
    at org.eclipse.ui.internal.Workbench.init(Workbench.java:819)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1325)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
    at org.eclipse.core.launcher.Main.run(Main.java:704)
    at org.eclipse.core.launcher.Main.main(Main.java:688)

    Thanks for all your help in advance,
    Karan Chopra

    #233313

    Riyad Kalla
    Member

    Karan,
    When you are editing inside of <% %> scriptlet tags, be sure to always close the scriplet first (add the last %>). If you don’t, what is happening is the real-time error checker is going nuts reparsing large segments fo the document looking for errors, you can turn this off under Window > Prefs > MyEclispse > Editors > Comon Editor Preferences > “Analyse contents while typing”.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JSP Editor

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