You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Warner Onstine <sw...@warneronstine.com> on 2002/06/28 23:12:58 UTC

intake problem

Hi all,
I am attempting to use the new de-coupled intake with T3 and am having the
following error occur now when I hit my app:

java.lang.VerifyError: (class:
org/apache/fulcrum/intake/transform/XmlToAppData,
method: parseFile signature:
(Ljava/lang/String;Z)Lorg/apache/fulcrum/intake/xmlmodel/AppData;)
Incompatible object argument for function call
 at org.apache.fulcrum.intake.TurbineIntakeService.writeAppData(Unknown
Source)
 at org.apache.fulcrum.intake.TurbineIntakeService.init(Unknown Source)
 at org.apache.fulcrum.BaseServiceBroker.getService(Unknown Source)
 at org.apache.fulcrum.intake.TurbineIntake.getService(Unknown Source)
 at org.apache.fulcrum.intake.TurbineIntake.getGroupNames(Unknown Source)
 at org.apache.fulcrum.intake.Intake.<init>(Unknown Source)
 at org.apache.turbine.tool.IntakeTool.<init>(Unknown Source)

I looked through the archives and saw that I should try a newer version of
xerces (although the problem was with torque generation, which I don't have
a problem with). However, I'm not exactly sure what version of xerces I'm
using.

I am using Maven to build, so I pretty much copied the project.xml from T3
and am using the following:
xercesImpl-2.0.0.jar
xmlParserAPIs-2.0.0.jar

I then replaced these with the xerces-2.0.2 stuff

and I see scarab requires 1.4.4.jar, if this is in the T3 repository how is
it working (it obviously isn't for Scarab).

Ahh, one thought: is Intake actually validating the xml, I have mine
pointing to the one on the site.

This is stopping me right now, I really like working with Intake and have
grown accustomed to it =).

-warner

+warner onstine+


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: intake problem

Posted by Warner Onstine <sw...@warneronstine.com>.
Ok,
So I decided to test something.
1) Remove xml parser api's and xerces impl
2) Re-run - NoClassDefFound for xerces class
3) Re-add in xerces impl - same error as before

What do I need to do here, I've read through resin's archive and there
doesn't seem to be a way to remove the xml stuff. Does Tomcat do the same
thing?

I thought all containers were supposed to keep their jars separate from
webapp jars, is this not the case? (I seem to remember a big thread on this
on Tomcat a while ago - two years =).

-warner

----- Original Message -----
From: "Warner Onstine" <sw...@warneronstine.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Friday, June 28, 2002 4:08 PM
Subject: Re: intake problem


> Has anyone used Resin for deployment?
>
> I don't know if it has a built-in version of xerces, but I don't have any
> other versions of xerces in my WEB-INF/lib, unless it's hidden in some
other
> jar file.
>
> -warner
>
> ----- Original Message -----
> From: "Stephen Haberman" <st...@chase3000.com>
> To: "'Turbine Users List'" <tu...@jakarta.apache.org>
> Sent: Friday, June 28, 2002 3:51 PM
> Subject: RE: intake problem
>
>
> > You may have already tried this as I think it's in the archives, but
> > having multiple versions of Xerces in your classpath can also cause
> > this. I ran into this when I changed the xerces version without doing a
> > maven:clean and still had the old xerces in the lib dir...or something
> > of that sort.
> >
> > Another time I had this error, downgrading from Jikes 1.15 to Jikes 1.14
> > fixed it for me, but lately that that's been the solution for other
> > people with this type of problem, so it may not be for you either. But
> > just something to check.
> >
> > - Stephen
> >
> > > -----Original Message-----
> > > From: Warner Onstine [mailto:sw-list@warneronstine.com]
> > > Sent: Friday, June 28, 2002 4:13 PM
> > > To: turbine-user@jakarta.apache.org
> > > Subject: intake problem
> > >
> > > Hi all,
> > > I am attempting to use the new de-coupled intake with T3 and am having
> > the
> > > following error occur now when I hit my app:
> > >
> > > java.lang.VerifyError: (class:
> > > org/apache/fulcrum/intake/transform/XmlToAppData,
> > > method: parseFile signature:
> > > (Ljava/lang/String;Z)Lorg/apache/fulcrum/intake/xmlmodel/AppData;)
> > > Incompatible object argument for function call
> > >  at
> > org.apache.fulcrum.intake.TurbineIntakeService.writeAppData(Unknown
> > > Source)
> > >  at org.apache.fulcrum.intake.TurbineIntakeService.init(Unknown
> > Source)
> > >  at org.apache.fulcrum.BaseServiceBroker.getService(Unknown Source)
> > >  at org.apache.fulcrum.intake.TurbineIntake.getService(Unknown Source)
> > >  at org.apache.fulcrum.intake.TurbineIntake.getGroupNames(Unknown
> > Source)
> > >  at org.apache.fulcrum.intake.Intake.<init>(Unknown Source)
> > >  at org.apache.turbine.tool.IntakeTool.<init>(Unknown Source)
> > >
> > > I looked through the archives and saw that I should try a newer
> > version of
> > > xerces (although the problem was with torque generation, which I don't
> > have
> > > a problem with). However, I'm not exactly sure what version of xerces
> > I'm
> > > using.
> > >
> > > I am using Maven to build, so I pretty much copied the project.xml
> > from T3
> > > and am using the following:
> > > xercesImpl-2.0.0.jar
> > > xmlParserAPIs-2.0.0.jar
> > >
> > > I then replaced these with the xerces-2.0.2 stuff
> > >
> > > and I see scarab requires 1.4.4.jar, if this is in the T3 repository
> > how is
> > > it working (it obviously isn't for Scarab).
> > >
> > > Ahh, one thought: is Intake actually validating the xml, I have mine
> > > pointing to the one on the site.
> > >
> > > This is stopping me right now, I really like working with Intake and
> > have
> > > grown accustomed to it =).
> > >
> > > -warner
> > >
> > > +warner onstine+
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: intake problem

Posted by Warner Onstine <sw...@warneronstine.com>.
Looks like a problem with Resin, just downloaded tomcat 4.0.4 and it worked!
Now, I can get back to development.

Thanks for pointing this out Stephen.

-warner

----- Original Message -----
From: "Warner Onstine" <sw...@warneronstine.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Friday, June 28, 2002 4:08 PM
Subject: Re: intake problem


