Hi,

seems to me like my JDK1.4.0 bug (see archive: Problem with different 
Struts versions )
Replace JDK with IBM JDK
 and i bet this Exception will go away ...

Regards
Dietmar


Ted Husted wrote:

>
> ------------------------------------------------------------------------
>
> Subject:
>
> Re: Resin 2.0.0 & Struts 1.0 & JDK1.4.0-beta3 BUG?
> From:
>
> Ted Husted <[EMAIL PROTECTED]>
> Date:
>
> Mon, 31 Dec 2001 09:19:54 -0500
> To:
>
> Struts Users Mailing List <[EMAIL PROTECTED]>
>
> To:
>
> Struts Users Mailing List <[EMAIL PROTECTED]>
>
>
>It looks like there are some mis-matched JARs. Try replacing the ones in
>the WEB-INF/lib with fresh copies from the struts-example application
>(assuming that one works for you).
>
>
>Lenharcik Juraj wrote:
>
>>Hi,
>>
>>I have tried to run a simple struts web-app with this configuration (above).
>>I get then this exception:
>>
>>$ Resin 2.0.0 (built Fri Jun  8 12:04:24 PDT 2001)
>>Copyright(c) 1998-2001 Caucho Technology.  All rights reserved.
>>
>>Starting Resin on Sat, 22 Dec 2001 08:44:50 +0100 (CET)
>>Begin event threw exception
>>java.lang.IllegalArgumentException: object is not an instance of declaring
>>class
>>
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>>java:42)
>>        at
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>>sorImpl.java:28)
>>        at java.lang.reflect.Method.invoke(Method.java:327)
>>        at
>>org.apache.struts.util.PropertyUtils.setSimpleProperty(PropertyUtils.
>>java:825)
>>        at
>>org.apache.struts.util.PropertyUtils.setNestedProperty(PropertyUtils.
>>java:756)
>>        at
>>org.apache.struts.util.PropertyUtils.setProperty(PropertyUtils.java:7
>>82)
>>        at org.apache.struts.util.BeanUtils.populate(BeanUtils.java:541)
>>        at
>>org.apache.struts.digester.SetPropertiesRule.begin(SetPropertiesRule.
>>java:120)
>>        at
>>org.apache.struts.digester.Digester.startElement(Digester.java:498)
>>        at
>>org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.ja
>>va:329)
>>        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
>>        at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
>>        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
>>        at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
>>        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
>>        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
>>        at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
>>        at
>>org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
>>
>>        at
>>org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
>>
>>        at javax.xml.parsers.SAXParser.parse(SAXParser.java:316)
>>        at javax.xml.parsers.SAXParser.parse(SAXParser.java:91)
>>        at org.apache.struts.digester.Digester.parse(Digester.java:716)
>>        at
>>org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java
>>:1301)
>>        at
>>org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
>>        at javax.servlet.GenericServlet.init(GenericServlet.java:82)
>>        at
>>com.caucho.server.http.Application.createServlet(Application.java:212
>>7)
>>        at
>>com.caucho.server.http.Application.loadServlet(Application.java:2091)
>>
>>        at
>>com.caucho.server.http.Application.initServlets(Application.java:1347
>>)
>>        at com.caucho.server.http.Application.init(Application.java:1303)
>>        at com.caucho.server.http.VirtualHost.init(VirtualHost.java:446)
>>        at
>>com.caucho.server.http.ServletServer.initHosts(ServletServer.java:480
>>)
>>        at com.caucho.server.http.ServletServer.init(ServletServer.java:386)
>>        at
>>com.caucho.server.http.ServletServer.<init>(ServletServer.java:214)
>>        at com.caucho.server.http.ResinServer.init(ResinServer.java:289)
>>        at com.caucho.server.http.ResinServer.main(ResinServer.java:871)
>>        at com.caucho.server.http.HttpServer.main(HttpServer.java:93)
>>http listening to *:8080
>>srun listening to 127.0.0.1:6802
>>
>>When I run it with java 1.3.0._02 it works fine. Can someone explain me,
>>waht happend?
>>
>>Thank you Juraj
>>
>>plz do as CC -> [EMAIL PROTECTED]
>>
>>--
>>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>




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

Reply via email to