Thanks for the hint! That log seems to be saying the experiment has
completed, but mvn clean install is hung. I wonder if I should be
using the 0.13 binary distribution. Has the API changed since then?
...
nitor.AiravataWorkflowNodeStatusUpdator - Updating workflow node status
for IDontNeedaNode_45178f88-6fe4-4aa7-b850-b9892c028a18:COMPLETED
2014-10-29 11:58:36,936 [pool-6-thread-1] INFO
org.apache.airavata.api.server.listener.AiravataExperimentStatusUpdator -
Updating the experiment status of experiment:
echoExperiment_ca564d17-8d7f-4d3d-821b-18735ac2ace4 to EXECUTING
2014-10-29 11:58:36,956 [pool-6-thread-1] INFO
org.apache.airavata.gfac.core.monitor.GfacInternalStatusUpdator - Gfac
internal state changed to: COMPLETED
2014-10-29 11:58:36,960 [pool-6-thread-1] INFO
org.apache.airavata.gfac.core.monitor.GfacInternalStatusUpdator -
Experiment Completed, So removing the ZK entry for the
experimentechoExperiment_ca564d17-8d7f-4d3d-821b-18735ac2ace4
2014-10-29 11:58:36,960 [pool-6-thread-1] INFO
org.apache.airavata.gfac.core.monitor.GfacInternalStatusUpdator -
Zookeeper experiment Path:
/gfac-experiments/gfac-node0/echoExperiment_ca564d17-8d7f-4d3d-821b-18735ac2ace4+IDontNeedaNode_0dfc2c7e-a99e-4520-af9e-74f1b1888566
On Wed, Oct 29, 2014 at 03:59:53PM -0400, Chathuri Wimalasena wrote:
Hi Kenneth,
You can go to
modules/integration-tests/target/apache-airavata-server-0.14-SNAPSHOT/bin/
and check airavata.log file. It will show you if something went wrong
while
executing the experiment.
Thanks.
Chathuri
On Wed, Oct 29, 2014 at 3:27 PM, K Yoshimoto <[email protected]> wrote:
Looks like my classpath has version 1.7.2, rather than 1.7.6.
I was trying a new git pull, mvn clean install to try to see
where I'm getting the bad path. My mvn clean install is hanging
trying to run an experiment. Is the big refactoring making things
unstable right now?
mvn clean install
...
[INFO] Running job in localhost
[INFO] ========================
[INFO] Adding applications...
[INFO] Creating experiment...
[INFO] Experiment Id returned :
echoExperiment_ca564d17-8d7f-4d3d-821b-18735ac2ace4
[INFO] Experiment launched successfully
[INFO] Monitoring job in localhost
[INFO] ===========================
[INFO] echoExperiment_ca564d17-8d7f-4d3d-821b-18735ac2ace4 : CREATED
[Wed
Oct 29 11:58:31 PDT 2014]
[INFO] echoExperiment_ca564d17-8d7f-4d3d-821b-18735ac2ace4 : LAUNCHED
[Wed
Oct 29 11:58:33 PDT 2014]
[INFO] echoExperiment_ca564d17-8d7f-4d3d-821b-18735ac2ace4 : EXECUTING
[Wed Oct 29 11:58:36 PDT 2014]
On Fri, Oct 24, 2014 at 09:46:59PM -0400, Shameera Rathnayaka wrote:
Hi Kenneth,
Check that slf4j-api-1.7.6.jar is in your class path? if not add it
to
the
class path, normally this should be added to class path when we run
"mvn
clean install"(download the jar) and "mvn eclipse:eclipse" (Added
jar to
the project classpath). not sure why that is not in classpath.
Yes, that warning can be ignored.
Thanks,
Shameera.
On Fri, Oct 24, 2014 at 7:07 PM, K Yoshimoto <[email protected]>
wrote:
Thanks for the hints, Shameera.
I'm not seeing red libraries or other errors in the run
configurations
or build path.
I'm seeing this error now:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/slf4j/LoggerFactory
at org.apache.airavata.xbaya.XBaya.<clinit>(XBaya.java:35)
Caused by: java.lang.ClassNotFoundException:
org.slf4j.LoggerFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native
Method)
at
java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
... 1 more
Could not find the main class: org.apache.airavata.xbaya.XBaya.
Program
will exit.
From mvn clean install, I do get this warning:
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed:
0.031
sec
Running org.apache.airavata.security.userstore.JDBCUserStoreTest
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/home/john/.m2/repository/org/slf4j/slf4j-log4j12/1.7.6/slf4j-log4j12-1.7.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/home/john/.m2/repository/org/slf4j/slf4j-simple/1.7.6/slf4j-simple-1.7.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for
an
explanation.
SLF4J: Actual binding is of type
[org.slf4j.impl.Log4jLoggerFactory]
log4j:WARN No appenders could be found for logger
(org.apache.airavata.security.util.PasswordDigester).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See
http://logging.apache.org/log4j/1.2/faq.html#noconfig
for
more info.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
57.169
sec
Running
org.apache.airavata.security.userstore.SessionDBUserStoreTest
Is the warning ignorable, or could this be causing a failure to
find
main?
Kenneth
On Thu, Oct 23, 2014 at 08:32:47PM -0400, Shameera Rathnayaka
wrote:
Hi Kenneth,
I am not much familiar with eclipse. But after googling the above
issue
found following will help you to resolve classpath issue.
1) Run Configurations
- Right click on your project
- then click "Run" -> "Run Configurations..."
- there check your settings for you project
- here look into you tab "Classpath" under "User Entries"
2) Project classpath
- Right click on your project -> "Properties" -> "Java Build
Path"
- now check the "Source" Tab as well as your "Libraries"
Tab
- Problems should be marked red in the "Libraries" tab
Thanks,
Shameera.
On Thu, Oct 23, 2014 at 5:45 PM, K Yoshimoto <[email protected]>
wrote:
I did
git pull
mvn clean install
mvn eclipse:clean
mvn eclipse:eclipse
I am getting an error when trying to run XBaya from Eclipse:
"The project: airavata-workflow-model-core which is referenced
by
the
classpath, does not exist."
Maybe I have some garbage left over in my config somewhere?
Or is
airavata-workflow-model-core supposed to be there?
I think mvn eclipse:eclipse worked:
...
[INFO]
[INFO] <<< maven-eclipse-plugin:2.9:eclipse (default-cli) @
airavata-xbaya-gui <<<
[INFO]
[INFO] --- maven-eclipse-plugin:2.9:eclipse (default-cli) @
airavata-xbaya-gui ---
[INFO] Using Eclipse Workspace: null
[INFO] Adding default classpath container:
org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] Wrote Eclipse project for "airavata-xbaya-gui" to
/media/scigap/scigap/javaclient/airavata/modules/xbaya-gui.
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Airavata ..........................................
SUCCESS
[1.564s]
[INFO] Airavata Configuration ............................
SUCCESS
[0.042s]
[INFO] Airavata Server Configuration .....................
SUCCESS
[0.065s]
[INFO] Airavata Client Configuration .....................
SUCCESS
[0.060s]
[INFO] Airavata API ......................................
SUCCESS
[0.086s]
[INFO] Airavata Data Models ..............................
SUCCESS
[0.488s]
[INFO] Airavata Generated Stubs Skeltons .................
SUCCESS
[0.211s]
[INFO] Airavata Model Utilities ..........................
SUCCESS
[0.157s]
[INFO] Airavata Commons ..................................
SUCCESS
[0.063s]
[INFO] Airavata Common Utilities .........................
SUCCESS
[2.065s]
[INFO] Airavata GFac Schema Utilities ....................
SUCCESS
[1.323s]
[INFO] Airavata Credential Store .........................
SUCCESS
[1.085s]
[INFO] Airavata Registry .................................
SUCCESS
[0.026s]
[INFO] Airavata Registry CPI .............................
SUCCESS
[0.353s]
[INFO] Airavata JPA Registry .............................
SUCCESS
[1.008s]
[INFO] Airavata Application Catalog ......................
SUCCESS
[0.063s]
[INFO] Airavata Application Catalog CPI ..................
SUCCESS
[0.532s]
[INFO] Airavata Application Catalog Data .................
SUCCESS
[0.544s]
[INFO] Airavata Workflow Execution Context ...............
SUCCESS
[0.598s]
[INFO] Airavata WS Messenger .............................
SUCCESS
[0.054s]
[INFO] Airavata Messenger Commons ........................
SUCCESS
[0.863s]
[INFO] Airavata Messenger Client .........................
SUCCESS
[0.690s]
[INFO] Airavata Workflow Tracking ........................
SUCCESS
[0.817s]
[INFO] Airavata Messaging Framework ......................
SUCCESS
[0.022s]
[INFO] Airavata Messaging Framework Core .................
SUCCESS
[0.365s]
[INFO] Airavata GFac .....................................
SUCCESS
[0.021s]
[INFO] Airavata GFac Core ................................
SUCCESS
[0.542s]
[INFO] Airavata Gfac Service .............................
SUCCESS
[0.705s]
[INFO] GSISSH Library ....................................
SUCCESS
[0.282s]
[INFO] Airavata GFac GSI-SSH implementation ..............
SUCCESS
[0.575s]
[INFO] Airavata GFac SSH implementation ..................
SUCCESS
[0.737s]
[INFO] Airavata GFac Grid Job Monitor ....................
SUCCESS
[2.168s]
[INFO] Airavata GFac Local implementation ................
SUCCESS
[1.005s]
[INFO] Airavata Orchestrator .............................
SUCCESS
[0.046s]
[INFO] Airavata Orchestrator Core ........................
SUCCESS
[1.460s]
[INFO] Airavata Orchestrator Service .....................
SUCCESS
[1.036s]
[INFO] Airavata Workflow Model Parent ....................
SUCCESS
[0.023s]
[INFO] Airavata Workflow Model Core ......................
SUCCESS
[0.469s]
[INFO] Airavata Workflow Component .......................
SUCCESS
[0.547s]
[INFO] Airavata WS Monitor ...............................
SUCCESS
[0.500s]
[INFO] Airavata GFac EC2 Implementation ..................
SUCCESS
[0.638s]
[INFO] Airavata Workflow Engine ..........................
SUCCESS
[0.770s]
[INFO] Airavata API Server ...............................
SUCCESS
[0.762s]
[INFO] Airavata Client SDKS ..............................
SUCCESS
[0.019s]
[INFO] Apache Airavata PHP SDK ...........................
SUCCESS
[0.023s]
[INFO] Airavata Client CPP SDK ...........................
SUCCESS
[0.045s]
[INFO] Airavata Client Samples ...........................
SUCCESS
[0.101s]
[INFO] Airavata Client ...................................
SUCCESS
[0.545s]
[INFO] Airavata GFac Hadoop implementation ...............
SUCCESS
[1.878s]
[INFO] Airavata GFac GRAM implementation .................
SUCCESS
[0.472s]
[INFO] Airavata GFac BES implementation ..................
SUCCESS
[1.400s]
[INFO] Airavata Security Implementation ..................
SUCCESS
[0.221s]
[INFO] Airavata Credential Store Service .................
SUCCESS
[0.018s]
[INFO] airavata-credential-store-webapp ..................
SUCCESS
[0.359s]
[INFO] Airavata Orchestrator Client SDK ..................
SUCCESS
[0.390s]
[INFO] Airavata Tools ....................................
SUCCESS
[0.020s]
[INFO] registry-tool .....................................
SUCCESS
[0.052s]
[INFO] Airavata Standalone Server ........................
SUCCESS
[0.493s]
[INFO] Airavata Test Suite ...............................
SUCCESS
[0.576s]
[INFO] distribution ......................................
SUCCESS
[0.044s]
[INFO] Airavata server distribution ......................
SUCCESS
[1.686s]
[INFO] Airavata Client Distribution Parent ...............
SUCCESS
[0.022s]
[INFO] Airavata Client Java Distribution .................
SUCCESS
[0.522s]
[INFO] Airavata release artifacts ........................
SUCCESS
[0.035s]
[INFO] Airavata Integration Tests ........................
SUCCESS
[0.695s]
[INFO] Airavata XBaya ....................................
SUCCESS
[0.680s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 38.665s
[INFO] Finished at: Thu Oct 23 14:20:59 PDT 2014
[INFO] Final Memory: 45M/273M
[INFO]
------------------------------------------------------------------------
On Thu, Oct 23, 2014 at 01:26:57PM -0700, K Yoshimoto wrote:
Shameera,
Thanks for the info. I did not do the mvn eclipse:eclipse.
I'll update my repo, then do mvn eclipse:eclipse and
delete/load
XBaya. I'll update if it works or if I run into something
else.
Kenneth
On Thu, Oct 23, 2014 at 04:13:34PM -0400, Shameera Rathnayaka
wrote:
Hi Yoshimoto,
I just try to build the latest trunk and i don't see any
compilation
error.
To narrow down the issue, I have few questions for you.
1. are you working on latest trunk or previous released
version?
if it
is
trunk make sure you have latest revision. if it is previous
version,
which
version you are using?
2. Could you able to build the source code using "mvn clean
install"
without any issue?
3. Did you run mvn eclispse:eclipse command before you
open the
project
from eclipse?
According to the error stack it seems eclipse project
doesn't
has
all
required jar in class path."mvn eclipse:eclipse" will solve
this
issue
but
to effect the changes, delete the airavata eclipse project
and
reopen
the
source code as new project, in other ward reload the
eclipse
project.
Now
try to run the XBaya class.
I am waiting for you answers to my above questions, please
let
me
know
if
you hit any issue down the path.
Thanks,
Shameera.
On Thu, Oct 23, 2014 at 3:46 PM, K Yoshimoto <
[email protected]
wrote:
Hi,
I am trying to start up the XBaya GUI from Eclipse, but
get
an error about missing type ErrorWindow. Has anyone seen
this?
Where is ErrorWindow supposed to come from?
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/media/scigap/scigap/javaclient/airavata/modules/credential-store-service/credential-store-webapp/target/credential-store/WEB-INF/lib/slf4j-log4j12-1.7.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/media/scigap/scigap/javaclient/airavata/modules/credential-store-service/credential-store-webapp/target/credential-store/WEB-INF/lib/slf4j-simple-1.7.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/media/scigap/scigap/javaclient/airavata/modules/integration-tests/target/apache-airavata-server-0.14-SNAPSHOT/lib/slf4j-log4j12-1.7.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/media/scigap/scigap/javaclient/airavata/modules/workflow-model/workflow-engine/target/jnlp/lib/slf4j-log4j12-1.7.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See
http://www.slf4j.org/codes.html#multiple_bindings
for an
explanation.
SLF4J: Actual binding is of type
[org.slf4j.impl.Log4jLoggerFactory]
Exception in thread "main" java.lang.Error: Unresolved
compilation
problems:
The method getErrorWindow() from the type
XBayaGUI
refers to
the
missing type ErrorWindow
The method getErrorWindow() from the type
XBayaGUI
refers to
the
missing type ErrorWindow
at
org.apache.airavata.xbaya.XBaya.<init>(XBaya.java:56)
at
org.apache.airavata.xbaya.XBaya.main(XBaya.java:270)
Thanks,
Kenneth
On Thu, Oct 16, 2014 at 08:19:36AM -0400, ishara
premadasa
wrote:
Hi Kenneth,
I have attached a sample guide on how to run a simple
workflow
with
Airavata in the thread 'Unable to start Airavata after
the
source
build'
.
I think you can refer to that till the Quickstart
tutorials are
officially
online.
In order to answer you question, the XBaya GUI binary
distribution
is not
yet present in the trunk. Therefore at present XBaya
GUI
can't
be
started
by extracting XBaya GUI archive. Instead the GUI
client is
started
by
directly running org.apache.airavata.xbaya.XBaya class
through
an
IDE.
Hope this helps.
Thanks!
Ishara
On Wed, Oct 15, 2014 at 4:03 PM, K Yoshimoto <
[email protected]
wrote:
Thanks, Suresh. I'll keep an eye on the dev list to
see
when
things are more up-to-date. If you notice things are
ready,
could you ping me also?
Kenneth
On Wed, Oct 15, 2014 at 03:56:46PM -0400, Suresh
Marru
wrote:
Hi Kenneth,
Sorry the tutorials are out of date and we are
trying
to
fix
them
with
the 0.14 release.
Shameera is close to bring these tutorials back
online,
some
discussion
here - http://markmail.org/thread/6dtvhd7posjosnvv
Suresh
On Oct 15, 2014, at 3:34 PM, K Yoshimoto <
[email protected]
wrote:
I'm playing with airavata 0.14. I am going
through
some
of
the
quickstart tutorials:
http://airavata.apache.org/documentation/quickstart-tutorials.html
I'm at the step of firing up xbaya-gui, but I'm
not
seeing
an obvious release distribution for it. Is it
somewhere
else in the tree? I was looking in
release-artifacts,
but
only see:
release-artifacts$ ls
apache-airavata-client-cpp-sdk-0.14-SNAPSHOT-bin.tar.gz
apache-airavata-client-cpp-sdk-0.14-SNAPSHOT-bin.zip
apache-airavata-client-java-sdk-0.14-SNAPSHOT-bin.tar.gz
apache-airavata-client-java-sdk-0.14-SNAPSHOT-bin.zip
apache-airavata-client-php-sdk-0.14-SNAPSHOT-bin.tar.gz
apache-airavata-client-php-sdk-0.14-SNAPSHOT-bin.zip
apache-airavata-server-0.14-SNAPSHOT-bin.tar.gz
apache-airavata-server-0.14-SNAPSHOT-bin.zip
Should I look someplace else? Did I miss a build
step?
Kenneth
--
*Best Regards.*
*Ishara Premadasa,*
http://isharapremadasa.blogspot.com
--
Best Regards,
Shameera Rathnayaka.
email: shameera AT apache.org , shameerainfo AT gmail.com
Blog : http://shameerarathnayaka.blogspot.com/
--
Best Regards,
Shameera Rathnayaka.
email: shameera AT apache.org , shameerainfo AT gmail.com
Blog : http://shameerarathnayaka.blogspot.com/
--
Best Regards,
Shameera Rathnayaka.
email: shameera AT apache.org , shameerainfo AT gmail.com
Blog : http://shameerarathnayaka.blogspot.com/