Hi Firzhan,

It seems the hazelcast instance is dead when this exception is happening.
Can you enable logs for the hazelcast packages and clustering packages and
see what is happening when this exception occurs. There is a possibility
for this exception to occur when the server shutdown is happening due to
hazelcast being shutdown before the ode scheduler. However, it should not
happen at other times.

Also when using the cluster, make sure that  ( total db connections
available ) > ( bps thread pool size) * (number of nodes in cluster)

Regards
Nandika


On Tue, Jul 8, 2014 at 9:52 AM, Firzhan Naqash <[email protected]> wrote:

>
> Hi,
>
> This issue seems to be happening during various scenarios.
>
> Those are
>
>        -   Sometimes it occurs due to heap memory getting filled
>
>        -   In some occasion it occurs when ever I increase the
> max_connections variable in database. ( I changed the other
> datasource.properties and bps.xml as well )
>
> I will attach the log file next time when I encountered with this issue.
>
>
>
>
> Regards,
> Firzhan
>
>
> On Tue, Jul 8, 2014 at 5:51 PM, Thilini Ishaka <[email protected]> wrote:
>
>>
>>
>>
>> On Tue, Jul 8, 2014 at 2:48 AM, Thilini Ishaka <[email protected]> wrote:
>>
>>> Can be a bug similarly https://wso2.org/jira/browse/BPS-470
>>> Full log will help to get a clue.
>>>
>>> Thanks
>>> Thilini
>>>
>>>
>>> On Tue, Jul 8, 2014 at 2:29 AM, Firzhan Naqash <[email protected]> wrote:
>>>
>>>> Hi Thilini,
>>>>
>>>> Sorry. I have attached the axis2.xml file
>>>>
>>>>
>>>>
>>>> Regards,
>>>> Firzhan
>>>>
>>>>
>>>> On Mon, Jul 7, 2014 at 11:54 PM, Thilini Ishaka <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi Firzhan,
>>>>>
>>>>> Should be due to a configuration issue. Can you send the axis2.xml as
>>>>> well?
>>>>>
>>>>> Thanks
>>>>> Thilini
>>>>>
>>>>>
>>>>>  On Mon, Jul 7, 2014 at 2:30 AM, Firzhan Naqash <[email protected]>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I was trying to do a performance test of BPS on 4 node cluster in my
>>>>>> local machine.
>>>>>>
>>>>>> I have increased the MySQL max_conections variable count to 300.
>>>>>>
>>>>>> When I was trying to send messages in to the cluster I keep getting
>>>>>> following warning message.
>>>>>>
>>>>>>
>>>>>>
>>>>>> [2014-07-07 14:48:29,104]  WARN {Transaction} -  Unexpected exception
>>>>>> from afterCompletion; continuing
>>>>>> com.hazelcast.nio.serialization.HazelcastSerializationException:
>>>>>> com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast 
>>>>>> instance
>>>>>> is not active!
>>>>>>     at
>>>>>> com.hazelcast.nio.serialization.SerializationServiceImpl.handleException(SerializationServiceImpl.java:269)
>>>>>>     at
>>>>>> com.hazelcast.nio.serialization.SerializationServiceImpl.toData(SerializationServiceImpl.java:171)
>>>>>>     at
>>>>>> com.hazelcast.instance.HazelcastInstanceImpl.getLock(HazelcastInstanceImpl.java:165)
>>>>>>     at
>>>>>> com.hazelcast.instance.HazelcastInstanceProxy.getLock(HazelcastInstanceProxy.java:73)
>>>>>>     at
>>>>>> org.apache.ode.bpel.engine.HazelcastInstanceLockManager.unlock(HazelcastInstanceLockManager.java:82)
>>>>>>     at
>>>>>> org.apache.ode.bpel.engine.BpelEngineImpl$1.afterCompletion(BpelEngineImpl.java:473)
>>>>>>     at
>>>>>> org.apache.ode.scheduler.simple.SimpleScheduler$2.afterCompletion(SimpleScheduler.java:333)
>>>>>>     at
>>>>>> org.apache.geronimo.transaction.manager.TransactionImpl.afterCompletion(TransactionImpl.java:534)
>>>>>>     at
>>>>>> org.apache.geronimo.transaction.manager.TransactionImpl.afterCompletion(TransactionImpl.java:527)
>>>>>>     at
>>>>>> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:326)
>>>>>>     at
>>>>>> org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:238)
>>>>>>     at
>>>>>> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:287)
>>>>>>     at
>>>>>> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:235)
>>>>>>     at
>>>>>> org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:530)
>>>>>>     at
>>>>>> org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:514)
>>>>>>     at
>>>>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>>>>>     at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>>>>>     at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>>>>>     at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>>>>>     at java.lang.Thread.run(Thread.java:662)
>>>>>> Caused by: com.hazelcast.core.HazelcastInstanceNotActiveException:
>>>>>> Hazelcast instance is not active!
>>>>>>     at
>>>>>> com.hazelcast.nio.serialization.SerializationServiceImpl.toData(SerializationServiceImpl.java:156)
>>>>>>     ... 18 more
>>>>>>
>>>>>>
>>>>>> Is there any configurations that I have missed when configuring the
>>>>>> cluster ?
>>>>>>
>>>>>> I have attached BPS.xml file and datasource.properties file
>>>>>>
>>>>>>
>>>>>> Regards,
>>>>>> Firzhan
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thilini Ishaka
>>>>> Senior Software Engineer
>>>>> Integration Technologies Team
>>>>>  Phone: +94 11 214 5345
>>>>> WSO2 Inc. http://wso2.com
>>>>>
>>>>> blog: thiliniishaka.blogspot.com
>>>>> linkedin: http://lk.linkedin.com/in/thiliniishaka
>>>>> twitter: https://twitter.com/#!/ThiliniIsh
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Thilini Ishaka
>>> Senior Software Engineer
>>> Integration Technologies Team
>>>  Phone: +94 11 214 5345
>>> WSO2 Inc. http://wso2.com
>>>
>>> blog: thiliniishaka.blogspot.com
>>> linkedin: http://lk.linkedin.com/in/thiliniishaka
>>> twitter: https://twitter.com/#!/ThiliniIsh
>>>
>>
>>
>>
>> --
>> Thilini Ishaka
>> Senior Software Engineer
>> Integration Technologies Team
>>  Phone: +94 11 214 5345
>> WSO2 Inc. http://wso2.com
>>
>> blog: thiliniishaka.blogspot.com
>> linkedin: http://lk.linkedin.com/in/thiliniishaka
>> twitter: https://twitter.com/#!/ThiliniIsh
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Nandika Jayawardana
Senior Technical Lead
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to