You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Mike Engelhart <me...@earthtrip.com> on 2000/04/12 23:53:14 UTC

XSP size limit??

I've been successfully using XSP for a few months now and have not run into
anything like this.  I have an XSP file that is only 35K in size.  It's a
well-formed document according to tidy so I've skipped that as a possible
problem.  Anyway, I can't get this file to work.. When I try and access the
file with my browser, according to top,  java just takes over the CPU and
spins forever. When I look in the repository directory there is a .java and
.class file.  The class file is a portly 350K!!!! :-)
The .java file appears syntactically correct.  Whatever is going on though,
it will not run through a stylesheet and display in a browser.  It just
hangs.  When I cut the size of the one of the elements in half (about 100
tags), it works fine.
Any ideas, workarounds, solutions!!

I'm running RH 6.1 Linux, Apache 1.3.12, JServ 1.1b3, Tomcat 3.1beta, and
IBM JDK 1.1.8 on a Dual PII-333

thanks,

Mike


Re: XSP size limit??

Posted by Mike Engelhart <me...@earthtrip.com>.
Ross Burton wrote:

> Does the .java file compile okay from the command line?  If not, try using
> Jikes to run out a Javac bug.
> 
> Try running the generated class file through a decompilier (JAD at
> http://www.geocities.com/SiliconValley/Bridge/8617/jad.html or Mocha) and
> seeing what the class contains.
> 
> Just some ideas,
> Ross Burton
Thanks.   But the problem is worse than I thought.  The .java and .class
files now aren't even being created.  I'm getting a NULL pointer in a
HandlerThread in my watch shell window (which is a Tomcat issue I believe)
and then the java process that was doing the work just stays at using 99.9%
of the CPU and doesn't go away.
any other ideas??

Mike


Re: XSP size limit??

Posted by Ross Burton <ro...@mail.com>.
> I've been successfully using XSP for a few months now and have not run
into
> anything like this.  I have an XSP file that is only 35K in size.  It's a
> well-formed document according to tidy so I've skipped that as a possible
> problem.  Anyway, I can't get this file to work.. When I try and access
the
> file with my browser, according to top,  java just takes over the CPU and
> spins forever. When I look in the repository directory there is a .java
and
> .class file.  The class file is a portly 350K!!!! :-)
> The .java file appears syntactically correct.  Whatever is going on
though,
> it will not run through a stylesheet and display in a browser.  It just
> hangs.  When I cut the size of the one of the elements in half (about 100
> tags), it works fine.
> Any ideas, workarounds, solutions!!

Does the .java file compile okay from the command line?  If not, try using
Jikes to run out a Javac bug.

Try running the generated class file through a decompilier (JAD at
http://www.geocities.com/SiliconValley/Bridge/8617/jad.html or Mocha) and
seeing what the class contains.

Just some ideas,
Ross Burton


Re: XSP size limit??

Posted by Stefano Mazzocchi <st...@apache.org>.
Mike Engelhart wrote:
> 
> I've been successfully using XSP for a few months now and have not run into
> anything like this.  I have an XSP file that is only 35K in size.  It's a
> well-formed document according to tidy so I've skipped that as a possible
> problem.  Anyway, I can't get this file to work.. When I try and access the
> file with my browser, according to top,  java just takes over the CPU and
> spins forever. When I look in the repository directory there is a .java and
> .class file.  The class file is a portly 350K!!!! :-)

Gee, have you tried to compile the .java by hand?

> The .java file appears syntactically correct.  Whatever is going on though,
> it will not run through a stylesheet and display in a browser.  It just
> hangs.  When I cut the size of the one of the elements in half (about 100
> tags), it works fine.
> Any ideas, workarounds, solutions!!

Weird...
 
-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<st...@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------