I am facing an issue Must submit topologies using the \'storm\' client script so that StormSubmitter knows which jar to upload while submitting a topology to a
Well found the solution. When we ran "storm jar" it trigger a property flag for storm.jar in the submitted jar. So if we want to programmatically submit a jar then simply set the flag this way
System.setProperty("storm.jar",
For example:
System.setProperty("storm.jar", "/Users/programming/apache-storm-1.0.1/lib/storm-core-1.0.1.jar");
StormSubmitter.submitTopology("myTopology", config, builder.createTopology());