HI, I try to load the STAF editor via Eclipse as root user,it don't work too. --------------------- Problems occurred when invoking code from plug-in: "org.eclipse.jface". ava.lang.NoClassDefFoundError: Could not initialize class com.ibm.staf.STAFHandle at com.ibm.staf.eclipse.editor.STAFEditor.init(STAFEditor.java:266) at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:644) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:286) at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:403) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2799) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762) at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:713) at com.ibm.staf.eclipse.views.MachineView$6.run(MachineView.java:353) at com.ibm.staf.eclipse.views.MachineView$7.doubleClick(MachineView.java:380) at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:821) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.runtime.Platform.run(Platform.java:897) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:819) at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1419) at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1195) at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:238) at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:235) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:296) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
在 2010年8月28日 上午5:57,David Bender <bda...@us.ibm.com>写道: > Hi, > > Can you try loading the STAF editor via Eclipse as root user, to see if > that works? > > Thanks, > David > > ------------------------------ > *David > Bender*<http://w3.ibm.com/bluepages/simpleSearch.wss?searchBy=Name&searchFor=David+Bender> > STAF/STAX Development > IBM Software Group, WPLC > 11501 Burnet Rd. > Bldg. 903-5B002 > Austin, TX 78758-3400 > Phone (T/L): 1-512-286-5315 (363-5315) > ITN: 23635315 > Email: *bda...@us.ibm.com* <bda...@us.ibm.com> > > ------------------------------ > > > [image: Inactive hide details for Cynthia Li ---08/26/2010 08:59:17 PM---Hi > David I had tried to restart Eclipse and create new machine]Cynthia Li > ---08/26/2010 08:59:17 PM---Hi David I had tried to restart Eclipse and > create new machine ,but still have same > > > From: > Cynthia Li <cynthia...@icebreakersoftware.com> > To: > David Bender/Austin/i...@ibmus > Cc: > staf-users@lists.sourceforge.net > Date: > 08/26/2010 08:59 PM > Subject: > Re: [staf-users] couldn't run STAF editor with none root user > ------------------------------ > > > > Hi David > I had tried to restart Eclipse and create new machine ,but still have same > exception. > Thanks, > Cynthia > > 2010/8/26 David Bender <*bda...@us.ibm.com* <bda...@us.ibm.com>> > > Can you try restarting Eclipse and see if that resolves the problem? We > had another user report that error in the following mailing list thread, > and > it was resolved by restarting Eclipse: > * > ** > > http://sourceforge.net/mailarchive/message.php?msg_id=OF46169502.DC0B0B29-ON86257623.004B7DF4-86257623.004BDFA9%40us.ibm.com > > *<http://sourceforge.net/mailarchive/message.php?msg_id=OF46169502.DC0B0B29-ON86257623.004B7DF4-86257623.004BDFA9%40us.ibm.com> > > Thanks, > David > > ------------------------------ > *David > Bender*<http://w3.ibm.com/bluepages/simpleSearch.wss?searchBy=Name&searchFor=David+Bender> > STAF/STAX Development > IBM Software Group, WPLC 11501 Burnet Rd. > Bldg. 903-5B002 > Austin, TX 78758-3400 Phone (T/L): 1-512-286-5315 (363-5315) > ITN: 23635315 > Email: *bda...@us.ibm.com* <bda...@us.ibm.com> > ------------------------------ > > > [image: Inactive hide details for Cynthia Li ---08/26/2010 01:30:56 > AM---Hi David Great~~ now I run java com.ibm.staf.TestJSTAF local P]Cynthia > Li ---08/26/2010 01:30:56 AM---Hi David Great~~ now I run java > com.ibm.staf.TestJSTAF local PING PING will get > > From: > Cynthia Li <*cynthia.li* > <http://cynthia.li/>@*icebreakersoftware.com*<http://icebreakersoftware.com/> > > > To: > David Bender/Austin/i...@ibmus > Cc:* > **staf-us...@lists.sourceforge.net* <staf-users@lists.sourceforge.net> > Date: > 08/26/2010 01:30 AM > Subject: > Re: [staf-users] couldn't run STAF editor with none root user > ------------------------------ > > > > > Hi David > Great~~ now I run java com.ibm.staf.TestJSTAF local PING PING will get > response > > TestJSTAF using STAF handle 3 > RC=0 > Result=PONG > > But I'll get a exception stack trace "java.lang.NoClassDefFoundError: > Could not initialize class com.ibm.staf.STAFHandle" when I try to open a > STAF machine in eclipse.(error message:Problems occurred when invoking code > from plug-in: "org.eclipse.jface".) > what's wrong with it?Thanks a lot > > 2010/8/25 David Bender <*bda...@us.ibm.com* <bda...@us.ibm.com>> > Hi, > > In the non-root environment, verify that environment variable > LD_LIBRARY_PATH (or LIBPATH on AIX, IBM i, and z/OS systems, > SHLIB_PATH on > HP-UX systems, DYLD_LIBRARY_PATH on Mac OS X) includes the STAF lib > directory (i.e. /usr/local/staf/lib, if that is where you installed > STAF). > > Thanks, > David > ------------------------------ > *David > Bender*<http://w3.ibm.com/bluepages/simpleSearch.wss?searchBy=Name&searchFor=David+Bender> > STAF/STAX Development > IBM Software Group, WPLC 11501 Burnet Rd. > Bldg. 903-5B002 > Austin, TX 78758-3400 Phone (T/L): 1-512-286-5315 (363-5315) > ITN: 23635315 > Email: *bda...@us.ibm.com* <bda...@us.ibm.com> > ------------------------------ > > > [image: Inactive hide details for Cynthia Li ---08/24/2010 > 11:04:04 PM---Hi all I run STAF server by root user, and then I load > STAF > ed]Cynthia Li ---08/24/2010 11:04:04 PM---Hi all I run STAF > server by root user, and then I load STAF editor via eclipse by > From: > Cynthia Li <*cynthia.li* <http://cynthia.li/>@* > icebreakersoftware.com* <http://icebreakersoftware.com/>> > To:* > **staf-us...@lists.sourceforge.net*<staf-users@lists.sourceforge.net> > Date: > 08/24/2010 11:04 PM > Subject: > [staf-users] couldn't run STAF editor with none root user > ------------------------------ > > > > > Hi all > I run STAF server by root user, and then I load STAF editor via > eclipse by none-root user.An error has occurred that See error log > for more > *details.no* <http://details.no/> > JSTAF in java.library.path > > > If I run java com.ibm.staf.TestJSTAF local PING PING with > non-root user,I'll get exception as following > Exception in thread "main" java.lang.UnsatisfiedLinkError: no > STAF in java.library.path > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1734) > at java.lang.Runtime.loadLibrary0(Runtime.java:823) > at java.lang.System.loadLibrary(System.java:1028) > at com.ibm.staf.STAFHandle.<clinit>(STAFHandle.java:119) > at com.ibm.staf.TestJSTAF.main(TestJSTAF.java:36) > > Anyone could tell me what's wrong?How to configure my STAF > environment? > > ------------------------------------------------------------------------------ > Sell apps to millions through the Intel(R) Atom(Tm) Developer > Program > Be part of this innovative community and reach millions of > netbook users > worldwide. Take advantage of special opportunities to increase > revenue and > speed time-to-market. Join now, and jumpstart your future.* > > **http://p.sf.net/sfu/intel-atom-d2d*<http://p.sf.net/sfu/intel-atom-d2d> > _______________________________________________ > staf-users mailing list* > **staf-us...@lists.sourceforge.net*<staf-users@lists.sourceforge.net> > * > > **https://lists.sourceforge.net/lists/listinfo/staf-users*<https://lists.sourceforge.net/lists/listinfo/staf-users> > > > > > > ------------------------------------------------------------------------------ > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program > Be part of this innovative community and reach millions of netbook > users > worldwide. Take advantage of special opportunities to increase revenue > and > speed time-to-market. Join now, and jumpstart your future.* > **http://p.sf.net/sfu/intel-atom-d2d*<http://p.sf.net/sfu/intel-atom-d2d> > _______________________________________________ > staf-users mailing list* > **staf-us...@lists.sourceforge.net* <staf-users@lists.sourceforge.net>* > > **https://lists.sourceforge.net/lists/listinfo/staf-users*<https://lists.sourceforge.net/lists/listinfo/staf-users> > > > > > > -- > Best Regards, > Cynthia Lee > Ice Breaker China, Inc. > Tel: 86-10-82800942-815 > Fax: 86-10-82800941 > ------------------------------------------------------------------------------ > > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program > Be part of this innovative community and reach millions of netbook users > worldwide. Take advantage of special opportunities to increase revenue and > speed time-to-market. Join now, and jumpstart your future. > http://p.sf.net/sfu/intel-atom-d2d > _______________________________________________ > staf-users mailing list > staf-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/staf-users > > -- Best Regards, Cynthia Lee Ice Breaker China, Inc. Tel: 86-10-82800942-815 Fax: 86-10-82800941
<<ecblank.gif>>
<<graycol.gif>>
------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users