Re: Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-08-09 Thread Ankit Singhai
Thanks using latest Java 7 resolves the issue.



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Caused-by-org-h2-jdbc-JdbcSQLException-General-error-java-lang-IllegalMonitorStateException-Attemptet-tp15684p16078.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-08-09 Thread Ankit Singhai
Thanks using latest Java 7 resolves the issue.



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Caused-by-org-h2-jdbc-JdbcSQLException-General-error-java-lang-IllegalMonitorStateException-Attemptet-tp15684p16077.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-08-08 Thread Neelesh
java 1.7.0_67 definitely has this issue with ignite 1.9, 2.0 and 2.1. We do
not see this issue with java 8

On Tue, Aug 8, 2017 at 6:56 AM, Evgenii Zhuravlev 
wrote:

> I tried your code with java 1.7.0_80-b15 and everything works fine.
>
> Also, check that you use right config file - you provided a file with name
> ignite-config.xml.xml, but in the code, you use ignite-config-login.xml.
>
> Evgenii
>
> 2017-08-08 16:44 GMT+03:00 Evgenii Zhuravlev :
>
>> Yes, It's possible to check the last update of java 1.7
>>
>> Evgenii
>>
>> 2017-08-08 16:42 GMT+03:00 Ankit Singhai :
>>
>>> Even disabling TLS/SSL doesn't have any effect. Moving to Java 1.8 is
>>> not an
>>> option as we have other dependencies which are incompatible with 1.8.
>>>
>>> Any other suggestion?
>>>
>>> Regards,
>>> Ankit Singhai
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context: http://apache-ignite-users.705
>>> 18.x6.nabble.com/Caused-by-org-h2-jdbc-JdbcSQLException-Gene
>>> ral-error-java-lang-IllegalMonitorStateException-Attemptet-t
>>> p15684p16054.html
>>> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>>>
>>
>>
>


Re: Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-08-08 Thread Evgenii Zhuravlev
I tried your code with java 1.7.0_80-b15 and everything works fine.

Also, check that you use right config file - you provided a file with name
ignite-config.xml.xml, but in the code, you use ignite-config-login.xml.

Evgenii

2017-08-08 16:44 GMT+03:00 Evgenii Zhuravlev :

> Yes, It's possible to check the last update of java 1.7
>
> Evgenii
>
> 2017-08-08 16:42 GMT+03:00 Ankit Singhai :
>
>> Even disabling TLS/SSL doesn't have any effect. Moving to Java 1.8 is not
>> an
>> option as we have other dependencies which are incompatible with 1.8.
>>
>> Any other suggestion?
>>
>> Regards,
>> Ankit Singhai
>>
>>
>>
>>
>> --
>> View this message in context: http://apache-ignite-users.705
>> 18.x6.nabble.com/Caused-by-org-h2-jdbc-JdbcSQLException-Gene
>> ral-error-java-lang-IllegalMonitorStateException-Attemptet-
>> tp15684p16054.html
>> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>>
>
>


Re: Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-08-08 Thread Ankit Singhai
Even disabling TLS/SSL doesn't have any effect. Moving to Java 1.8 is not an
option as we have other dependencies which are incompatible with 1.8.

Any other suggestion?

Regards,
Ankit Singhai




--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Caused-by-org-h2-jdbc-JdbcSQLException-General-error-java-lang-IllegalMonitorStateException-Attemptet-tp15684p16054.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-08-08 Thread Evgenii Zhuravlev
I would suggest updating to the last version of java and check if it will
work. I can't reproduce same behavior with your code, but I use java
1.8.0_121-b13.

Please share results after updating.

Evgenii

2017-08-08 15:28 GMT+03:00 Ankit Singhai :

> PFA log. No luck even by setting the flag for IPV4 = true.
> ignite-de5180fb.zip
>  n16050/ignite-de5180fb.zip>
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Caused-by-org-h2-jdbc-JdbcSQLException-
> General-error-java-lang-IllegalMonitorStateException-
> Attemptet-tp15684p16050.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>


Re: Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-08-08 Thread ezhuravlev
Hi,
I tried to run your code on Linux, but everything works fine for me. One
thing - I don't see SSL configuration in your config files, while your log
contains information that SSL was enabled. Is the same behavior reproducible
without SSL?