> Has anyone used Resin for deployment?
>
> I don't know if it has a built-in version of xerces, but I don't have any
> other versions of xerces in my WEB-INF/lib, unless it's hidden in some
other
> jar file.
>
> -warner
>
> ----- Original Message -----
> From: "Stephen Haberman" <st...@chase3000.com>
> To: "'Turbine Users List'" <tu...@jakarta.apache.org>
> Sent: Friday, June 28, 2002 3:51 PM
> Subject: RE: intake problem
>
>
> > You may have already tried this as I think it's in the archives, but
> > having multiple versions of Xerces in your classpath can also cause
> > this. I ran into this when I changed the xerces version without doing a
> > maven:clean and still had the old xerces in the lib dir...or something
> > of that sort.
> >
> > Another time I had this error, downgrading from Jikes 1.15 to Jikes 1.14
> > fixed it for me, but lately that that's been the solution for other
> > people with this type of problem, so it may not be for you either. But
> > just something to check.
> >
> > - Stephen
> >
> > > -----Original Message-----
> > > From: Warner Onstine [mailto:sw-list@warneronstine.com]
> > > Sent: Friday, June 28, 2002 4:13 PM
> > > To: turbine-user@jakarta.apache.org
> > > Subject: intake problem
> > >
> > > Hi all,
> > > I am attempting to use the new de-coupled intake with T3 and am having
> > the
> > > following error occur now when I hit my app:
> > >
> > > java.lang.VerifyError: (class:
> > > org/apache/fulcrum/intake/transform/XmlToAppData,
> > > method: parseFile signature:
> > > (Ljava/lang/String;Z)Lorg/apache/fulcrum/intake/xmlmodel/AppData;)
> > > Incompatible object argument for function call
> > >  at
> > org.apache.fulcrum.intake.TurbineIntakeService.writeAppData(Unknown
> > > Source)
> > >  at org.apache.fulcrum.intake.TurbineIntakeService.init(Unknown
> > Source)
> > >  at org.apache.fulcrum.BaseServiceBroker.getService(Unknown Source)
> > >  at org.apache.fulcrum.intake.TurbineIntake.getService(Unknown Source)
> > >  at org.apache.fulcrum.intake.TurbineIntake.getGroupNames(Unknown
> > Source)
> > >  at org.apache.fulcrum.intake.Intake.<init>(Unknown Source)
> > >  at org.apache.turbine.tool.IntakeTool.<init>(Unknown Source)
> > >
> > > I looked through the archives and saw that I should try a newer
> > version of
> > > xerces (although the problem was with torque generation, which I don't
> > have
> > > a problem with). However, I'm not exactly sure what version of xerces
> > I'm
> > > using.
> > >
> > > I am using Maven to build, so I pretty much copied the project.xml
> > from T3
> > > and am using the following:
> > > xercesImpl-2.0.0.jar
> > > xmlParserAPIs-2.0.0.jar
> > >
> > > I then replaced these with the xerces-2.0.2 stuff
> > >
> > > and I see scarab requires 1.4.4.jar, if this is in the T3 repository
> > how is
> > > it working (it obviously isn't for Scarab).
> > >
> > > Ahh, one thought: is Intake actually validating the xml, I have mine
> > > pointing to the one on the site.
> > >
> > > This is stopping me right now, I really like working with Intake and
> > have
> > > grown accustomed to it =).
> > >
> > > -warner
> > >
> > > +warner onstine+
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: intake problem

Posted by Warner Onstine <sw...@warneronstine.com>.
Has anyone used Resin for deployment?

I don't know if it has a built-in version of xerces, but I don't have any
other versions of xerces in my WEB-INF/lib, unless it's hidden in some other
jar file.

-warner

----- Original Message -----
From: "Stephen Haberman" <st...@chase3000.com>
To: "'Turbine Users List'" <tu...@jakarta.apache.org>
Sent: Friday, June 28, 2002 3:51 PM
Subject: RE: intake problem


> You may have already tried this as I think it's in the archives, but
> having multiple versions of Xerces in your classpath can also cause
> this. I ran into this when I changed the xerces version without doing a
> maven:clean and still had the old xerces in the lib dir...or something
> of that sort.
>
> Another time I had this error, downgrading from Jikes 1.15 to Jikes 1.14
> fixed it for me, but lately that that's been the solution for other
> people with this type of problem, so it may not be for you either. But
> just something to check.
>
> - Stephen
>
> > -----Original Message-----
> > From: Warner Onstine [mailto:sw-list@warneronstine.com]
> > Sent: Friday, June 28, 2002 4:13 PM
> > To: turbine-user@jakarta.apache.org
> > Subject: intake problem
> >
> > Hi all,
> > I am attempting to use the new de-coupled intake with T3 and am having
> the
> > following error occur now when I hit my app:
> >
> > java.lang.VerifyError: (class:
> > org/apache/fulcrum/intake/transform/XmlToAppData,
> > method: parseFile signature:
> > (Ljava/lang/String;Z)Lorg/apache/fulcrum/intake/xmlmodel/AppData;)
> > Incompatible object argument for function call
> >  at
> org.apache.fulcrum.intake.TurbineIntakeService.writeAppData(Unknown
> > Source)
> >  at org.apache.fulcrum.intake.TurbineIntakeService.init(Unknown
> Source)
> >  at org.apache.fulcrum.BaseServiceBroker.getService(Unknown Source)
> >  at org.apache.fulcrum.intake.TurbineIntake.getService(Unknown Source)
> >  at org.apache.fulcrum.intake.TurbineIntake.getGroupNames(Unknown
> Source)
> >  at org.apache.fulcrum.intake.Intake.<init>(Unknown Source)
> >  at org.apache.turbine.tool.IntakeTool.<init>(Unknown Source)
> >
> > I looked through the archives and saw that I should try a newer
> version of
> > xerces (although the problem was with torque generation, which I don't
> have
> > a problem with). However, I'm not exactly sure what version of xerces
> I'm
> > using.
> >
> > I am using Maven to build, so I pretty much copied the project.xml
> from T3
> > and am using the following:
> > xercesImpl-2.0.0.jar
> > xmlParserAPIs-2.0.0.jar
> >
> > I then replaced these with the xerces-2.0.2 stuff
> >
> > and I see scarab requires 1.4.4.jar, if this is in the T3 repository
> how is
> > it working (it obviously isn't for Scarab).
> >
> > Ahh, one thought: is Intake actually validating the xml, I have mine
> > pointing to the one on the site.
> >
> > This is stopping me right now, I really like working with Intake and
> have
> > grown accustomed to it =).
> >
> > -warner
> >
> > +warner onstine+
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: intake problem

