• 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 ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:

error after connecting to external appl running at a different port

 
Greenhorn
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.

Thanks,
Anand
 
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

Thanks,
PJ
 
Do Re Mi Fa So La Tiny Ad
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic