facebook

JSP Designer Question

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #235936 Reply

    ghamphy
    Member

    I have reinstalled Eclipse 3.1 and MyEclipseIDE 4.0 GL release. When I try top open a JSP page (created in earlier version), my IDE just hangs. However I ( need to ) kill Eclipse, and get back in and specify that it open in a text editor, it opens it. I have gone through repeated fresh install of both products, but to no avail. Any suggestions?

    #235942 Reply

    Scott Anderson
    Participant

    First, I’d restart with -clean as described here: http://myeclipseide.com/FAQ+index-myfaq-yes-id_cat-30.html#343

    Second, I’d make sure you’re using our editor by right-clicking in the Package Explorer view and selecting “Open With…” > MyEclipse JSP Designer. If those two things don’t resolve it, can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can dig deeper.

    #235959 Reply

    ghamphy
    Member

    Upon investigating into the eclipse log files, i kept seeing the error NoClassDefFoundError: org/springframework/ide/eclipse/ui/SpringUIUtils and so I got the required files from the springide site (those errors went away) then I start seeing the error “NoClassDefFoundError: com/genuitec/eclipse/easie/core/IAppServer” .

    I see that these are found under the nyeclipse/eclipse/plugins directory along with the spring frame work files. It looks as though the plugins directory within the myeclipse/eclipse is invisible to the eclipse ide. How can I make it see that. I know I can brute force copy the myeclipse plugin directory into the eclipse directory’s plugin directory.

    Both installs are fresh when this happens. any clues. If there is no quick solutions, I will get around to posting all the information requested.

    Any way to get the eclipse install to see the myeclipse plugin directory?

    Cheers

    #235960 Reply

    Scott Anderson
    Participant

    Well, it’s obviously a bad installation. I’d recommend redownloading Eclipse 3.1 final along with the manual installation archive for MyEclipse 4.0. Then, follow the installation quickstart steps detailed here: http://www.myeclipseide.com/images/tutorials/quickstarts/install/
    It will walk you through the entire process, including verifying the installation.

    #236078 Reply

    ghamphy
    Member

    The issue is the same as
    http://www.myeclipseide.com/modules.php?op=modload&name=PNphpBB2&file=viewtopic&t=8464

    I am comforted that someone else faces the same issues..

    I removed both eclipse and Myeclipse. Removed all references in registry by reg-editing it. I downloaded and re-installed Eclipse and MyEclipse .

    Eclipse version info : Version: 3.1.0
    Build id: I20050627-1435

    MyEclipse : Version: 4.0.0
    Build id: 20050829-4.0.0-GA

    I have done all three steps to verify the installation and the installation looks good.

    I just got the jsfLoginDemo project which was developed using eclipse 3.8.0 version of myeclipse. I right click on a jsp file, choose option open with “MyEclipse JSP Designer”. The ide just hangs with a popup that reads “Opening Designer…” and “Loading design framework and creating design page” .

    I left this running last evening. It was still at the same spot this morning.I had to kill eclipse.

    Here is the log from a subsequent runs, I see no exceptions. Eclipse seems deadlocked or something as the CPU usage is down close to zero. As can be seen it shows 3 abnormal ends for eclipse

    I have to mention that the same setup that fails at home work fine at home (i dont have the exact build numbers) .

    I have also tried the -clean option from the other threads, it has not helped me.

    Cheers

    !SESSION 2005-08-30 11:19:16.929 ———————————————–
    eclipse.buildId=I20050627-1435
    java.version=1.4.2_04
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:20:37.163
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\css_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:20:37.283
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\forms_lists_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:20:37.343
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\htmlform_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:20:37.413
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:20:37.513
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\javascript_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:20:37.613
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\jsf_f_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:20:37.703
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\jsf_h_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:20:37.803
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\struts_bean_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:20:37.914
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\struts_html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:20:38.04
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\struts_logic_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:20:38.154
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\struts_tiles_snippets.xml
    !SESSION 2005-08-30 11:26:00.857 ———————————————–
    eclipse.buildId=I20050627-1435
    java.version=1.4.2_04
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86

    !ENTRY org.eclipse.core.resources 2 10035 2005-08-30 11:26:14.897
    !MESSAGE A workspace crash was detected. The previous session did not exit normally.

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:26:21.106
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\css_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:26:21.277
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\forms_lists_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:26:21.277
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\htmlform_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:26:21.287
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:26:21.287
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\javascript_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:26:21.297
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\jsf_f_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:26:21.347
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\jsf_h_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:26:21.357
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\struts_bean_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:26:21.387
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\struts_html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:26:21.397
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\struts_logic_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:26:21.397
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\struts_tiles_snippets.xml
    !SESSION 2005-08-30 11:33:18.316 ———————————————–
    eclipse.buildId=I20050627-1435
    java.version=1.4.2_04
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86

    !ENTRY org.eclipse.core.resources 2 10035 2005-08-30 11:33:29.502
    !MESSAGE A workspace crash was detected. The previous session did not exit normally.

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:33:35.420
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\css_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:33:35.500
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\forms_lists_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:33:35.510
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\htmlform_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:33:35.541
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:33:35.541
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\javascript_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:33:35.561
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\jsf_f_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:33:35.611
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\jsf_h_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:33:35.631
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\struts_bean_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:33:35.651
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\struts_html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:33:35.651
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\struts_logic_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-08-30 11:33:35.751
    !MESSAGE Installed snippet library: c:\MyEclipse2\eclipse\plugins\com.genuitec.eclipse.wizards_3.9.310\snippets\struts_tiles_snippets.xml

    #236093 Reply

    Scott Anderson
    Participant

    I have to mention that the same setup that fails at home work fine at home (i dont have the exact build numbers) .

    OK, so it’s definately some sort of difference if it works on one machine and not on another. The log above looks fine. I’m wondering if it could be a JDK difference. The stack above shows Eclipse is being run with JDK 1.4.2_04, which is several releases old. What release of JDK is used on the machine where the configuration is working? Can you try running Eclipse with either the latest JDK 1.5 or 1.4 releases and see if that changes the behavior? You can specify which JDK to use to launch eclipse by changing the startup alias to be something like:
    eclpise.exe -vm <path-to-jdk>\bin\javaw.exe

    #236098 Reply

    Greg
    Member

    Can you post your OS version and Internet Explorer version here?

    #236190 Reply

    ghamphy
    Member

    The setup that works at home has an earlier MyEclipse version : Version: 3.9.310
    Build id: 20050808-4.0-Milestone-3 , which i dont want to touch. The eclipse version is identical.

    I am running XP Professional on both machines with automatic updating enabled, so they are up to date. (dont know if it will automatically upate IE).

    I am a firefox user and ardently avoid IE. At home (working setup) my IE version is 6.0.2900.2180.xpsp_sp2_gdr.050301-1519. I will report on the work setup(failiing setup) when I get there later today.

    Cheers

    #236192 Reply

    ghamphy
    Member

    Also the java version @ home (working) is 1.4.2_06
    at work i had 1.4.2_04 . I will try upgrading the work jdk.

    #236223 Reply

    Scott Anderson
    Participant

    The JDK is most likely the issue.

    As far as not wanting to touch the M3 installation, I certainly understand the concern. What I’d suggest is that you do a parallel install of a fresh copy of Eclipse 3.1 / MyEclipse 4.0GA on that machine. This will allow you to test that everything is working properly without affecting your 4.0M3 install. Definately, *do not* try to uninstall a 4.0M3 instance and install a 4.0GA instance on top of it as this is known to not work. A parallel install protects you from any possible issues since your current working environment won’t be affected.

    #236252 Reply

    ghamphy
    Member

    I upgraded the JDK on the work machine . Problem still stays. here is an extract from the .log

    I cannot move to JDK 1.5 as we need to support products that are in 1.4.X.

    !SESSION 2005-08-31 11:03:10.270 ———————————————–
    eclipse.buildId=I20050627-1435
    java.version=1.4.2_06
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86 -clean

    !ENTRY org.eclipse.core.resources 2 10035 2005-08-31 11:03:22.98
    !MESSAGE A workspace crash was detected. The previous session did not exit normally.

    #236254 Reply

    Scott Anderson
    Participant

    And what is the IE version on that machine?

    #236260 Reply

    OK. The problems that I had were that opening a JSP using the MyEclispse JSP designer would just hang Eclipse and the only resolution was to do a forced shutdown of Eclipse. So, I read some postings about similar issues on this forum and tried the following:

    I did a reload with Eclipse 3.1 and ME 4.0 GA. I used the -clean command line arg and also used
    -vm /path/to/java/jdk/5.0.4/bin/javaw.exe.

    The eclipse.ini file also looks like this:
    -vmargs
    -Xms128m
    -Xmx512m
    -XX:MaxPermSize=128m
    -Dcom.sun.management.jmxremote

    I am running WinXP Pro SP2. Looks like after I did the clean installation it worked OK. I also uninstalled the NitroX JSF-Struts Plugin as I thought that maybe its JSP designer may be not playing nice with ME. The one thing I want to know is what updates should we install/not install into our configuration. Is there a posting about what works with ME and what you should avoid? For instance, when I look for an Eclipse.org update, I don’t install WTP 0.7 – I avoid it like the plague. But, if support can verify that it is OK, then I would go ahead and proceed with it – otherwise I will ignore. Do you think that this is feasible?

    #236263 Reply

    Riyad Kalla
    Member

    The plugins that have known issues are:

    WTP (Because we build on it, so installing a different version and confuse ME)
    EMF/GEF/JEM (All our designers are built on these technologies, so installing different versions can cause problems)

    #236267 Reply

    ghamphy
    Member

    Tried mike’s suggestions, still wont work

    IE version is 6.0.2800.1106.xpsp2.040919-1003

Viewing 15 posts - 1 through 15 (of 18 total)
Reply To: JSP Designer Question

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