JBoss has a distribution that comes with Tomcat 4.0.1. That's what I am using.
I also got "connection refused" errors before I modified my config for Jboss and
tomcat. You can increase the number of tomcat listener threads by adding the
following <attribute> lines to your jboss.jcml file:
<!-- Uncomment to add embedded catalina service -->
<mbean code="org.jboss.web.catalina.EmbeddedCatalinaServiceSX"
name="DefaultDomain:service=EmbeddedTomcat">
<attribute name="MaxProcessors">150</attribute>
<attribute name="MinProcessors">25</attribute>
</mbean>
Once I changed my config thusly, I started getting the errors I described in my
previous message.
Rich
-----Original Message-----
From: Tiago Fernandes Thomaz [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 15:16
To: '[EMAIL PROTECTED]'
Subject: RE: SOAP under heavy load - performance issues
Two Questions:
1 - How can I set Tomcat 4.0 to run with jboss? (my jboss is running
with tomcat 3.2.3)
2 - I tested SOAP against 1000 concurrent threads and I didn't got
that error (because I'm using SOAP differently) but got the error
for several threads: Error: Connection refused;
Any ideas?
Tiago Fernandes Thomaz
-----Original Message-----
From: Richard Bolen [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 12 de Abril de 2002 18:23
To: SOAP Users Mailing List (E-mail)
Subject: SOAP under heavy load - performance issues
Is there any good source for information on using Apache SOAP under heavy
load? My service needs to support 50-100 concurrent client sessions (which
really isn't that heavy of a load).
My service is a SOAP front end for EJB's running on JBoss with Tomcat 4.0.1
as the servlet engine for SOAP. When I do load testing I start getting XML
parser errors when I make my call.invoke method call.
Things like
'SOAPException: Parser already in use'
and
'org.apache.crimson.tree.DomEx: NAMESPACE_ERR: Attempt to create or change
an object in a way which is incorrect with regard to namespaces.'.
Has anyone seen these errors before or know why they are happening?
Thanks,
Rich
--------------------------------------------------------------------
Rich Bolen
Senior Software Developer
GretagMacbeth Advanced Technologies Center
79 T. W. Alexander Drive - Bldg. 4401 - Suite 250
PO Box 14026
Research Triangle Park, North Carolina 27709-4026 USA
Phone: 919-549-7575 x239, Fax: 919-549-0421
http://www.gretagmacbeth.com/
--------------------------------------------------------------------