Well, the internet connection part of the dtd is solved, then.
I'm not aware of any other parts of MyFaces that might require an
internet connection.
The following stack track is for a null pointer exception -- you need
to investigate a little more and figure out why that's happening.
One easy thing to try is to deploy your application to jetty or tomcat
and see if the problem is with your container rather than with JSF or
your application code.
I haven't used Websphere myself.
On 7/19/06, Gabriele Contini <[EMAIL PROTECTED]> wrote:
Maybe it's a container configuration, but i can not decide where my
applications are deployed. This is an application for an intranet in a bank.
They'd rather kill me instead of giving my application access to Internet :-)
Unfortunately your advice works only in part. If i put the dtd in the WEB-INF
directory the web application starts and it works almost fine.
But i still have a problem trying to redirect to a non-jsf page inside my
web-app. This problem disappears when i reenable internet connection.
The exception i see is:
[19/07/06 10.21.55:435 CEST] 00000035 SystemErr R
java.lang.NullPointerException
at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1046)
at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1057)
at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1057)
at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1057)
at
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreComponentState(JspStateManagerImpl.java:221)
at
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:287)
at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:255)
at
org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:141)
[...]
I'm working with Websphere 6, on Windows 2000, tomahawk 1.1.3,
myfaces-api-1.1.3, myfaces-impl-1.1.3.
Any idea? How can i help you solving this problem? Thank you for the help!
Gabriele Contini.