storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruslan Khafizov <>
Subject Issues running starter WordCountTopology with ant-javafx.jar in class path
Date Tue, 03 Feb 2015 14:01:46 GMT
Hi All,

I have an issue with running storm-starter WordCountTopology from
IntelliJ on LocalCluster.

IntelliJ adds all jvm jars to start line and this breaks WordCountTopology.
I copied start line IntelliJ produces to run WCT from command line. I
removed all jvm jars and

java -classpath "./target/classes:$STORM_DEPS" storm.starter.WordCountTopology

works fine. But if I add $JAVA_HOME/lib/ant-javafx.jar to the class path

java -classpath
fails with
python: can't open file '': [Errno 2] No such file or directory

I set up a breakpoint at ShellProcess line 53

And listed files in directory TopologyContext provides - there are
only some javafx related files but no It looks like
somehow ant-javafx.jar interferes with resource distribution in local

Can be also reproduced using mvn launcher

mvn compile exec:exec -Dstorm.topology=storm.starter.WordCountTopology

javafx dependency needs to be added to the pom.xml and argument config
for exec:exec



Reproduced with Java 7 on OSX and Linux.

Can please anyone confirm this is an issue or it's just my local problems.


View raw message