• Post Reply Bookmark Topic Watch Topic
  • New Topic

MyFaces issue

 
zaxxon25
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • 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
 
Tim Holloway
Bartender
Posts: 18408
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!