For what it's worth, I've seen similiar behavior under heavy threading
(see archives under JBoss vs. Orion or Performance). I'm suspicious of
the transaction interceptor (just because it seems to take about half of
the time used in processing a request), but the code looks good. The
message you're seeing (which I saw also in a multithreaded test) is
particularly disturbing because the way JBoss' stateless session
instance pool works, there should never be contention for a stateless
session bean (as far as I can tell at any rate - I may be wrong).

I'll look into this more later this evening.

-danch

Christian Hargraves wrote:
> 
> We have JBoss-tomcat installed on solaris 2.8 with 512 RAM
> 
> Here's our system info
> 
> OS/Hardware
> 
> bash-2.03$ uname -a
> SunOS vanguard 5.8 Generic_108528-02 sun4u sparc
> SUNW,UltraSPARC-IIi-cEngine
> 
> Java Version
> 
> bash-2.03# java -version
> java version "1.3.0_02"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
> Java HotSpot(TM) Client VM (build 1.3.0_02, mixed mode
> 
> 
> We are running the hello session bean example.
> 
> When we load the machine with AB (Apache Bench), 128 concurrent users, 10,000
> requests we get some strange results.
> 
> The output from the HelloEJB either doesn't include the "StatelessSessionBean
> says: Hello World" message, includes the message multiple times.
> 
> When there is no load, there is no problem. Everything works great then.
> 
> We also get this output when this happens.
> 
> Output from console:
> 
> [Mail Service] DEBUG: not loading optional address map file:
> /META-INF/javamail.address.map
> [Mail Service] Mail Service 'Mail' bound to java:/Mail
> [Mail Service] Started
> [Service Control] Started 25 services
> [Default] JBoss 2.1-BETA-Mar-26-2001 Started in 0m:18s
> 
> [NonOptimized] TxCapsule: Lock contention, tx=XidImpl [FormatId=257,
> GlobalId=mackey//41546, BranchQual=]
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
Confidential e-mail for addressee only.  Access to this e-mail by anyone else is 
unauthorized.
If you have received this message in error, please notify the sender immediately by 
reply e-mail 
and destroy the original communication.


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to