Closed GoogleCodeExporter closed 9 years ago
This seems to be a bug in JBoss and yes it is probably:
https://issues.jboss.org/browse/AS7-4441
The cause of this bug is probably unrelated to hibernate.cache.region_prefix
(it may happen for something else) and certainly unrelated to struts.
I suggest that you try with a more recent version of JBoss or Wildfly than
JBoss 7.1.1.
Is that OK?
Original comment by evernat@free.fr
on 4 Nov 2014 at 1:43
Using another version of JBoss is unfortunately not possible, since this is the
one specified in our documents.
Is there any further information/configuration i could provide to exclude a
misconfiguration ?
Thank you.
PS. According to javamelody, JBoss 7 is listed as a compatible server.
Original comment by BinaryX...@gmail.com
on 4 Nov 2014 at 2:35
Yes JBoss 7 is listed as a compatible server, but JBoss bugs are supported by
JBoss, not here.
Reading again the issue, I am not sure if the bug appeared after adding the
StrutsInterceptor, or if it was present before.
Otherwise, I don't know what can work around this JBoss issue.
If there is no solution here, can we close this issue?
Original comment by evernat@free.fr
on 4 Nov 2014 at 7:16
Thank you very much for the fast response.
We can surely close the issue if you believe that this is a JBoss bug and not
some wrong configuration.
From my side, i would like to ask:
1) Is the <interceptor name="monitoring"
class="net.bull.javamelody.StrutsInterceptor" /> really needed ?
2) I am deploying an ear file and use EJB. Is there maybe anything else i
should do for this? Like adding the javamelody dependencies in the EJB package
instead of the WEB package only ?
3) Will <async-supported>true</async-supported> make any difference?
4) In your docs, Section 2. web.xml file, you mention "If your application
server is compatible with Servlet API 3.0 (like tomcat 7, glassfish v3 or jboss
6), this paragraph is generally not needed" . What happens if i do finally add
those lines? Can they have a negative effect?
Any suggestions, tips, notes will be very helpful.
Thank you again
Original comment by BinaryX...@gmail.com
on 5 Nov 2014 at 7:32
1) No, StrutsInterceptor is optional. If you don't include it, you will not
have statistics of Struts actions. You only need it, if you want Struts
statistics besides other statistics.
2) No, nothing else. javamelody dependencies in WEB package is probably enough.
3) "<async-supported>true</async-supported>" will probably make no difference
in your case. "async-supported" is, in the servlet api, to support asynchronous
http requests (for example, to push data from the server to the browser).
4) Adding these lines will have no negative effect, and there is code to detect
this potential case and then to do what's needed to work.
The issue is a jboss bug as said above, so closing this issue here.
Original comment by evernat@free.fr
on 13 Nov 2014 at 5:04
Original issue reported on code.google.com by
BinaryX...@gmail.com
on 4 Nov 2014 at 10:12