Hi, What version of Ignite do you use? It started to work with jar files only since version 2.8: https://issues.apache.org/jira/browse/IGNITE-11380. When it reads file, it prints message to the log:
Found new or updated deployment unit Do you have it in your logs? Yes, you don't need to restart the cluster in this case, just undeploy the service, update the jar file and deploy the service again. Best Regards, Evgenii чт, 4 июн. 2020 г. в 05:49, [email protected] < [email protected]>: > Hi Expert, > > I am trying the UriDeployment, the xml setting is, > <property name="deploymentSpi"> > <bean > class="org.apache.ignite.spi.deployment.uri.UriDeploymentSpi"> > <property name="uriList"> > <list> > > <value>file:///home/myProjects/price-processor-ignite/target/</value> > </list> > </property> > <property name="temporaryDirectoryPath" > value="/home/myProjects/deployment/"/> > </bean> > </property> > > When ignite startup, I can find the something generated in the deployment > folder, but when I try to launch the client to execute methods in my jar, > but it shows class not found, I am not sure if something I missed. > > And btw, if we redeploy the jar into the ./target, we cancel/start the > service in the jar, ignite will reload the new jar, right? If so, I no need > to restart the ignite instance. > > Thanks again. > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >
