• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

error after connecting to external appl running at a different port

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

From a java web application, installed on Tomcat 4.018, we are accessing another application which runs on another port (through their API). Our application is developed on MVC based pattern. Now before accessing this external application the web application is working fine, but after accessing the external application we are getting this error if we access the web application:
Sep 21, 2004 4:35:34 PM org.apache.coyote.http11.Http11Processor process
SEVERE: Error processing request java.lang.NullPointerExceptionnull at java.io.Writer.write(Writer.java:126)
null at java.io.PrintWriter.newLine(PrintWriter.java:254)null at java.io.PrintWriter.println(PrintWriter.java:405)null
at java.io.PrintWriter.println(PrintWriter.java:516)null at org.apache.catalina.logger.LoggerBase.log(LoggerBase.java:290)null
at org.apache.coyote.tomcat4.CoyoteAdapter.log(CoyoteAdapter.java:628)null at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:230)null
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)null at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)null
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)null at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)null
at java.lang.Thread.run(Thread.java:536)null


We are not able to trace this, please help.

Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How're you accessing this external application? Could you pls be more specific

    Bookmark Topic Watch Topic
  • New Topic