Search:

Type: Posts; User: racumin; Keyword(s):

Search: Search took 0.02 seconds.

  1. MultiActionController OutOfMemory Exception

    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...
  2. I didn't see that :) I'm really sorry for...

    I didn't see that :)

    I'm really sorry for wasting your time with these stupid mistakes of mine :D
  3. Hi, I changed 'agents' to 'items' but it is still...

    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");...
  4. Thanks! It should be 'items' instead of 'agents'....

    Thanks! It should be 'items' instead of 'agents'. And thanks for the link!
  5. Attribute invalid for tag forEach according to TLD

    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 =...
  6. My application does not insert the DATE value. It...

    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...
  7. After some research, I stumbled upon this site...

    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


    ...
  8. I'll try to use DateFormat and see what happens....

    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
  9. Adding properties to Jboss JNDI DataSource

    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:
  10. StoredProcedure outputs wrong Date (time is always 00:00:00.0)

    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:
  11. Replies
    0
    Views
    1,233

    Spring OSGi Extender for Spring 3.0.5

    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...
  12. Replies
    1
    Views
    1,086

    Spring Integration OSGi Bundle Problem

    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...
  13. Replies
    2
    Views
    6,570

    Adding Maven dependencies to a Maven Project

    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...
  14. Replies
    8
    Views
    1,933

    Hi, I noticed that in the above example, the...

    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...
  15. Thanks for the info!

    Thanks for the info!
  16. Hi, how do you save the integration-graph as an...

    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!
  17. Replies
    2
    Views
    1,016

    I'm using the stable release...

    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
    ...
  18. Replies
    2
    Views
    1,016

    Threads for Queue and Executor Channel

    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...
  19. Replies
    8
    Views
    1,933

    Spring Integration Samples diagram

    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...
  20. Replies
    5
    Views
    1,399

    Thanks a lot! It now works perfectly. The only...

    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...
  21. Replies
    5
    Views
    1,399

    I am not using Maven when building my code. I...

    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...
  22. Replies
    5
    Views
    1,399

    Help in creating a TCP Client

    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...
  23. Replies
    4
    Views
    686

    That did the job! Thanks a lot! :) It seems that...

    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!
  24. Replies
    4
    Views
    686

    I tried the...

    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...
  25. Replies
    4
    Views
    686

    Question about errorChannel

    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...
Results 1 to 25 of 25