You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by rizal123 <kh...@btpn.com> on 2018/01/19 17:52:18 UTC

CacheWriterException: Failed to write entry to database

Hi,

Some one please help me.
It takes my time to figured this out. 

I got this error.
It is happen when insert/update/delete operation. 

ignite-4c6985f2.log
<http://apache-ignite-users.70518.x6.nabble.com/file/t1530/ignite-4c6985f2.log>  

Here is my cluster configuration:
IgniteConfiguration cfg = new IgniteConfiguration();

		cfg.setIgniteInstanceName("BrandCluster");
		cfg.setClientMode(false);
		
		TcpDiscoveryVmIpFinder ipFinder = new TcpDiscoveryVmIpFinder();
		ipFinder.setAddresses(Arrays.asList("127.0.0.1:47500..47509")); 
		
		TcpDiscoverySpi discovery = new TcpDiscoverySpi();
		discovery.setLocalAddress("127.0.0.1");
		discovery.setLocalPort(47500);
		discovery.setIpFinder(ipFinder);
		cfg.setDiscoverySpi(discovery);

And here is my server configuration:
ServerConfigurationFactory.java
<http://apache-ignite-users.70518.x6.nabble.com/file/t1530/ServerConfigurationFactory.java>  





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: CacheWriterException: Failed to write entry to database

Posted by vkulichenko <va...@gmail.com>.
You should check the trace for the root cause, it will likely give your more
pointers. Generally, this error just means that the cache store was not able
to update your underlying database. Obviously, there are a lot of possible
reasons for that.

-Val



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: CacheWriterException: Failed to write entry to database

Posted by "ilya.kasnacheev" <il...@gmail.com>.
Hello.

It seems that your Oracle data source is not configured properly:

Caused by: java.sql.SQLException: Invalid Oracle URL specified:
OracleDataSource.makeURL

Unfortunately you did not include that part of source so I can't say
anything more.

Regards,



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/