Problem in Weblogic (related to tag library)


Web tier: servlets, JSP, Web frameworks: Problem in Weblogic (related to tag library)

  1. Hi all,
    I have written one connection tag in JSP , the tag works fine in other servers like Resin but given problem with WebLogic. The error is can't be parsed, What can be the possible errors behind it.

    the error is pasted below.Is there any convention to store tags in Web-inf folder ????

    Mon Mar 12 19:14:34 GMT+05:30 2001:<I> <ServletContext-General> looking for taglib uri Connection.tld as resource /WEB-INF/Connection.tld in Web Application root:
    Mon Mar 12 19:14:34 GMT+05:30 2001:<E> <ServletContext-General> Servlet failed with Exception
    at weblogic.servlet.jsp.StandardTagLib.declareTagExtra(, Compiled Code)
    at weblogic.servlet.jsp.StandardTagLib.genericStartBegin(, Compiled Code)
    at weblogic.servlet.jsp.StandardTagLib.processTag(
    at weblogic.servlet.jsp.JspLexer.mOPEN_EXTENSION_TAG(, Compiled Code)
    at weblogic.servlet.jsp.JspLexer.mTOKEN(, Compiled Code)
    at weblogic.servlet.jsp.JspLexer.nextToken(, Compiled Code)
    at weblogic.servlet.jsp.JspLexer.parse(, Compiled Code)
    at weblogic.servlet.jsp.JspParser.doit(, Compiled Code)
    at weblogic.servlet.jsp.JspParser.parse(
    at weblogic.servlet.jsp.Jsp2Java.outputs(
    at weblogic.utils.compiler.CodeGenerator.generate(, Compiled Code)
    at weblogic.servlet.jsp.JspStub.compilePage(, Compiled Code)
    at weblogic.servlet.jsp.JspStub.prepareServlet(
    at weblogic.servlet.internal.ServletStubImpl.getServlet(, Compiled Code)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(, Compiled Code)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(, Compiled Code)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(, Compiled Code)
    at weblogic.servlet.internal.ServletContextManager.invokeServlet(, Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.invokeServlet(, Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(, Compiled Code)
    at, Compiled Code)

    thanx a lot
    pl reply ASAP

  2. Hi! Shailender:

    The problem is that weblogic is unable to locate the Connection.tld file. The Connection.tld file has to be in the ../webapp/WEB-INF directory. If you are using Windows/Unix make sure that the file exists in the WEB-INF directory, in addition if you are using Unix/Linux/Solaris make sure the file name case matches the one you have defined in your jsp.