You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Donald Ball <ba...@webslingerZ.com> on 2001/08/03 06:43:27 UTC

java.lang.VerifyError

i'm getting this with the latest c2 and resin:

java.lang.VerifyError: (class: org/apache/cocoon/servlet/CocoonServlet,
method: createCocoon signature: ()V) Incompatible object argument for
function
call
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:237)
        at java.beans.Beans.instantiate(Beans.java:207)
        at java.beans.Beans.instantiate(Beans.java:51)
        at
com.caucho.server.http.Application.instantiateServlet(Application.java:2394)
        at
com.caucho.server.http.Application.createServlet(Application.java:2343)
        at
com.caucho.server.http.Application.loadServlet(Application.java:2302)
        at
com.caucho.server.http.Application.getFilterChainServlet(Application.java:2169)
        at
com.caucho.server.http.Application.buildFilterChain(Application.java:2135)
        at com.caucho.server.http.Invocation.service(Invocation.java:270)
        at
com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:334)
        at
com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:266)
        at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
        at java.lang.Thread.run(Thread.java:484)

this is a class of error i've run into before but i can't recall what i do
to fix it. any suggestions? note it's not a jaxp problem, i've already
replaced the old xml libs with xerces-1.4.1.

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: java.lang.VerifyError

Posted by Donald Ball <ba...@webslingerZ.com>.
On Mon, 6 Aug 2001, Jeff Turner wrote:

> So sayeth the INSTALL file:
>
>   4) I get a java.lang.VerifyError when accessing 'http://localhost/cocoon/'.
>      What's wrong?
>
>   Make sure you do not have a Cocoon 1.x jar in your servlet container lib/
>   directory.

that oughta be in the FAQ too - but that wasn't it either. i neglected to
start resin with an empty classpath and i had a servlet-2.0 jar in my
classpath. dumb. i'll add it to the faq.

<rant>java has a pretty good classloader and namespace scheme, why oh why
couldn't they have added version support as well???</rant>

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: java.lang.VerifyError

Posted by Jeff Turner <je...@socialchange.net.au>.
So sayeth the INSTALL file:

  4) I get a java.lang.VerifyError when accessing 'http://localhost/cocoon/'.
     What's wrong?
  
  Make sure you do not have a Cocoon 1.x jar in your servlet container lib/
  directory.

:)

--Jeff

On Fri, Aug 03, 2001 at 12:43:27AM -0400, Donald Ball wrote:
> i'm getting this with the latest c2 and resin:
> 
> java.lang.VerifyError: (class: org/apache/cocoon/servlet/CocoonServlet,
> method: createCocoon signature: ()V) Incompatible object argument for
> function
> call
[snip]
> - donald

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: java.lang.VerifyError

Posted by Kevin Sonney <ke...@webslingerZ.com>.
Donald - 

On Fri, Aug 03, 2001 at 12:43:27AM -0400, Donald Ball spoke thusly:
> i'm getting this with the latest c2 and resin:
> 
> java.lang.VerifyError: (class: org/apache/cocoon/servlet/CocoonServlet,
> method: createCocoon signature: ()V) Incompatible object argument for
> function
> call
*snip of backtrace*
> this is a class of error i've run into before but i can't recall what i do
> to fix it. any suggestions? note it's not a jaxp problem, i've already
> replaced the old xml libs with xerces-1.4.1.

I also had to add xalan to the resin libraries, and rename dom.jar to
zdom.jar to get Cocoon2 to work with the latest Resin. 

Check the list server logs for my instructions, or grab me at the
office today. I've got C2b2 running just fine on Resin-2.0.1, and that
should also hold true for C2.1Alpha.

-- 
+-------------------------------------------+
| Kevin Sonney        kevin@webslingerZ.com |
| Systems Programmer    www.webslingerZ.com |
+-------------------------------------------+

"The weakest link in any civil rights case is always the
defendant. Imagine being a lawyer and getting a call from me. That's why I
try to, uh, behave myself." - Hunter S. Thompson


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: java.lang.VerifyError

Posted by Kevin Sonney <ke...@webslingerZ.com>.
Donald - 

On Fri, Aug 03, 2001 at 12:43:27AM -0400, Donald Ball spoke thusly:
> i'm getting this with the latest c2 and resin:
> 
> java.lang.VerifyError: (class: org/apache/cocoon/servlet/CocoonServlet,
> method: createCocoon signature: ()V) Incompatible object argument for
> function
> call
*snip of backtrace*
> this is a class of error i've run into before but i can't recall what i do
> to fix it. any suggestions? note it's not a jaxp problem, i've already
> replaced the old xml libs with xerces-1.4.1.

I also had to add xalan to the resin libraries, and rename dom.jar to
zdom.jar to get Cocoon2 to work with the latest Resin. 

Check the list server logs for my instructions, or grab me at the
office today. I've got C2b2 running just fine on Resin-2.0.1, and that
should also hold true for C2.1Alpha.

-- 
+-------------------------------------------+
| Kevin Sonney        kevin@webslingerZ.com |
| Systems Programmer    www.webslingerZ.com |
+-------------------------------------------+

"The weakest link in any civil rights case is always the
defendant. Imagine being a lawyer and getting a call from me. That's why I
try to, uh, behave myself." - Hunter S. Thompson


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org