- This topic has 11 replies, 4 voices, and was last updated 18 years, 7 months ago by
Scott Anderson.
-
AuthorPosts
-
mike@redcloud.co.nzMemberWe have recently installed the latest build of MyEclipse (Manual Install) on to our office Fedora Core 5 Linux boxes.
We cannot access the Visual JSP Designer or the Javascript editor due to “widget disposed” errors.
We can also not connect to our Tomcat Server due to permission difficulties that we cannot seem to resolve. (Tomcat needs to be started as the root user and MyEclipse seems to be unable to handle this.)Any advice would be much appreciated.
Cheers,
Mike Palmer
Redcloud Development Ltd
Riyad KallaMemberMike,
First the Tomcat issue. If you are starting Tomcat *outside* of MyEclipse, then you need to use the “Remote Debugging” guide to configure MyEclipse to attach to it. Also you won’t be able to manage deployments from MyEclipse unless you have setup permissions correctly to allow it to write to the Tomcat/webapps dir. If you meant you were having some other problem, please elaborate and I’ll do my best to help you.As far as the designer issue, are you being sure to set “MOZILLA_FIVE_HOME” environemnt variable to “” (not the same as empty, it actually has to be empty quotes) before launching MyEclipse?
export MOZILLA_FIVE_HOME="" eclipse <arguments>
If you are, please go to MyEclipse > Installation Summary > Installation Details and paste the information here for me to see.
mike@redcloud.co.nzMemberThanks for your repy Riyad.
Our current startup-script.sh is:
export MOZILLA_FIVE_HOME=””
./eclipseWe have also tried :
export MOZILLA_FIVE_HOME=””
./eclipse -vm /usr/java/jdk1.5.0_07/bin/javaand
export MOZILLA_FIVE_HOME=””
./eclipse -vm /usr/java/jdk1.5.0_07/bin/java -cleanFrom your Tomcat related information I think the permissions issue is probably something we can deal with. THe Visual Jsp Designer and Javascript editor issue is far more pressing for us. We can work with JSP files by using the standard JSP editor at the moment but we want to use all the MyEclipse functionality if possible.
Thanks,
Mike
Riyad KallaMemberMike,
Just to make sure everything is on the up and up, can you paste the result of MyEclipse > Installation Summary > Installation Details for me?
mike@redcloud.co.nzMember*** Date: Mon Sep 25 04:40:03 NZST 2006
*** System properties:
OS=Linux
OS version=2.6.17-1.2174_FC5
Java version=1.5.0_07*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.0 GA
Build id: 20060805-5.0-GA*** Eclipse details:
Eclipse SDKVersion: 3.2.0
Build id: M20060629-1905Eclipse Graphical Editing Framework
Version: 3.2.0.v20060626
Build id: 20060627-0816Eclipse Platform
Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
Build id: M20060629-1905Eclipse RCP
Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
Build id: M20060629-1905Eclipse Java Development Tools
Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
Build id: M20060629-1905Eclipse Plug-in Development Environment
Version: 3.2.0.v20060609m——6zXJJzJzJq
Build id: M20060629-1905Eclipse Project SDK
Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
Build id: M20060629-1905Eclipse startup command=-os
linux
-ws
gtk
-arch
x86
-launcher
/home/mike/programs/eclipse/./eclipse
-name
Eclipse
-showsplash
600
-exitdata
990016
-clean
-vm
/usr/java/jdk1.5.0_07/bin/java
Riyad KallaMemberAll of that looks perfectly fine. As a last-ditch effort to see what is going on, can you download this file:
http://downloads.myeclipseide.com/downloads/products/eworkbench/5.0.1GA/ME-5.0.1GA_3.2CompleteInstall.zipUnzip it under your home dir (don’t change the directory names yet) and run it using the script you have above? This is a completely clean pre-install of Eclipse 3.2 and MyEclipse 5.0.1, you just unzip and run, everything is hooked together. You just have to create a new workspace (please create a new one), then try and create an HTML page and open it with the designer, then if it does, please attach your log file generated for us.
Christopher PierceMemberI don’t know if this is the same probem I was having, but I had a similar problem.
After exporting MOZILLA_FIVE_HOME=”” and running with the “-clean” parameter, I was still getting erros. When I looked in my workspace’s “.metadata/.log” file, I found:
java.lang.UnsatisfiedLinkError: /dev/MyEclipse-5.0/eclipse/plugins/com.genuitec.javascript.debug.mozilla_5.0.1/XPCOM/os/linux/mozilla/libjavaxpcomglue.so: libstdc++.so.5: cannot open shared object file: No such file or directory
I assume this is because MyEclipse is compiled for RedHat Enterprise instead of the latest Fedora.
I installed the “compatibility” library using “yum”, which installed “/usr/lib/libstdc++.so.5”, and it worked after that:
$ yum install compat-libstdc++-33
Riyad KallaMemberMacob, great followup.. Mike can you try Macob’s suggestion and see if that works?
mike@redcloud.co.nzMemberThanks Riyad and Macob,
We tried the yum update – on one machine the Visual Designer opened but gave NULL errors upon saving (jsp was actually saved though). The other machine we are trialling MyEclipse on did not respond and we were unable to open the Visual Designer. The error shown in the log was:
java.lang.NoClassDefFoundError: com/genuitec/javascript/debug/mozilla/ImprovedMozillaBrowser
We will try downloading the http://downloads.myeclipseide.com/downloads/products/eworkbench/5.0.1GA/ME-5.0.1GA_3.2CompleteInstall.zip file and performing a clean install.
Riyad KallaMemberActually Mike on the machine that gave the null error, that happens whenthe designer is disabled.
On the machine that gave that exception, just restart using the -clean command line argument, then it should work. Let me know what you find.
Using that completely install link is a best-case scenario setup, you are welcome to use it internally if that helps.
mike@redcloud.co.nzMemberWe have tried the 5.0.1GA/ME-5.0.1GA_3.2 CompleteInstall install. This gave us access to the designers but crashed on a regular basis.
We then allocated more memory by updating the startup-script.sh and we seem to have achieved some kind of stability.Thanks for all the help.
Scott AndersonParticipantMike,
Good to hear its working now. For anyone else that gets to here and wants to know what the startup command should look like,
here’s an example for Windows. You Linux guys are smart enough to do the translation. 😉<path-to-eclipse-install>\eclipse.exe -product com.genuitec.myeclipse.product.ide -vmargs -Duser.language=en -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M -Dosgi.splashLocation="<path-to-myeclipse-install>\eclipse\MyEclipseSplash.bmp
-
AuthorPosts