[JBoss Messaging] - Re: Poor performance after replacing JBossMQ
by omerlin
Hello,
It's very difficult to treproduce as this is a big telecom project - Phonbook3G synchronization - (6 month with 12 people) - each sequencer that use a JMS selector on the shared queue launch a complex SYNCML synchronisation with an external server
My idea was just to replace the plumbing because :
1) i found that the persistence implementation in Oracle is costly - and the implementation seems different & optimized with JBossMessaging
2) One key point on JBoss Messaging is the performance improvment
My performance test use a home-made injector (due to proprietary protocol).
-With JBossMQ i achieve around 2 req/s
- With JBossMessaging less than 0,5 req/s ( and i get some timeout )
For information 2req/s means around 50 open session on JBoss.
I will try to give you more precise information using OptimizeIt
Is it possible that i did some configuration mistakes that could explain this difference ? (I don't see what)
rgds,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974135#3974135
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974135
19 years, 7 months
[JBoss Seam] - Re: Seam component as converter with EntityManager/Persisten
by bfo81
@Scope(ScopeType.SESSION)
| @Name("whateverConverter")
| @Interceptors(SeamInterceptor.class)
|
| public class WhateverConveter implements Converter, Serializable {
|
| @In(create=true)
| private EntityManager em; //Hint: There needs to be an "em" in your components.xml, see 9.4.2 of the Seam reference
|
| public String getAsString(....Object object) {
|
| return ( (Whatever) object ).getId().toString();
|
| }
|
| public Object getAsObject(....String string) {
|
| return em.find(Whatever.class, Long.valueOf(string));
|
| }
|
|
| }
This converter example would make it possible to use your Entity beans in select menus. As I said I even added caching (even with a possibility to mark the contained entities as dirty if changes happen) and a method to generate SelectItems (with the same cache). But that's just an idea of the nice things you can do with a converter.
PS: I reconstructed my converter and the caching went from an inner class directly into my code. And now it works like a charm. Inner classes seam to make problems in Converters, keep that in mind if you ever want to do that.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974131#3974131
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974131
19 years, 7 months
[JBoss AOP] - Re: Using JBoss AOP with webstart
by UlrichBoss
I am not using the jboss-aop.xml file, I am only using the aop annotations.
My jnlp file basically looks like this:
| <?xml version="1.0" encoding="UTF-8"?>
| <jnlp codebase="$$codebase">
| <resources>
| <j2se version="1.5+"/>
| <jar href="abc.jar"/>
| <property name="jboss.aop.class.path" value="."/>
| </resources>
| </jnlp>
|
The abc.jar contains my weaved classes. If I run the jar on the command line or run the code inside eclipse they both work (if the property jboss.aop.class.path is set). When setting jboss.aop.class.path as a property on the jnlp nothing seems to work.
If I could set jboss.aop.class.path programmatically with System.setProperty("jboss.aop.class.path", "???"); I would do it, is there any way I could do this ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974125#3974125
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974125
19 years, 7 months
[Beginners Corner] - Jboss shutdown abnormaly (without error)
by padmal
Hi,
My jboss server work some period without problem. But down abnormally. The following messeage give.
--------------------------------------
2006-09-14 19:59:59,131 DEBUG [org.jboss.varia.scheduler.Scheduler$Listener] Listener.handleNotification(), notification: javax.management.timer.TimerNotification: type=Schedule source=jboss:service=Timer sequence=3 time=1158260398341 message=Scheduler Notification id=1 userData=null
2006-09-14 19:59:59,131 DEBUG [org.jboss.varia.scheduler.Scheduler$Listener] Scheduler is started: true
2006-09-14 19:59:59,131 INFO [STDOUT] Inside Due Balance service before the time check1
2006-09-14 19:59:59,131 DEBUG [org.jboss.varia.scheduler.Scheduler$Listener] Remaining Repititions: -1, wait for next call to stop: false
2006-09-14 20:05:51,036 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 450000
2006-09-14 20:13:21,080 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 450000
2006-09-14 20:20:51,127 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 450000
2006-09-14 20:28:21,170 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 450000
------------------------------------------------------------------------
please help me to solve this problem
thanks
padmal
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974124#3974124
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974124
19 years, 7 months