- This topic has 13 replies, 3 voices, and was last updated 20 years ago by Riyad Kalla.
-
AuthorPosts
-
arnorMemberHi to all,
I use Eclipse 3.0.1 and Myeclipse 3.8.2 with blackdown-jdk-1.4.2.
I use gentoo and the standard location for the portage is /usr/lib/[Application]
I can use eclipse with all user but MyEclipse it works only with root.
When I use myUser The workbench crash. “Unable to restore workbench”
I think I need copy some file from /root to /home/userSome idea?
Thanks in advace
Riyad KallaMemberarnor,
When using MyEclipse trial version you MUST run Eclipse and MyEclipse as the same user, if you purchase a subscription you can run MyEclipse as a different user BUT even then, most people run into permission issues that manifest themselves in very screwey and time consuming ways to debug. I would HIGHLY suggest installing Eclipse and MyEclipse under your home dir and getting them working… THEN start playing around with system permissions.
arnorMemberI have a subscription.
eclipse is installed in /usr/lib/eclipse with root permission
myEclipse is istalled in: /usr/lib/MyEclipse with root permission, tooWhen I launch Eclipse my workbench is /home/myuser/worspace with user permission.
All eclipse plug-in work fine.Any idea why MyEclipse it don’t work?
regards Lorenzo
Riyad KallaMemberChecking…
Riyad KallaMemberLorenzo, can you try and do something with MyEclipse that “breaks” and then grab a snapshot of your log file and paste it here to see what MyEclipse is complaining it can’t do? (wokrspace dir)\.metadata\.log
arnorMembermy log when I try to open with [myuser] the myeclipse perspective:
!SESSION Nov 08, 2004 10:15:51.122 ———————————————
eclipse.buildId=200409161125
java.version=1.4.2
java.vendor=Blackdown Java-Linux Team
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US!ENTRY org.eclipse.ui 4 4 Nov 08, 2004 10:15:51.123
!MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.deploytools!ENTRY org.eclipse.ui 4 4 Nov 08, 2004 10:15:51.125
!MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions!ENTRY org.eclipse.ui 4 4 Nov 08, 2004 10:15:51.125
!MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.hibernatetools!ENTRY org.eclipse.ui 4 4 Nov 08, 2004 10:15:51.126
!MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.webtools!ENTRY org.eclipse.ui 4 4 Nov 08, 2004 10:15:51.127
!MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.jsftools!ENTRY org.eclipse.ui 4 4 Nov 08, 2004 10:15:51.128
!MESSAGE Unable to find Action Set: com.genuitec.myeclipse.actions.strutstoolsafter I have found:
!ENTRY org.eclipse.core.resources 4 272 Nov 08, 2004 11:32:26.359
!MESSAGE Could not open indexed store: /home/lorenzo/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/test/.properties.
!STACK 0
IndexedStoreException:An error occurred during an indexed store operation.
org.eclipse.core.internal.indexing.ObjectStoreException: Error opening object store.
at org.eclipse.core.internal.indexing.IndexedStore.open(IndexedStore.java:391)I have searched the package”com.genuitec.myeclipse.actions.strutstools” with locate but nothing. Can you tell me the jar where are?
regards Lorenzo
Riyad KallaMemberLorenzo a few things:
1) Are you sure you are using the Eclipse SDk install (~85meg) and NOT the JDT or Platform installs?
2) Please try and use the Sun JDK and see if the problems go away after making sure #1 is using the SDK. Eclipse is not tested with Blackdown only IBM’s and Sun’s JDKs.
arnorMember1)
I use gentoo portage:
http://gentoo-portage.com/dev-util/eclipse-sdk it use eclipse 3 SDK (3.0.1-r1)2)
I use sun-jdk-1.4.2.06my quest is Why root user work perfect and my user not? 🙂
I think is’not a problem about jvm.Regards Lorenzo
Riyad KallaMemberIn regards to #2, you might want to run java-config as Eclipse seems to be picking up and using Blackdown’s port:
java.version=1.4.2
java.vendor=Blackdown Java-Linux Teammy quest is Why root user work perfect and my user not? 🙂
I think is’not a problem about jvm.Not sure… I’m going to ask our Linux guy (Gentoo user as well) to see if he can replicate this behavior.
arnorMembermore test:
After the change of the jvm with sun-jdk I can get other error in .log but MyEclipse it’dont works.
In Help -> manage-configuration -> MyEclipse Enterprise Workbench -> Show properties -> Status I found this:
No plug-in: “com.genuitec.myeclipse.enterprise” included at runtime.No plug-in: “com.genuitec.myeclipse.perspective” included at runtime.
No plug-in: “com.genuitec.eclipse.sqlexplorer” included at runtime.
No plug-in: “com.genuitec.eclipse.hibernate” included at runtime.
Included feature “MyEclipse Application Server Tooling” version “3.8.2” contains problems.
Included feature “MyEclipse Web Development Tooling” version “3.8.2” contains problems.
Included feature “MyEclipse Help Documentation” version “3.8.2” contains problems.
I hope this help.
Thanks in advace.
Lorenzo
GregMemberLorenzo,
I emerged eclipse-sdk-3.0.1-r1 which installs in /usr/lib/eclipse-3. Then I installed MyEclipse into /opt/MyEclipse. After that I ran eclipse-3 as a normal user and my workspace was /home/myuser/workspace. I am using sun-jdk-1.4.2.05 and I was not able to replicate your issues. It appears to be working fine.
I will double check with the developers and see if having read-only access to both eclipse and myeclipse installation directories will cause any problems.
arnorMemberDo you have installed MyEclipse with root user or myUser?
I will try to unistall MyEclipse from /usr/lib and install it in /opt.Anyway many thanks for all checks.
Regards Lorenzo
arnorMemberit works!
The problem was the instalation directory of MyEclipse.
If I install in /usr/lib/MyEclipse [it doesn’t works]
If I install in /opt/MyEclipse [it works fine]
I think because /usr/lib is a portage reserved directory
many tks to all. Your suppot is great!
Riyad KallaMemberarnor nice job tracking down that little discrepency and thank you for following up!
-
AuthorPosts