Taglib URI error in Weblogic60

Hi All,
          having some trouble deploying my custom Tag, this is the error...
          thanks in advance
          Parsing of JSP File '/test/tagpage.jsp' failed:
          /test/tagpage.jsp(1): Could not parse deployment descriptor:
          java.io.IOException: cannot resolve 'taglib' into a valid tag library
          probably occurred due to an error in /test/tagpage.jsp line 1:
          <%@ taglib uri="taglib" prefix="input" %>
          my directories look like this
          myserver
          test
          - tagpage.jsp
          WEB-INF
          -web.xml
          -taglib.tld
          my code:
          in jsp
          -<%@ taglib uri="taglib" prefix="input" %>
          in web.xml
          -<?xml version="1.0" ?>
          <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
          1.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
          <web-app>
          <taglib>
          <taglib-uri>taglib</taglib-uri>
          <taglib-location>/WEB-INF/taglib.tld</taglib-location>
          </taglib>
          </web-app>
          

I get the following error when I try to get my taglibs running in WLS 6.0 -
          any ideas?
          Parsing of JSP File '/Project.jsp' failed:
          /Project.jsp(3): Could not parse deployment descriptor:
          org.xml.sax.SAXParseException: Could not parse: taglib starting at line 1
          probably occurred due to an error in /Project.jsp line 3:
          <%@ taglib prefix="rdbm" uri="/rdbmstags6_0.tld" %>
          Tue Feb 20 10:41:57 MST 2001
          "Mark S." <[email protected]> wrote in message
          news:[email protected]...
          > Hi All,
          >
          > having some trouble deploying my custom Tag, this is the error...
          >
          > thanks in advance
          >
          > Parsing of JSP File '/test/tagpage.jsp' failed:
          >
          > /test/tagpage.jsp(1): Could not parse deployment descriptor:
          > java.io.IOException: cannot resolve 'taglib' into a valid tag library
          > probably occurred due to an error in /test/tagpage.jsp line 1:
          > <%@ taglib uri="taglib" prefix="input" %>
          >
          > ------------------------------
          >
          > my directories look like this
          >
          > myserver
          >
          > test
          >
          > - tagpage.jsp
          >
          > WEB-INF
          >
          > -web.xml
          >
          > -taglib.tld
          >
          > -------------------------------
          >
          > my code:
          >
          > in jsp
          >
          > -<%@ taglib uri="taglib" prefix="input" %>
          >
          > in web.xml
          >
          > -<?xml version="1.0" ?>
          >
          > <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
          > 1.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
          >
          > <web-app>
          >
          > <taglib>
          >
          > <taglib-uri>taglib</taglib-uri>
          >
          > <taglib-location>/WEB-INF/taglib.tld</taglib-location>
          >
          > </taglib>
          >
          > </web-app>
          >
          >
          >
          

