Apache Ignite Community,
Give the following:
Apache Ignite Version: 1.4
OS: Windows 8.1
JBoss ESB: 4.5
Apache Ignite .jars added to JBoss ESB 4.5:
ignite-core-1.4.0.jar
ignite-shmem-1.0.0.jar
ignite-indexing-1.4.0.jar
commons-codec-1.6.jar
lucene-core-3.5.0.jar
h2-1.3.175.jar
I am attempting to integrate Ignite with JBoss ESB (in single JVM). In
addition, I am doing this for the purpose of leverging Ignite's
DataGrid/Persistent Store functionality. When I start Ignite I encounter
the
following errors:
07:54:02,222 INFO [STDOUT] [07:54:02]
07:54:06,438 INFO [STDOUT] [07:54:06] Security status [authentication=off,
comm
unication encryption=off]
07:55:03,413 ERROR [STDERR] Oct 31, 2015 7:55:03 AM
org.apache.ignite.logger.jav
a.JavaLogger error
SEVERE: Got exception while starting (will rollback startup routine).
java.lang.NoSuchFieldError: serializeJavaObject
at
org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.start
(IgniteH2Indexing.java:1293)
at
org.apache.ignite.internal.processors.query.GridQueryProcessor.start(
GridQueryProcessor.java:134)
at
org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.j
ava:1501)
at
org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:879)
at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(Igni
tionEx.java:1617)
at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(Ignit
ionEx.java:1484)
at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:965)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:526)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:507)
Here is a code snipppet:
private void intializeCache()
{
// To start ignite with desired configuration uncomment the appropriate
line.
IgniteConfiguration cfg = new IgniteConfiguration();
org.apache.ignite.marshaller.optimized.OptimizedMarshaller
marshaller = new
org.apache.ignite.marshaller.optimized.OptimizedMarshaller();
marshaller.setRequireSerializable(false);
cfg.setPeerClassLoadingEnabled(true);
org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi spi = new
org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi();
TcpDiscoveryMulticastIpFinder finder = new
TcpDiscoveryMulticastIpFinder();
List addresses = new ArrayList();
addresses.add("127.0.0.1:47500..47509");
finder.setAddresses(addresses);
spi.setIpFinder(finder);
cfg.setDiscoverySpi(spi);
cfg.setMarshaller(marshaller);
// To start ignite with desired configuration uncomment the appropriate
line.
try {
ignite = Ignition.start(cfg);
}
catch (Exception e)
{
System.out.println(e);
}
}
I would appreciate any assistance addressing this issue. Thanks in advance!
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Apache-Ignite-Integraton-w-JBoss-tp1799.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.