Lost JSF beginner: Linux, Geronimo and tag library?

You should not be extracting JAR files of 3rd party tag libraries and placing its loose TLD files in the WEB-INF folder. The TLD files should be kept in the JAR files where they originate and the JAR files should be untouched and just be dropped in the runtime classpath. Whatever book/tutorial/forum is suggesting otherwise should be blacklisted Cleanup your project structure to get rid of those loose TLD files and undo every change related to this, for sure also in the web.

Xml if any Your WEB-INF/lib folder should contain just two files in order to get JSF to run on Tomcat 6: one file representing the abstract API and other representing the concrete implementation. As you've apparently chosen to use MyFaces, it'll be those two JAR files (probably with a version number at end of filename, that depends): myfaces-api. Jar myfaces-impl.

Jar Drop them in WEB-INF/lib folder which is part of the webapp's default runtime classpath. That's all. Next step would be declaring and mapping the FacesServlet in your webapp's web.

Xml Ensure that you're reading the proper book/tutorial.

You should not be extracting JAR files of 3rd party tag libraries and placing its loose TLD files in the /WEB-INF folder. The TLD files should be kept in the JAR files where they originate and the JAR files should be untouched and just be dropped in the runtime classpath. Whatever book/tutorial/forum is suggesting otherwise should be blacklisted.

Cleanup your project structure to get rid of those loose TLD files and undo every change related to this, for sure also in the web. Xml, if any. Your /WEB-INF/lib folder should contain just two files in order to get JSF to run on Tomcat 6: one file representing the abstract API and other representing the concrete implementation.As you've apparently chosen to use MyFaces, it'll be those two JAR files (probably with a version number at end of filename, that depends): myfaces-api.

Jar myfaces-impl. Jar Drop them in /WEB-INF/lib folder which is part of the webapp's default runtime classpath. That's all.

Next step would be declaring and mapping the FacesServlet in your webapp's web.xml. Ensure that you're reading the proper book/tutorial.

It seems something is wrong with the JSF-servlet on Linux. At Windows it works. Geronimo already contains the JSF implementation (MyFaces).

To remove the TLD files form the WEB-INF directory and update the URIs of the HTML and the Core libraries according to the (MyFaces tutorial) JSF standard (change URIs to http://java.sun.com/jsf/html and http://java.sun.com/jsf/html) is just a little correction not having any effect. It works under Windows and not under Linux anyway. The unknown reason is most likely somewhere in the Geronimo container on Linux, in the JSF servlet.

– schnikow Aug 8 at 6:20 If the container already ships with JSF, you actually shouldn't include any in the webapp, or you would need to specify a container-specific config file or context param which instructs the container to not load container-bundled JSF libraries (this is at least true for JBoss AS, Glassfish, etc). – BalusC Aug 8 at 11:53.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions