Attribute onselect invalid for tag selectOneMenu according to TLD

Hi All
I am seeing the error message "Attribute onselect invalid for tag selectOneMenu according to TLD" with html_basic.tld version 1.0 even though the tag and attribute are present in the TLD. The error occurs on Windows XP in Jboss 4.0.2. I don't see the error on Linux.
I'd appreciate any help.
Thanks
Murthy

Hi Raymond
Found that Jboss was loading html_basic.tld from an unknown jar. When I set the URI in the JSP to the TLD file placed in WEB-INF/lib, the error went away.
Changed
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@ taglib prefix="h" uri="WEB-INF/lib/html_basic.tld"%>
Wonder in which jar the TLD lies.
Thanks for your help
Murthy

Similar Messages

  • Error: Attribute binding invalid for tag ganttChart according to TLD

    Hi,
    I am experimenting with writing my first custom tag and getting the stack trace:
    org.apache.jasper.JasperException: /GanttFaces.jsp(18,3) Attribute binding invalid for tag ganttChart according to TLD
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:234)
         org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:989)
         org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:710)
         org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
    when using a binding with my custom tag:
    <jg:ganttChart binding="#{ganttFaces.ganttChart}" id="gantt1" .... >
    The error message reads as if I have to make special considerations in the TLD file to enable binding, but I can't find anything about that. Thats how my tld file looks:
    <taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>JGantt</shortname>
    <uri>http://netronic.de/jgantt/taglibJSF</uri>
    <info>My tag library </info>
    <tag>
    <name>ganttChart</name>
    <tagclass>de.netronic.jgantt.server.jsf.JGanttChartTag</tagclass>
    <info>The chart</info>
    <attribute>
         <name>id</name>
         <required>true</required>
         <rtexprvalue>false</rtexprvalue>
    </attribute>
    </tag>
    </taglib>
    Any idea what I am missing?
    Udo

    In your TLD, I do not see any binding attribute! you ahe to define it
    <attribute>
    <name>binding</name>
    <required>false</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    Afterwards, you should create the setter method in your tag class: setBinding(String binding)

  • Attribute styleclass invalid for tag dataTable according to TLD

    I'm trying to use the styleclass attribute for the dataTable tag as described in Sun's "Core Java Server Faces", pg 179.
    I get the error "Attribute styleclass invalid for tag dataTable according to TLD".
    Any ideas?

    Oooops. I missed the capitalisation of "C" in styleClass.
    Works now.

  • Attribute checked invalid for tag if according to TLD

    I'm just curious. Why Tomcat is so strict that it doesn't accept this code in a jspx file:
    <label>
         <jsp:element name="input">
              <jsp:attribute name="name">sexo</jsp:attribute>
              <jsp:attribute name="type">radio</jsp:attribute>
              <jsp:attribute name="value">FALSE</jsp:attribute>
              <jsp:attribute name="tabindex">8</jsp:attribute>
              <c:if test="${sexo=='FALSE'}">
                   <jsp:attribute name="checked">checked</jsp:attribute>
              </c:if>
         </jsp:element> Femenino
    </label>But it does accept this similar one
    <label>
         <c:choose>
              <c:when test="${sexo=='FALSE'}">
                   <input name="sexo" type="radio" value="FALSE"
                        tabindex="8" checked="chequed"/>
              </c:when>
              <c:otherwise>
                   <input name="sexo" type="radio" value="FALSE"
                        tabindex="8"/>
              </c:otherwise>
         </c:choose>
         Femenino
    </label>

    ooscarr wrote:
    I'm just curious. Why Tomcat is so strict that it doesn't accept this code in a jspx file:Huh, Tomcat? What error message are you getting then? I suspect it's just an ordinary XML syntax error.
    <label>
         <c:choose>
              <c:when test="${sexo=='FALSE'}">
                   <input name="sexo" type="radio" value="FALSE"
                        tabindex="8" checked="chequed"/>
              </c:when>
              <c:otherwise>
                   <input name="sexo" type="radio" value="FALSE"
                        tabindex="8"/>
              </c:otherwise>
         </c:choose>
         Femenino
    </label>This one is easily to be replaced by<input name="sexo" type="radio" value="false" tabindex="8" ${sexo ? '' : 'checked="checked"'}/>(don't forget to change sexo type from String to Boolean)

  • Error: Attribute disabled invalid for tag commandLink according to TLD

    I have this error when I trying to compile and run in Tomcat .
    This is my *.jsp code
    <h:commandLink action="#{mainBean.showTotals}" immediate="true"
    disabled="#{selectSomething.isDisableTotalSomething}" >
    <h:outputText value="#{selectPatients.totalPatients}"/>
    </h:commandLink>
    I using NetBeans 5.5 Beta, and when I change the Application Server to Sun Java Application Sever the code work just fine.
    If someone can help me out to solve this problem using Tomcat, I will appreciate so much.
    Thanks in advance.

    Now I realize that when I'm using Sun Application server version 9 my project is working just fine, because use JSF 1.2, but the problem is with Tomcat that I did'nt get yet how to work with JSF 1.2 using tomcat, I receive so many weir messages when I trying to use tomcat.
    I put all JSF libraries in my project folder, to be independent of any application server, but still don't work with Tomcat.
    What are all mandatories files do I need in my lib folder to implement JSF 1.2 applications using Tomcat?.

  • Attribute validation error for tag CFQUERY

    I have a CF application that's running fine on a shared host. I now have a VPS running version of CF 9. When I try to use this on the VPS, I get the following error:
    Attribute validation error for tag CFQUERY.
    The value of the attribute datasource, which is currently '', is invalid.
    The datasource is being set in application.cfc, and again works just fine in the shared environment.
    The only differences is the shared is running on Windows, and the VPS is Linux. Also, the Windows is running version 9,0,1,274733 and the Linux is 9,0,0,251028
    Any help would be greatly appreciated.

    bbholdem wrote:
    I have a CF application that's running fine on a shared host. I now have a VPS running version of CF 9. When I try to use this on the VPS, I get the following error:
    Attribute validation error for tag CFQUERY.
    The value of the attribute datasource, which is currently '', is invalid.
    The cause of the error is obvious. Somewhere in your application, the cfquery tag is used as follows, with an empty string as datasource:
    <cfquery datasource="">
    </cfquery>
    That is a mistake. The error message should tell you where that occurs.

  • Validation error for tag cfloop

    Hi All,
    Complete newbie to CF here.  I've inherited (or bought) an online business which has its site written in CF.  I haven't done this sort of stuff before but do work SQL for a living and object oriented stuff plus have done a bit of html and php so CF isn't mind blowing to me (in its simple form).
    I've downloaded my site on to my computer to run a local copy that I can hack to pieces if needs be.  For some reason, I have a few problems with the site running locally.  The first error I'm getting is a Attribute validation error for tag cfloop.
    Basically, index.cfm has this bit of code in it:
    <cfinvoke component="#datasets#" method="storedProcedure" returnvariable="getFeaturedWineries_qry">
        <cfinvokeargument name="storedProcedure" value="usp_GetFeaturedWineries">
    </cfinvoke>
    Ok, easy enough.  Anyway, there's a call down the page to:
    <cfinclude template = "#REQUEST.CFMPath#includes/displayFeaturedWineries.cfm">
    Within displayFeaturedWineries.cfm is the code that calls the stored proc invoked above:
    <cfloop query="getFeaturedWineries_qry" startrow="1" endrow="2">
    Bam, that's where the error occurs.  "The value of the attribute query, which is currently getFeaturedWineries_qry, is invalid.
    What???  The stored proc exists and it only returns two records (which begs me to wonder why you would have startrow and endrow but anyway, it doesn't work with or without it).
    The other interesting thing is that this works on production, NO PROBLEM!!!  WTF?  How can it work on production but not locally.
    The only thing I'm starting to think is:
    a)  I've missed a setting somewhere in CF or
    b)  I'm running Apache as compared to IIS or
    c)  I'm running SQL 2008 and CF 9 which will no doubt be different to the production host server.
    Should B or C be causing THAT type of problem??
    Thanks,
    Matt

    I'm not sure what code apart from the above is going to show you what you could possibly need to solve this, but here goes.  The following is only snippets of the code, but they are the relavant snippets.  Other stored procs work.  The cfdump for getFeaturedWineries_qry shows 'usp_getFeaturedWineries'.  I know its there because I've been unable to run "EXEC usp_getFeaturedWineries" after copying it straight out of the code.  As previously stated, there are other stored procs which are running fine.
    datasets.cfc
        <cffunction name="storedProcedure">
            <cfargument name="storedProcedure" required="Yes" type="string">
            <cfstoredproc procedure = "#ARGUMENTS.storedProcedure#"
                          datasource = "#REQUEST.DSN_NAME#"
                          username   = "#REQUEST.DSN_USER#"
                          password   = "#REQUEST.DSN_PASS#"
                          returncode = "Yes">
                <cfprocresult name="storedProcedure" resultset="1">
            </cfstoredproc>
            <cfreturn storedProcedure>
        </cffunction>
    application.cfm
        <!--- DATA SOURCE VARIABLES --->
        <cfset DSN_NAME = "boutiqueWineriesTest">
        <cfset DSN_USER = "coldfusion">
        <cfset DSN_PASS = "coldfusion">
    index.cfm
    <cfobject component="#COMP_REF#.datasets" name="datasets">
    <cfinvoke component="#datasets#" method="storedProcedure" returnvariable="getFeaturedWineries_qry">
        <cfinvokeargument name="storedProcedure" value="usp_getFeaturedWineries">
    </cfinvoke>
    <cfinclude template = "#REQUEST.CFMPath#includes/displayFeaturedWineries.cfm">
    displayFeaturedWineries.cfm
             <cfloop query="getFeaturedWineries_qry" startrow="1" endrow="2">
    Attribute validation error for tag cfloop.
    The value of the attribute query, which is currently  getFeaturedWineries_qry, is invalid.                                                                                  The error occurred in C:\apps\iishome\includes\displayFeaturedWineries.cfm:  line 33
    Called from C:\apps\iishome\index.cfm: line 399
    Called from C:\apps\iishome\index.cfm: line 79
    Called from C:\apps\iishome\index.cfm: line 1
    31 :      <tr>
    32 :           <td width="626" colspan="3" class="productCenter_bg2">
    33 :          <cfloop query="getFeaturedWineries_qry" startrow="1" endrow="2">
    34 :              <div class="productCennews">
    35 :                  <table border="0" cellspacing="0" cellpadding="0">

  • CRS-5008: Invalid attribute value: ce0 for the network interface

    Hi all,
    we try to install grid infrastructure 11GR2 (11.2.0.1) into Solaris Zone with shared network interface.
    We also modified scirpt racgvip, so it will be able to login (via ssh with key authorization) to the global zone and add or remove interface on zone. Script itself works fine.
    But it seems that orarootagent some how checks the interface, and returned error.
    In the log of the orarootagent I can see error:
    2010-10-01 21:38:49.573: [ AGFW][9] CHECK initiated by timer for: ora.net1.network sapdr2db2 1
    2010-10-01 21:38:50.473: [ora.net1.network][17] [check] NetworkAgent::checkLink returned false
    2010-10-01 21:38:50.474: [ora.net1.network][17] [check] NetInterface::sGetIpAddress {
    2010-10-01 21:38:50.474: [ora.net1.network][17] [check] netInterfaceName empty.
    2010-10-01 21:38:50.474: [ora.net1.network][17] [check] NetInterface::sGetIpAddress }
    2010-10-01 21:38:50.474: [ AGFW][17] check for resource: ora.net1.network sapdr2db2 1 completed with status: OFFLINE
    2010-10-01 21:38:50.476: [ AGFW][17] Executing command: check for resource: ora.net1.network sapdr2db2 1
    2010-10-01 21:38:50.477: [ora.net1.network][17] [check] NetworkAgent::init enter {
    2010-10-01 21:38:50.478: [ora.net1.network][17] [check] Checking if ce0 Interface is fine
    2010-10-01 21:38:50.479: [ora.net1.network][17] [check] NetInterface::scheckNetInterface returned 0
    2010-10-01 21:38:50.480: [ora.net1.network][17] [check] CRS-5008: Invalid attribute value: ce0 for the network interface
    2010-10-01 21:38:50.480: [ora.net1.network][17] [check] NetworkAgent::init exit }
    2010-10-01 21:38:50.480: [ora.net1.network][17] [check] NetInterface::scheckNetInterface returned 0
    2010-10-01 21:38:50.480: [ora.net1.network][17] [check] NetworkAgent::checkInterface returned false
    Does anybody know how the orarootagent checks for the network resource?
    It seems that there are some procedures (NetworkAgent::checkLink, NetInterface::sGetIpAddress) inside it. But the problem is that this file is binary.
    Or may be there are some ways to track how orarootagent checks?

    >
    2010-10-18 18:11:07.589: [ora.net1.network][9] {0:2:8} [check] Checking if ce0 Interface is fine
    2010-10-18 18:11:07.589: [ora.net1.network][9] {0:2:8} [check] NetInterface::scheckNetInterface returned 0
    2010-10-18 18:11:07.590: [   AGENT][9] {0:2:8} UserErrorException: Locale is
    2010-10-18 18:11:07.591: [ora.net1.network][9] {0:2:8} [check] CRS-5008: Invalid attribute value: ce0 for the network interface
    >
    Is there anything I can do with it? Will appreciate any help!Is ce0 a valid interface on the machine? (has the global zone done "ifconfig ce0 plumb"?)
    Is the zone correctly configured (check output of the export sub-command of zonecfg)?
    --Sowmini                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • CFCHART only works for pie, invalid attribute: autoAdjust Error for all other types

    CFCHART only works for pie, invalid attribute: autoAdjust
    Error for all other types.
    Im just trying to render a simple bar chart, and it works on
    the developer server, but not in production.
    Any tips?
    Dave

    It's 7.0.2
    But I have not tried this yet...
    ColdFusion MX 7.0.2 Cumulative Hot Fix 2
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=kb400996
    I'm worried that If I apply that hotfix, something else will
    break :(
    ANd I wont be able to un=do it, and I'm not able to
    re-install CF if it all goes tits up.

  • Error:JBO-25004: Definition name  for type Attribute is invalid

    Hi,
    I just modified the query of the VO to correct the spelling of an alias name and since then the JDeveloper is failing with the below error message. I even tried changing the sql query used in the VO to its original state but still the program is failing with the below message.
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidDefNameException: JBO-25004: Definition name for type Attribute is invalid
    Error Stack:
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidDefNameException: JBO-25004: Definition name for type Attribute is invalid
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(Unknown Source)
         at OA.jspService(_OA.java:87)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)
         at OA.jspService(_OA.java:80)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidDefNameException: JBO-25004: Definition name for type Attribute is invalid
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(Unknown Source)
         at OA.jspService(_OA.java:87)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)
         at OA.jspService(_OA.java:80)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidDefNameException: JBO-25004: Definition name for type Attribute is invalid
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(Unknown Source)
         at OA.jspService(_OA.java:87)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)
         at OA.jspService(_OA.java:80)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Hi,
    As in error thrown the name of the attribute name is missing so I think there is some point where you need to mention the attribute name but there you have not provided the attribute name.
    Regards,
    Reetesh Sharma

  • Class as an attribute name in JSP tag file

    I just ran into an issue where I was writing a custom tag to generate a specific set of HTML elements, and wanted to be able to use CSS the same way I had before refactoring it into a tag. So, I included 'class' as an attribute in the custom tag file and deployed.
    On Glassfish v3, this generated a bunch of JasperExceptions in the Javac compilation, complaining about <identifier> expected and reaching the end of file while parsing. I tracked it down, of course, to the use of 'class' as an attribute name, which was reduced to a servlet class defining:
    public String getClass() {
       return this.class;
    public void setClass(String class) {
       this.class = class;
    }I'm curious -- which part of the process messed up here? Is "class" a valid identifier under the Java EE spec, and the translation should have used something like setClass_(String class_)? Or is it invalid, and Netbeans didn't know to mark it as an error before it tried to deploy? (And, of course, that I missed that in the spec, making it my fault.) I couldn't find anything specifically saying that reserved words couldn't be used as JSTL identifiers, so my gut is that the parser messed up. Also, I found a bug report about it for an alternate web container, but no mention of it in the bug trackers for Glassfish, Tomcat or Jasper.
    Where's the blame?

    stdunbar wrote:
    I think that Netbeans messed up. getClass() is, of course, defined on Object and class is a Java keyword.What's to stop the compiler from recognizing that "class" would be a problem and mapping it to an alternate name behind the scenes?
    This is the only documentation I turned up. Maybe this says it's invalid:
    Java EE SpecThe unique name of the attribute being declared. A translation error results if more than one attribute directive appears in the same translation unit with the same name.A translation error results if the value of a name attribute of an attribute directive is equal to the value of the dynamic-attributes attribute of a tag directive or the value of a name-given attribute of a variable directive.

  • How to set an attribute of a HTML tag with a value in the Servlet

    I have a HTML page and a Servlet.
    The HTML page sends a request to the Servlet.
    The Servlet has to read the contents of the HTML page. When the Servlet encounters the body tag it should set the bgcolor attribute of the body tag with a string(For eg.a string called color with a value blue) in the servlet.
    After doing this the Servlet has to update the original HTML page with the changes (in the body tag).
    I need a help on this.

    Hi sangee,
    you could get what you want to do by using a Java Server Page instead of both a HTML page and a Servlet.
    I should code something like this:
    <%Strung color="yourColor"%>
    <html><head><title></title></head>
    <body bgcolor="<%=color%>
    </body>
    </html>

  • BUG: iTunes writes invalid id3 tags.  This is unacceptable.

    Hi there,
    I'm a developer on a large opensource media player (XBoxMediaCenter) and have recently encountered a number of completely invalid id3v2 tags written by iTunes.
    For instance, TCP and TCMP frames have been written (in the case of compilations) where these are not defined by the spec, and thus any spec-compliant tag reader should rightly fail at any such frame.
    iTunes should instead be writing TXXX tags or PRIV tags to do this.
    Furthermore, it's also writing application specific data to a COMM (comment) frame. This also should be in PRIV or TXXX tags.
    You just don't make up your own frames when there is already mechanisms in place (TXXX tags for instance) to deal with application specific data.
    The ID3 tag specification is available free to all. It would be useful if iTunes could obey it!

    While the feedback page is OK, developers such as yourself should do the following to submit a bug report:
    1. If you don't have one already, get an ADC account (http://developer.apple.com/products/). The "ADC Online" (http://connect.apple.com/) accounts are free.
    2. Submit a bug report at http://bugreport.apple.com

  • Issue: Proportion/produciton unit of measure NO is invalid for item 900001.

    Hi All,
       Issue: Proportion/produciton unit of measure NO is invalid for item 900001.
    Here we have MTO Scenario: In outbound delivery when we do batch split & batch determination we are getting the above error.
    Consider the following settings: at MM01 - Prodution/Proportion unit data is maintained with a characterstic specific to batch. Means Batch specific unit of measurement. In Work scheduling view produciton unit, unit of issue are maintained as 'NO'. All these settings  are same for all material codes.
    Please suggest us why we are getting the issue for perticular material coce.
    Info: We resolve the issue by adding one more line item in the sales order & do the transfer posting the stock from line item to line item. But this is not the permanent solution.
    Regards
    Chowdary

    I believe the error message no is VL 382 (Proportion/product unit of measure & invalid for item &)
    You need to double click on the error message flashing on the status bar to get the error number.
    I believe long text for the error message is self explainatary. Refer it and make necessary changes to resolve the issue.
    Diagnosis
    You want to use a proportion / product unit for an item.
    You are not allowed to change the unit of measure into a proportion / product unit if:
    - The following exist for a sales document item:
    Preceding documents
    Subsequent documents
    - You are processing a scheduling agreement for the component supply industry
    - You change the target unit of measure in a scheduling agreement item (and the sales unit is not a proportion / product unit)
    - You are processing a customer requirements plan
    - The following exist for a delivery item:
    Preceding documents
    Subsequent documents
    Batch split items
    - You are processing a batch split item
    Procedure
    Use a different unit of measure.
    If you want to change the target unit of measure into a proportion / product unit in a scheduling agreement item, you need to change the sales unit accordingly. The system then sets the target unit of measure to the same as the sales unit.
    Further, if you are working on older version, refer SAP Note 364206 - VLSP:indic.for proportion/product quantities deletd.
    Regards
    JP

  • SQL Data Sync - column type invalid for use as a key column

    Hello,
    our sync group is failing to do the sync. Here's a tracingID:
    For more information, provide tracing ID ‘e3e568b5-140a-4ae5-a4c8-c178c6bf805d’ to customer support.
    I must say, that the column in DB is not a PK or INDEX-ed, it was initially VARCHAR(MAX), after some reading I changed it to VARCHAR(200) and later to TEXT, but the result of syncing is still the same.
    Thank you,
    Bojan

    Hi Bojan,
    The error “column type invalid for use as a key column” could be due to the existence of unsupported data types or column properties when implementing the synchronization. I recommend you check your database according to this article:
    SQL Database Data Types supported by SQL Data Sync.
    Besides, before you design and implement a data synchronization plan, please check the following articles about system requirements for SQL Data Sync and so on.
    System Requirements for SQL Data Sync
    https://msdn.microsoft.com/en-us/library/azure/jj127278.aspx
    Known SQL Data Sync Limits
    https://msdn.microsoft.com/en-us/library/azure/jj590380.aspx
    SQL Data Sync Best Practices
    https://msdn.microsoft.com/en-us/library/azure/hh667328.aspx
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

Maybe you are looking for