You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jörn Heid <he...@agentsinaction.de> on 2001/10/18 11:57:24 UTC

[C2RC1a] Serious (maybeupload.jar) problem with Windows XP / JDK 1.3.1_01

When trying to start Cocoon (Resin 2.0.2) on XP I get

java.lang.ClassFormatError: uk/co/weft/maybeupload/MaybeUploadRequestWrapper
(Code of a method longer than 65535 bytes)
	at java.lang.ClassLoader.defineClass0(Native Method)


On my Windows 2000 machine the same configuration seems to work fine (same
JDK, same Resin installation).



JOERN_HEID


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


RE: [C2RC1a] Serious (maybeupload.jar) problem with Windows XP / JDK 1.3.1_01

Posted by Carsten Ziegeler <cz...@sundn.de>.
> Jörn Heid wrote:
>
>
> Thanks for you fast aid.
> I just downloaded the newest version and this one works perfectly
> (as far as
> I tested).
> As I'm not a developer of cocoon, I didn't know if C2 uses an adapted
> version of it (as C2 seems to do with fop).
I don't think we are using an adapted version. We use a cvs build of fop
without changes.

>
> So the problem might be solved by using the newest jar. Can
> anyobody of the
> developers integrate that into the CVS? What about changing
> maybeupload.jar
> to maybeupload_1.0.5.jar? I think we need to integrate version numbers in
> all of the jar filenames ...
>
Ehm, that's what I did and what you testet.

Carsten

> Sorry for that alert.
>
> JOERN_HEID
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Simon Brooke [mailto:simon@beesianum.jasmine.org.uk]
> Gesendet: Donnerstag, 18. Oktober 2001 12:30
> An: cocoon-users@xml.apache.org; J?rn Heid
> Cc: cocoon-dev@xml.apache.org; simon@weft.co.uk;
> maybeupload-list@weft.co.uk
> Betreff: Re: [C2RC1a] Serious (maybeupload.jar) problem with Windows XP
> / JDK 1.3.1_01
>
>
> On Thursday 18 October 2001 10:57, J?rn Heid wrote:
> > When trying to start Cocoon (Resin 2.0.2) on XP I get
> >
> > java.lang.ClassFormatError:
> > uk/co/weft/maybeupload/MaybeUploadRequestWrapper (Code of a method
> > longer than 65535 bytes)
> > 	at java.lang.ClassLoader.defineClass0(Native Method)
>
> OK, I need to know lots of things.
>
> Which version of MaybeUpload are you guys now using?
> Which JVM was in use on the Win XP machine? Which JVM on the Win2K
> machine?
>
> For what it's worth, my current (1.0.5) maybeupload has the full class
> of MaybeUploadRequestWrapper compiled as 7300 bytes, and the jar file
> is 32966 bytes, so something is wildly wrong. I suggest you download my
> latest stuff from
> <URL: http://www.weft.co.uk/library/maybeupload/ >
> and try with that. If it still breaks, get back to me.
>
> --
> simon@jasmine.org.uk (Simon Brooke) http://www.jasmine.org.uk/~simon/
>
>                  'You cannot put "The Internet" into the Recycle Bin.'
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


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


AW: [C2RC1a] Serious (maybeupload.jar) problem with Windows XP / JDK 1.3.1_01

Posted by Jörn Heid <he...@agentsinaction.de>.
Thanks for you fast aid.
I just downloaded the newest version and this one works perfectly (as far as
I tested).
As I'm not a developer of cocoon, I didn't know if C2 uses an adapted
version of it (as C2 seems to do with fop).

So the problem might be solved by using the newest jar. Can anyobody of the
developers integrate that into the CVS? What about changing maybeupload.jar
to maybeupload_1.0.5.jar? I think we need to integrate version numbers in
all of the jar filenames ...

Sorry for that alert.

JOERN_HEID




-----Ursprüngliche Nachricht-----
Von: Simon Brooke [mailto:simon@beesianum.jasmine.org.uk]
Gesendet: Donnerstag, 18. Oktober 2001 12:30
An: cocoon-users@xml.apache.org; J?rn Heid
Cc: cocoon-dev@xml.apache.org; simon@weft.co.uk;
maybeupload-list@weft.co.uk
Betreff: Re: [C2RC1a] Serious (maybeupload.jar) problem with Windows XP
/ JDK 1.3.1_01


On Thursday 18 October 2001 10:57, J?rn Heid wrote:
> When trying to start Cocoon (Resin 2.0.2) on XP I get
>
> java.lang.ClassFormatError:
> uk/co/weft/maybeupload/MaybeUploadRequestWrapper (Code of a method
> longer than 65535 bytes)
> 	at java.lang.ClassLoader.defineClass0(Native Method)

OK, I need to know lots of things.

Which version of MaybeUpload are you guys now using?
Which JVM was in use on the Win XP machine? Which JVM on the Win2K
machine?

For what it's worth, my current (1.0.5) maybeupload has the full class
of MaybeUploadRequestWrapper compiled as 7300 bytes, and the jar file
is 32966 bytes, so something is wildly wrong. I suggest you download my
latest stuff from
<URL: http://www.weft.co.uk/library/maybeupload/ >
and try with that. If it still breaks, get back to me.

