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>...
Type: Posts; User: fruitman; Keyword(s):
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>...
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:
...
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...
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...
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...
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...
I'm using spring web flow, so conferenceId will already have been added to the flow at this point.
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,...
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">...
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...
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...
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...
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 :)
root cause
java.lang.NoSuchMethodException: $Proxy17.process(null)
java.lang.Class.getMethod(Class.java:1605)
org.springframework.binding.method.MethodKey.resolveMethod(MethodKey.java:110)...
exception
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.binding.method.InvalidMethodKeyException: Could not resolve...
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...
root cause
java.lang.NoSuchMethodException: $Proxy11.process(null)
java.lang.Class.getMethod(Class.java:1605)
org.springframework.binding.method.MethodKey.resolveMethod(MethodKey.java:110)...
if it helps, here's the full error i get:
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is...
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...
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...
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...
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 :)
hurray, I solved that problem by cloning the delegate object and adding the clone instead:
public void addDelegate(Delegate delegate) {
try {
Delegate test =...
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...
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...