AW: Resin 2.0.0 & Struts 1.0 & JDK1.4.0-beta3 BUG?

2002-01-04 Thread Lenharcik Juraj

Hi Simon and All,

I have tried it like Simon with the one application and then with the second
one in the container alone and it worked. That means, that one application
in the container work without any problems but when I have two struts based
applications in the container, than I become a failure (java 1.4 b1-b3 and
resin-2.0.0-2.0.4/tomcat).

Can someone of the struts dev. have a look on that


thaks
juraj




-Ursprüngliche Nachricht-
Von: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 3. Januar 2002 20:36
An: Struts Users Mailing List
Betreff: RE: Resin 2.0.0 & Struts 1.0 & JDK1.4.0-beta3 BUG?


I get a similar thing under Tomcat (4.0.1 & 4.0.2-b1). If I have
multiple applications in my webapps dir, then they break, but each works
when in there on it's own. I am using RedHat Linux and Java 1.4.0-beta3
and W2KPro w/ Cygwin ... same problem in both places.

Simon

-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist  www.landsend.com
Lands' End, Inc.   (608) 935-4526


>-Original Message-
>From: Lenharcik Juraj [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, January 03, 2002 1:01 PM
>To: Struts Users Mailing List
>Subject: AW: Resin 2.0.0 & Struts 1.0 & JDK1.4.0-beta3 BUG?
>
>
>hi,
>
>the stange think is, that I have two applications in my
>container, both on
>struts. But only in the second one is the failure. When I
>start the server
>with java 1.3 both work fine. When I start the server with
>only the first
>application (on java 1.4), it works fine, too. ??!?!?!??
>
>Had someone a similar error?
>
>
>thank you,
>juraj
>
>
>
>-Ursprüngliche Nachricht-
>Von: Ted Husted [mailto:[EMAIL PROTECTED]]
>Gesendet: Montag, 31. Dezember 2001 15:20
>An: Struts Users Mailing List
>Betreff: Re: Resin 2.0.0 & Struts 1.0 & JDK1.4.0-beta3 BUG?
>
>
>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)
>>   

RE: Resin 2.0.0 & Struts 1.0 & JDK1.4.0-beta3 BUG?

2002-01-03 Thread Chappell, Simon P

I get a similar thing under Tomcat (4.0.1 & 4.0.2-b1). If I have
multiple applications in my webapps dir, then they break, but each works
when in there on it's own. I am using RedHat Linux and Java 1.4.0-beta3
and W2KPro w/ Cygwin ... same problem in both places.

Simon

-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist  www.landsend.com
Lands' End, Inc.   (608) 935-4526


>-Original Message-
>From: Lenharcik Juraj [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, January 03, 2002 1:01 PM
>To: Struts Users Mailing List
>Subject: AW: Resin 2.0.0 & Struts 1.0 & JDK1.4.0-beta3 BUG?
>
>
>hi,
>
>the stange think is, that I have two applications in my 
>container, both on
>struts. But only in the second one is the failure. When I 
>start the server
>with java 1.3 both work fine. When I start the server with 
>only the first
>application (on java 1.4), it works fine, too. ??!?!?!??
>
>Had someone a similar error?
>
>
>thank you,
>juraj
>
>
>
>-Ursprüngliche Nachricht-
>Von: Ted Husted [mailto:[EMAIL PROTECTED]]
>Gesendet: Montag, 31. Dezember 2001 15:20
>An: Struts Users Mailing List
>Betreff: Re: Resin 2.0.0 & Struts 1.0 & JDK1.4.0-beta3 BUG?
>
>
>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

AW: Resin 2.0.0 & Struts 1.0 & JDK1.4.0-beta3 BUG?

2002-01-03 Thread Lenharcik Juraj

hi,

the stange think is, that I have two applications in my container, both on
struts. But only in the second one is the failure. When I start the server
with java 1.3 both work fine. When I start the server with only the first
application (on java 1.4), it works fine, too. ??!?!?!??

Had someone a similar error?


thank you,
juraj



-Ursprüngliche Nachricht-
Von: Ted Husted [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 31. Dezember 2001 15:20
An: Struts Users Mailing List
Betreff: Re: Resin 2.0.0 & Struts 1.0 & JDK1.4.0-beta3 BUG?


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.(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]>




Re: Resin 2.0.0 & Struts 1.0 & JDK1.4.0-beta3 BUG?

2001-12-31 Thread Dietmar Kling

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.(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]>




Re: Resin 2.0.0 & Struts 1.0 & JDK1.4.0-beta3 BUG?

2001-12-31 Thread Ted Husted

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.(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:   
> For additional commands, e-mail: 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Resin 2.0.0 & Struts 1.0 & JDK1.4.0-beta3 BUG?

2001-12-21 Thread Lenharcik Juraj

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.(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:   
For additional commands, e-mail: