Hi ,

I am trying to integrate  apache Ignite as the L2 Cache for apache isis. I have 
added Apache ignite JDBC connection to the persistor.properties in isis.

When I am trying to compile my webapp I am getting ignite logger exception, 
along with exception that says validate datasource connection details of ignite 
and username and password which I have given in persistor.properties

Can ISIS be integrated with Ignite as the L2 Cache with a persistent database 
under Ignite, I can not able to find much documentation which talks about 
ignite configuration with isis ?

While compiling the simple module to work with Ignite I get logger error form 
Ignite I am not sure if I should consult Ignite or Isis experts. I am getting 
the stack trace in [1] I have gone through forum for ignite and added 
ignite-log4j and ignite-core still I get ClassNotFound somehow the webapp is 
not able to find the jar in runtime.

While the later exception is [2]

The properties that I have listed in persistor.properties file are  

isis.persistor.datanucleus.impl.javax.jdo.option.ConnectionDriverName=org.apache.ignite.IgniteJdbcThinDriver
isis.persistor.datanucleus.impl.javax.jdo.option.ConnectionURL=jdbc:ignite:thin://localhost:10800
isis.persistor.datanucleus.impl.javax.jdo.option.ConnectionUserName=
isis.persistor.datanucleus.impl.javax.jdo.option.ConnectionPassword=


[ 1]
5:53:35,153  [PersistenceSessionFactory main       INFO ]  did *not* find 
config properties to use JNDI datasource; will use JDBC
Can't load log handler "org.apache.ignite.logger.java.JavaLoggerFileHandler"
java.lang.ClassNotFoundException: 
org.apache.ignite.logger.java.JavaLoggerFileHandler
java.lang.ClassNotFoundException: 
org.apache.ignite.logger.java.JavaLoggerFileHandler
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at java.util.logging.LogManager$5.run(LogManager.java:965)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:958)
        at 
java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java:1578)
        at java.util.logging.LogManager.access$1500(LogManager.java:145)
        at 
java.util.logging.LogManager$RootLogger.accessCheckedHandlers(LogManager.java:1667)
        at java.util.logging.Logger.getHandlers(Logger.java:1777)
        at 
org.apache.ignite.logger.java.JavaLogger.findHandler(JavaLogger.java:399)
        at 
org.apache.ignite.logger.java.JavaLogger.configure(JavaLogger.java:229)
        at org.apache.ignite.logger.java.JavaLogger.<init>(JavaLogger.java:170)
        at org.apache.ignite.logger.java.JavaLogger.<init>(JavaLogger.java:126)
        at 
org.apache.ignite.IgniteJdbcDriver.<clinit>(IgniteJdbcDriver.java:369)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)

[2]
Error in custom provider, javax.jdo.JDOFatalUserException: Failed initialising 
database. Please check that your database JDBC driver is accessible, and the 
database URL a
nd username/password are correct. Exception : null
java.lang.NullPointerException
        at 
org.datanucleus.store.rdbms.ConnectionFactoryImpl$ManagedConnectionImpl.release(ConnectionFactoryImpl.java:320)
        at 
org.datanucleus.store.rdbms.RDBMSStoreManager.<init>(RDBMSStoreManager.java:398)
        at sun.reflect.NativeConstructorAccessorImpl.newInstanc

Any pointers will be greatly appreciated.

Regards
Nikhil

Reply via email to