Also, I see that you use both ipv4 and ipv6, possibly it could lead to the
problem that was shown in the log - when a client was unable to connect to
the server at the first time. Try to run all nodes with
-Djava.net.preferIPv4Stack=true property.






--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Caused-by-org-h2-jdbc-JdbcSQLException-General-error-java-lang-IllegalMonitorStateException-Attemptet-tp15684p16046.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-08-06 Thread Ankit Singhai
Hi Folks,
Did anyone facing this issue? Can you please look into it?

Regards,
Ankit Singhai



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Caused-by-org-h2-jdbc-JdbcSQLException-General-error-java-lang-IllegalMonitorStateException-Attemptet-tp15684p16023.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-08-03 Thread Ankit Singhai
Hi Alex,
Did you get an chance to look at it ?

Regards,
Ankit Singhai



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Caused-by-org-h2-jdbc-JdbcSQLException-General-error-java-lang-IllegalMonitorStateException-Attemptet-tp15684p15984.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-08-01 Thread afedotov
Hi Ankit,

Sorry I was busy a bit lately. I'll proceed with the investigation and give
you an update.

Kind regards,
Alex.

On Tue, Aug 1, 2017 at 5:31 PM, Ankit Singhai [via Apache Ignite Users] <
ml+s70518n15860...@n6.nabble.com> wrote:

> Please check folks
>
> On 31-Jul-2017 13:33, "Ankit Singhai [via Apache Ignite Users]" <[hidden
> email] > wrote:
>
>> Hi Alex / Folks,
>> PFA zip containing:-
>> 1. Server log
>> 2. Grid Config
>> 3. Java class to initialise all caches
>> 4. Cache CoException_In_Ignite.zip
>> nfig
>>
>> 5. Few POJOs
>>
>> Please try to replicate at your end and we are stuck at this issue.
>>
>> Regards,
>> Ankit Singhai
>>
>> --
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://apache-ignite-users.70518.x6.nabble.com/Caused-by-org
>> -h2-jdbc-JdbcSQLException-General-error-java-lang-IllegalMon
>> itorStateException-Attemptet-tp15684p15810.html
>> To start a new topic under Apache Ignite Users, email [hidden email]
>> 
>> To unsubscribe from Apache Ignite Users, click here.
>> NAML
>> 
>>
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-ignite-users.70518.x6.nabble.com/Caused-by-
> org-h2-jdbc-JdbcSQLException-General-error-java-lang-
> IllegalMonitorStateException-Attemptet-tp15684p15860.html
> To start a new topic under Apache Ignite Users, email
> ml+s70518n1...@n6.nabble.com
> To unsubscribe from Apache Ignite Users, click here
> 
> .
> NAML
> 
>




--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Caused-by-org-h2-jdbc-JdbcSQLException-General-error-java-lang-IllegalMonitorStateException-Attemptet-tp15684p15864.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-08-01 Thread Ankit Singhai
Please check folks

On 31-Jul-2017 13:33, "Ankit Singhai [via Apache Ignite Users]" <
ml+s70518n1581...@n6.nabble.com> wrote:

> Hi Alex / Folks,
> PFA zip containing:-
> 1. Server log
> 2. Grid Config
> 3. Java class to initialise all caches
> 4. Cache CoException_In_Ignite.zip
> nfig
>
> 5. Few POJOs
>
> Please try to replicate at your end and we are stuck at this issue.
>
> Regards,
> Ankit Singhai
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-ignite-users.70518.x6.nabble.com/Caused-by-
> org-h2-jdbc-JdbcSQLException-General-error-java-lang-
> IllegalMonitorStateException-Attemptet-tp15684p15810.html
> To start a new topic under Apache Ignite Users, email
> ml+s70518n1...@n6.nabble.com
> To unsubscribe from Apache Ignite Users, click here
> 
> .
> NAML
> 
>




--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Caused-by-org-h2-jdbc-JdbcSQLException-General-error-java-lang-IllegalMonitorStateException-Attemptet-tp15684p15860.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-07-28 Thread Ankit Singhai
Hi Alex,
Today I tried the same use-case with Apache Ignite 2.1.0. I am getting the
same error, attaching the log.
Waiting for your analysis. ignite-c8506efe.zip

  

