This is a bug in MyFaces that should be fixed in the next release. If you search the archives for this list, you should find a workaround.
Matt On 11/2/07, Bonami, Christian <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > When I deploy (see Quickstart) the appfuse sample application (mvn > jetty:run-war), MOST OF THE TIME (i.e. not always) I get the following > error: > > > > [UMT] ERROR [main] DefaultFacesInitializer.initFaces(126) | > Error initializing MyFaces: java.net.UnknownHostException: java.sun.com > > javax.faces.FacesException: java.net.UnknownHostException: java.sun.com > > at > org.apache.myfaces.config.FacesConfigurator.feedClassloaderConfigurat > > ions(FacesConfigurator.java:425) > > > > There are a number of files that have a DOCTYPE that refers to > 'java.sun.com'. > > E.g. faces-config.xml (in jsf-facelets-1.1.13.jar) starts with > > > > <!DOCTYPE faces-config PUBLIC > > "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" > > "http://java.sun.com/dtd/web-facesconfig_1_1.dtd"> > > > > The problem is that –here at Mazda- I'm behind a firewall/proxy that seems > to block the access to the DTD in most cases. > > There must be something wrong with this proxy, because when I try this at > home (no proxy/firewall), I don't have this problem. > > However, if I point my browser (that uses the same proxy) to > 'http://java.sun.com/dtd/web-facesconfig_1_1.dtd', I can > download the DTD. > > I am in a company network, so there's no way to bypass the proxy. > > Does anybody know a workaround? > > Can I disable XML validation in jetty? > > Any ideas (I'm getting quite desperate)?? > > > > Thx > > Christian > > > > Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek > VAT BE 406.024.281, RPR Mechelen, ING 310-0092504-52, IBAN : BE64 3100 0925 > 0452, SWIFT : BBRUBEBB -- http://raibledesigns.com
