0

Tomcat5.5.20+ZK2.3.0-RC+Mac=NotFound or...

asked 2007-03-04 17:02:11 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4190517

By: bixy

Dear all:
Using ZK quickstart guide (ZK-quickstart.pdf, pg. 7), downloaded & installed successfully Tomcat 5.5.20. Followed installation directions [copied all libraries dist/lib/*.jar to $TOMCAT_HOME/shared lib and dist/lib/ext/*.jar to $TOMCAT_HOME/shared/lib]. Then demo/bin/zkdemo.war to $TOMCAT_HOME/webapps.

First time, got a Servlet.init() error, when using Tomcat 4.1

Second time: fresh install of Tomcat 5.5.20 and ZK 2.3.0-RC, but http://localhost:8080/zkdemo/userguide returns "The requested resource
(/zkdemo/userguide) is not available. The same for zkdemo-all

--
BTW, put the entire directories (dist/lib/ into TOMCAT/shared/lib; same for
dist/lib/ext) and no success; tried even putting all the .jar in those locations.
Still no luck. Should change the appropriate server.xml to include <servlet> reference?
--
Checked the help forum and experimented on this machine, but w/o success. Any guidance is welcome. Thanks for your patience and help! | Merci. -Bix

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2007-03-08 02:21:46 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4196367

By: henrichen

ZK needs EL support. When use Tomcat 4.1(which does not support EL), you have to do something more. Please see

http://en.wikibooks.org/wiki/ZK/How-Tos#Tomcat

/henri

link publish delete flag offensive edit

answered 2007-03-10 02:44:01 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4200677

By: bixy

Hi, Henri: Thanks for your time and the link; all 6s and 9s now!
I am using Apache Tomcat 5.5.20, followed directions (I tried, at least) to deploy correctly, setting CLASSPATH, etc. but continue to get this error
message:

org.zkoss.zk.ui.UiException: java.lang.ClassNotFoundException:
org.zkoss.zkdemo.userguide.MainWindow

[Have found other people asking the same question on the net but no one has replied. If you cd, we'd all be very grateful!] Thanks again. -Bix

link publish delete flag offensive edit

answered 2007-03-10 03:58:20 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4200726

By: henrichen

Can you check in the Tomcat's deployment directory whether the MainWindow.class exists?

$TOMCAT/webapps/zkdemo-all/WEB-INF/class/org/zkoss/zkdemo/userguide/MainWindow.c
lass

If it is there, check the accessibility (read/write/execute permission). The file must be accessible by the "user" that run the Tomcat.

/henri


link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2007-03-04 17:02:11 +0800

Seen: 565 times

Last updated: Mar 10 '07

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More