I only have questions rather than answers...

I'd been interested to know how you're automated emulation of 100 users
works - could it be that you have two requests operating on the same form
and your form has some kind of nested/mapped/indexed properties in it? Do
the 100 users all have separate sessions and whats the scope of your form?

Are you sure you're running Struts 1.1 (the lines number from the stack
trace don't seem to tie up with the 1.1 source)?

Niall

----- Original Message ----- 
From: "Tom Vekemans" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 05, 2004 6:53 PM
Subject: Struts failing under load ?


Hi,

We are currently stress-testing a struts-based application. We are using
JBoss 3.2.3 (with integrated tomcat) on a 2-processor Dell with 1 Gig of
RAM. We use struts v1.1.

The application just runs fine until we get to around 100 concurrent users.
>From that point on, we get a "java.lang.IllegalArgumentException: No bean
specified" exception (reduced stack trace below). Other mails about this
subject almost always talk about omitted beans in JSP's or malconfigured
struts-config.xml files. However, these 100 users are "automated" (it's a
program) and all performing the same scenario. It runs fine with 50 users so
I don't suspect any problems in the struts-config.xml file. Does anyone have
a suggestion?

Thanks in advance,

Tom Vekemans

2004-05-05 16:20:28,709 DEBUG [org.apache.struts.util.RequestUtils]
Creating new ActionForm instance of type
'be.mil.cccis.bcc17.fact17.web.invoice.DisplaySavedInvoiceFormBean'
2004-05-05 16:20:28,709 DEBUG [org.apache.struts.util.RequestUtils]  -->
[EMAIL PROTECTED]
2004-05-05 16:20:28,709 DEBUG [org.apache.struts.action.RequestProcessor]
Storing ActionForm bean instance in scope 'session' under attribute key
'displaySavedInvoiceForm'
2004-05-05 16:20:28,709 DEBUG [org.apache.struts.action.RequestProcessor]
Populating bean properties from this request
2004-05-05 16:20:28,709 ERROR [org.jboss.web.localhost.Engine]
StandardWrapperValve[action]: Servlet.service() for servlet action threw
exception
javax.servlet.ServletException: BeanUtils.populate
 at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1098)
 at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.j
ava:816)
 at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1420)
 at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:502)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
[...other tomcat-related stuff]
 at java.lang.Thread.run(Thread.java:534)
2004-05-05 16:20:28,709 DEBUG [org.apache.struts.action.RequestProcessor]
processForwardConfig(ForwardConfig[name=next,path=/protected/invoice/budgeti
ze_invoice.jsp,redirect=false,contextRelative=false])
2004-05-05 16:20:28,756 ERROR [org.jboss.web.localhost.Engine] ----- Root
Cause -----
java.lang.IllegalArgumentException: No bean specified
 at
org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUti
ls.java:837)
 at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:934)
 at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
 at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1096)
 at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.j
ava:816)
 at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1420)
 at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:502)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
[...other tomcat-related stuff]
 at java.lang.Thread.run(Thread.java:534)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to