Search:

Type: Posts; User: backofthecup@hotmail.com; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. That did the trick!! Much appreciated:)

    That did the trick!!

    Much appreciated:)
  2. Method not getting intercepted

    I have a very interesting problem: I'm using a hibernate session factory with a RoutingDataSource (for 2 data sources). I'm using 2 facades in my service layer which also defines my transactions...
  3. Problem with @Controller and @RequestParam

    I have a simple controller that takes one request parameter:



    @Controller
    @RequestMapping("/secure/somurl.htm")
    public class ProblemListController {

    @Autowired
    private ServiceFacade...
  4. Ok, I think I finally know why it isn't working....

    Ok, I think I finally know why it isn't working. The problem is the determineCurrentLookupKey() on the AbstractRoutingDataSource class is being called before my advisor is being called. I really...
  5. Well I switched to using annotations for aspects...

    Well I switched to using annotations for aspects and I get unpredictable results. Sometimes it works and sometimes it doesn't. The methods appear once again to be getting intercepted correctly. ...
  6. Well I thought I had everything working. I'm...

    Well I thought I had everything working. I'm using beforeAdvice on the call to my service layer to determine what data source to set. That seems to be working perfectly. However I noticed I had...
  7. Thanks for your help ....I really appreciate it. ...

    Thanks for your help ....I really appreciate it. Determining what data source to use sounds like a perfect scenario to use Aspects.
  8. I think I may have to use a...

    I think I may have to use a JtaTransactionManager??
  9. Using more than one tx manager with @Transactional

    Here's my problem..I have two sessionFactory(ies) , two Tx managers - one for each sessionfactory each one having a different data source. I want to use annotations for transaction mgmt with...
  10. As of Spring 2.5.6 you can now use the...

    As of Spring 2.5.6 you can now use the setPackagesToScan() method accommodate this:

    <bean id="sessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean"...
  11. Thanks....setting the property to true fixed the...

    Thanks....setting the property to true fixed the problem.
  12. Why not just create your own...

    Why not just create your own formAuthenticationProcessingFilter. Subclass AuthenticationProcessingFilter and override this method:

    onSuccessfulAuthentication(HttpServletRequest request,...
  13. formAuthenticationProcessingFilter with sendRedirect

    I'm using version 2.0.3. On my formAuthenticationProcessingFilter bean I have "serverSideRedirect" set to false but it still seems to send a redirect rather than an include/forward. I know this...
  14. Thanks for your response...pointing the...

    Thanks for your response...pointing the loginFormUrl to a controller did the trick! Thanks again.
  15. What controller? I'm using Spring MVC but there...

    What controller? I'm using Spring MVC but there isn't a controller with form based authentication. Here are my security settings:

    <bean id="filterChainProxy"...
  16. Prepopulating username using form based authentication

    How do I prepopulate the user name (from say a cookie value) using form based authentication? It's not clear to me where the developer "hook" is for this. I'm using a custom...
  17. Setting a cookie value after authentication

    I'm not sure if this belongs here or not, but I am using Spring MVC & Spring Security using form based authentication and was wondering how I can set a cookie value once the user is successfully...
  18. I figured it out....I had to wrong URI. Forgot...

    I figured it out....I had to wrong URI. Forgot to put the app name in the uri :
    http://localhost:7001/{app name}/services/nameService

    Thanks for you help!:)
  19. No I'm not sure I'm pointing to the correct uri....

    No I'm not sure I'm pointing to the correct uri. In the WebServiceClient I'm using:

    webServiceTemplate.sendSourceAndReceiveToResult("http://localhost:7001/services/nameService", source, result);
    ...
  20. Here is the full stack trace: Exception in...

    Here is the full stack trace:

    Exception in thread "main" org.springframework.ws.client.WebServiceTransportException: Not Found [404]
    at...
  21. WebServiceTransportException: Not found [404]

    I'm using Spring WS 1.5 and am having a problem with my first simple web service that simply sends a first and last name which in turn gets echoed back in a response. When I point the browser to...
  22. Thanks for the information. Once I upgraded to...

    Thanks for the information. Once I upgraded to Eclipse 3.3 and WTP 2.0 everything worked!!!
  23. Class attribute is not auto completing

    I have Eclipse 3.2.2, WTP 1.5, and Spring IDE 2.0.1, however the class attribute is not auto completing. For instance, when I type:

    <bean id="test" class="java.lang.">

    nothing is suggested. ...
  24. Ok, turns out we had a problem with a transaction...

    Ok, turns out we had a problem with a transaction that was suspended, waiting to be committed or rolledback. Once the DBA manually rolled back the transaction, everything seems to be working fine. ...
  25. There are 2 JDBC XA datasources involved in this...

    There are 2 JDBC XA datasources involved in this transaaction. However, when I comment out one of the datasources from the transaction, so there is only 1 jdbc XA datasource involved, the...
Results 1 to 25 of 50
Page 1 of 2 1 2