13 Replies Latest reply on Apr 23, 2008 8:14 AM by 666705

    about the JSTL + WebLogic 8.1 ,  ERROR ! ERROR ! ERROR!

    3004

                Hi everyone,
                
                I have experienced a error when I implement the JSTL in Weblogic 8.1, the followings
                are my test results:
                
                Test#1:
                Because JSTL1.1 is included in the JSDK 1.4*, and Weblogic 8.1 uses the JSDK1.4.1,
                so I just made a test web application,
                and made a test jsp file, include the following:
                <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
                
                then I deploy it to Tomcat 5.0*, it works fine,
                but when I deploy it to weblogic and test the jsp file,
                I got those error message:
                ...My Web Application Started...
                <Jun 2, 2004 9:26:35 AM EDT> <Error> <HTTP> <BEA-101020> <[ServletContext(id=285
                77265,name=test,context-path=/test)] Servlet failed with Exception
                weblogic.servlet.jsp.JspException: (line 36): Could not parse deployment descrip
                tor: java.io.IOException: cannot resolve 'http://java.sun.com/jsp/jstl/core' int
                o a valid tag library
                at weblogic.servlet.jsp.JspLexer.jspException(JspLexer.java:712)
                at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:50
                29)
                at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4853)
                at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4699)
                at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2094)
                at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1880)
                at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1753)
                at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
                at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
                at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
                at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
                at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258
                )
                at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:367)
                at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:223)
                at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
                at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
                java:518)
                at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
                pl.java:362)
                at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
                pl.java:446)
                at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
                pl.java:305)
                at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
                n.run(WebAppServletContext.java:6350)
                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
                dSubject.java:317)
                at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
                118)
                at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
                rvletContext.java:3635)
                at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
                pl.java:2585)
                at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
                >
                
                
                
                
                Test #2:
                I included the JSTL jar files (jstl.jar, standard.jar) to my web application war,
                and keep the others unchanged,
                
                it works fine in Tomcat 5.0.*,
                but I got another error message when I deploy it to WebLogic 8.1. the error message
                listed below:
                
                ... My Web Application Started...
                <Jun 2, 2004 9:20:29 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=3
                935415,name=test,context-path=/test)]: Deployment descriptor "jar:file:C:\bea\user
                _projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_test_test\jarf
                iles\WEB-INF\lib\standard33598.jar!/META-INF/c.tld" is malformed. Check against
                the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6,
                co
                lumn 19).>
                <Jun 2, 2004 9:20:29 AM EDT> <Error> <HTTP> <BEA-101020> <[ServletContext(id=393
                5415,name=test,context-path=/test)] Servlet failed with Exception
                java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
                at java.lang.Class.getDeclaredMethods0(Native Method)
                at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
                at java.lang.Class.getDeclaredMethods(Class.java:1131)
                at java.beans.Introspector$1.run(Introspector.java:1126)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:11
                24)
                at java.beans.Introspector.getTargetMethodInfo(Introspector.java:989)
                at java.beans.Introspector.getBeanInfo(Introspector.java:370)
                at java.beans.Introspector.getBeanInfo(Introspector.java:207)
                at java.beans.Introspector.<init>(Introspector.java:351)
                at java.beans.Introspector.getBeanInfo(Introspector.java:207)
                at java.beans.Introspector.getBeanInfo(Introspector.java:193)
                at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:13
                23)
                at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1261)
                
                at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:292)
                at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
                at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
                at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:50
                15)
                at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4853)
                at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4699)
                at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2094)
                at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1880)
                at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1753)
                at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
                at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
                at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
                at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
                at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258
                )
                at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:367)
                at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:223)
                at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
                at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
                java:518)
                at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
                pl.java:362)
                at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
                pl.java:446)
                at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
                pl.java:305)
                at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
                n.run(WebAppServletContext.java:6350)
                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
                dSubject.java:317)
                at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
                118)
                at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
                rvletContext.java:3635)
                at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
                pl.java:2585)
                at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
                >
                
                
                
                do any one have any good solutions? thanks in advance.
                
                Albert.
                
                
                
                
                
                
                
                
                
        • 1. Re: about the JSTL + WebLogic 8.1 ,  ERROR ! ERROR ! ERROR!
          3004
          Hi Albert,
                    
                    WebLogic 81 implements Servlet 2.3 and JSP 1.2 spec versions which are part
                    of J2EE 1.3 and JSTL 1.1 requires a container which supports Servlet 2.4 and
                    JSP2.0. You may want to use JSTL 1.0 which will run on a servlet2.3/ JSP1.2
                    container.
                    
                    hope that helps
                    Nagesh
                    
                    
                    "Albert H" <albert_hhuang@hotmail.com> wrote in message
                    news:40bdd8b9$1@mktnews1...
                    >
                    > Hi everyone,
                    >
                    > I have experienced a error when I implement the JSTL in Weblogic 8.1, the
                    followings
                    > are my test results:
                    >
                    > Test#1:
                    > Because JSTL1.1 is included in the JSDK 1.4*, and Weblogic 8.1 uses the
                    JSDK1.4.1,
                    > so I just made a test web application,
                    > and made a test jsp file, include the following:
                    > <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
                    >
                    > then I deploy it to Tomcat 5.0*, it works fine,
                    > but when I deploy it to weblogic and test the jsp file,
                    > I got those error message:
                    > ...My Web Application Started...
                    > <Jun 2, 2004 9:26:35 AM EDT> <Error> <HTTP> <BEA-101020>
                    <[ServletContext(id=285
                    > 77265,name=test,context-path=/test)] Servlet failed with Exception
                    > weblogic.servlet.jsp.JspException: (line 36): Could not parse deployment
                    descrip
                    > tor: java.io.IOException: cannot resolve
                    'http://java.sun.com/jsp/jstl/core' int
                    > o a valid tag library
                    > at weblogic.servlet.jsp.JspLexer.jspException(JspLexer.java:712)
                    > at
                    weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:50
                    > 29)
                    > at
                    weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4853)
                    > at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4699)
                    > at
                    weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2094)
                    > at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1880)
                    > at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1753)
                    > at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
                    > at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
                    > at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
                    > at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
                    > at
                    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258
                    > )
                    > at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:367)
                    > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:223)
                    > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
                    > at
                    weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
                    > java:518)
                    > at
                    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
                    > pl.java:362)
                    > at
                    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
                    > pl.java:446)
                    > at
                    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
                    > pl.java:305)
                    > at
                    weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
                    > n.run(WebAppServletContext.java:6350)
                    > at
                    weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
                    > dSubject.java:317)
                    > at
                    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
                    > 118)
                    > at
                    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
                    > rvletContext.java:3635)
                    > at
                    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
                    > pl.java:2585)
                    > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                    > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
                    > >
                    >
                    >
                    >
                    >
                    > Test #2:
                    > I included the JSTL jar files (jstl.jar, standard.jar) to my web
                    application war,
                    > and keep the others unchanged,
                    >
                    > it works fine in Tomcat 5.0.*,
                    > but I got another error message when I deploy it to WebLogic 8.1. the
                    error message
                    > listed below:
                    >
                    > ... My Web Application Started...
                    > <Jun 2, 2004 9:20:29 AM EDT> <Warning> <HTTP> <BEA-101248>
                    <[ServletContext(id=3
                    > 935415,name=test,context-path=/test)]: Deployment descriptor
                    "jar:file:C:\bea\user
                    >
                    _projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_test_tes
                    t\jarf
                    > iles\WEB-INF\lib\standard33598.jar!/META-INF/c.tld" is malformed. Check
                    against
                    > the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line
                    6,
                    > co
                    > lumn 19).>
                    > <Jun 2, 2004 9:20:29 AM EDT> <Error> <HTTP> <BEA-101020>
                    <[ServletContext(id=393
                    > 5415,name=test,context-path=/test)] Servlet failed with Exception
                    > java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
                    > at java.lang.Class.getDeclaredMethods0(Native Method)
                    > at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
                    > at java.lang.Class.getDeclaredMethods(Class.java:1131)
                    > at java.beans.Introspector$1.run(Introspector.java:1126)
                    > at java.security.AccessController.doPrivileged(Native Method)
                    > at
                    java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:11
                    > 24)
                    > at
                    java.beans.Introspector.getTargetMethodInfo(Introspector.java:989)
                    > at java.beans.Introspector.getBeanInfo(Introspector.java:370)
                    > at java.beans.Introspector.getBeanInfo(Introspector.java:207)
                    > at java.beans.Introspector.<init>(Introspector.java:351)
                    > at java.beans.Introspector.getBeanInfo(Introspector.java:207)
                    > at java.beans.Introspector.getBeanInfo(Introspector.java:193)
                    > at
                    weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:13
                    > 23)
                    > at
                    weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1261)
                    >
                    > at
                    weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:292)
                    > at
                    weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
                    > at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
                    > at
                    weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:50
                    > 15)
                    > at
                    weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4853)
                    > at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4699)
                    > at
                    weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2094)
                    > at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1880)
                    > at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1753)
                    > at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
                    > at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
                    > at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
                    > at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
                    > at
                    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258
                    > )
                    > at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:367)
                    > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:223)
                    > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
                    > at
                    weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
                    > java:518)
                    > at
                    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
                    > pl.java:362)
                    > at
                    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
                    > pl.java:446)
                    > at
                    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
                    > pl.java:305)
                    > at
                    weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
                    > n.run(WebAppServletContext.java:6350)
                    > at
                    weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
                    > dSubject.java:317)
                    > at
                    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
                    > 118)
                    > at
                    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
                    > rvletContext.java:3635)
                    > at
                    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
                    > pl.java:2585)
                    > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                    > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
                    > >
                    >
                    >
                    >
                    > do any one have any good solutions? thanks in advance.
                    >
                    > Albert.
                    >
                    >
                    >
                    >
                    >
                    >
                    >
                    
                    
                    
          • 2. Re: about the JSTL + WebLogic 8.1 ,  ERROR ! ERROR ! ERROR!
            3004
            Also, we are working towards an upcoming release which supports both JSP2.0
                      and serlet 2.4 where you'd be able to run JSTL 1.1
                      
                      
                      
                      
                      Nagesh Susarla wrote:
                      
                      > Hi Albert,
                      >
                      > WebLogic 81 implements Servlet 2.3 and JSP 1.2 spec versions which are
                      > part of J2EE 1.3 and JSTL 1.1 requires a container which supports Servlet
                      > 2.4 and JSP2.0. You may want to use JSTL 1.0 which will run on a
                      > servlet2.3/ JSP1.2 container.
                      >
                      > hope that helps
                      > Nagesh
                      >
                      >
                      > "Albert H" <albert_hhuang@hotmail.com> wrote in message
                      > news:40bdd8b9$1@mktnews1...
                      >>
                      >> Hi everyone,
                      >>
                      >> I have experienced a error when I implement the JSTL in Weblogic 8.1, the
                      > followings
                      >> are my test results:
                      >>
                      >> Test#1:
                      >> Because JSTL1.1 is included in the JSDK 1.4*, and Weblogic 8.1 uses the
                      > JSDK1.4.1,
                      >> so I just made a test web application,
                      >> and made a test jsp file, include the following:
                      >> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
                      >>
                      >> then I deploy it to Tomcat 5.0*, it works fine,
                      >> but when I deploy it to weblogic and test the jsp file,
                      >> I got those error message:
                      >> ...My Web Application Started...
                      >> <Jun 2, 2004 9:26:35 AM EDT> <Error> <HTTP> <BEA-101020>
                      > <[ServletContext(id=285
                      >> 77265,name=test,context-path=/test)] Servlet failed with Exception
                      >> weblogic.servlet.jsp.JspException: (line 36): Could not parse deployment
                      > descrip
                      >> tor: java.io.IOException: cannot resolve
                      > 'http://java.sun.com/jsp/jstl/core' int
                      >> o a valid tag library
                      >> at weblogic.servlet.jsp.JspLexer.jspException(JspLexer.java:712)
                      >> at
                      > weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:50
                      >> 29)
                      >> at
                      > weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4853)
                      >> at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4699)
                      >> at
                      > weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2094)
                      >> at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1880)
                      >> at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1753)
                      >> at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
                      >> at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
                      >> at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
                      >> at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
                      >> at
                      > weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258
                      >> )
                      >> at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:367)
                      >> at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:223)
                      >> at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
                      >> at
                      > weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
                      >> java:518)
                      >> at
                      > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
                      >> pl.java:362)
                      >> at
                      > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
                      >> pl.java:446)
                      >> at
                      > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
                      >> pl.java:305)
                      >> at
                      > weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
                      >> n.run(WebAppServletContext.java:6350)
                      >> at
                      > weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
                      >> dSubject.java:317)
                      >> at
                      > weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
                      >> 118)
                      >> at
                      > weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
                      >> rvletContext.java:3635)
                      >> at
                      > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
                      >> pl.java:2585)
                      >> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                      >> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
                      >> >
                      >>
                      >>
                      >>
                      >>
                      >> Test #2:
                      >> I included the JSTL jar files (jstl.jar, standard.jar) to my web
                      > application war,
                      >> and keep the others unchanged,
                      >>
                      >> it works fine in Tomcat 5.0.*,
                      >> but I got another error message when I deploy it to WebLogic 8.1. the
                      > error message
                      >> listed below:
                      >>
                      >> ... My Web Application Started...
                      >> <Jun 2, 2004 9:20:29 AM EDT> <Warning> <HTTP> <BEA-101248>
                      > <[ServletContext(id=3
                      >> 935415,name=test,context-path=/test)]: Deployment descriptor
                      > "jar:file:C:\bea\user
                      >>
                      > _projects\domains\mydomain\
                      \myserver\.wlnotdelete\extract\myserver_test_tes
                      > t\jarf
                      >> iles\WEB-INF\lib\standard33598.jar!/META-INF/c.tld" is malformed. Check
                      > against
                      >> the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'.
                      >> (line
                      > 6,
                      >> co
                      >> lumn 19).>
                      >> <Jun 2, 2004 9:20:29 AM EDT> <Error> <HTTP> <BEA-101020>
                      > <[ServletContext(id=393
                      >> 5415,name=test,context-path=/test)] Servlet failed with Exception
                      >> java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
                      >> at java.lang.Class.getDeclaredMethods0(Native Method)
                      >> at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
                      >> at java.lang.Class.getDeclaredMethods(Class.java:1131)
                      >> at java.beans.Introspector$1.run(Introspector.java:1126)
                      >> at java.security.AccessController.doPrivileged(Native Method)
                      >> at
                      > java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:11
                      >> 24)
                      >> at
                      > java.beans.Introspector.getTargetMethodInfo(Introspector.java:989)
                      >> at java.beans.Introspector.getBeanInfo(Introspector.java:370)
                      >> at java.beans.Introspector.getBeanInfo(Introspector.java:207)
                      >> at java.beans.Introspector.<init>(Introspector.java:351)
                      >> at java.beans.Introspector.getBeanInfo(Introspector.java:207)
                      >> at java.beans.Introspector.getBeanInfo(Introspector.java:193)
                      >> at
                      > weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:13
                      >> 23)
                      >> at
                      > weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1261)
                      >>
                      >> at
                      > weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:292)
                      >> at
                      > weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
                      >> at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
                      >> at
                      > weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:50
                      >> 15)
                      >> at
                      > weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4853)
                      >> at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4699)
                      >> at
                      > weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2094)
                      >> at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1880)
                      >> at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1753)
                      >> at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
                      >> at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
                      >> at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
                      >> at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
                      >> at
                      > weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258
                      >> )
                      >> at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:367)
                      >> at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:223)
                      >> at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
                      >> at
                      > weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
                      >> java:518)
                      >> at
                      > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
                      >> pl.java:362)
                      >> at
                      > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
                      >> pl.java:446)
                      >> at
                      > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
                      >> pl.java:305)
                      >> at
                      > weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
                      >> n.run(WebAppServletContext.java:6350)
                      >> at
                      > weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
                      >> dSubject.java:317)
                      >> at
                      > weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
                      >> 118)
                      >> at
                      > weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
                      >> rvletContext.java:3635)
                      >> at
                      > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
                      >> pl.java:2585)
                      >> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                      >> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
                      >> >
                      >>
                      >>
                      >>
                      >> do any one have any good solutions? thanks in advance.
                      >>
                      >> Albert.
                      >>
                      >>
                      >>
                      >>
                      >>
                      >>
                      >>
                      
                      
            • 3. Re: about the JSTL + WebLogic 8.1 ,  ERROR ! ERROR ! ERROR!
              666705
              Do BEA WebLogic 8.1 SP4 support JSP2.0 and serlet 2.4?
              • 4. Re: about the JSTL + WebLogic 8.1 ,  ERROR ! ERROR ! ERROR!
                666705
                No, it does not. You'll need to use JSTL version 1.0.
                • 5. Re: about the JSTL + WebLogic 8.1 ,  ERROR ! ERROR ! ERROR!
                  666705
                  Hi ,
                            
                            I am using WebLogic 8.1.4 and I can not get JSTL1.0 working with java1.4.2 supplied by BEA. I can only get it working with JRockit supplied by BEA> I really need to get it working with SUN JDK.
                            
                            Please help me.
                            hkj@bizintegrate.com
                  • 6. Re: about the JSTL + WebLogic 8.1 ,  ERROR ! ERROR ! ERROR!
                    666705
                    No one can help you if you don't give any details about what's going wrong. The JSTL works fine in WebLogic, no matter which JDK you use.
                    • 7. Re: about the JSTL + WebLogic 8.1 ,  ERROR ! ERROR ! ERROR!
                      666705
                      Hi,
                                
                                My configuration is as behind:
                                1) Weblogic 8.1 SP4
                                2) SunJDK 1.4.2
                                3) JSTL from Apache version 1.0
                                
                                However, I got error when start the webapp:
                                <2005/9/21 上午10時48分58秒 GMT+08:00> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=8720012,name=Leasing,context-path=/)]: Deployment descriptor "jar:file:C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_Leasing_Leasing\jarfiles\WEB-INF\lib\standard.jar!/META-INF/fn.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 17).>
                                <2005/9/21 上午10時48分58秒 GMT+08:00> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=8720012,name=Leasing,context-path=/)]: Deployment descriptor "jar:file:C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_Leasing_Leasing\jarfiles\WEB-INF\lib\standard.jar!/META-INF/x.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 19).>
                                <2005/9/21 上午10時48分59秒 GMT+08:00> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=8720012,name=Leasing,context-path=/)]: Deployment descriptor "jar:file:C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_Leasing_Leasing\jarfiles\WEB-INF\lib\standard.jar!/META-INF/c.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 19).>
                                <2005/9/21 上午10時48分59秒 GMT+08:00> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=8720012,name=Leasing,context-path=/)]: Deployment descriptor "jar:file:C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_Leasing_Leasing\jarfiles\WEB-INF\lib\standard.jar!/META-INF/permittedTaglibs.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 19).>
                                <2005/9/21 上午10時48分59秒 GMT+08:00> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=8720012,name=Leasing,context-path=/)]: Deployment descriptor "jar:file:C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_Leasing_Leasing\jarfiles\WEB-INF\lib\standard.jar!/META-INF/sql.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 19).>
                                <2005/9/21 上午10時48分59秒 GMT+08:00> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=8720012,name=Leasing,context-path=/)]: Deployment descriptor "jar:file:C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_Leasing_Leasing\jarfiles\WEB-INF\lib\standard.jar!/META-INF/scriptfree.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 19).>
                                <2005/9/21 上午10時48分59秒 GMT+08:00> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=8720012,name=Leasing,context-path=/)]: Deployment descriptor "jar:file:C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_Leasing_Leasing\jarfiles\WEB-INF\lib\standard.jar!/META-INF/fmt.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 19).>
                                
                                
                                Do anyone get the solution.
                                Thank you.
                                
                                Regards,
                                Eddie
                      • 8. Re: about the JSTL + WebLogic 8.1 ,  ERROR ! ERROR ! ERROR!
                        666705
                        Hi,
                                  
                                  This is fixed by CR107421 and the fix is in 81sp3.
                                  
                                  DIAGNOSIS:
                                  If jsp:useBean uses a inner class, the compilation falis.
                                  
                                  RESOLUTION:
                                  I recommend you to always use '$' for an inner class within
                                  jsp:useBean and modify the jsp container to internally generate 'types' which
                                  always contain the '.' instead of the '$'.
                                  
                                  Regards
                                  Prasanna Yalam
                        • 9. Re: about the JSTL + WebLogic 8.1 ,  ERROR ! ERROR ! ERROR!
                          666705
                          Hi
                                    I am using weblogic 8.1.4 and sun jdk 1.4.2. I would like to implement JSTL 1.0 xml taglib in my jsp page. I have followed instruction given in previous reccomendations:
                                    
                                    a) no entry for tld in the web.xml.
                                    b)JSTL version 1.0
                                    c) WEB-INF/lib contains both standard.jar and jstl.jar
                                    here is my sample code:
                                    ###########################################
                                    <%@ page import="java.net.*,java.io.*" %>
                                    <%@ page errorPage="ExceptionHandler.jsp" %>
                                    <%@ taglib uri= "http://java.sun.com/jstl/xml" prefix="x"%>
                                    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
                                    
                                    
                                    <html>
                                    <head>
                                    <title>TEST</title>
                                    </head>
                                    <body>
                                    <c:import var="xml" url="xml/pims-result.xml" />
                                    <c:import var="xslt" url="xsl/pimssearch.xsl" />
                                    <x:transform xml="${xml}" xslt="${xslt}" />
                                    </body>
                                    </html>
                                    ###########################################
                                    I am getting following error :
                                    
                                    java.lang.NoClassDefFoundError: org/saxpath/SAXPathException
                                    java.lang.NoClassDefFoundError: org/saxpath/SAXPathException
                                         at java.lang.Class.getDeclaredMethods0(Native Method)
                                         at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)
                                         at java.lang.Class.getDeclaredMethods(Class.java:1139)
                                         at java.beans.Introspector$1.run(Introspector.java:1127)
                                         at java.security.AccessController.doPrivileged(Native Method)
                                         at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1125)
                                         at java.beans.Introspector.getTargetMethodInfo(Introspector.java:990)
                                         at java.beans.Introspector.getBeanInfo(Introspector.java:371)
                                         at java.beans.Introspector.getBeanInfo(Introspector.java:208)
                                         at java.beans.Introspector.<init>(Introspector.java:352)
                                         at java.beans.Introspector.getBeanInfo(Introspector.java:208)
                                         at java.beans.Introspector.getBeanInfo(Introspector.java:194)
                                         at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:1331)
                                         at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1269)
                                         at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:292)
                                         at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
                                         at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
                                         at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:5053)
                                         at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4891)
                                         at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4737)
                                         at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2147)
                                         at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1933)
                                         at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1806)
                                         at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
                                         at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
                                         at weblogic.servlet.jsp.JspParser.parse(JspParser.java:234)
                                         at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
                                         at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
                                         at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:388)
                                         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:238)
                                         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:188)
                                         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
                                         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
                                         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
                                         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
                                         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                                         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
                                         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
                                         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
                                    
                                    Please help me as this is quite critical.
                                    
                                    Thanks in advance
                                    Yogesh
                                    yogeshsrivastava@gmail.com
                          • 10. Re: about the JSTL + WebLogic 8.1 ,  ERROR ! ERROR ! ERROR!
                            666705
                            Hi everyone,
                                      
                                      I have found the solution for the problem I mentioned. I just copied saxpath.jar into my web-inf/lib directory.
                                      
                                      Thanks
                                      Yogesh
                            • 11. Re: about the JSTL + WebLogic 8.1 ,  ERROR ! ERROR ! ERROR!
                              666705
                              Yogesh:
                                        I have a similar issue. I have code is working fine in
                                        WebSphsere, but fail in Weblogic8.1.
                                        1. You mentioned the saxpath.jar, where can I find it?
                                        I don't see it in Weblogic8.1 installation directory.
                                        
                                        2. I am using standard.jar in web lib in WebSphere deployment. Do you need this jar file in Weblogic.
                                        
                                        Thanks in advance for you help?
                                        
                                        _rose                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                              • 12. Re: about the JSTL + WebLogic 8.1 ,  ERROR ! ERROR ! ERROR!
                                666705
                                Hi, I also have problems: I see code instead of screen values.
                                          
                                          I switched to JSTL 1.0 and now everything seems ok in the log of the server (before that I also had the "Cannot find the declaration of element 'taglib'-error").
                                          
                                          However, once deployed, I do not see the values on screen, instead I see code like "${person.name}" instead of the value.
                                          
                                          I develop in Websphere (RAD 6) and on the Websphere-testserver I do get to see the values.
                                          
                                          Can anyone help?
                                • 13. Re: about the JSTL + WebLogic 8.1 ,  ERROR ! ERROR ! ERROR!
                                  666705
                                  I m having the same problem :-(