Re: [Dev] [BPS] Warning message from cluster when carrying out performance test
On Tue, Jul 8, 2014 at 2:48 AM, Thilini Ishaka thil...@wso2.com 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 firz...@wso2.com wrote: Hi Thilini, Sorry. I have attached the axis2.xml file Regards, Firzhan On Mon, Jul 7, 2014 at 11:54 PM, Thilini Ishaka thil...@wso2.com 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 firz...@wso2.com 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 Dev@wso2.org 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 Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [BPS] Warning message from cluster when carrying out performance test
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 thil...@wso2.com wrote: On Tue, Jul 8, 2014 at 2:48 AM, Thilini Ishaka thil...@wso2.com 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 firz...@wso2.com wrote: Hi Thilini, Sorry. I have attached the axis2.xml file Regards, Firzhan On Mon, Jul 7, 2014 at 11:54 PM, Thilini Ishaka thil...@wso2.com 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 firz...@wso2.com 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 Dev@wso2.org 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 Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___
Re: [Dev] [BPS] Warning message from cluster when carrying out performance test
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 firz...@wso2.com 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 thil...@wso2.com wrote: On Tue, Jul 8, 2014 at 2:48 AM, Thilini Ishaka thil...@wso2.com 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 firz...@wso2.com wrote: Hi Thilini, Sorry. I have attached the axis2.xml file Regards, Firzhan On Mon, Jul 7, 2014 at 11:54 PM, Thilini Ishaka thil...@wso2.com 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 firz...@wso2.com 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 Dev@wso2.org 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
[Dev] [BPS] Warning message from cluster when carrying out performance test
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 ?xml version=1.0 encoding=UTF-8? !-- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. ~ ~ WSO2 Inc. licenses this file to you under the Apache License, ~ Version 2.0 (the License); you may not use this file except ~ in compliance with the License. ~ You may obtain a copy of the License at ~ ~http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, ~ software distributed under the License is distributed on an ~ AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ~ KIND, either express or implied. See the License for the ~ specific language governing permissions and limitations ~ under the License. -- tns:WSO2BPS xmlns:tns=http://wso2.org/bps/config; !-- Database Configuration for WSO2 BPS BPEL Engine's Persistence Storage -- tns:DataBaseConfig !-- Data source configuration. Use data sources created in data sources component. -- tns:DataSource name=bpsds tns:JNDI contextFactory=com.sun.jndi.rmi.registry.RegistryContextFactory providerURL=rmi://localhost:2199/ /tns:DataSource /tns:DataBaseConfig !-- Process dehydration configuration -- !--tns:ProcessDehydration maxCount=0 value=true tns:MaxAge value=0/ /tns:ProcessDehydration-- !--tns:TransactionFactory class=/-- !-- BPEL Event Listeners. They must implement BPELEventListener interface -- !--tns:EventListeners tns:listener class=org.wso2.bps.SampleEventListener/ /tns:EventListeners-- !--tns:EventListeners tns:listener class=org.wso2.carbon.bpel.core.ode.integration.jmx.JmxBpelEventListener/ /tns:EventListeners-- !-- BPEL Message Exchange Interceptors. Used to track and handle incoming and out going Messages from BPEL Processes. -- !--tns:MexInterceptors tns:interceptor class=/ /tns:MexInterceptors-- !-- BPEL Extensions -- !--tns:ExtensionBundles tns:runtimes tns:runtime class=org.wso2.bps.SampleExtensionRuntime/ /tns:runtimes tns:filters tns:filter class=org.wso2.bps.SampleCorrelationFilter/ /tns:filters /tns:ExtensionBundles-- !-- OpenJPA
Re: [Dev] [BPS] Warning message from cluster when carrying out performance test
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 firz...@wso2.com 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 Dev@wso2.org 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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev