How to configure tld file?

I am building a JSF application and created a new custom component with a new tag. I suspect the runtime isn't finding/loading my TLD file. I've tried putting the TLD file in the WEB-INF directory and with the source/class files; I get the same error. How can I figure out if my tld is loaded? what else can I try to get it to be recognzied properly?
The error is:
Attribute id invalid for tag TestTag according to TLDMy TLD file does specify id:
          <attribute>
               <name>id</name>
               <required>false</required>
               <rtexprvalue>false</rtexprvalue>
               <description>
                    The component identifier for this component. This value
                    must be unique within the closest parent component that
                    is a naming container.
               </description>
          </attribute>

If I flat out delete the tld file, and restart my IDE and the web server, I get the exact same symptoms. My custom tag/component works perfectly with a value attribute but no id attribute. As soon as I add the id attribute, I get the error.
I can also put the tld file back, but delete the XML contents and type in garbage; this way, if something was trying to read that file it would error. I get no error, which tells me that nothing is reading that file. If I remove the id attribute, it works perfectly.
My import statement:
<%@ taglib uri="http://sample.com/taglibs/" prefix="xyz"%>My tag reference:
<td><xyz:rater value="#{sample.value}" /></td>Java: 1.5.0_06
Server: Apache Tomcat 5.5.12
JSF: Sun RI 1.1_01
IDE: Eclipse 3.1.1 + WTP 1.0RC5
Yes, in my web searches, I saw many places recommending adding a taglib section to web.xml, but it wouldn't validate and seemed to be obsolete.

Similar Messages

  • How to configure the file adaptor so as to send an sample XML message.

    Hi all ,
    I had done the configuration and now i want to test the scenario but i dont now how to do that ?.
    how to configure the file adaptor so as to send an sample XML message to the integration server ?.
    I am totally new to XI.
    please help me out how to do it.
    its an urgent.
    Thanks,
    shuja

    Hi,
    I think you should post your question Process Integration (PI) & SOA Middleware.
    Regards
    Message was edited by:
            Shehryar Khan

  • How to use tld files in iPlanet

    Hai Friends,
    I don't know basic stuff of iPlanet. plz help me. I have developed one application in tomcat. Now i need to move that application from tomcat to iPlanet 6.0(Solaris). When i deployed it in iPlanet i am geting following exceptions plz guide me
    [02/May/2006:17:40:18] failure (26802): Internal error: servlet service function had thrown ServletException (uri=/ACM/jsp/bottom_pa
    ge1.jsp): org.apache.jasper.compiler.ParseException: /user3/acm/iplanet/servers/ACM/jsp/bottom_page1.jsp(2,0) Page directive: Invali
    d attribute, pageEncoding, stack: org.apache.jasper.compiler.ParseException: /user3/acm/iplanet/servers/ACM/jsp/bottom_page1.jsp(2,0
    ) Page directive: Invalid attribute, pageEncoding
    at org.apache.jasper.compiler.JspUtil.checkAttributes(JspUtil.java:237)
    at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:194)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:218)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:193)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$4(JspServlet.java:167)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:477)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:897)
    at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1065)
    at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:959)
    , root cause:
    [02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element tag-class in tag
    [02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element body-content in tag
    [02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element variable in tag
    [02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element variable in tag
    [02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element variable in tag
    [02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element variable in tag
    [02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element variable in tag
    [02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element variable in tag
    [02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element tag-class in tag
    [02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element body-content in tag
    [02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element variable in tag
    [02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element variable in tag
    [02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element variable in tag
    [02/May/2006:17:40:18] failure (26802): Internal error: servlet service function had thrown ServletException (uri=/ACM/jsp/header.js
    p): org.apache.jasper.compiler.CompileException: /user3/acm/iplanet/servers/ACM/jsp/header.jsp(101,0) Unable to load class null, sta
    ck: org.apache.jasper.compiler.CompileException: /user3/acm/iplanet/servers/ACM/jsp/header.jsp(101,0) Unable to load class null
    at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:128)
    at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:753)
    at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:132)
    at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:903)
    at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:188)
    at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:825)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:218)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:193)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$4(JspServlet.java:167)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:477)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:897)
    at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1065)
    at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:959)
    , root cause:
    (END)

    Thank u Very much.
    And small doubt again. I am writing one custom tag in my application for that we need one tld file. In tomcat i wrote like this
    <tag>
    <name>Menu</name>
    <tag-class>com.citigroup.acm.taglib.MenuTag</tag-class>
    <body-content>JSP</body-content>
    <variable><name-given>parentId</name-given></variable>
    </tag>
    but in iPlanet i modified(insted of tag-class i used tagclass) like the following, b'coz i got some exceptions
    <tag>
    <name>Menu</name>
    <tagclass>com.citigroup.acm.taglib.MenuTag</tagclass>
    <body-content>JSP</body-content>
    <variable><name-given>parentId</name-given></variable>
    </tag>
    Now i am getting error at <variable> how to handle that plz help me

  • How to configure jar files in BAT file

    hi to all .I have one doubt. how to configure the no.fo jar files in BAT file.
    can any one help me
    thanks

    sorry
    i want to set the class path for all jar files .those are in some folder.so I want to set the class path to all jar files from MOS-DOS.
    for i have done like this(provided bellow) and name as jarfiles.bat.
    set CLASSPATH=
    "C:\Documents and Settings\Administrator\Desktop\FORUM\jarfiles\hibernate2.jar";"C:\Documents and Settings\Administrator\Desktop\FORUM\jarfiles\servlet-api.jar";"C:\Documents and Settings\Administrator\Desktop\FORUM\jarfiles\poi-scratchpad-3.0-rc4-20070503.jar";"C:\Documents and Settings\Administrator\Desktop\FORUM\jarfiles\commons-collections-2.1.1.jar";"C:\Documents and Settings\Administrator\Desktop\FORUM\jarfiles\poi-contrib-3.0-rc4-20070503.jar";"C:\Documents and Settings\Administrator\Desktop\FORUM\jarfiles\poi-3.0-rc4-20070503.jar";
    is it correct way.
    can u give me clear idea on this

  • How to configure .ocx file in a JSP page

    Hi i am doing a project which involves data retrival from a Swipe card. I am going to retrive the id from the card and this data has to be sent to a JSP page. After retriving the ID from the card, we access the database and retrieve all the information required. The latter part is done thru JSP, STRUTS and EJB.
    The swipe card reader is programmed in VC++ and an OCX file is created. Now i need to know how to configure this OCX file into Java technology thru web.
    If anyone could help me, i'll be more thankful.

    out.println("<br/>"); or use of
    tag

  • How to configure spool file location

    Hi all,
    I want to configure a default spool file location, so whenever I use spool in my SQL script, the file will be saved in this location. Please help me on how to configure it.
    Thanks in advance

    The spool file ends up in the path you specify, or in the working directory (where you start sqlplus), like this:
    C:\>
    C:\>cd %my_spool_dir%
    C:\oracle\admin>sqlplus ...
    sql> spool test
    Or you could just use your own standard spool.sql script as zetabouy suggests!

  • How to configure Sender File Adapter to pick couples files in order !!

    Hi Folks,
    I am really looking for one requirement like, Sender file adapter has to pick multiple files by file name based with some time gap? Can we?
    I have got one BPM in this, I have tried with Process mode : Name and Date, with wait step on BPM, but no use. The way how PI behaving, if 40 files in file directory, it is picking all files in one shot. Start processing but not in order.
    The problem is on Receiver system side. The receiver system is SNC system, if old data receives later than earlier date data; we get data obsolete application error.
    Ex: If I receive 25th and 26th files, first I need to process 25th first on PI sends to SNC, I need to give some time gap and pick another file or even  PI picks and process 26th file, no problem but  I need to give some time gap to send SNC to this 26th date file?
    Please how guys, throw me your great ideas
    Thanks in advance!!
    Regards
    San

    @ Sandhya
    If there are 40 files , can you please specify how many types of files are ther like say first A type shud be picked then B type then C type and so on so forth ?
    LIke in my case I had only three types of files file1 and file 2 file 3
    and in the directory also only three  files will be placed at a time
    you need to have some logic to separate the type of files in  differnt folders and then  process them
    @ farooq yes . it will create problem if 40 files are kept at a time .
    Regards
    Ninad

  • How to configure log files in SQL 2012?

    I'm installing a SharePoint Solution and using Microsoft SQL 2012 and I have limited knowledge in installing SQL.  I simply run the wizard and create the DB for SharePoint. 
    Is there any links/materials available demonstrating how to correctly configure the log files step by step in a specific partition during the SQL installation for SharePoint 2013?
    thanks, 

    Hello,
    SQL Server database log files benefit from RAID 1 and RAID 10 configurations. RAID 10 is recommended for both data files and log files.
    To control de grow of transaction log files, please backup them regularly. The following article may explain you in detail why:
    http://technet.microsoft.com/en-us/library/ms175495.aspx
    Monitor the growth of log files using Performance Monitor and the SQLServer:Databases --> Log Growths counter. Adjust the size of log files until Log Growths
    is constantly zero.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How to configure Lockbox file upload (FLB2) in Canadian Currency?

    Hello Experts!
    My company has a requirement to set up a new lockbox with a Canadian bank.  Our Business Analyst asked me to post this question on this forum.  How does one go about configuring the lockbox to specify Canadian Currency?  We will need to upload files via FLB2 but there doesn't seem to be a place where we can designate the currency as CAD instead of USD.  Any help would be most welcome.  Thanks!
    Best Regards,
    Nik von Ruden

    Renan,
    Thanks for the reply!  So does this mean that the currency (in this instance CAD) is not configured in SAP?  It is handled because it's a Canadian bank, therefore they expect to deal in Canadian dollars?
    Best Regards,
    Nik von Ruden

  • How to package .tld files into MATA-INF folder with jar?

    I noticed that tag lib jar file contains *.tld under its META-INF folder. Justwonder how to implement this with command jar? Thank you!

    I have discovered how to get it to work, but I'm not sure what the problem is. I can consistently duplicate it.
    If I manually copy a file into the myapp\src folder, the file does not get copied to the bin-debug folder and, thus does not get added to the list of files to include.  I build my app dozens of times. This file NEVER appears in the file list under the src folder in the Package Explorer View.  Even if I close Flash Builder and open it again, my added file NEVER appears in the file list.
    Only if I right click on my project in the Package Explorer View and select Refresh, will the file appear in the list.  Then and only then, when I go through the Export process, the file will appear in the list and be included in the AIR package.
    That seems like a bug to me.  Even if you said it wouldn't detect the file being added while Flash Builder is open, it should at least check the project folder when I open it and update the list with any new files.
    I'd still like to know how to get this to work without manually refreshing the project although admittedly I won't be adding files to the project often.
    The "Copy non-embedded files to output folder" option is something good to know. I initially unchecked it and saved and rechecked it, just to be sure it was set.

  • How can configure .properties file and  log4j on weblogic 8.1 SP5

    Hi,
    I know this is not right forum for post this question.But I hope I'll get my perfect answer here.
    I have 2 questions.
    1. Where I'll keep my .properties file in weblogic 8.1 SP 5. means I have one own .properties file which is contains some proxy settings and this .properties resides on .war file(now), But I want move this propeties file outside .war file. So Where I'll keep in weblogic 8.1 SP 5.
    2. How can we configure log4j in weblogic?
    Please reply me.
    Regards,
    Pattanaik

    You can add your.properties and log4j.properties to the classpath cant you?
    You just need to edit setEnv.cmd (if i remember correctly) in your weblogic server folder to add the folder containing the properties files to the classpath variable.

  • How to configure license file for Memory Leak tool and WL Server 9.2?

    (I posted to general JRockit forum before realizing existence of this forum which is probably more applicable.)
    Here's our problem:
    Running latest version of WL 9.2 MP3 and JRockit Mission Control 3.0.1
    Able to run Mission Control, and connect to the WL Server and to run View Console with no problems.
    I can't get Memory Leak tool to run because it complains about needing a license file.
    First I tried with off the shelf WL 9.2 MP3.
    Get error:
    A license for Memory Leak Detector could not be found on the JRockit at (1.5) weblogic.Server (192).
    Error: Can not find component Memory Leak Detector for JRockit * in the license file. Please check http://www.jrockit.com/license for license updates.
    So I downloaded license file from JRockit download site - wls92.zip. It contains several files, but no clear instructions on what to do with these files. I copied one of these files "LIC-WLSP92.txt" to my JRockit home as C:\bea\JROCKI~1\jre\license.bea
    Tried again. Restarted WL server. Restarted JRockit Mission Control.
    Get error: A license for Memory Leak Detector could not be found on the JRockit at (1.5) weblogic.Server (3052).
    The license file does not exist at: C:\bea\JROCKI~1\jre\license.bea
    Any advise on how to install license or who to contact for help?

    Installed Mission Control 3.0.3.
    Got following message when I attempted to run Memory Leak:
    A license for Memory Leak Detector could not be found on the JRockit at (1.5) weblogic.Server (192).
    Error: Can not find component Memory Leak Detector for JRockit * in the license file.
    Please check http://www.jrockit.com/license for license updates.
    I believe that we're using the latest downloads of WebLogic 9.2.x and JRockit.
    WebLogic is running using 9.2.3 and JRockit build R27.4.0-90_CR358515-94243-1.5.0_12-20080118-1154-windows-ia2
    Contents of C:\bea\jrockit_150_12\jre\license.bea:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <bea-licenses>
    <license-group format="1.0" product="JRockit" release="*">
    </license-group>
    </bea-licenses>
    Could WebLogic be misconfigured?
    Any diagnostics to help figure out the licensing?
    Any other ideas?

  • How to configure .wxs file to to detect latest version of IE when writing to the FEATURE_BROWSER_EMULATION RegistryKey?

    I have a .wxs file with a component
    <Component Id="IE_BROWSER_EMULATION_REGISTRY" Guid="*">
     <RegistryKey Root="HKLM" Key="SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION">
      <RegistryValue Type="integer" Name="SDLTradosStudio.exe" Value="9999" KeyPath="yes"/>
     </RegistryKey>
    </Component>
    I know the end users will be using Windows 7 and will most likely have at least IE 9 installed on their computer. But I would really like to set the Value to the latest version of IE installed on the user's machine.  I am using the WiX Edit tool to
    build the .msi.  How can I detect the latest version of IE installed on the user's machine?

    That looks like a WiX question - you should try the WiX-users forums or the WiX category in StackOverflow.
    Phil Wilson

  • How to configure domainValues file for BI apps?

    Hi Experts,
    I am configuring EAM analytics 7.9.6.4 with EBS R12.
    I am following http://docs.oracle.com/cd/E35287_01/bia.7964/e35272.pdf
    In Section 16.2.2 Domain Values and CSV Worksheet Files for Oracle Enterprise Asset
    Management Analytics with Oracle EBS
    It says...
    If you have modified or extended a seeded list of values, you must configure the CSV
    files for Oracle Enterprise Asset Management Analytics by mapping values from your
    source systems to the domain values.
    Now in one of the files (domainValues_Status_EAMAsset_ora11i) the seeded values are...
    W_STATUS_CLASS,STATUS_CODE,STATUS_NAME,W_STATUS_CODE,W_STATUS_DESC,STATUS_DESC
    EAM_ASSET_STATUS,1,ACTIVE,Active,Active,Item is Active
    EAM_ASSET_STATUS,510,HOLD,Hold,Hold,Item is on Hold
    and when i check in my EBS, the values are ..
    EAM_ASSET_STATUS,1,EXPIRED,Expired,Expired,Item is Expired
    EAM_ASSET_STATUS,510,CREATED,Created,Created,Item is Created
    My Question is should i just add these  new two lines  below the seeded values like this...
    W_STATUS_CLASS,STATUS_CODE,STATUS_NAME,W_STATUS_CODE,W_STATUS_DESC,STATUS_DESC
    EAM_ASSET_STATUS,1,ACTIVE,Active,Active,Item is Active
    EAM_ASSET_STATUS,510,HOLD,Hold,Hold,Item is on Hold
    EAM_ASSET_STATUS,1,EXPIRED,Expired,Expired,Item is Expired
    EAM_ASSET_STATUS,510,CREATED,Created,Created,Item is Created
    OR Should i modify the existing seeded values like below?
    W_STATUS_CLASS,STATUS_CODE,STATUS_NAME,W_STATUS_CODE,W_STATUS_DESC,STATUS_DESC
    EAM_ASSET_STATUS,1,EXPIRED,Expired,Expired,Item is Expired
    EAM_ASSET_STATUS,510,CREATED,Created,Created,Item is Created
    Thanks
    Ashish

    I am going ahead with EBS values only now..
    W_STATUS_CLASS,STATUS_CODE,STATUS_NAME,W_STATUS_CODE,W_STATUS_DESC,STATUS_DESC
    EAM_ASSET_STATUS,1,EXPIRED,Expired,Expired,Item is Expired
    EAM_ASSET_STATUS,510,CREATED,Created,Created,Item is Created
    Now what is this column W_STATUS_CLASS? Do we have to punch in its values as EXPIRED OR CREATED  
    ie
    W_STATUS_CLASS,STATUS_CODE,STATUS_NAME,W_STATUS_CODE,W_STATUS_DESC,STATUS_DESC
    EXPIRED,1,EXPIRED,Expired,Expired,Item is Expired
    CREATED,510,CREATED,Created,Created,Item is Created
    or just keep it EAM_ASSET_STATUS only? ie
    W_STATUS_CLASS,STATUS_CODE,STATUS_NAME,W_STATUS_CODE,W_STATUS_DESC,STATUS_DESC
    EAM_ASSET_STATUS,1,EXPIRED,Expired,Expired,Item is Expired
    EAM_ASSET_STATUS,510,CREATED,Created,Created,Item is Created
    Thanks for helping me..

  • How to configure .jdo file name

    It is possiple to put all mapping information in one file and provide its
    name to PMF (as MappingFactory property). Is the same possible for .jdo
    information (i.e. put all .jdo information in one file and provide file
    name in configuration) ?
    -Zach

    Zach,
    You cannot control the .jdo file name, but you can control the mapping
    file name.
    For information on controlling the mapping file name, see the
    description of the file mapping factory at
    http://docs.solarmetric.com/ref_guide_mapping_factory.html
    For information on the placement for .jdo metadata files, see
    http://docs.solarmetric.com/jdo_overview_meta_placement.html
    Note that since all mapping information can be kept out of the .jdo
    file, you can have several independent mapping files for different
    database schemas and a single JDO metadata file for JDO-related properties.
    -Patrick
    zach wrote:
    It is possiple to put all mapping information in one file and provide its
    name to PMF (as MappingFactory property). Is the same possible for .jdo
    information (i.e. put all .jdo information in one file and provide file
    name in configuration) ?
    -Zach

Maybe you are looking for

  • IMac G5 hanging after latest upgrades to 10.5.6

    I have two Macs, a 2.16 GHz Intel Core 2 Duo MacBook (3 GB memory, 320 GB HD) and a 20" iMac G5 (pre-iSight, 2 GB RAM, 250 GB HD, many external FW and USB disks). Both are running 10.5.6. I was able to upgrade the MacBook with no problems. However, w

  • How to setup a second icloud account

    I would like to setup a second icloud account to use just for syncing and backup.  Is there a way to do that on an existing iphone or does it have to be done when you initially setup a phone?

  • Upgrade Photoshop Album 1.0

    gibt es Möglichkeiten dieses Programm auch mit Win 7 und 8 weiter zu nutzen??

  • BEx map: dynamic areas in a map?

    I have one question reg. BEx map: How could I realize dynamic areas for a map? Let's say I have a rectangular area describing some phenomenon. The end-user should be able to enter new areas. All the dynamic geographical types refer points, not areas.

  • Aluminum PB Won't Automatically Sleep

    I posted this before, but said Titanium when I meant Aluminum. So I've posted again with the correction. My 15" Aluminum Powerbook won't automatically sleep any longer. This seems to coincide with my upgrade to 10.4.2, or perhaps the recent AirPort u