I was load testing my web application and I noticed that the jvm memory was not being freed when garbage collection was triggered. I monitored using JMX and saw that the memory keeps rising when new...
Type: Posts; User: racumin; Keyword(s):
I was load testing my web application and I noticed that the jvm memory was not being freed when garbage collection was triggered. I monitored using JMX and saw that the memory keeps rising when new...
I didn't see that :)
I'm really sorry for wasting your time with these stupid mistakes of mine :D
Hi, I changed 'agents' to 'items' but it is still not working. Any ideas?
This is my controller
List<String> x = new ArrayList<String>();
x.add("sample1");...
Thanks! It should be 'items' instead of 'agents'. And thanks for the link!
I am using Spring MVC + JSP and deployed the WAR file in JBoss AS 6. I have a list that the JSP file should output. These are my codes:
In my Controller, I have:
Map<String, Object> model =...
My application does not insert the DATE value. It was generated inside the database and all I need to do is to retrieve it.
By the way, what do you mean by "work with DateFormat prior to post...
After some research, I stumbled upon this site and learned that if I use java.sql.Date, the time (hours, minutes, seconds) will be dropped (set to 0)
It was also stated in the javadocs
...
I'll try to use DateFormat and see what happens.
I have a table with this column:
COLUMN NAME: TIME_STAMP
DATA TYPE: 91
TYPE NAME: DATE
COLUMN SIZE: 7
Hi,
I'm using Jboss AS 6 with Spring 2.5.6
In my applicationContext.xml, I have:
<jee:jndi-lookup id="dataSource" jndi-name="java:/MyDataSource"/>
This is the xml of my datasource:
Hi,
I'm using Spring 2.5.6, ojdbc-14 and Java 6.
I have a StoredProcedure that has a date output.
This is my code:
Hi, when using Spring 3.0.5, do I need updated versions of Spring OSGi Extenders that is compatible with Spring 3.0.5?
Currently I am using these extenders (these are compatible with Spring...
Hi, how do I access spring beans using OSGi?
These are the contents of my bundle/ jar file:
sample-si-filter-demo.jar
-META-INF/
-spring/
-sample-si-filter-demo.xml...
Hi, I am using SpringSource Tool Suite Version: 2.5.0.RELEASE. I created a Java Project then enabled Maven dependency management. Now that I have a pom.xml, I tried to add a dependency on it. (I can...
Hi, I noticed that in the above example, the drinksRouter is pointing to both coldDrinks and hotDrinks channels. I cannot replicate that using STS 2.5. When I choose connection and click the router...
Thanks for the info!
Hi, how do you save the integration-graph as an image (JPEG)? I can only see the xml form of the file and I want to have an image for that. Thanks!
I'm using the stable release spring-integration-1.0.4.RELEASE
By the way, instead of using <task:executor/>, I used Spring's org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
...
I want to determine what channel to use in my application. My setup is this:
1. A sender thread creates 2 request messages and put these in a Queue Channel (same time)
2. A router will poll the...
Hi, I downloaded the samples in spring-integration-1.0.4.RELEASE
Where can I see the diagrams or system designs for these examples? Say the cafe example, where can I see some diagram/images on...
Thanks a lot! It now works perfectly. The only error I encountered was:
Caused by: java.lang.ClassNotFoundException: org.aopalliance.intercept.MethodInterceptor
which was fixed by downloading the...
I am not using Maven when building my code. I just manually build the path so I need to download the org.springframework.commons jar. But when I go to http://maven.springframework.org/milestone the...
Hi, I need to have a tcp client that sends and receives a message to a tcp server. How do I do that using spring integration? As much as possible I want classes to be initialized in the xml file and...
That did the job! Thanks a lot! :) It seems that I always need to put the default-output-channel and ignore-channel-name-resolution-failures when I need to use the errorChannel
Thanks again!
I tried the "ignore-channel-name-resolution-failures" attribute set to TRUE and the Exception did not show up. But still, the ErrorHandler.errorCaught() did not execute.
Are my configurations...
Hi, I have a my own implementation of <router>. It has a method that returns a String. I know that that String is the name of the channel it will put the message to. If the channel does not exist, it...