i was involved with commons-logging when it started out but (for various reasons) i've sort of bowed out of active development. i'll give it a go but maybe someone else will be able to give you a better reply.

if you have control of your servlet container, then you might try putting these property files in your original container classpath rather than in the web-app.

another thing that you might try is to put log4j in the classpath and then configuring log4j.

you might also search the list archives for [logging] configuration questions.

hope this helps!

- robert

On Tuesday, November 26, 2002, at 10:22 PM, Kevin HaleBoyes wrote:

Thanks for such a fast reply.
I'm not entirely sure how to set the debugging to trace.
I thought I did but the changes I'm making don't seem to be working.

I have a file named commons-logging.properties
in my WEB-INF/classes/ directory that contains the following:

org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog

I have another file (same location) named simplelog.properties
that contains the following:

org.apache.commons.beanutils = trace


but that doesn't work.

Any suggestions?
Kevin

--- robert burrell donkin <[EMAIL PROTECTED]>
wrote:
if you turn up debugging to trace for the beanutils component you
should
be able to see a load of debugging information. look for the last
copyProperty before the IllegalArgumentException.

- robert

On Tuesday, November 26, 2002, at 09:46 PM, Kevin HaleBoyes wrote:

I'm using the BeanUtil that came with Struts 1.1-b2 to copy one
bean to another.

The source is an ActionForm that I get in my execute() method of
my Action.  The destination is a bean that I've just
instantiated.
I perform the copy as follows:

     BeanUtils.copyProperties(lrdto, (LoansForm)form);

and end up getting the exception that I've included below.

How can I determine which fields are mismatched?

Thanks,
Kevin




java.lang.IllegalArgumentException: argument type mismatch
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at


sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty
(PropertyUtils.java:1650)
	at


org.apache.commons.beanutils.BeanUtils.copyProperty(BeanUtils.java:363)
	at


org.apache.commons.beanutils.BeanUtils.copyProperties(BeanUtils.java:265)
	at


com.illuminat.cml.LoanRequestSaveAction.execute(LoanRequestSaveAction.java:
137)
	at
org.apache.struts.action.RequestProcessor.processActionPerform
(RequestProcessor.java:446)
	at


org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
	at


org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
	at


org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED].
org>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED].
org>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED].
org>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED].
org>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to