Application Server Solutions for Microsoft IIS and ASP.NET
       solutions   products   partners   company   support   downloads         store
View Interest List Message Details
<< Back to Search Results

Date: 05/25/2005
From: matt@newatlanta.com
Subject: RE: [ServletExec] ServletExec 5.0 & MyFaces
Mike,
You're running into SE Bug #1833 entitled:

"ServletContext.getResourcePaths() throws NullPointerException when passed 
a
nonexistent path"

It's exposed by the myFaces example app because it passes an
invalid/nonexistant path to the SE's implementation of the
getResourcePaths() method.

I've already fixed it and the fix will be in the next SE 5.0 hotfix which  
I
hope to release sometime this month.
Sorry for the trouble.

Matt


-----Original Message-----
From: servletexec-interest-owner@mail.newatlanta.com
[mailto:servletexec-interest-owner@mail.newatlanta.com] On Behalf Of Mike
Medric
Sent: Wednesday, May 25, 2005 2:46 PM
To: servletexec-interest@mail.newatlanta.com
Subject: [ServletExec] ServletExec 5.0 & MyFaces


Hello,

Is ServletExec 5.0 compatible with MyFaces?  I've tried to run the sample
app for MyFaces 1.0.9 with SE 5.0 (with latest patches) and it gives me this
exception:

java.lang.IllegalStateException: No Factories configured for this
Application - typically this is because a context listener is not setup in
your web.xml.
A typical config looks like this;

 org.apache.myfaces.webapp.StartupServletContextListener


at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:101)
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:88)
at
com.newatlanta.servletexec.ApplServletContext.CreateServlet(ApplServletConte
xt.java:72)
at
com.newatlanta.servletexec.ApplServletContext.loadConfiguredServlet(ApplServ
letContext.java:208)
at
com.newatlanta.servletexec.ApplServletContext.getServlet(ApplServletContext.
java:263)
at
com.newatlanta.servletexec.SERequestDispatcher.forwardServlet(SERequestDispa
tcher.java:573)
at
com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.j
ava:236)
at
com.newatlanta.servletexec.SERequestDispatcher.internalForward(SERequestDisp
atcher.java:283)
at
com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:96)
at
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsF
ilter.java:112)
at
com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:60)
at
com.newatlanta.servletexec.ApplicationInfo.filterApplRequest(ApplicationInfo
.java:2140)
at
com.newatlanta.servletexec.ApplicationInfo.processApplRequest(ApplicationInf
o.java:1804)
at
com.newatlanta.servletexec.ServerHostInfo.processApplRequest(ServerHostInfo.
java:937)
at
com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1091)
at
com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1002)

The org.apache.myfaces.webapp.StartupServletContextListener is set as a
listener for this web app.  Is there a way to make this work?

Thank you,

Mike Medric

NOTICE: This e-mail message and any attachment to this e-mail message may
contain confidential information that may be legally privileged. If you are
not the intended recipient, you must not review, retransmit, convert to hard
copy, copy, use or disseminate this e-mail or any attachments to it. If you
have received this e-mail in error, please immediately notify us by return
e-mail and delete this message. Please note that if this e-mail message
contains a forwarded message or is a reply to a prior message, some or all
of the contents of this message or any attachments may not have been
produced by the sender. This notice is automatically appended to each e-mail
message leaving the senders e-mail domain. Thank you.


-------------------------------------------------------------------------
ServletExec-Interest. For archives and unsubscribe instructions, visit:

    http://www.newatlanta.com/servletexec-interest.jsp

Message Thread
Date Subject Author
05/25/2005 RE: [ServletExec] ServletExec 5.0 & MyFaces matt@newatlanta.com
05/25/2005 [ServletExec] ServletExec 5.0 & MyFaces Mike.Medric@sparta-systems.com
<< Back to Search Results


   
company media information terms of use privacy policy contact us