Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Outputting a NoSuchBeanDefinitionException to a log4j file

    Hi,

    newb question i'm sure, but I want to know how I Outputting a NoSuchBeanDefinitionException to a log4j file in spring web flow.

    In web.xml i have the following code:

    <context-param>...
  2. If anyone is interested I solved the problem: ...

    If anyone is interested I solved the problem:

    I created an xml file with the same name as my webapp (myWebApp.xml), in tomcats /conf/Catalina/localhost directory, and added the following code:

    ...
  3. Sorry, that was a typo on my part. The resource...

    Sorry, that was a typo on my part. The resource element is in my server.xml so that wasn't the problem.



    Okay, but why would that cause the error i'm getting? When I take it out the declaration...
  4. Cannot create JDBC driver of class '' for connect URL 'null'

    I'm trying to get JNDI working in my spring app but having no joy. I've trawled the net, and although i've seen alot of posts on the subject...i'm having no luck seeing where i'm going wrong.

    When...
  5. Replies
    1
    Views
    1,319

    Non-unique usernames in Users table

    I have a spring web app that uses acegi and want to have non unique usernames but have just can't work out how to do it. The unique key in my users and authorities tables is Username and...
  6. Replies
    3
    Views
    1,999

    I'm still trying to work this out... so if i'm...

    I'm still trying to work this out...

    so if i'm right I can override the value of usersByUsernameQuery and authoritiesByUsernameQuery by adding some properties to my...
  7. Replies
    3
    Views
    1,999

    I'm using spring web flow, so conferenceId will...

    I'm using spring web flow, so conferenceId will already have been added to the flow at this point.
  8. Replies
    3
    Views
    1,999

    custom username / password query in acegi

    Hi there,

    I've got acegi working in my web app. I'm using a Users table and Authorities table in MS SQL server and it works fine...however, I want to add some functionality
    In my app,...
  9. to clarify, i want to have something like this in...

    to clarify, i want to have something like this in my registration-flow.xml file that passes some of the data in my msg.properties file to the countriesList method
    <action-state id="readCountries">...
  10. accessing a properties file from my webflow

    Hi, I want to access values in a properties file called msg.properties from my webflow. I'm not really sure how to go about it. So far, i've added it in my services-config.xml like so:


    <bean...
  11. Replies
    3
    Views
    887

    cool, that worked perfectly. I was using...

    cool, that worked perfectly. I was using ${param.formtype} in my JSP instead of <%=request.getParameter"formtype" %>

    But now I just use ${formtype} as its been added to my flow...thanks for the...
  12. Replies
    3
    Views
    887

    passing a parameter to the flow

    Hi,

    I have an index page with a number of links:


    <P><A href="registrationform.htm?_flowId=sponsor-flow">Sponsor Opportunities</A></P>
    <P><A...
  13. Replies
    4
    Views
    767

    Sorry for the duplicate thread, I just thought it...

    Sorry for the duplicate thread, I just thought it might be a flow specific problem. Thanks for the help, you were right, i got it working by setting 'proxy-target-class' to true :)
  14. Replies
    4
    Views
    767

    root cause java.lang.NoSuchMethodException:...

    root cause

    java.lang.NoSuchMethodException: $Proxy17.process(null)
    java.lang.Class.getMethod(Class.java:1605)
    org.springframework.binding.method.MethodKey.resolveMethod(MethodKey.java:110)...
  15. Replies
    4
    Views
    767

    exception ...

    exception

    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.binding.method.InvalidMethodKeyException: Could not resolve...
  16. Replies
    4
    Views
    767

    @Transactional problem using SWF

    Hi, I'm having real trouble getting transactions to work with SWF. Here's the code:


    package ed.jdbc;

    import ed.registration.Registrant;
    import java.text.DateFormat;
    import...
  17. Replies
    7
    Views
    1,172

    root cause java.lang.NoSuchMethodException:...

    root cause

    java.lang.NoSuchMethodException: $Proxy11.process(null)
    java.lang.Class.getMethod(Class.java:1605)
    org.springframework.binding.method.MethodKey.resolveMethod(MethodKey.java:110)...
  18. Replies
    7
    Views
    1,172

    if it helps, here's the full error i get: ...

    if it helps, here's the full error i get:

    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is...
  19. Replies
    7
    Views
    1,172

    Still having probs...So I added ...

    Still having probs...So I added <tx:annotation-driven /> to my services-config.xml file, and added @Transactional just before the class declaration in JDBCTestClass? Is that all i have to do?

    At...
  20. Replies
    7
    Views
    1,172

    how do I modify my code to implement...

    how do I modify my code to implement transactions...the spring documentation on the subject goes over my head a little.

    my services-config.xml file currently looks as follows


    <bean...
  21. Replies
    7
    Views
    1,172

    SELECT @@IDENTITY problem!

    Hi all,

    When i run the process method, my SELECT @@IDENTITY always equals 0. I'm pretty new at this stuff...can anyone help? Is it something to do with transactions..if so a simple explanation...
  22. Hey man, thanks for the help, things are much...

    Hey man, thanks for the help, things are much clearer in my head now, and i managed to solve my last problem...it was just a silly syntax error :)
  23. hurray, I solved that problem by cloning the...

    hurray, I solved that problem by cloning the delegate object and adding the clone instead:


    public void addDelegate(Delegate delegate) {
    try {
    Delegate test =...
  24. I solved the problem of the delegate variables in...

    I solved the problem of the delegate variables in the list being null - I was adding a new delegate object each time instead of the existing one. Changing the method code as follows solved that...
  25. Hey guys, thanks for the help, couple of...

    Hey guys, thanks for the help, couple of questions for each of you.

    Newbix, when i try your method, the list is added to the flow fine, and contains the correct info (when i check using my...
Results 1 to 25 of 39
Page 1 of 2 1 2