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

Access Problem

 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I have a very strange problem with tomcat, I have revised te online doc,
the FAQ, and googled it, but found nothing. Here is it:

I have a webapp installed by a .war file, this app work fine when I acces
it by localnet using:

http://myinternalip:myport/myapp/

The whole app works fine. I also have Port Forwarding set in the router,
but when I try to access it form an external IP, using:

http://myexternalip:myport/myapp/

it does not work, and I get the following error:

javax.servlet.ServletException: Exception opening resource
http://myexternalip:myport/myapp/somedir/somepage.jsp;jsessionid=someid:
java.net.ConnectException: Connection refused

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContext
Impl.java:795) org.apache.jsp.index_jsp._jspService(index_jsp.java:238)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.jav
a:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

Has anyone any idea of the possible source of the problem.
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Surya,

Please don't post the same question in multiple forums. It wastes the time of the individuals willing to give a reponse.

For those wishing to respond, please do so in the topic of the same name in the Apache/Tomcat forum.
[ March 19, 2007: Message edited by: Merrill Higginson ]
 
    Bookmark Topic Watch Topic
  • New Topic