Paul Kattens <[EMAIL PROTECTED]> wrote: > I've installed MMBase version 1.6.5 with Tomcat 5.0.18 and used the > instructions on the website on this url > "http://www.mmbase.org/docs/administrators/install-tomcat.html" to > install both.
First small note: tomcat 5 was not existing when mmbase 1.6.5 was released, so it was not tested. > It seemed to me that the uri has to point to a local file so I tried to > point the taglib uri in the "index.jsp" file in the directory > "mmbase-webapp" which reads: > <%@ taglib uri="http://www.mmbase.org/mmbase-taglib-1.0" prefix="mm" %> > to the two taglib tld's in the "web-inf" directory after that this > message dissapeared and I get the following message: This might work, but I don't like it. The URI http://www.mmbase.org/mmbase-taglib-1.0 refers to what is in your web.xml under <taglib>, it is not a location. There the 'location' must be specified, which might be either the tld or e.g. the jar itself (which I like better) <taglib-location>/WEB-INF/lib/mmbase.jar</taglib-location> or in 1.7 (which I would recommend by now since it is RC1 already) <taglib-location>/WEB-INF/lib/mmbase-taglib.jar</taglib-location> [snip] > root cause > > java.lang.ClassNotFoundException: > org.mmbase.bridge.jsp.taglib.NodeProviderTEI [snip] > Does anybody knows how to solve this problem? I've tried to reinstall > both packages but I'm getting the same messages. I have also tried the > Tomcat examples in the mmbase directory and these worked fine. My first guess is that the error message is actually correct and that there is no such class to be found which might have several causes - the mmbase.jar is missing in WEB-INF/lib - perhaps it is present but with a symlink (tomcat does not on default follow those) To swtich on symlinks in tomcat5 you need something like <Context path="/mm17" docBase="/home/mmbase/mmbase17" debug="1" allowLinking="true"> in server.xml (which is different fromn the way it went in tomcat4). - perhaps there is another reason whey mmbase.jar classes are invisible. Perhaps your using a security manager or something tricky like that? Michiel -- Michiel Meeuwissen Mediapark C101 Hilversum +31 (0)35 6772979 nl_NL eo_XX en_US mihxil' [] ()
