I can't help you offhand with those two caching taglibs, but as a third
alternative, you could try the Cache Taglib from Jakarta Taglibs at

  http://jakarta.apache.org/taglibs/doc/cache-doc/intro.html

(The second error you post just looks like a missing class; have you
ensured the right JARs have been made available to your web application?)

--
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com

On Sat, 28 Sep 2002, Manoj Nahar wrote:

> Hi there,
>
> I am trying to use OSCache Taglibs on linux 7.2 with Resin 2.1.2. I am
> getting following error.
>
> 500 Servlet Exception
> java.lang.NullPointerException
>          at java.io.Reader.<init>(Reader.java:61)
>          at java.io.InputStreamReader.<init>(InputStreamReader.java:80)
>          at java.util.Properties.load(Properties.java:189)
>          at
> 
>com.opensymphony.module.oscache.base.AbstractCacheAdministrator.loadProps(AbstractCacheAdministrator.java:381)
>          at
> 
>com.opensymphony.module.oscache.base.AbstractCacheAdministrator.<init>(AbstractCacheAdministrator.java:315)
>          at
> 
>com.opensymphony.module.oscache.web.ServletCacheAdministrator.<init>(ServletCacheAdministrator.java:299)
>          at
> 
>com.opensymphony.module.oscache.web.ServletCacheAdministrator.getInstance(ServletCacheAdministrator.java:343)
>          at
> com.opensymphony.module.oscache.web.tag.CacheTag.doStartTag(CacheTag.java:345)
>          at _jsp__jsp._jspService(/jsp.jsp:6)
>          at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
>          at com.caucho.jsp.Page.subservice(Page.java:485)
>          at
> com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182)
>          at com.caucho.server.http.Invocation.service(Invocation.java:311)
>          at
> com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
>          at
> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:221)
>          at
> com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163)
>          at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
>          at java.lang.Thread.run(Thread.java:536)
>
> But the same lib works perfectly in windows 2000.
>
> I have also tried Serveltsuit.com's Cache tag. with that i am getting this
> error.
>
> java.lang.ClassNotFoundException: com.cj.cache.strVariable
>          at
> com.caucho.util.DynamicClassLoader.loadClass(DynamicClassLoader.java:530)
>          at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
>          at java.beans.Beans.instantiate(Beans.java:187)
>          at java.beans.Beans.instantiate(Beans.java:48)
>          at com.caucho.jsp.Taglib.fillTag(Taglib.java:438)
>          at com.caucho.jsp.Taglib.fillTagLibraryInfo(Taglib.java:374)
>          at com.caucho.jsp.Taglib.<init>(Taglib.java:165)
>          at com.caucho.jsp.JspParser.processTaglib(JspParser.java:1784)
>          at com.caucho.jsp.JspParser.parseTaglibDirective(JspParser.java:1753)
>          at com.caucho.jsp.JspParser.parseDirective(JspParser.java:1424)
>          at com.caucho.jsp.JspParser.parseScriptlet(JspParser.java:1283)
>          at com.caucho.jsp.JspParser.parseNode(JspParser.java:540)
>          at com.caucho.jsp.JspParser.parseJsp(JspParser.java:453)
>          at com.caucho.jsp.JspParser.parse(JspParser.java:284)
>          at com.caucho.jsp.JspParser.parse(JspParser.java:232)
>          at com.caucho.jsp.JspManager.createPage(JspManager.java:174)
>          at com.caucho.jsp.PageManager.getPage(PageManager.java:345)
>          at com.caucho.jsp.PageManager.getPage(PageManager.java:201)
>          at com.caucho.jsp.QServlet.getPage(QServlet.java:215)
>          at
> com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:129)
>          at com.caucho.server.http.Invocation.service(Invocation.java:311)
>          at
> com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
>          at
> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:221)
>          at
> com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163)
>          at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
>          at java.lang.Thread.run(Thread.java:536)
>
> thanks in advance any pointers or help.
>
> Manoj
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to