Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
shashi_p
Post subject: Myeclipse hangs on trying to open jsp file with jsp designer  PostPosted: Jan 08, 2006 - 04:09 AM



Joined: Jan 08, 2006
Posts: 6

I just downloaded myeclipse, and created a project
in the we root, I created a file which I am having trouble opening with myeclipse jsp designer. It hangs when I try to do that.
It seems to open ok when I use myeclipse jsp editor, it was hanging on that too previously.

I had uinstalled workbench-for struts (which I have disabled) and the jsp editor seems to open the file up. Still no luck on the jsp designer.

I am using
eclipse 3.1
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jan 08, 2006 - 03:10 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23855

What is your Eclipse Build ID from the Help > About menu and your MyEclipse Build ID from the MyEclipse > About menu?

Also look in your log file (<workspace dir>\.metadata\.log) near the bottom and see if you can find exceptions pertaining to the problem and paste them here.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
shashi_p
Post subject:   PostPosted: Jan 08, 2006 - 09:59 PM



Joined: Jan 08, 2006
Posts: 6

Eclipse build details
Eclipse SDK
Version 3.1.0
Build id: I20050627-1435

MyEclipse build
VErsion 4.0.3 GA
Build id: 20051025-4.0.3-GA

The log file had a number of errors from previous plugin installations, but I cleaned it out and reproduced the problem.
I got the following message
!ENTRY com.genuitec.eclipse.core 1 0 2006-01-08 13:49:21.218
!MESSAGE Unable to locate .myeclipse.properties file

Does myeclipse have any conflict with other plugins ?

thanks
 
 View user's profile Send private message  
Reply with quote Back to top
shashi_p
Post subject:   PostPosted: Jan 08, 2006 - 10:24 PM



Joined: Jan 08, 2006
Posts: 6

Update:
I'm in a time crunch so I'd really aprreciate having some solution for this. thankyou
I read some other posts and tried the following

I am not sure how to use the -clean option with the myeclipse shortcut, the shortcut refers to a bmp file and putting a -clean option next to it gives me a could not start jvm error.

So with the usual way of starting myeclipse, I make a new workspace and a new web project.
Now I cant even create a jsp file, It just hangs.

here is the log file,
the last entry runs off into a really long line no line breaks...
!SESSION 2006-01-08 14:13:10.718 -----------------------------------------------
eclipse.buildId=I20050627-1435
java.version=1.5.0_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -data C:\Documents and Settings\ang\wsforMyeclipse -os win32 -ws win32 -arch x86

!ENTRY com.genuitec.eclipse.wizards 1 0 2006-01-08 14:13:34.953
!MESSAGE Installed snippet library: c:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_4.0.1\snippets\css_snippets.xml

!ENTRY com.genuitec.eclipse.wizards 1 0 2006-01-08 14:13:35.62
!MESSAGE Installed snippet library: c:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_4.0.1\snippets\forms_lists_snippets.xml

!ENTRY com.genuitec.eclipse.wizards 1 0 2006-01-08 14:13:35.140
!MESSAGE Installed snippet library: c:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_4.0.1\snippets\htmlform_snippets.xml

!ENTRY com.genuitec.eclipse.wizards 1 0 2006-01-08 14:13:35.218
!MESSAGE Installed snippet library: c:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_4.0.1\snippets\html_snippets.xml

!ENTRY com.genuitec.eclipse.wizards 1 0 2006-01-08 14:13:35.312
!MESSAGE Installed snippet library: c:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_4.0.1\snippets\javascript_snippets.xml

!ENTRY com.genuitec.eclipse.wizards 1 0 2006-01-08 14:13:35.406
!MESSAGE Installed snippet library: c:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_4.0.1\snippets\jsf_f_snippets.xml

!ENTRY com.genuitec.eclipse.wizards 1 0 2006-01-08 14:13:35.515
!MESSAGE Installed snippet library: c:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_4.0.1\snippets\jsf_h_snippets.xml

!ENTRY com.genuitec.eclipse.wizards 1 0 2006-01-08 14:13:35.593
!MESSAGE Installed snippet library: c:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_4.0.1\snippets\struts_bean_snippets.xml

!ENTRY com.genuitec.eclipse.wizards 1 0 2006-01-08 14:13:35.640
!MESSAGE Installed snippet library: c:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_4.0.1\snippets\struts_html_snippets.xml

