[kepler-dev] [Bug 5397] New: "./kepler.sh -runwf -nogui workflow.xml" doestn't work in Kepler 2.2 branch if the user is logged out on Mac
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Wed May 11 11:35:44 PDT 2011
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5397
Summary: "./kepler.sh -runwf -nogui workflow.xml" doestn't work
in Kepler 2.2 branch if the user is logged out on Mac
Product: Kepler
Version: 2.1.0
Platform: Other
OS/Version: MacOS X 10.6.x
Status: NEW
Severity: normal
Priority: P2
Component: build system
AssignedTo: david.v.welker at gmail.com
ReportedBy: jianwu at sdsc.edu
QAContact: kepler-dev at kepler-project.org
Estimated Hours: 0.0
I has the same error with or without "-nocache" option. The error is the same
when I tried on two iMacs where I'm admin on one iMac and normal user on
another iMac. It works only if I login to iMac and run the same command from
anther machine through ssh. I didn't try kepler 2.2 installer, but I bet the
error will be the same.
The reason is probably a kepler window will be popped up and disappear when I
run the command on local machine. But if the user is logged out, this window
can not be popped up.
The error is from org.kepler.osx.KeplerOSXExtension.addOSExtensions class, so
it should be only mac specific.
To reproduce the error:
1) ssh to another mac machine
2) check out kepler 2.2 branch
3) compile and create kepler.sh file.
4) rm -rf ~/.kepler/
5) run a sample workflow which do not have display related actors.
Error info:
workflow:kepler-branch-2.2 jianwu$ ./kepler.sh -runwf -nogui
/Users/jianwu/Kepler/repository/workflows/04-HelloWorld-NoGUI.xml
DEBUG: suiteName: kepler-2.2
JVM Memory = 5m 512m
setting dock icon to
-Xdock:icon=/Users/jianwu/Kepler/repository/kepler/kepler-branch-2.2/common-2.2/resources/icons/kepler-dock-icon.png
Set environment variable: PATH =
/sw/bin:/sw/sbin:/opt/subversion/bin:/Applications/MATLAB64/MATLAB_R2010a/MATLAB_R2010a.app/bin:/Users/jianwu/Projects/hadoop/hadoop-0.21.0/bin:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin:/Users/jianwu/tools/netCDF/bin:/Users/jianwu/tools/netCDF/include:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/jianwu/Projects/EC2-Client/ec2-api-tools-1.3-62308/bin:/usr/X11R6/bin:/Users/jianwu/Kepler/repository/kepler/kepler-branch-2.2/r-2.2/lib:/Users/jianwu/Kepler/repository/kepler/kepler-branch-2.2/common-2.2/lib/ptolemy/matlab:/Users/jianwu/Kepler/repository/kepler/kepler-branch-2.2/common-2.2/lib
Set environment variable: R_HOME = /Library/Frameworks/R.framework/Resources
[null] not loading property karHandler because it was added from an
inactive module.
[null] not loading property karHandler because it was added from an
inactive module.
[null] not loading property karHandler because it was added from an
inactive module.
[null] Checking for patches...
[null] Found OS Extension file:
/Users/jianwu/Kepler/repository/kepler/kepler-branch-2.2/apple-extensions-2.1/module-info/osextension.txt
[null] Wed May 11 11:25:35 workflow.sdsc.edu java[33084] <Error>:
kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they
are logged.
[null] Exception in thread "main" java.lang.InternalError: Can't connect
to window server - not enough permissions.
[null] at java.lang.ClassLoader$NativeLibrary.load(Native Method)
[null] at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1823)
[null] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1720)
[null] at java.lang.Runtime.loadLibrary0(Runtime.java:823)
[null] at java.lang.System.loadLibrary(System.java:1045)
[null] at
sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
[null] at java.security.AccessController.doPrivileged(Native Method)
[null] at com.apple.eawt.Application.<clinit>(Application.java:38)
[null] at
org.kepler.osx.KeplerOSXExtension.addOSExtensions(KeplerOSXExtension.java:46)
[null] at org.kepler.Kepler.main(Kepler.java:176)
Exception in thread "main" Java returned: 1
at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:106)
at org.kepler.build.runner.Kepler.main(Kepler.java:92)
Caused by: Java returned: 1
at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:106)
at org.kepler.build.runner.Kepler.run(Kepler.java:200)
at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:102)
... 1 more
Caused by: Java returned: 1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
at org.kepler.build.Run.runSuite(Run.java:309)
at org.kepler.build.Run.run(Run.java:213)
at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:102)
... 3 more
--- Nested Exception ---
Java returned: 1
at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:106)
at org.kepler.build.runner.Kepler.run(Kepler.java:200)
at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:102)
at org.kepler.build.runner.Kepler.main(Kepler.java:92)
Caused by: Java returned: 1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
at org.kepler.build.Run.runSuite(Run.java:309)
at org.kepler.build.Run.run(Run.java:213)
at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:102)
... 3 more
--- Nested Exception ---
Java returned: 1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
at org.kepler.build.Run.runSuite(Run.java:309)
at org.kepler.build.Run.run(Run.java:213)
at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:102)
at org.kepler.build.runner.Kepler.run(Kepler.java:200)
at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:102)
at org.kepler.build.runner.Kepler.main(Kepler.java:92)
--
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Kepler-dev
mailing list