Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    1,990

    With Spring 2.0m4, I had a similar problem with...

    With Spring 2.0m4, I had a similar problem with ReflectionUtils because I was using an old version of spring-sandbox.jar (for Commons Validator support). I removed spring-sandbox.jar since I wasn't...
  2. Ok, thanks. ...

    Ok, thanks.

    http://opensource.atlassian.com/projects/spring/browse/SPR-1219
  3. JMX: Recover from InstanceAlreadyExistsException?

    I have an application that registers JMX beans using MBeanExporter. If I deploy this application twice I get org.springframework.beans.factory.BeanCreationException caused by...
  4. Thanks for the response. I think I understand...

    Thanks for the response. I think I understand what is going on now, and my unit test was actually performing behavior that should result in the error.

    In case anyone is interested in the details:...
  5. UnexpectedRollbackException in a rollback JUnit test

    I have a JUnit test that uses AbstractTransactionalDataSourceSpringContextTests. I recently upgraded from Spring 1.1.5 to 1.2.2 and the test fails (succeeded in 1.1.5) with the following exception:...
  6. I think you need to write code to set the...

    I think you need to write code to set the typemapping for each complex type. Check out the jPetstore example.. Look at client\clientContext.xml.. In the Spring 1.2 version look at the code for...
  7. Replies
    7
    Views
    11,955

    What does your log4j.properties look like? For...

    What does your log4j.properties look like? For me, I can either set my rootLogger to FATAL (to quiet almost everything but FATAL messages) or add this line to get only Spring to be quiet (except for...
  8. Replies
    3
    Views
    2,948

    You can integrate .Net and Java with relatively...

    You can integrate .Net and Java with relatively complex objects (beans, arrays of beans, beans containing arrays of beans, beans containing arrays of bean which contain arrays of beans, etc). But...
  9. I am also having some kind of problem that throws...

    I am also having some kind of problem that throws a ClassCastException: http://forum.springframework.org/viewtopic.php?t=4816

    What type of web services are these (doc/literal, rpc/encoded?)
    What...
  10. Replies
    20
    Views
    12,136

    I have a few web service methods that work (of...

    I have a few web service methods that work (of "literal" type). But I have one that has an array of beans as return type. When I call this method it executes successfully on the server side, then...
  11. Replies
    20
    Views
    12,136

    I'm also having the same problem with...

    I'm also having the same problem with JaxRpcPortProxyFactoryBean for web services that work with rpc/encoded, but don't for wrapped/literal. From looking at what Axis's WSDL2Java tool generates, the...
  12. I'm not sure I understand what you want to do. ...

    I'm not sure I understand what you want to do. Do you want to throw the exception but still commit the transaction? In that case, here are something that may help you:
    ...
  13. In one of the projects I'm involved in we have...

    In one of the projects I'm involved in we have had the need to set the transaction status to rollback, but continue execution so that the method can return a response object (similar to your...
  14. Update: Using Java 1.5 and Tomcat 5.5, the app...

    Update: Using Java 1.5 and Tomcat 5.5, the app deploys fine. Maybe this is a Tomcat issue more than it is a Spring issue.
  15. Issue deploying app on Java 1.5, but not 1.4.2 (Tomcat 5.0)

    I have an application that fails to deploy when I use Java 1.5 (update 1), but it deploys fine when using 1.4.2. I am using Tomcat 5.0 and Spring 1.1.3.

    On this same app server, I have another...
  16. Replies
    17
    Views
    25,511

    EDIT: This was originally a question but I found...

    EDIT: This was originally a question but I found the answer.. To cause the browser to download the file (rather than display in the browser if possible) and to provide the correct file name to the...
  17. Using both Hibernate and iBatis in the same application

    I wish to use both Hibernate and iBatis in the same application. I want to be able to have transactions which may use Hibernate and iBatis (and straight JBDC) in a single transaction. How do I...
  18. Thread: abstract bean

    by nilesh
    Replies
    4
    Views
    2,504

    I had this same problem with MyEclipse. It...

    I had this same problem with MyEclipse. It appears to have its own versions of the Spring dtd at these locations:

    C:\Program...
  19. Form forwards to another form that uses same command object

    I have this scenario:
    I have two controllers (extending SimpleFormController) that use the same command object. One of the controllers, on a successful form submission, forwards to the other...
  20. Replies
    3
    Views
    1,983

    In JIRA, is SpringDOC the correct component to...

    In JIRA, is SpringDOC the correct component to create issues for documentation errors?
  21. Replies
    1
    Views
    1,120

    Timezone conversion

    (using Spring 1.1 MVC...)

    We need to convert between timezones for date/times. The date/times are stored in GMT in the database. For the view we want to convert to the user's timezone based on...
  22. Replies
    1
    Views
    1,718

    You need to use SqlMapClientFactoryBean for...

    You need to use SqlMapClientFactoryBean for iBatis 2.0. SqlMapFactoryBean is only for iBatis 1.x.

    The Spring documentation has a table which says which classes to use for 2.0:...
  23. Replies
    16
    Views
    16,258

    Note that if you need to prepopulate all forms of...

    Note that if you need to prepopulate all forms of the view (or validate them all at once or something), one way to do this is have a single Controller and a single Command object that contains the...
  24. Replies
    6
    Views
    6,922

    Looks like there is a way to define messages that...

    Looks like there is a way to define messages that are displayed for specific types. For example:


    typeMismatch.java.util.Date=Invalid date entry
    typeMismatch.java.lang.Integer=Invalid integer...
  25. Replies
    8
    Views
    4,398

    I read in the Struts Validator documentation that...

    I read in the Struts Validator documentation that you need to begin your mask with ^ and end with $. So for example, I have a mask variable like this which works:


    ...
Results 1 to 25 of 39
Page 1 of 2 1 2