Hi Matthias

I replaced cos.jar with commons-fileupload-1.0.har
however I still get same error message. The app won't even start up.

Ok, I took all the stuff from jsf-1.0.01/samples/cardemo
and put it into Sun's cardemo app, overwriting some files such as web.xml.

result:

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;
<listener>
  <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</
listener-class>
</listener>

Anymore idea what's wrong and how to get the cardemo-app finally running with 
MyFaces??

Regards
Marc


PS: vielleicht wird es na noch lustig heute ;-))


Am Donnerstag, 13. Januar 2005 15:33 schrieb Matthias Wessendorf:
> Hi Marc,
>
> that's really not funny *g*
> (sorry for the bad German word-game...)
>
> we don't use COS.jar
> long time ago... now commons-fileupload is used...
>
> I will look at the page, and correct it..
>
> Thanks!
>
> > -----Original Message-----
> > From: Marc Lustig [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, January 13, 2005 3:24 PM
> > To: [email protected]
> > Subject: error running Sun's cardemo sample
> >
> >
> > Hi,
> > I followed instructions located at
> > http://incubator.apache.org/myfaces/docs/risamples.html
> > My cos.jar is named cos-05Nov2002.jar
> >
> > I get error message
> > 404 The requested resource (/cardemo/chooseLocale.faces) is
> > not available.
> >
> > Any idea what's wrong?
> >
> > My tomcat is 5.0.28
> >
> > Regards
> > Marc

-- 

Mit freundlichen Gr��en aus Mainz

Information Desire Software GmbH
Marc Lustig

----------------------------------------------------------------
Information Desire, Hersteller von "Projectile", der webbasierten
Projektmanagementl�sung f�r Dienstleister

[ TEL: 0 61 31 / 6 27 68 - 0 ] [ FAX: 0 61 31 / 6 27 68 - 68 ]
[ WWW: � www.infodesire.com ]
[ EMAIL: [EMAIL PROTECTED] ]
----------------------------------------------------------------

Reply via email to