!ENTRY com.genuitec.eclipse.wizards 1 0 2006-01-08 14:13:35.718
!MESSAGE Installed snippet library: c:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_4.0.1\snippets\struts_logic_snippets.xml

!ENTRY com.genuitec.eclipse.wizards 1 0 2006-01-08 14:13:35.796
!MESSAGE Installed snippet library: c:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_4.0.1\snippets\struts_tiles_snippets.xml

!ENTRY com.genuitec.eclipse.core 1 0 2006-01-08 14:13:51.156
!MESSAGE Unable to locate .myeclipse.properties file

!ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 2006-01-08 14:14:48.718
!MESSAGE
Jan 8, 2006 2:14:48 PM com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler ?
SEVERE: Javac exception
Error running javac.exe compiler
at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:473)
at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:47)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.?(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.?(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.parse(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.JSPValidator.validate(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1719)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1739)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.validate(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.run(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.Validator.validateIfNeeded(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source)
at com.ibm.etools.validation.ValidatorLauncher.start(ValidatorLauncher.java:58)
at com.ibm.etools.validate.ValidationOperation.launchValidator(ValidationOperation.java:1275)
at com.ibm.etools.validate.ValidationOperation.internalValidate(ValidationOperation.java:1099)
at com.ibm.etools.validate.ValidationOperation.validate(ValidationOperation.java:1014)
at com.ibm.etools.validate.ValidationOperation.run(ValidationOperation.java:731)
at com.ibm.etools.validate.ValidationBuilder.build(ValidationBuilder.java:155)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Caused by: java.io.IOException: CreateProcess: javac.exe -classpath "C:\Documents and Settings\sp\downloads\eclipse-3.1\eclipse\startup.jar;C:\Program Files\Java\jre1.5.0_05\lib\rt.jar;C:\Program Files\Java\jre1.5.0_05\lib\jsse.jar;C:\Program Files\Java\jre1.5.0_05\lib\jce.jar;C:\Program Files\Java\jre1.5.0_05\lib\charsets.jar;C:\Program Files\Java\jre1.5.0_05\lib\ext\dnsns.jar;C:\Program Files\Java\jre1.5.0_05\lib\ext\localedata.jar;C:\Program Files\Java\jre1.5.0_05\lib\ext\maplenetclient.jar;C:\Program Files\Java\jre1.5.0_05\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jre1.5.0_05\lib\ext\sunpkcs11.jar;C:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_4.0.1\data\libraryset
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jan 08, 2006 - 10:41 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23855

1) What is your Internet Explorer version from the Help > About menu in IE?

2) You need to add your JDK's /bin directory to your System's PATH to be able to validate JSP pages (which is what all those exceptions in the log file are)

3) The way you use clean is to add it as the first argument: eclipse.exe -clean -<other arguments>

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
shashi_p
Post subject:   PostPosted: Jan 09, 2006 - 12:34 AM



Joined: Jan 08, 2006
Posts: 6

IE version
6.0.2900.2180.xpsp_sp2_gdr.050301-1519
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jan 09, 2006 - 02:34 AM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23855

Do you have Visual Studio installed?


Also I've passed this information to the visual designer team, in the mean time right click and use OPen With > "MyEclipse 'Classic' JSP Editor" to get around the problem.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
shashi_p
Post subject:   PostPosted: Jan 09, 2006 - 03:08 AM



Joined: Jan 08, 2006
Posts: 6

Yes I do have visual studio installed. But why would that interfere with opening it in jsp ?

Anyway. I uninstalled eclipse (I had omondo uml installed) and the nitrox bea or whatever workbench, which as I mentioned I disabled, I dont know how to uninstall the damn thing. I found in one of the stack traces that some event seemd to be handled by a class that had nitrox in its package name when it was supposed to be disabled, so I figured the only way is to reinstall everything.
so far it seems to be ok.

Its a real pain that anytime I try some new plugin, the entire environment gets messed up.
Thankyou
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jan 09, 2006 - 04:00 AM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23855

Quote:

Yes I do have visual studio installed. But why would that interfere with opening it in jsp ?

Visual Studio instruments Internet Explorer when it is installed, these changes break *our* API calls against IE and cause the designer to break.


Is everything working for you now that reinstalled?

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits