[JBoss-user] [Messaging, JMS & JBossMQ] - CurrentMemoryUsage skyhigh...

2005-03-23 Thread arnoraps
When i run my application for about 2 hours, the java.exe grows up to 615 MB, but whithout out of memory errors. When i look in the jmx console i see that the MessageCache bean reports the CurrentMemoryUsage is 516 MB, but my MaxMemoryMark is 60 MB (highmemorymax is 50 MB) I use mysql-jdbc2-ser

[JBoss-user] [JCA/JBoss] - How to start a new writing a new Resource Adapter

2005-03-21 Thread arnoraps
I want to have a modbus resource adapter to pool my connections. Currently, i have a modbus driver in java (open source) that does the job, but when running it from a bean, the open connection time is about 4 seconds, which is far too long. The main delay is in the java.net.socket call, so is

[JBoss-user] [Beginners Corner] - new Socket slow on jboss, fast on standalone

2004-10-20 Thread arnoraps
Why is using java.net.Socket so slow when used from a bean in jboss? Connecting then takes about 4-5 seconds. Connecting to mysql (not thru a connection pool) is only 20 msec. When i use the same code in a standalone java application, connecting with a new Socket command is very fast, so the p

[JBoss-user] [JCA/JBoss] - Re: Modbus in pooled connection?

2004-10-20 Thread arnoraps
En howto write a ResourceAdapter for an non JDBC? All examples in de docs/example/jca directory are aiming at jdbc View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852015#3852015 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=rep

[JBoss-user] [JCA/JBoss] - Modbus in pooled connection?

2004-10-18 Thread arnoraps
I have a modbus driver class, which works perfectly, except that opening a connection (new Socket) will take about 4-5 seconds. So i want to pool connections, hoping that i don't have to reconnect, since connecting is the only real slow step. Is this possible? In fact the class just uses the s

[JBoss-user] [Messaging, JMS & JBossMQ] - Singleton topic subscriber not working

2004-09-10 Thread arnoraps
According to the wiki i should configure my message driven bean with: | | testBean | topic/testTopic | Singleton Message Driven Bean | | But still on all nodes of my cluster the mbean responses to any message in the topic, but i want that only one instanc

[JBoss-user] [JCA/JBoss] - Failover datasource? bmp or cmp

2004-09-10 Thread arnoraps
I want to use a cmp or bmp with a datasource, but when the first datasource isn't available it should use a second datasource. Is this possible with a cmp or should i use (and how) a bmp? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847778#3847778 Reply to