You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Emil.I" <ia...@primus.ca> on 2008/02/04 23:41:45 UTC

Struts 2 Spring sitemesh hangs on tomcat 6 and jboss

Hello,
You guys had this, happen when i deploy my war file to tomcat, the
application hangs seems waiting for 
reply forever. I deployed it on jboss ok for a while, then again after a
while just hangs. Increasing memory
in tomcat to 512 did not help. 
I got some params interceptor errors (setting action properties) and 

org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name
'org.apache.struts2.dispatcher.ServletDispatcherResult': Unsatisfied
dependency expressed through constructor argument with index 0 of type
[java.lang.String]: No unique bean of type [java.lang.String] is defined:
Unsatisfied dependency of type [class java.lang.String]: expected at least 1
matching bean

could those errors hang the web app?
In my jboss console i see the following

http-127.0.0.1-8080

Max threads: 250 Current thread count: 9 Current thread busy: 7
Max processing time: 5598 ms Processing time: 40.755 s Request count: 191
Error count: 74 Bytes received: 0.00 MB Bytes sent: 7.90 MB
Stage	Time	B Sent	B Recv	Client	VHost	Request
S	976784 ms	0 KB	0 KB	127.0.0.1	localhost	GET /web-console/ServerInfo.jsp
HTTP/1.1
S	1059384 ms	0 KB	0 KB	127.0.0.1	localhost	GET
/JobSearch-1.0/job/home.action HTTP/1.1
S	1115877 ms	0 KB	0 KB	127.0.0.1	localhost	GET
/JobSearch-1.0/job/showCustomerRegistration.action HTTP/1.1
S	708182 ms	0 KB	0 KB	127.0.0.1	localhost	GET /JobSearch-1.0/job/home.action
HTTP/1.1
S	773187 ms	0 KB	0 KB	127.0.0.1	localhost	GET
/JobSearch-1.0/job/search.action HTTP/1.1
S	701843 ms	0 KB	0 KB	127.0.0.1	localhost	GET /JobSearch-1.0/job/home.action
HTTP/1.1
S	0 ms	0 KB	0 KB	127.0.0.1	localhost	GET
/web-console/status?full=true&jsessionid=69486E0BE0C24698F891065A3DC42CC3
HTTP/1.1
R	?	?	?	?	?	?
R	?	?	?	?	?	?


any suggestions?


-- 
View this message in context: http://www.nabble.com/Struts-2-Spring-sitemesh-hangs-on-tomcat-6-and-jboss-tp15279283p15279283.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts 2 Spring sitemesh hangs on tomcat 6 and jboss

Posted by "Emil.I" <ia...@primus.ca>.
Hello guys,
it turned out that app is whats hanging the server responded to other
request not related
to this webapp. i had : list.addAll(JobService.retrieveRecent());
after a couple of request it hanged,
then i assigned it
list = JobService.retrieveRecent();
no its fine
list.clear(); also did the trick before the call.:-)


Emil.I wrote:
> 
> Hello,
> You guys had this, happen when i deploy my war file to tomcat, the
> application hangs seems waiting for 
> reply forever. I deployed it on jboss ok for a while, then again after a
> while just hangs. Increasing memory
> in tomcat to 512 did not help. 
> I got some params interceptor errors (setting action properties) and 
> 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name
> 'org.apache.struts2.dispatcher.ServletDispatcherResult': Unsatisfied
> dependency expressed through constructor argument with index 0 of type
> [java.lang.String]: No unique bean of type [java.lang.String] is defined:
> Unsatisfied dependency of type [class java.lang.String]: expected at least
> 1 matching bean
> 
> could those errors hang the web app?
> In my jboss console i see the following
> 
> http-127.0.0.1-8080
> 
> Max threads: 250 Current thread count: 9 Current thread busy: 7
> Max processing time: 5598 ms Processing time: 40.755 s Request count: 191
> Error count: 74 Bytes received: 0.00 MB Bytes sent: 7.90 MB
> Stage	Time	B Sent	B Recv	Client	VHost	Request
> S	976784 ms	0 KB	0 KB	127.0.0.1	localhost	GET /web-console/ServerInfo.jsp
> HTTP/1.1
> S	1059384 ms	0 KB	0 KB	127.0.0.1	localhost	GET
> /JobSearch-1.0/job/home.action HTTP/1.1
> S	1115877 ms	0 KB	0 KB	127.0.0.1	localhost	GET
> /JobSearch-1.0/job/showCustomerRegistration.action HTTP/1.1
> S	708182 ms	0 KB	0 KB	127.0.0.1	localhost	GET
> /JobSearch-1.0/job/home.action HTTP/1.1
> S	773187 ms	0 KB	0 KB	127.0.0.1	localhost	GET
> /JobSearch-1.0/job/search.action HTTP/1.1
> S	701843 ms	0 KB	0 KB	127.0.0.1	localhost	GET
> /JobSearch-1.0/job/home.action HTTP/1.1
> S	0 ms	0 KB	0 KB	127.0.0.1	localhost	GET
> /web-console/status?full=true&jsessionid=69486E0BE0C24698F891065A3DC42CC3
> HTTP/1.1
> R	?	?	?	?	?	?
> R	?	?	?	?	?	?
> 
> 
> any suggestions?
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Struts-2-Spring-sitemesh-hangs-on-tomcat-6-and-jboss-tp15279283p15362797.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org