Regards,
Ankit Singhai



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Caused-by-org-h2-jdbc-JdbcSQLException-General-error-java-lang-IllegalMonitorStateException-Attemptet-tp15684p15758.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-07-27 Thread afedotov
Ankit thanks for the info.
I'll try to reproduce it on my side and get back to you.

Kind regards,
Alex.

On Thu, Jul 27, 2017 at 10:05 AM, Ankit Singhai [via Apache Ignite Users] <
ml+s70518n15716...@n6.nabble.com> wrote:

> Hi Alex,
> Yes it is reproducible every time.
> Linux Version:-
> Linux 3.10.0-514.26.1.el7.x86_64 #1 SMP Wed Jun 28 20:34:34 UTC 2017
> x86_64 x86_64 x86_64 GNU/Linux
>
> Java Version:-
> java version "1.7.0_45"
> Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
> Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
>
> I have already posted grid & cache config xmls. POJO is also available
> please use that.
>
> Regards,
> Ankit Singhai
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-ignite-users.70518.x6.nabble.com/Caused-by-
> org-h2-jdbc-JdbcSQLException-General-error-java-lang-
> IllegalMonitorStateException-Attemptet-tp15684p15716.html
> To start a new topic under Apache Ignite Users, email
> ml+s70518n1...@n6.nabble.com
> To unsubscribe from Apache Ignite Users, click here
> 
> .
> NAML
> 
>




--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Caused-by-org-h2-jdbc-JdbcSQLException-General-error-java-lang-IllegalMonitorStateException-Attemptet-tp15684p15719.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-07-27 Thread Ankit Singhai
Hi Alex,
Yes it is reproducible every time.
Linux Version:-
Linux 3.10.0-514.26.1.el7.x86_64 #1 SMP Wed Jun 28 20:34:34 UTC 2017 x86_64
x86_64 x86_64 GNU/Linux

Java Version:-
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

I have already posted grid & cache config xmls. POJO is also available
please use that.

Regards,
Ankit Singhai



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Caused-by-org-h2-jdbc-JdbcSQLException-General-error-java-lang-IllegalMonitorStateException-Attemptet-tp15684p15716.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-07-26 Thread afedotov
Hi Ankit,

Is the issue reproducible on every run or intermittent?
What are the OS and JDK versions in each environment?
Please share full logs.
As well, could you please share a Maven/Gradle based reproducer?

Kind regards,
Alex

27 июля 2017 г. 8:09 AM пользователь "Ankit Singhai [via Apache Ignite
Users]"  написал:

Hi Folks,
Any help on the above issue.

Regards,
Ankit Singhai

--
If you reply to this email, your message will be added to the discussion
below:
http://apache-ignite-users.70518.x6.nabble.com/Caused-by-org
-h2-jdbc-JdbcSQLException-General-error-java-lang-IllegalMon
itorStateException-Attemptet-tp15684p15714.html
To start a new topic under Apache Ignite Users, email
ml+s70518n1...@n6.nabble.com
To unsubscribe from Apache Ignite Users, click here

.
NAML





--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Caused-by-org-h2-jdbc-JdbcSQLException-General-error-java-lang-IllegalMonitorStateException-Attemptet-tp15684p15715.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-07-26 Thread Ankit Singhai
Hi Folks,
Any help on the above issue.

Regards,
Ankit Singhai



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Caused-by-org-h2-jdbc-JdbcSQLException-General-error-java-lang-IllegalMonitorStateException-Attemptet-tp15684p15714.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-07-26 Thread Ankit Singhai
Hi All,
I am trying to create an searchable cache where in Linux environment I am
getting the below exception everytime but not getting it in my Windows
laptop.