Similar Messages

  • Taglib - uri Error

    Hi,
    when I compile a JSP with this fisrt statement:
    <%@ taglib prefix="foo" uri="/dir1/exampletag.tld" %>
    the JDeveloper (v3.2) show the error:
    "Start of root element expected".
    Please, how can I resolve it?...
    In my proyect:
    My "HTML root directory" is:
    C:\test\Html
    and the "HTML source directory" is:
    dir1
    The file "exampletag.tld" is in:
    C:\test\Html\dir1\exampletag.tld
    Thank you very much.
    Andres

    Thanks for the answers, but it has not still worked.
    I proved my tld file with a IE5 and it was read as an XML file without problem.
    The classes that are used in the tld file are also compiled. I use now a only one directory as a source, rundebug, output and html proyect's path in order to find the file easily, but without success.
    The examples that use DataTags.tld did not work neither. I read that a datatags "taglib jar file" must be added in the library proyect. Do you know the name of this jar file? There are many in the JDeveloper directory.
    Thanks for any comment...
    Andres
    null

  • Error in using taglib uri in jsp

    When i write the following code in my jsp to use the tags, i got the error -
    JSP Parsing Error:The absolute uri: http://java.sun.com/jsf/html cannot be resolved in either web.xml or the jar files deployed with this application     
    And when i used the tld (html_basic.tld & jsf_core.tld), it gave me the error
    JSP Parsing Error:Failed to load or instantiate TagLibraryValidator class: com.sun.faces.taglib.html_basic.HtmlBasicValidator

    you can use
    <taglib>
    <taglib-uri>/WEB-INF/html-basic.tld</taglib-uri>
    <taglib-location>
    /WEB-INF/html-basic.tld
    </taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/jsf-core.tld</taglib-uri>
    <taglib-location>
    /WEB-INF/jsf-core.tld
    </taglib-location>
    </taglib>
    in your web.xml

  • "No tag library could be found with this URI" error while compiling jsp

    I am using WebLogic Server 9.2 MP1, JDK 1.5.0_09, Struts 1.3.5
              I am pre-compiling jsp pages with wlappc ant task. However, I got following errors when a jsp page contains ant taglib:
              No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
              The jsp page looks like:
              <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
              wlappc complains taglib could not be retrieved from this uri. Actually, since Struts 1.3.5, those ".tld" files are contained in strust-taglib-1.3.5.jar, folder META-INF/tld/. And I don't need to set anything in web.xml <tag-lib> tab anymore.
              All the jsp pages can be successfully compiled while being deployed to Server. So what am I missing? My build.xml file looks like:
                   <target name="compile-jsp">
                        <wlappc source="${src.dir}" output="${out.dir}"
                             keepgenerated="true" optimize="true" classpathref="wl_classpath"/>
                   </target>
              where "wl_classpath" contains all the struts related jar files, e.g. struts-core-1.3.5.jar, struts-taglib-1.3.5.jar, ...., and weblogic related jars, e.g. weblogic.jar.....
              I checked "beehive" samples coming with weblogic92, and found it pretty much did the same thing regarding build script and jsp files. So I am totally lost!
              Please help me out. Many thanks.
              Edited by jqian at 02/02/2007 10:24 AM

    Yes sorry, you're correct. The uri I mentioned is just 1.0.
    Do you have the "Oracle WebLogic Web App Extension" Facet for your web project? If not, try adding that and making sure that there is a weblogic.xml file created in the WEB-INF dir. The weblogic.xml file allows you to deploy usig a shared lib for JSTL. It should contain a library-ref element something like the following, with a version of 1.1.
    <wls:library-ref>
    <wls:library-name>jstl</wls:library-name>
    <wls:specification-version>1.1</wls:specification-version>
    <wls:exact-match>true</wls:exact-match>
    </wls:library-ref>

  • Taglib uri problem

    Hi all
    I created a web module project and add a JSP file u201CcustomTagWelcome.jspu201D and a TLD file u201Cadvjhtp1-taglib.tldu201D to the webContent directory. I added also a tag handler
    u201CWelcomeTagHandleru201D.
    The jsp code:
    <?xml version = "1.0"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <!-- Fig. 10.30: customTagWelcome.jsp               -->
    <!-- JSP that uses a custom tag to output content. -->
    <%-- taglib directive --%>
    <%@ taglib uri = "advjhtp1-taglib.tld" prefix = "advjhtp1" %>
    <html xmlns = "http://www.w3.org/1999/xhtml">
       <head>
          <title>Simple Custom Tag Example</title>
       </head>
       <body>
          <p>The following text demonstrates a custom tag:</p>
          <h1>
             <advjhtp1:welcome />
          </h1>
       </body>
    </html>
    The tld content:
    <?xml version = "1.0"?>
    <!DOCTYPE taglib PUBLIC
       "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
          "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    <!-- a tag library descriptor -->
    <taglib>
       <tlibversion>1.0</tlibversion>
       <jspversion>1.1</jspversion>
       <shortname>advjhtp1</shortname>
       <info>
          A simple tab library for the examples
       </info>
       <!-- A simple tag that outputs content -->
       <tag>
          <name>welcome</name>
          <tagclass>
             com.deitel.advjhtp1.jsp.taglibrary.WelcomeTagHandler
          </tagclass>
          <bodycontent>empty</bodycontent>
          <info>
             Inserts content welcoming user to tag libraries
          </info>
       </tag>
       <!-- A tag with an attribute -->
       <tag>
          <name>welcome2</name>
          <tagclass>
             com.deitel.advjhtp1.jsp.taglibrary.Welcome2TagHandler
          </tagclass>
          <bodycontent>empty</bodycontent>
          <info>
             Inserts content welcoming user to tag libraries. Uses
             attribute "name" to insert the user's name.
          </info>
          <attribute>
             <name>firstName</name>
             <required>true</required>
             <rtexprvalue>true</rtexprvalue>
          </attribute>
       </tag>
       <!-- A tag that iterates over an ArrayList of GuestBean -->
       <!-- objects, so they can be output in a JSP            -->
       <tag>
          <name>guestlist</name>
          <tagclass>
             com.deitel.advjhtp1.jsp.taglibrary.GuestBookTag
          </tagclass>
          <teiclass>
             com.deitel.advjhtp1.jsp.taglibrary.GuestBookTagExtraInfo
          </teiclass>
          <bodycontent>JSP</bodycontent>
          <info>
             Iterates over a list of GuestBean objects
          </info>
       </tag>
    </taglib>
    In the u201Cothersu201D tab of web.xml I choose the tag-libs and for Taglib Location I choose the advjhtp1-taglib.tld. The Taglib Location is advjhtp1-taglib.tld. I added u201Cadvjhtp1-taglib.tldu201D as URI .  
    When I run the jsp in browser
    http://devsrv:50000/servlet_jsp/customTagWelcome.jsp
    I get the following exception:
    #1.5 #0019DB661008005B0000008A000013B000044FA2C2FDE9C9#1213460381553#com.sap.engine.services.servlets_jsp.server.jsp.JSPParser#sap.com/servlet_jsp_test#com.sap.engine.services.servlets_jsp.server.jsp.JSPParser#Guest#0####b16b6e103a2d11ddb85a0019db661008#SAPEngine_Application_Thread[impl:3]_20##0#0#Error#1#/System/Server#Plain###application [servlet_jsp] Runtime error in compiling of the JSP file <C:/usr/sap/EP7/JC00/j2ee/cluster/server0/apps/sap.com/servlet_jsp_test/servlet_jsp/servlet_jsp/root/customTagWelcome.jsp> !
    The error is: com.sap.engine.services.servlets_jsp.lib.jspparser.exceptions.JspParseException: Tag library descriptor cannot be found for uri:].
    Exception id: [0019DB661008005B00000088000013B000044FA2C2FDE89A]#
    #1.5 #0019DB661008005B0000008B000013B000044FA2C2FDEBF1#1213460381553#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/servlet_jsp_test#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#Guest#0####b16b6e103a2d11ddb85a0019db661008#SAPEngine_Application_Thread[impl:3]_20##0#0#Error##Plain###application [servlet_jsp] Processing HTTP request to servlet [jsp] finished with error. The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: Internal error while parsing JSP page [C:/usr/sap/EP7/JC00/j2ee/cluster/server0/apps/sap.com/servlet_jsp_test/servlet_jsp/servlet_jsp/root/customTagWelcome.jsp].
         at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:118)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.getClassName(JSPServlet.java:238)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.compileAndGetClassName(JSPServlet.java:429)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:169)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.engine.services.servlets_jsp.lib.jspparser.exceptions.JspParseException: Tag library descriptor cannot be found for uri:].
         at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.JspTaglibDirective.verifyAttributes(JspTaglibDirective.java:146)
         at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.JspDirective.parse0(JspDirective.java:141)
         at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.JspDirective.parse(JspDirective.java:102)
         at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.ElementCollection.parse(ElementCollection.java:89)
         at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.ParserImpl.parse(ParserImpl.java:536)
         at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.initParser(JSPParser.java:340)
         at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:106)
         ... 18 more
    What is wrong with URI?
    Thanks in advance
    Yoel

    Hi,
    You need to add an entry for the <taglib-location> and <taglib-uri>
    in the web.xml for using a tld in the project.
    And then need to use the same url name in the jsp.
    You can go through the following link for the details about web.xml:
    http://edocs.bea.com/wls/docs61/webapp/web_xml.html#1017621
    Thanks
    Ritushree

  • Getnode returned null for uri error for caldav server

    Hello,
    I am trying to install the Oracle UCS ( SUN 7 update 2 ) server.
    https://wikis.oracle.com/display/CommSuite7U2/Communications+Suite+on+a+Single+Host+%28Linux%29#CommunicationsSuiteonaSingleHost%28Linux%29-InstallingtheExample
    So far, I have successfully:
    Checked the installation requirements
    Installed Communications Suite 7 Update 2 Software
    Installed and Configured the Directory Server
    Prepared the Directory under ( Configuring Communications Suite Components )
    Configured Delegated Administrator and Communications CLI
    Configured Messaging Server
    Configured MYSQL Server
    Configured Calendar Server
    I have just installed a caldav server. I checked that it was enabled by running:
    # asadmin list-components -p <admin-port> --type=web
    davserver <web-module>
    Command list-components executed successfully.
    # asadmin show-component-status -p <admin-port> davserver
    Status of davserver is enabled.
    Command show-component-status executed successfully.
    that was from this page:
    https://wikis.oracle.com/display/CommSuite7RR92909/Calendar+Server+7+Troubleshooting
    In Firefox, I try to hit the suggested pages under "Testing Calendar accounts". However, this errors out every time for me.
    http://domain.com/davserver/dav/h/myDomain.com/myusername/calendar
    wheremyDdomain.com is my actual domain that I will not list here
    and myUsername is my actual username which I will not list here
    ( I edited both of these in the logs below )
    I checked my log in /var/opt/sun/comms/davserver/logs:
    INFO [2012-02-11T11:46:02.729-0500] <...DavServer.<init>> Server Startup succeeded
    INFO [2012-02-11T11:46:02.730-0500] <...DavServer.loadBackend> Loading backend defaultbackend with backendid defaultbackend
    INFO [2012-02-11T11:46:02.730-0500] <...DavServer.loadBackend>      JDBC JNDI Name = jdbc/defaultbackend
    INFO [2012-02-11T11:46:09.033-0500] <...DavServer.loadBackend> Loading backend ischedulebackend with backendid ischedulebackend
    INFO [2012-02-11T11:46:09.033-0500] <...DavServer.loadBackend>      JDBC JNDI Name = jdbc/ischedulebackend
    INFO [2012-02-11T11:46:09.427-0500] <...DavServer.loadBackends> iSchedule enabled
    INFO [2012-02-11T11:46:09.439-0500] <...DavServer.loadBackends> modified ischedule collection at /ischedule/
    INFO [2012-02-11T13:33:18.967-0500] <...URIInfoManagerImpl.getEntryFromSearchFilter> found 0 corresponding to: (uid=caldav)
    INFO [2012-02-11T13:33:59.844-0500] <...URIInfoManagerImpl.getEntryFromSearchFilter> found 0 corresponding to: (uid=caldav)
    FINE [2012-02-11T13:42:39.157-0500] <...DavServerServlet.service> [REQ] GET /davserver/browse/h/myDomainName/myUserName/calendar 127.0.0.1 myDomainName
    FINE [2012-02-11T13:42:39.808-0500] <...LDAPSingleHostPool.getConnection> got connection from getConnection() for pool Pool number:0. Host=myDomainName
    FINE [2012-02-11T13:42:41.441-0500] <...LDAPSingleHostPool.getConnection> got connection from getConnection() for pool Pool number:0. Host=myDomainName
    FINE [2012-02-11T13:42:41.460-0500] <...LoginModuleHelper.checkIfUserInAdminGroup> user: admin; isMemberOf = cn=Service Administrators, ou=Groups, o=isp
    FINE [2012-02-11T13:42:41.684-0500] <...DavBrowserServlet.service> Got a non standard condition: getNode returned null for uri /davserver/browse/h/myDomainName/myUserName/calendar
    FINE [2012-02-11T13:42:41.684-0500] <...DavServerServlet.service> [RES] [404] Command execution time: 2.527 secs
    I can hit this page from the browser:
    http://myDomainName:4848
    From my understanding, that is the admin port. That brings up the GlassFish server admin page.
    I do not remember creating a calendar account anywhere is my first thought. I followed the example deployment step by step so far and nowhere does it have me create a calendar user account. So, maybe there is no account at this point?
    So, my first question would be:
    How can I verify that I have a calendar account to begin with? ( or is this what I am doing by trying to log into the sites suggested under 'Test Calendar Accounts').
    My next question would be:
    What does this error mean: "getnode returned null for uri error for caldav server"?
    Spin off question from that:
    What should I do to fix that error?
    Thanks in advance!

    I did not put a slash at the end of the uris I was testing
    http://myDomain.com:80/davserver/browse/h/myDomain/myUserName/calendar
    http://myDomain.com:80/davserver/dav/h/myDomain/myUserName/calendar
    Once I put the slash at the end of the uri, the configuration page appeared and the error was not displayed about getNode anymore:
    http://myDomain.com:80/davserver/browse/h/myDomain/myUserName/calendar/
    http://myDomain.com:80/davserver/dav/h/myDomain/myUserName/calendar/

  • What is the use of %@ taglib uri="taglib" prefix="hbj" % in jsp?

    what is the use of
    <%@ taglib uri="taglib" prefix="hbj" %>
    in jsp?
    The portal Content works fine even without that.
    Any specific reasons?

    Hello Hanif,
    This is the we declare taglibs in JSP files. Check this for definition:
    http://java.sun.com/products/jsp/tutorial/TagLibraries5.html#61992
    After declaring this taglib <%@ taglib uri="taglib" prefix="<b>hbj</b>" %>
    , you can use all HTMLB classes as tags in JSP.
    I am not sure in which JSP you mean that every thing works fine with out this taglib!! But if you remove this taglib, then you cannot use HTMLB in this JSP.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/efdb279a563ee7e10000000a1553f7/frameset.htm
    Greetings,
    Praveen Gudapati
    p.s Points are always welcome for helpful answers

  • Taglib URI

    Hi
    I'm developing portlets with JAVA EE 5, Tomcat 5.5.x and Spring Framework 2.0.
    JSP + JSTL are used for views.
    In my jsp pages I have a line
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    which work fine and I can use the core taglib and its tags.
    However, if I read the Java EE 5 manual at http://java.sun.com/javaee/5/docs/tutorial/doc/JSPIntro9.html#wp73319 (at the end) it says that:
    The absolute URIs for the JSTL library are as follows:
    * Core: http://java.sun.com/jsp/jstl/core
    This URI doesn't work for me. Is this a problem with Tomcat 5.5.9 or am I using wrong jar somewhere? I think jstl.jar is the one to look for - which version should I use and how do I know which version I have?
    Error:
    Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: /WEB-INF/jsp/index.jsp(1,1) The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
    with best regards Fredrik

    The difference is between JSTL1.0 and JSTL1.1
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> = JSTL1.0
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/jsp/core" %> = JSTL1.1
    You can check the version by looking at the file Manifest.mf in the META-INF file of standard.jar or jstl.jar
    You most probably have JSTL1.0 installed.

  • Taglib validator error

              Hi
              I am using WLS8.1 on win2k. When requesting a JSP page, I get the error below.
              The same page works fine in WLS 6.1.
              Ideas would be appreciated.
              Cheers
              Matt
              java.io.IOException: javax.servlet.jsp.JspException: The taglib validator rejected
              the page: "org.xml.sax.SAXParseException: Attribu
              te "xmlns:c" was already specified for element "jsp:root"., "
              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:364)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:220)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:504)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:349)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:431)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
              

              If the same taglib is declared twice with the same prefix and uri,
              for example
              <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %>
              <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %>
              the following
              exception occurs:
              org.xml.sax.SAXParseException: Attribute "xmlns:c" was already specified for
              element "jsp:root".
              thanks,
              Deepak
              "Matt" <[email protected]> wrote:
              >
              >Hi
              >
              >I am using WLS8.1 on win2k. When requesting a JSP page, I get the error
              >below.
              > The same page works fine in WLS 6.1.
              >
              >Ideas would be appreciated.
              >
              >Cheers
              >
              >Matt
              >
              >java.io.IOException: javax.servlet.jsp.JspException: The taglib validator
              >rejected
              >the page: "org.xml.sax.SAXParseException: Attribu
              >te "xmlns:c" was already specified for element "jsp:root"., "
              > 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:364)
              > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:220)
              > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
              > at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:504)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:349)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:431)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
              > at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
              > at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              > at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
              > at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)
              > at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
              

  • How does the JSP container resolve taglib URI

    My application uses JSPs which have taglibs. The taglibs use absolute URIs(http://java.sun.com/jstl/core). I noticed that if the JAR which would resolve this taglib, which is standard.jar, were to be placed in the <domain>/lib folder, the application would not be able to resolve it. If i packaged the JAR with the taglib definitions in the WEB-INF/lib folder of the WAR file, the application worked fine. Any clues on if this is expected behaviour? I have some other taglibs which refer to http://java.sun.com/jsf/html and jsf/core - these seem to be resolved fine by placing the jsf-impl.jar in the <domain>/lib folder.
              Thanks
              Ramdas

    hello,
    unfortunatly it is not quite clear what type of security you want to achieve ...
    a) either securing the report for unauthorized running against different data
    or
    b) securing the stream between the server and the client using HTPPS
    for case a) you will have to code the logic into the report so a user can only run the report against his data.
    neither HTTPS nor the CGICMD.DAT can help you in this case. you could even use the row-level-security option of the database to achieve that.
    regards,
    the oracle reports team

  • URI error in S1Proxy Server 3.6 SP2

    I'm recieving the following in the error log when using the proxy server:
    failure: for host 129.157.128.12, handle-request reports: method without URI
    Does this indicate an issue with the URL which the traffic should be proxied to, or is this a cert issue?
    Thanks,
    Steve
    [email protected]

    Hi
    You get the errors in the error log file when you have a non space whitespace between the method and the URI or when you send some method which the proxy cannot understand.
    Regards,
    Nagendra HK

  • When to specify taglib uri in web.xml

    When declaring a URI in the taglib directive, when must you include the taglib elements in web.xml, and when can you avoid them?
    I tried putting a relative path to the .tld file, setting uri to �/WEB-INF/mysubfolder/myfile.tld�, but my web server complains that I�m missing a tlib-version element somewhere�
    What is the uri path relative to, and in what cases must you include a mapping in web.xml and when do you not have to?
    Thanks.

    So it sounds like your tld file has some invalid xml in it.
    Double check the contents of your tld file.
    If you declare a <uri> in your taglibrary, then you never need to declare it in web.xml.
    You can just use that "well-known" uri to access your tag library.
    The tld has to be either
    1 - in the META-INF folder of a jar file deployed
    2 - under the WEB-INF directory
    See JSP specification section JSP.7.3.1

  • Taglib parsing error - cant see type parameter under attribute apparent

    Hi,
    I cannot determine why I'm getting the following error:
    "org.apache.jasper.JasperException: XML parsing error on file /report-taglib.tld: Element type "type" must be declared."
    It seems to me that I have clearly included the "<type>"
    parameter (java.util.ArrayList) for the "container" attribute (see my taglib xml, below)...
    Can you tell why the parser does not recognize it?
    Appreciate any help.
    [environment info]
    OS: WIN2000
    JAVA_HOME: C:\j2sdk1.4.0
    J2EE_HOME: C:\j2sdkee.1.3.1
    CATALINA_HOME: C:\jwsdp-1_0-ea1
    [my taglib]
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
    "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    <!-- a tag library descriptor -->
    <taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>report-taglib</shortname>
    <info>
              report taglib
    </info>
    <tag>
    <name>report</name>
    <tagclass>reportpackage.reporttags.ReportTagPROTO</tagclass>
    <bodycontent>JSP</bodycontent>
    <info>Includes body only if authorized by tag servlet</info>
    <attribute>
         <name> numQuery </name>
         <required> true </required>
         <rtexprvalue> true </rtexprvalue>
    </attribute>
    <attribute>
         <name> showNumber </name>
         <required> true </required>
         <rtexprvalue> true </rtexprvalue>
    </attribute>
    <attribute>
         <name> container </name>
         <required> true </required>
         <rtexprvalue> true </rtexprvalue>
         <type> java.util.ArrayList </type>
    </attribute>
    </tag>
    </taglib>

    It appears that this error is a result of using the wrong jsp version. -thanks

  • UCS integration with vSphere - invalid URI error

    Hi,
    I am struggling to integrate UCS Manager with vSphere vCenter.
    The vCenter extension is being exported from UCSM without any errors, but when trying to install the plugin via vCenter Plug-in Manager I am getting this error:
    "Invalid URI: The URI is empty"
    I've found this on the web, but this doesn't bring me any closer to resolving the problem:
    http://terenceluk.blogspot.com/2010/11/error-message-when-clicking-on-download.html
    Any hints?
    Regards,
    Radek

    Hi Radek,
    So as long as the file is registered in the plugins within vCenter, and they show up in the list of plugins, then that is all you need to do. You do NOT need to click the "Download and Install" button as it will not work, as you have experienced. This is because it is an XML document used to enable and validate communication between UCS/Nexus 1000v and your vCenter server. There is no actual application that is executed and needs to be installed.
    Hope that helps to clarify
    Thanks,
    Michael

  • Passing Objects to taglibs gives errors in WL6

    Hi,
              I am trying to create a taglib application in Weblogic 6.0 and if I
              pass any String it works fine, however if I pass an object, such as Vector,
              it doesn't work.
              I will appreciate all help.
              Thanks.
              

    well that didnt work still lots of nulls
    perhaps i should just use lots of variables

Maybe you are looking for

  • I want to change the "find" color from its green to some other color

    I would like to be able to change the color of "Find" (which is on the Edit Menu) to some other color; on some websites the background color is almost the same shade as green (and I wouldn't know if that's because of my Windows OS color selections (u

  • Can only connect from one direction

    I'm having trouble video confrencing... I tried searching the forums, but I'm having trouble thinking of clever search terms. I can only connect from one direction with one person. They can invite me to a chat and it works fine every time. However wh

  • HT4818 Using and existing bootcamp as an external HD

    Hey, i used to use snow leopard osx with winows7 bootcamp. Recently i just changed my hd and started using Lion. I realised i can still boot my old snow leopard but i was wondering if i can still boot my windows back up?

  • BEx 7.0 workbook template formating

    Hey Gurus , i have to make following changes to the workbook, which should reflect after the workbook is refreshed . 1. in the filter section i have to bold the filter headings . 2. change the color of border of the filter selction table . whenever i

  • Incorrect status indication in OEM.

    Hi, Oracle Enterprise Manager 10g (OEM) seems to indicate incorrectly the status of the database instance/the agent connection in windows 2003. I was able to connect and manipulate oracle database using SQLPlus/SQL Developer, but the OEM kept indicat