--
simon@jasmine.org.uk (Simon Brooke) http://www.jasmine.org.uk/~simon/

                 'You cannot put "The Internet" into the Recycle Bin.'


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


Re: [C2RC1a] Serious (maybeupload.jar) problem with Windows XP / JDK 1.3.1_01

Posted by Simon Brooke <si...@beesianum.jasmine.org.uk>.
On Thursday 18 October 2001 10:57, J?rn Heid wrote:
> When trying to start Cocoon (Resin 2.0.2) on XP I get
>
> java.lang.ClassFormatError:
> uk/co/weft/maybeupload/MaybeUploadRequestWrapper (Code of a method
> longer than 65535 bytes)
> 	at java.lang.ClassLoader.defineClass0(Native Method)

OK, I need to know lots of things.

Which version of MaybeUpload are you guys now using?
Which JVM was in use on the Win XP machine? Which JVM on the Win2K 
machine?

For what it's worth, my current (1.0.5) maybeupload has the full class 
of MaybeUploadRequestWrapper compiled as 7300 bytes, and the jar file 
is 32966 bytes, so something is wildly wrong. I suggest you download my 
latest stuff from 
<URL: http://www.weft.co.uk/library/maybeupload/ >
and try with that. If it still breaks, get back to me.

-- 
simon@jasmine.org.uk (Simon Brooke) http://www.jasmine.org.uk/~simon/

                 'You cannot put "The Internet" into the Recycle Bin.'

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


Re: [C2RC1a] Serious (maybeupload.jar) problem with Windows XP / JDK 1.3.1_01

Posted by Simon Brooke <si...@beesianum.jasmine.org.uk>.
On Thursday 18 October 2001 10:57, J?rn Heid wrote:
> When trying to start Cocoon (Resin 2.0.2) on XP I get
>
> java.lang.ClassFormatError:
> uk/co/weft/maybeupload/MaybeUploadRequestWrapper (Code of a method
> longer than 65535 bytes)
> 	at java.lang.ClassLoader.defineClass0(Native Method)

OK, I need to know lots of things.

Which version of MaybeUpload are you guys now using?
Which JVM was in use on the Win XP machine? Which JVM on the Win2K 
machine?

For what it's worth, my current (1.0.5) maybeupload has the full class 
of MaybeUploadRequestWrapper compiled as 7300 bytes, and the jar file 
is 32966 bytes, so something is wildly wrong. I suggest you download my 
latest stuff from 
<URL: http://www.weft.co.uk/library/maybeupload/ >
and try with that. If it still breaks, get back to me.

-- 
simon@jasmine.org.uk (Simon Brooke) http://www.jasmine.org.uk/~simon/

                 'You cannot put "The Internet" into the Recycle Bin.'

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


AW: [C2RC1a] Serious (maybeupload.jar) problem with Windows XP / JDK 1.3.1_01

Posted by Jörn Heid <he...@fh-heilbronn.de>.
No.
The problem seems to be fixed with the new version of maybeupload.jar. If
you can, please download it and integrate it into the CVS (I can also write
a bug report - should I?).

BTW it would be nice if ALL of the jars have version information in its
name.

-----Ursprüngliche Nachricht-----
Von: Berin Loritsch [mailto:bloritsch@apache.org]
Gesendet: Donnerstag, 18. Oktober 2001 16:16
An: cocoon-users@xml.apache.org
Betreff: Re: [C2RC1a] Serious (maybeupload.jar) problem with Windows XP
/ JDK 1.3.1_01


Jörn Heid wrote:
>
> When trying to start Cocoon (Resin 2.0.2) on XP I get
>
> java.lang.ClassFormatError:
uk/co/weft/maybeupload/MaybeUploadRequestWrapper
> (Code of a method longer than 65535 bytes)
>         at java.lang.ClassLoader.defineClass0(Native Method)
>
> On my Windows 2000 machine the same configuration seems to work fine (same
> JDK, same Resin installation).

I believe that this may be a ClassLoader issue with Resin.  They already
have a synchronization error in their ClassLoader code.  It is very possible
to reason that M$ changed the native API that Resin was using and no longer
performs the unzip operation correctly.

Resin uses JNI to speed up sections of the servlet container.

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Re: [C2RC1a] Serious (maybeupload.jar) problem with Windows XP / JDK 1.3.1_01

Posted by Berin Loritsch <bl...@apache.org>.
Jörn Heid wrote:
> 
> When trying to start Cocoon (Resin 2.0.2) on XP I get
> 
> java.lang.ClassFormatError: uk/co/weft/maybeupload/MaybeUploadRequestWrapper
> (Code of a method longer than 65535 bytes)
>         at java.lang.ClassLoader.defineClass0(Native Method)
> 
> On my Windows 2000 machine the same configuration seems to work fine (same
> JDK, same Resin installation).

I believe that this may be a ClassLoader issue with Resin.  They already
have a synchronization error in their ClassLoader code.  It is very possible
to reason that M$ changed the native API that Resin was using and no longer
performs the unzip operation correctly.

Resin uses JNI to speed up sections of the servlet container.

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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