incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Natacha Crooks <ns...@cam.ac.uk>
Subject Deploying new App
Date Thu, 12 Jul 2012 11:01:41 GMT
Hi everyone, I have just started using S4, and am struggling with deploying
my new app.

I get the following message:

11:57:43.794 [main] INFO  org.apache.s4.core.Main - Starting S4 node. This
node will automatically download applications published for the cluster it
belongs to
11:59:47.293 [ZkClient-EventThread-13-localhost:2181] INFO
 o.a.s.d.DistributedDeploymentManager - Detected new application(s) to
deploy {}[noNacl]
11:59:47.388 [ZkClient-EventThread-13-localhost:2181] INFO
 org.apache.s4.core.Server - Local app deployment: using s4r file name
[noNacl] as application name
11:59:48.045 [ZkClient-EventThread-13-localhost:2181] INFO
 org.apache.s4.core.Server - App class name is:
11:59:48.049 [ZkClient-EventThread-13-localhost:2181] ERROR
org.apache.s4.core.Server - Could not load s4 application form s4r file
[{/tmp/deploy-test/cluster1/noNacl.s4r}]
java.lang.ClassNotFoundException: null
at
org.apache.s4.base.util.MultiClassLoader.loadClass(MultiClassLoader.java:71)
~[s4-base-0.5.0-SNAPSHOT.jar:0.5.0-SNAPSHOT]
at
org.apache.s4.base.util.MultiClassLoader.loadClass(MultiClassLoader.java:43)
~[s4-base-0.5.0-SNAPSHOT.jar:0.5.0-SNAPSHOT]


This is after having run ./s4 s4r -a=N=imp.s4.example.simple.noNaCl.NaClApp
-b=`pwd`/test-apps/noNaclSimple/build.gradle noNaClsimple (which builds
successfully), and when running ./s4 deploy
-s4r=`pwd`/test-apps/noNaclSimple/build/libs/noNaclSimple-0.0.0-SNAPSHOT.s4r
-c=cluster1 -appName=noNacl.

Thanks a lot for the help.
Regards

-- 
Natacha Crooks
St John's College, Cambridge

Mime
View raw message