• 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
  • 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

MyFaces issue

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was having an exisiting JSf application where i was using SUN RI. Now i have modified it and used some tomahawk components. I m getting unusual error while trying to deploy in weblogic.....If anyone has faced this issue before please help me out.....

SEVERE: Unable to parse web.xml
java.net.ConnectException: Tried all: '1' addresses, but could not connect over
HTTP to server: 'java.sun.com', port: '80'
at weblogic.net.http.HttpClient.openServer(HttpClient.java:286)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:340)
at weblogic.net.http.HttpClient.<init>(HttpClient.java:135)
at weblogic.net.http.HttpClient.New(HttpClient.java:207)
at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:12
8)

I have seen my web.xml and except for starting <!Doctype....i am no where calling sun server....


karan
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think it's trying to fetch web.xml's XML Schema from java.sun.com so that it can validate your web.xml file and you don't have an internet connection it can use.

There should be a way to get a cached local copy of the web.xml XSD file and have that used instead, but offhand, I don't know how.
 
zaxxon25
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Finally i figured it out.This issue happens when one uses weblogic app server version 8.0. One needs to import couple of more api's in web-inf lib folder to get rid of this issue.

Thanks Anyway
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic