Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

JCSAdminServlet - Can't find vm: msg#00003

Subject: JCSAdminServlet - Can't find vm
Where can I download JCS?
I can't seem to find any releases (binary or source) on the website.

I'm using hibernate which uses JCS.
I'm trying to use the JCSAdminServlet, but I keep getting the following
error.

org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource '/org/apache/jcs/admin/servlet/JCSAdminServletDefault.vm'

I made sure /org/apache/jcs/admin/servlet/JCSAdminServletDefault.vm is in
jcs.jar

I have the parameter for the servlet to find the properties file.


Looking at the code (in CVS) for JCSAdminServlet, I always thought that when
using Velocity you can't have a beginning slash.

    private static final String DEFAULT_TEMPLATE_NAME =
        "/org/apache/jcs/admin/servlet/JCSAdminServletDefault.vm";

Thanks


<Prev in Thread] Current Thread [Next in Thread>