You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Kevin Warmath <kw...@vitria.com> on 2000/12/29 22:25:14 UTC

Error 500: method flushBuffer () V not found

don't know if this is an appropriate distribution list for this, but looking
for help resolving the error when running the jsp samples (color or
numberguess for instance):
javax.servlet.ServletException: javax.servlet.ServletResponse: method
flushBuffer()V not found

i have servlet.jar in the classpath and ServletResponse.class is in the jar.

ideas

Kevin Warmath
Systems Engineer
Vitria, Atlanta GA
office:  678.566.3800  
cell:      678.467.7131



Re: Error 500: method flushBuffer () V not found

Posted by Hans Bergsten <ha...@gefionsoftware.com>.
Kevin Warmath wrote:
> 
> don't know if this is an appropriate distribution list for this, but looking
> for help resolving the error when running the jsp samples (color or
> numberguess for instance):
> javax.servlet.ServletException: javax.servlet.ServletResponse: method
> flushBuffer()V not found
> 
> i have servlet.jar in the classpath and ServletResponse.class is in the jar.

Most likely you have an old version of servlet.jar (or jsdk.jar)
in the <JDK>/jre/lib/ext directory.

Hans
-- 
Hans Bergsten		hans@gefionsoftware.com
Gefion Software		http://www.gefionsoftware.com
Author of JavaServer Pages (O'Reilly), http://TheJSPBook.com

Re: EJB Container

Posted by arup <ar...@informix.com>.
Hi
When I am trying to open a xml file thru cocoon this error is comin
Cocoon 1.8

 Error found handling the request.
java.lang.NoClassDefFoundError:sun/tools/javac/Main \
at
org.apache.cocoon.processor.xsp.language.java.SunJavaCompiler.compile(SunJavaCompiler.java:68)

      at
org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(XSPJavaProcessor.java:127)

              at
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:489)
              at org.apache.cocoon.Engine.handle(Engine.java:359)
              at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
              at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
              at org.apache.jserv.JServConnection.run(JServConnection.java:188)
              at java.lang.Thread.run(Thread.java:484)

The xml has got some XSP processing instruction . Please help me in getting the
missing jar file .
Regards
Arup


Re: EJB Container

Posted by Jon Stevens <jo...@latchkey.com>.
on 1/2/2001 7:44 AM, "Tod Thomas" <tt...@chubb.com> wrote:

> Avalon?  I'm not familiar with that, could you provide a descriptive link or
> two?
> 
> Thanks - Tod

java.apache.org/avalon/

-jon


Re: EJB Container

Posted by Tod Thomas <tt...@chubb.com>.
Avalon?  I'm not familiar with that, could you provide a descriptive link or
two?

Thanks - Tod

Jon Stevens wrote:

> not that i know of. but it would be cool to see one done on top of Avalon's
> framekwork.
>
> -jon


Re: How to debug?

Posted by Jon Stevens <jo...@latchkey.com>.
on 12/31/2000 4:22 AM, "Mariano Kamp" <mk...@codamax.com> wrote:

> Well, actually in most cases I see it the same way as you do. And
> overriding toString() is a thing I do in almost very class I write, still
> it's not working for everything and if you want to do complex navigation
> println() hurts alot.

Huh?

> Besides that you always have to recompile and redeploy your code.

If you use a good build system (Ant) or a good IDE (Kawa) then that isn't a
problem.

-jon


Re: How to debug?

Posted by Mariano Kamp <mk...@codamax.com>.
On Sat, 30 Dec 2000, Jon Stevens wrote:

> on 12/30/2000 2:18 PM, "Mariano Kamp" <mk...@codamax.com> wrote:
> 
> > Anyway. The only thing I am really missing is the debugger. How do you
> > guys debug your applications/servlets?
> 
> Also, System.out.println works just fine with Tomcat running under its built
> in HTTPd. I rarely find myself having to step through individual lines of
> code with a debugger and I find debuggers to be slow and not really worth it
> when you could just put a println() in your code to find the same exact
> information out.

Well, actually in most cases I see it the same way as you do. And
overriding toString() is a thing I do in almost very class I write, still
it's not working for everything and if you want to do complex navigation
println() hurts alot. Besides that you always have to recompile and
redeploy your code.

Mariano

-- 
mariano kamp
codamax ag
hessenring 89

61348 bad homburg v.d.h.
germany

phone  +49 6172 182 473
fax    +49 6172 182 475
mobile +49 177 727 9468


Re: How to debug?

Posted by Jon Stevens <jo...@latchkey.com>.
on 12/30/2000 2:18 PM, "Mariano Kamp" <mk...@codamax.com> wrote:

> Anyway. The only thing I am really missing is the debugger. How do you
> guys debug your applications/servlets?

With Turbine it is quite easy as all exceptions are caught for you and
displayed nicely. That is the way I like to do development. :-)

Also, System.out.println works just fine with Tomcat running under its built
in HTTPd. I rarely find myself having to step through individual lines of
code with a debugger and I find debuggers to be slow and not really worth it
when you could just put a println() in your code to find the same exact
information out.

-jon


How to debug?

Posted by Mariano Kamp <mk...@codamax.com>.
Hi,

  I recently switched to Linux and therefore I am now using ant and emacs
instead of Visual Age Java. 

  I am not using VAJ on Linux, because IBM is not providing a recent
version of it on Linux. The second reason is that VAJ is based on a
database, the repository, which is pretty good, but makes it hard to
integrate with cvs etc. 

  Anyway. The only thing I am really missing is the debugger. How do you
guys debug your applications/servlets?

Regards,
Mariano

-- 
mariano kamp
codamax ag
hessenring 89

61348 bad homburg v.d.h.
germany

phone  +49 6172 182 473
fax    +49 6172 182 475
mobile +49 177 727 9468


Re: EJB Container

Posted by Jon Stevens <jo...@latchkey.com>.
on 12/30/2000 6:11 AM, "Mariano Kamp" <mk...@codamax.com> wrote:

> are there any plans to build an ejb complaint containter within the
> jakarta context? 

no. there are already several OSS containers available. why duplicate
effort?

> Any plans for an opens ource, java based, LDAP server?

not that i know of. but it would be cool to see one done on top of Avalon's
framekwork.

-jon

-- 
Honk if you love peace and quiet.



EJB Container

Posted by Mariano Kamp <mk...@codamax.com>.
Hi there,

  are there any plans to build an ejb complaint containter within the
jakarta context? Any plans for an opens ource, java based, LDAP server?

Regards,
Mariano


-- 
mariano kamp
codamax ag
hessenring 89

61348 bad homburg v.d.h.
germany

phone  +49 6172 182 473
fax    +49 6172 182 475
mobile +49 177 727 9468