[JBoss-user] [Messaging, JMS JBossMQ] - Re: Why serialize object message if using jvm invocation lay

2004-10-21 Thread jhaddad
I get it.  That would probably be asking too much of the clients - knowing that they 
can't modify the object.  Maybe another way to optimize it could be calling clone() if 
Cloneable is implemented, or else take the hit with the current impl - 
(de)serialization?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852206#3852206

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852206


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Can't initialize MessageCounterHistoryDayLimit to zero

2004-10-20 Thread jhaddad
While analyzing the performance of my app, which runs on JBoss 3.2.5, I noticed 
significant cpu usage eaten up by my JMS queue's message history counter.  I figured I 
could easily disable this by setting the MessageCounterHistoryDayLimit to zero, as 
show in the descriptor below.  This resulted in a NullPointerException at startup 
caused by the jmx config service calling a setter on the underlying queue object 
before it was instantiated.  Is there another way that I should disable this count 
history feature?


depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager
0
true



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852081#3852081

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852081


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Can't initialize MessageCounterHistoryDayLimit to zero

2004-10-20 Thread jhaddad
Somehow, the descriptor I pasted into my post got screwed up in the original post.  
Here it is with HTML disabled:


depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager
0
true




View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852082#3852082

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852082


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Can't initialize MessageCounterHistoryDayLimit to zero

2004-10-20 Thread jhaddad
Well, that didn't work either.  Basically, my queue config contains an 'attribute' 
element with the 'name' attribute set to 'MessageCounterHistoryDayLimit' and the 
element body is '0'.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852083#3852083

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852083


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Can't initialize MessageCounterHistoryDayLimit to zero

2004-10-20 Thread jhaddad
Thanks Adrian.  I will look at the code and see if I can figure out where to make the 
fix.  

In the meantime, is there any workaround you can think of to disable this message 
counter history feature at deployment time?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852086#3852086

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852086


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Can't initialize MessageCounterHistoryDayLimit to zero

2004-10-20 Thread jhaddad
Adrian -

To answer your question as to why the message counter is taking up so much cpu...

I've been profiling one particular thread in my application which has popped up on my 
radar as a bottleneck.  The thread basically receives requests via a tcp socket using 
a proprietary protocol.  The request is wrapped up in a JMS message and enqueued to be 
processed by an MDBean.

After focusing on this thread with a cpu profiler, I see that approximately 8% of its 
cpu usage is spent invoking MessageCounter.updateHistory.  Drilling down one more 
level, I see that the main culprits are 2% in Calendar.getTime, 2% in the constructor 
for GregorianCalendar, 1.5% in MessageCounter$DayCounter.updateDayCounter and .5% in 
MessageCounter$DayCounter.getDate().

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852104#3852104

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852104


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Why startTx commit if MDB transaction=NotSupported?

2004-10-20 Thread jhaddad
I'm looking at my MDB performance using a cpu profiler.  I see quite a few calls being 
made pertaining to transactions (e.g. SpyXAResource.Manager.startTx, 
SpyXAResource.commit, etc.).  

I'm confused because my MDB is deployed to be non-transactional.

These invocations don't take up a whole lot of cpu, but I'm trying to trim off every 
unnecessary tick possible, as my  CPU is pinned at 100%.

Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852112#3852112

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852112


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Why serialize object message if using jvm invocation layer?

2004-10-20 Thread jhaddad
I've been doing performance analysis on my application which relies heavily on JMS 
enqueuing and MDB request processing.  I use the jvm-il-service for optimum 
performance.  One thing I see is that a lot of time is spent serializing and 
deserializing my message objects (I'm using ObjectMessage).

I'm considering changing to MapMessage to avoid this hit, but I was curious if the 
developers considered special treatment of ObjectMessages when the JMV IL is being 
used?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852113#3852113

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852113


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - jbossmq writes transaction to database even for non-transact

2004-08-05 Thread jhaddad
I've got a MDB with the trans-attribute set to 'Supports.'  Some database reads and 
writes are performed within the onMessage method.  

I'm running with p6spy, which shows me all SQL statements executed by the application. 
 This shows that jbossmq issues 3 additional database writes every time onMessage is 
invoked.  This is performance problem for me.  I don't understand why its even 
executing these transaction-related statements when my bean isn't even transactional.  

Could someone please help me make whatever config changes are necessary to disable 
this behavior.  Thanks in advance.

The 3 SQL statements are:
INSERT INTO JMS_TRANSACTIONS (TXID) values(?)
DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=?
DELETE FROM JMS_TRANSACTIONS WHERE TXID = ?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844290#3844290

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844290


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user