Posted by Stephen Haberman <st...@chase3000.com>.
You may have already tried this as I think it's in the archives, but
having multiple versions of Xerces in your classpath can also cause
this. I ran into this when I changed the xerces version without doing a
maven:clean and still had the old xerces in the lib dir...or something
of that sort.

Another time I had this error, downgrading from Jikes 1.15 to Jikes 1.14
fixed it for me, but lately that that's been the solution for other
people with this type of problem, so it may not be for you either. But
just something to check.

- Stephen

> -----Original Message-----
> From: Warner Onstine [mailto:sw-list@warneronstine.com]
> Sent: Friday, June 28, 2002 4:13 PM
> To: turbine-user@jakarta.apache.org
> Subject: intake problem
> 
> Hi all,
> I am attempting to use the new de-coupled intake with T3 and am having
the
> following error occur now when I hit my app:
> 
> java.lang.VerifyError: (class:
> org/apache/fulcrum/intake/transform/XmlToAppData,
> method: parseFile signature:
> (Ljava/lang/String;Z)Lorg/apache/fulcrum/intake/xmlmodel/AppData;)
> Incompatible object argument for function call
>  at
org.apache.fulcrum.intake.TurbineIntakeService.writeAppData(Unknown
> Source)
>  at org.apache.fulcrum.intake.TurbineIntakeService.init(Unknown
Source)
>  at org.apache.fulcrum.BaseServiceBroker.getService(Unknown Source)
>  at org.apache.fulcrum.intake.TurbineIntake.getService(Unknown Source)
>  at org.apache.fulcrum.intake.TurbineIntake.getGroupNames(Unknown
Source)
>  at org.apache.fulcrum.intake.Intake.<init>(Unknown Source)
>  at org.apache.turbine.tool.IntakeTool.<init>(Unknown Source)
> 
> I looked through the archives and saw that I should try a newer
version of
> xerces (although the problem was with torque generation, which I don't
have
> a problem with). However, I'm not exactly sure what version of xerces
I'm
> using.
> 
> I am using Maven to build, so I pretty much copied the project.xml
from T3
> and am using the following:
> xercesImpl-2.0.0.jar
> xmlParserAPIs-2.0.0.jar
> 
> I then replaced these with the xerces-2.0.2 stuff
> 
> and I see scarab requires 1.4.4.jar, if this is in the T3 repository
how is
> it working (it obviously isn't for Scarab).
> 
> Ahh, one thought: is Intake actually validating the xml, I have mine
> pointing to the one on the site.
> 
> This is stopping me right now, I really like working with Intake and
have
> grown accustomed to it =).
> 
> -warner
> 
> +warner onstine+
> 
> 
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
> 




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>