wood burning stoves 2.0*
The moose likes Struts and the fly likes My first second with JSF , HELP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "My first second with JSF , HELP" Watch "My first second with JSF , HELP" New topic
Author

My first second with JSF , HELP

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Hi folks.
I downloaded JSF 1.1 from java site.
I copied an example to the webapp dir of tomcat, but when starting
tomcat I got a very very long stack of exceptions (about 30 seconds of
printing these exceptions) then tomcat works fine!
I have read the documentation and I have nothing wrong.
I am using J2SE 1.4 , tomcat 4.1.27
why I got these exceptions ?
simon valter
Ranch Hand

Joined: May 16, 2004
Posts: 32
if you dont even tell what error you get its pretty difficult to tell what you did wrong.
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

I can't tell because the process of printing these exception takes about 30 second so I can't even saw anything
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by John Todd:
I can't tell because the process of printing these exception takes about 30 second so I can't even saw anything

Surely you can copy-paste the exceptions from the console window?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Vishnu Prasad
Greenhorn

Joined: Jun 25, 2004
Posts: 3
A wild guess for the problem, as u tol u r using tomcat 4.1.27 that is compatible with j2ee 1.3 so all the jar files u were having in the lib folder pertains to this version of implementation. On the flip side of it jar files included in JSF1.1 corresponds to j2ee V1.4, there may be chances of some clashes with the version of files used. Its better u shift to tomcat 5.*, this may solve ur problem.
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
I think, you can copy some error from log file of server .....


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
James Holmes
Author
Ranch Hand

Joined: Jan 06, 2004
Posts: 64
Hi John,

As others have pointed out, going to Tomcat 5 should solve your problems. However, if you ultimately require Tomcat 4 I think you can make it work with the right configuration. I don't have a lot of experience with this, but recommend you peruse the Sun JSF Forum. I'm fairly confident it has been discussed there and you can do a search and find your answer.

http://forum.java.sun.com/forum.jsp?forum=427

-James
JSF Resources and Console GUI tool
http://www.jamesholmes.com/JavaServerFaces/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: My first second with JSF , HELP
 
Similar Threads
Exceptions-Error in program
JSF
is it a bug from JSF itself ?
Unexpected exceptions in JSF
jsf exception