org.apache.ignite.IgniteCheckedException: Failed to register query type:
QueryTypeDescriptorImpl [space=loginServiceTokenCacheIgnite,
name=TokenSessionDetails, tblName=null, fields={globalSessionId=class
java.lang.String, serviceSessionId=class java.lang.String, serviceId=class
java.lang.String, bindingKey=class java.lang.String, tokenScope=class
java.lang.Object}, idxs={}, fullTextIdx=null, keyCls=class java.lang.String,
valCls=class java.lang.Object, keyTypeName=java.lang.String,
valTypeName=com.pg.loginservice.tokenmanagement.data.TokenSessionDetails,
valTextIdx=false, typeId=0, affKey=null, keyFieldName=null,
valFieldName=null, obsolete=false]
at
org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.registerType(IgniteH2Indexing.java:1866)
~[ignite-indexing-2.0.0.jar:2.0.0]
at
org.apache.ignite.internal.processors.query.GridQueryProcessor.registerCache0(GridQueryProcessor.java:1306)
~[ignite-core-2.0.0.jar:2.0.0]
at
org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart0(GridQueryProcessor.java:756)
~[ignite-core-2.0.0.jar:2.0.0]
at
org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart(GridQueryProcessor.java:817)
~[ignite-core-2.0.0.jar:2.0.0]
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.startCache(GridCacheProcessor.java:1265)
~[ignite-core-2.0.0.jar:2.0.0]
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1943)
~[ignite-core-2.0.0.jar:2.0.0]
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1833)
~[ignite-core-2.0.0.jar:2.0.0]
at
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onCacheChangeRequest(CacheAffinitySharedManager.java:379)
~[ignite-core-2.0.0.jar:2.0.0]
at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onCacheChangeRequest(GridDhtPartitionsExchangeFuture.java:688)
~[ignite-core-2.0.0.jar:2.0.0]
at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:529)
[ignite-core-2.0.0.jar:2.0.0]
at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1806)
[ignite-core-2.0.0.jar:2.0.0]
at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
[ignite-core-2.0.0.jar:2.0.0]
at java.lang.Thread.run(Thread.java:744) [?:1.7.0_45]
Caused by: org.h2.jdbc.JdbcSQLException: General error:
"java.lang.IllegalMonitorStateException: Attempted to release write lock
while not holding it [lock=7f4c31441960, state=0002280d"; SQL
statement:
CREATE TABLE "loginServiceTokenCacheIgnite".TokenSessionDetails (_key
VARCHAR INVISIBLE NOT NULL,_val OTHER INVISIBLE,_ver OTHER
INVISIBLE,globalSessionId VARCHAR,serviceSessionId VARCHAR,serviceId
VARCHAR,bindingKey VARCHAR,tokenScope OTHER) engine
"org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$H2TableEngine"
[5-195]
at
org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
~[h2-1.4.195.jar:1.4.195]
at org.h2.message.DbException.get(DbException.java:168)
~[h2-1.4.195.jar:1.4.195]
at org.h2.message.DbException.convert(DbException.java:295)
~[h2-1.4.195.jar:1.4.195]
at org.h2.command.Command.executeUpdate(Command.java:268)
~[h2-1.4.195.jar:1.4.195]
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:193)
~[h2-1.4.195.jar:1.4.195]
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:165)
~[h2-1.4.195.jar:1.4.195]
at
org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$H2TableEngine.createTable(IgniteH2Indexing.java:3975)
~[ignite-indexing-2.0.0.jar:2.0.0]
at
org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.createTable(IgniteH2Indexing.java:2006)
~[ignite-indexing-2.0.0.jar:2.0.0]
at
org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.registerType(IgniteH2Indexing.java:1859)
~[ignite-indexing-2.0.0.jar:2.0.0]
... 12 more
Caused by: java.lang.IllegalMonitorStateException: Attempted to release
write lock while not holding it [lock=7f4c31441960,
state=0002280d
at
org.apache.ignite.internal.util.OffheapReadWriteLock.writeUnlock(OffheapReadWriteLock.java:259)
~[ignite-core-2.0.0.jar:2.0.0]
at
org.apache.ignite.internal.pagemem.impl.PageMemoryNoStoreImpl.writeUnlock(PageMemoryNoStoreImpl.java:495)
~[ignite-core-2.0.0.jar:2.0.0]
at
org.apache.ignite.internal.processors.cache.database.tree.util.PageHandler.writeUnlock(PageHandler.java:379)