Dear all,
i searched a number of topics here. but still don't know how to start and
use ignite (in client mode) from Tomcat.... you know, I launched the
standalone ignite as server node.
my code in tomcat web app like this:"
this.ignite =
Ignition.start(ClientConfigurationFactory.createConfiguration());
Class.forName("org.apache.ignite.IgniteJdbcDriver");
this.conn = DriverManager
.getConnection("jdbc:ignite:cfg://cache=b2c_accCache@file:///Users/i306576/Documents/ignite/apache-ignite-fabric-1.5.0.final-bin/examples/config/ignite-jdbc.xml");
this.cartCacher = new CartCacher();
this.ic = ignite.cache("b2c_accCache");
"
the console log show some error mes I don't understand..."
Caused by: class org.apache.ignite.IgniteCheckedException: Ignite instance
with this name has already been started: b2c_acc
"
:-( the thing is.... this kind of client mode is ok without Tomcat...
please help~~
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/How-to-start-and-use-ignite-in-Tomcat-tp4776.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.