File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Unexpected exceptions in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Unexpected exceptions in JSF" Watch "Unexpected exceptions in JSF" New topic

Unexpected exceptions in JSF

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

Hey folks.
I have downloaded JSF 1.1 from java's site.
I copied jsf_cardemo.war to the webapp dir of Tomcat.
when starting tomcat , I got a long long long ... stack of exceptions.
I can't get this exception (or read its name at least) and I can't copy it
from the console (I am using WinXP).
and the exceptions are not been logged to tomcat's log dir.
why I got these exceptions ? there is nothing wrong with the demo (developed by sun).
also, I have tried other examples from another resources, but I got the same result.
I am using Tomcat 4.1.27 and J2SE 1.4.0
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

There is really no way of knowing without seeing the exceptions. You can copy from the console in Win XP. If you right click in the console select MARK from the menu. Then click and drag like any other window for selection. Then right click again and select copy.

GenRocket - Experts at Building Test Data
Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

Yahoo, I got it.
JSF 1.1 uses JSTL 1.1 and tomcat 4.1 supports JSTL 1.0 version, so I got all these exceptions.
replacing JSTL 1.1 with JSTL 1.0 , JSF works fine.
It is sorta covered in the JavaRanch Style Guide.
subject: Unexpected exceptions in JSF
It's not a secret anymore!