bestlong/krank

Crank examples fail to run on apache-tomcat-6.0.16 because of missing jsf jars.

Opened this issue · 1 comments

1.  Pull source from svn to  <CRANK_ROOT>

2.

cd <CRANK_ROOT>

3.

mvn clean all

  [ Needed to manually descend into some subpackages to get around 
    missing jar dependencies in submodules, but that is another bug 
    to file ]

4. 

cd examples/crank-validation-jsf-webapp


5.  mvn install   (again for good measure...probably not needed)


6. 

  copy target\crank-crud.war to  tomcat webapps dir.

7.
. Bounce tomcat.
/devtools/java/apache-tomcat-6.0.16/bin/shutdown.sh

/devtools/java/apache-tomcat-6.0.16/bin/startup.sh

tail -f /devtools/java/apache-tomcat-6.0.16/logs/*

8.

Look at output of logs and you will see:
a class not found error for 
com.sun.faces.application. WebappLifecycleListener


>>>
What version of the product are you using? On what operating system?
>>>
Pulled crank from svn (good label as of 7/10/08).

>>>
Please provide any additional information below.
>>>
work around for me was to change the pom file to remove the 
<scope>provided</scope>  for jsf-api and jsf-impl.

My understanding is that tomcat does not provide these jars at runtime...
although I hear that glassfish does.


thanks
 -chris




Original issue reported on code.google.com by chris.b....@gmail.com on 11 Jul 2008 at 6:48

I forgot to mention.. i am using windows vista vista home premium
/ cygwin command shell.

Original comment by chris.b....@gmail.com on 11 Jul 2008 at 6:51

  • Added labels: ****
  • Removed labels: ****