• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

My first second with JSF , HELP

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think, you can copy some error from log file of server .....
 
Author
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
reply
    Bookmark Topic Watch Topic
  • New Topic