Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

My first second with JSF , HELP

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you dont even tell what error you get its pretty difficult to tell what you did wrong.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Vishnu Prasad
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think, you can copy some error from log file of server .....
 
James Holmes
Author
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic