You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Virtudazo, Dennis (Exchange)" <dv...@bear.com> on 2005/02/15 17:26:40 UTC
Help using myface with Weblogic
I'm having a problem running myfaces with weblogic 8.1. I have tried
with Tomcat with no problems.
However in weblogic, first I'm getting the following in the log:
SEVERE: Unable to parse web.xml
java.net.UnknownHostException: java.sun.com
Feb 15, 2005 11:26:01 AM
net.sourceforge.myfaces.webapp.StartupServletContextLis
tener initFaces
SEVERE: Error initializing ServletContext
javax.faces.FacesException: java.net.UnknownHostException: java.sun.com
at
net.sourceforge.myfaces.webapp.webxml.WebXmlParser.parse(WebXmlParser
.java:105)
at
net.sourceforge.myfaces.webapp.webxml.WebXml.init(WebXml.java:140)
at
net.sourceforge.myfaces.webapp.StartupServletContextListener.initFace
s(StartupServletContextListener.java:105)
at
net.sourceforge.myfaces.webapp.StartupServletContextListener.contextI
nitialized(StartupServletContextListener.java:85)
And then when I access my jsp (jsf) I get the following:
Feb 15, 2005 11:28:11 AM net.sourceforge.myfaces.webapp.webxml.WebXml
getWebXml
SEVERE: net.sourceforge.myfaces.webapp.webxml.WebXml.init must be called
before!
<Feb 15, 2005 11:28:11 AM EST> <Error> <HTTP> <BEA-101046>
<[ServletContext(id=3
1404162,name=adminweb,context-path=/racs2)]
net.sourceforge.myfaces.webapp.webxm
l.WebXml.init must be called before!
java.lang.IllegalStateException:
net.sourceforge.myfaces.webapp.webxml.WebXml.in
it must be called before!
at
net.sourceforge.myfaces.webapp.webxml.WebXml.getWebXml(WebXml.java:12
8)
at
net.sourceforge.myfaces.application.jsp.JspViewHandlerImpl.getServlet
Mapping(JspViewHandlerImpl.java:343)
at
net.sourceforge.myfaces.application.jsp.JspViewHandlerImpl.renderView
(JspViewHandlerImpl.java:209)
Has anyone used myfaces with weblogic 8.1? I don't know why it would
complain about unknown host exception for java.sun.com when I'm running
tomcat from the same machine and I don't get the error with tomcat. I'm
behind a firewall and have to go through an http proxy to get to the
internet.
I've tried using both javax.servlet.faces.FacesServlet and
net.sourceforge.myfaces.webapp.MyFacesServlet with the same result.
***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.
***********************************************************************