I'm unable to provide much code that I'd worked on but I can help a bit (if I can remember why everything works as it should).
There's several things you need for the setup to work.
1) A chain...
Type: Posts; User: pbdavey; Keyword(s):
I'm unable to provide much code that I'd worked on but I can help a bit (if I can remember why everything works as it should).
There's several things you need for the setup to work.
1) A chain...
The code that returns a report is not my code. It is code from one of the base classes in the JasperReportsView hierarchy. I'm not suggesting you change any of your Controller code. It would all...
I looked into it and made a suggestion, leaving it up to you to verify the validity of it. I gave supporting evidence that it *MAY* work. I don't have time to test the hypothesis also.
This is a fairly general question. I have a web app where one page is dependent upon the actions taken in another. So I have a Map that is session-scoped that can contain generic data that one...
Got a PM asking about this thread. Here's my follow up:
The documentation doesn't mean quite what I thought. There is other required configuration but not as extensively as raw JMX/MBean. My...
I looked briefly into this, and this is what I found. AbstractJasperReportsView uses a call of
protected JasperReport loadReport() {
String url = getUrl();
if (url == null) {
return...
Thanks for the follow ups!
I'll try in the next couple of days to rebuild, ensuring that build time has the right jars and then that run time has the right jars. I think they were correct before...
@Jason
FYI...jsvc was setup very similarly to how catalina.sh was setup. For Tomcat5.sh, I exported several env vars in my bash script, CATALINA_HOME/BASE, JAVA_OPTS, CATALINA_OPTS, etc the exact...
So AMS seems to be running fine. I can see a lot of internals to my Spring app in AMS...looks good. Except for one minor detail, the app doesn't appear to be producing statistics. Via jconsole, I...
Thank you, "starting tomcat in any unique way" is what got me. I'm using jsvc to start Tomcat at runlevel 3. So now I'll look through docs again and post any other issues. I fixed up catalina.sh...
The text is embedded in bold -
So I've downloaded and installed the AMS server and agent. In development, I was able to start my application with the instrumented jars. I was also able to deploy to Tomcat this application and...
I work at a small shop, and we've been discussing general user help desk type support. As a result we're looking more into monitoring sessions and their states. Along with internal metrics of the...
I'm just have trouble getting this advice applied. If I don't care about the annotation's value, I can get it to work, but if I'm trying to use both the parameter and the annotation value it doesn't...
This apparently is something with Firebug. Page source shows properly, it seems to be the Net tab in Firebug...strange. So nothing to do with Spring MVC I guess.
I'm using a jstl view resolver, and I tend to use redirects in the success views. I've noticed a very odd behavior on the redirect. The html that is generated is duplicated.
So in Firebug, the...
You know...I'm not entirely sure, I was hoping there would be some configuration to it (if it existed). Perhaps it would show n mbeans for n sessions. Or perhaps some aggregate would be possible,...
I would assume using something such as the IdentityNamingStrategy would allow dynamic naming to differentiate the same class beans from one another.
I started a thread under management but haven't gotten any responses...hopefully opening up to a related topic will get me some responses.
http://forum.springframework.org/showthread.php?t=65098
Just wondering how people handle session-scoped Mbeans. I get typical scope exceptions when I annotate beans marked as scope session. I understand what the exception means, I just don't understand...
For clarification:
When I explicitly list the beans property, of course, it works.
<property name="beans">
<map>
<entry key="bean:name=User" value-ref="user" />
</map>...
Using JConsole to monitor Tomcat...works fine. But I can't seen any of my beans (maybe I don't know where to look). I'd like, at first anyway, to see all my Spring beans, which I thought was the...
It has to do w/ load vs get, this thread was useful:
http://forum.hibernate.org/viewtopic.php?p=2387456
I didn't see this anywhere in your configuration, but have you attempted using OpenSessionInViewFilter/OpenSessionInViewInterceptor? Typically people use the Filter version, but I've seen the...
So I have a service that retrieves a record from a DAO layer object whose method is @Transactional(readOnly=true). OUTSIDE the annotated method, I set a particular property (which refers to another...