0 Replies Latest reply on Aug 10, 2006 11:08 AM by danny_hon

    Cannot access internet web services on JBP 2.4

    danny_hon

      Our portal runs behind a firewall. In order to access the web services from the internet, we set the -Dhppd.proxyHost=[proxy] and -Dhttp.proxyPort=[proxy_port] in the JAVA_OPTS, and it works for 2.2.x.

      When we test JBP 2.4 + AS 4.0.4GA + JBossWS 1.0.2GA, it does not work anymore. Any ideas why?

      Here is the exception stack using the news portlet.
      10:04:29,561 ERROR [NewsPortlet] Fatal Error reading/parsing XML Source.
      java.io.IOException: Server returned HTTP response code: 504 for URL: http://jboss.org/jbossBlog/blog/?flavor=rss2
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1133)
      at java.net.URL.openStream(URL.java:1007)
      at org.jboss.samples.portlet.news.NewsPortlet.doView(NewsPortlet.java:143)
      at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
      at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)

      Some thing happens for the weather portlet.