Error in running custom tag

Hi
I am new in jsp?s custom tag development and trying to run it's example with jakarta-tomcat-4.1.30. I have hello.jsp
<%@ taglib uri="/WEB-INF/mytaglib.tld" prefix="first" %>
<HTML>
<HEAD> <TITLE>hELLO tAG</TITLE></HEAD>
<BODY bgcolor="#ffffcc"><B>My first tag prints</B>
<first:hello/></HTML>
and mytaglib.tld as
<?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">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.2</jspversion>
<shortname></shortname>
<uri></uri>
<info>A simple tag library for the example</info>
<tag>
<name>hello</name>
<tagclass>HelloTag</tagclass>
<bodycontent>empty</bodycontent>
<info></info>
</tag>
</taglib>
and HelloTag.java as
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.PageContext;
import javax.servlet.jsp.tagext.Tag;
public class HelloTag implements Tag {
     private PageContext pageContext;
     private Tag parent;
     public HelloTag() {
          super();     }
     public void setPageContext(PageContext arg0) {
          this.pageContext = arg0;}
     public void setParent(Tag arg0) {
          this.parent = arg0;}
     public Tag getParent() {
          return parent;}
     public int doStartTag() throws JspException {
          try{
               pageContext.getOut().print("This is my first Tag");
          }catch(Exception e){throw new JspException("Error);}
          return SKIP_PAGE;     }
     public int doEndTag() throws JspException {
          return SKIP_PAGE;}
     public void release() {     }
I am getting following error
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /hello.jsp(7,0) Unable to load class hello
     at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
     at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428)
     at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:219)
     at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:712)
     at org.apache.jasper.compiler.Parser.parseElements(Parser.java:804)
     at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
     at org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
     at org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
     at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227)
     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
     at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
Can anyone help me in running this example.

an uri is not an url,
in your web.xml you should have something like
<taglib>
<taglib-uri>http://yourtaglib/taglib</taglib-uri>
<taglib-location>/WEB-INF/yourtaglibtld</taglib-location>
</taglib>
that uri should be same as in the tld.file and same as in the <%@ taglib tag

Similar Messages

  • Error  while running custom BI report in R12.1.1

    Hi All,
    We are encountering below error while running custom BI report in R12.1.1...
    Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Enter Password:
    MSG-00001: started report
    REP-1401: '': Fatal PL/SQL error occurred.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1401: '': Fatal PL/SQL error occurred.
    Report Builder: Release 10.1.2.3.0 - Production on Fri Jun 24 16:47:30 2011
    Please let us know how to fix this error.
    Thanks
    Praveen

    Hi Praveen,
    Seems the issue is with the rdf. Check whether all the parameters are passed correctly.
    REP-1401: '': Fatal PL/SQL error occurred.

  • Error processing CFX custom tag "CFX_iMSMail".

    Hi
    I am testing a CF application and this is the error I get.,
    when I am trying to 'register for a certain event'.
    Error processing CFX custom tag "CFX_iMSMail".
    'The CFX custom tag "CFX_iMSMail" was not found in the custom
    tag database. Please be sure to add custom tags to the database
    before using them. If you have added your tag to the database then
    you should check the spelling of the tag within your template to
    insure that it matches the database entry.'
    Text
    The following are the lines of code in one of my cf pages
    that seem to be responsible for causing the error.
    486 : spooldir="#application.mailPath#/Out/"
    487 : priority="0"
    488 : smtpfrom="#listPart.contactEmail#"
    489 : header_from="#Trim(listPart.contactName)#
    <#Trim(listPart.contactEmail)#>"
    Is there any fix for the CFX custom tag problem or is there
    anything I am missing. I am using CF 7.0 on Windows XP
    thanks in advance

    You must register CFX custom tags in the CF Administrator.
    Until you do, they will not be found by the server. That's what the
    error message is trying to tell you.

  • Error in JSP Custom Tag Program

    Hi Dear,
    when I compile my JSP Custom tag program on weblogic Its give that Error..
    Parsing of JSP File '/Home.jsp' failed: /Home.jsp(-1): cannot load TLD: weblogic.xml.dom.ChildCountException: missing child tagclass in tag
    probably occurred due to an error in /Home.jsp line -1:
    Tue Sep 09 18:46:56 GMT 2008
    My Files are:
    Home.jsp:
    <%@ taglib uri="/WEB-INF/tlds/taglib.tld" prefix="neeraj" %>
    <neeraj:hello name="Vijay">
    It is a Tag Body<br>
    </neeraj:hello>
    taglib.tld:
    <taglib>
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <uri>WEB-INF/tlds/taglib.tld</uri>
    <tag>
    <name>hello</name>
    <tag-class>mypack.MyTag</tag-class>
    <attribute>
    <name>name</name>
    <required>true</required>
    </attribute>
    </tag>
    </taglib>
    MyTag.java:
    package mypack;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class MyTag extends TagSupport
    String name;
    public void setName(String c)
    try
    name=c;
    catch(Exception e)
    count=1;
    public int doStartTag()
    return EVAL_BODY_INCLUDE;
    public int doAfterBody
    JspWriter out=pageContext.getOut();
    out.print("Good Night "+name);
    catch(Exception e)
    return EVAL_PAGE;
    web.xml:
    <web-app>
    <welcome-file-list>
    <welcome-file>/Home.jsp</welcome-file>
    </welcome-file-list>
    <taglib>
    <taglib-uri>taglib</taglib-uri>
    <taglib-location>/WEB-INF/tlds/taglib.tld</taglib-location>
    </taglib>
    </web-app>
    Please resolve my issue..

    I had the same problem. In your .tld change tagclass to tag-class and bodycontent to body-content and that should do the trick. The names slightly changed for JSP spec 1.2.
              

  • Error while running custom app

    Hi All,
    The following error occurred when  custom app is executed.
    kindly help in solving the issue.
    Thanks
    Rakesh Raparthi

    Hi Michael,
    Using sap UI5 technology.
    Thanks
    Rakesh R

  • Error using Datalist Custom tag HELP!

    Where can I obtain information for the following error: (IDE is JDeveloper): I have been researching this for 3 weeks without success.
    ERROR: Attribute "source" of tag "DataList" cannot be set with a constant, an expression must be specified.
    CODE WITH PROBLEM
    <!--- *** BEGIN DB CONNECTION --->
    <sql:openConnection driver="com.microsoft.jdbc.sqlserver.SQLServerDriver" url="jdbc:microsoft:sqlserver://SPLSERVER:1433" user="MY_WEB_USERS" password="PASSWORD" id="conn"/>
    <sql:setQuery id="conn" query="select * from schemes order by name" res="colorSchemes"/>
    </sql:setQuery>
    <sql:ifError id="conn">
    <table align="center" width="60%" border="0">
    <tr> <td>
    <br><br> A Connection to the DataBase could not be made!
    </td>
    </tr>
    <tr> <td>
    <br><br> Error Generated: <sql:getError id="conn" />
    </td>
    </tr>
    </table>
    </sql:ifError>
    <sql:ifFound res="colorSchemes">
    <% String Found="OK"; %>
    </sql:ifFound res="colorSchemes">
    <!--- *** END DB CONNECTION --->
    <!--- *** BEGIN TABLE LISTING --->
    <list:DataList source="<%=\"colorSchemes\"%>" type="com.cj.datalist.dbtag">
    <!--- *** DATALIST HEADER SECTION --->
    <list:headerTemplate>
    <TABLE CLASS="TableDouble" border="0" align="center"width="50%">
         <TR>
              <TD BACKGROUND="STYLES/<%= session.getAttribute("MyBkg") %>" ALIGN="center" colspan="5">
         <FONT ALIGN="center" CLASS="<%= session.getAttribute("MyFon") %>16">
    <sql:getCount res="colorSchemes"/>  Available Color Schemes!</FONT>
    </TD>
    </TR>
    <TR>
                   <TD ALIGN="center" WIDTH="25%"     STYLE="border-bottom:solid;border-bottom-width : thin;"
    BACKGROUND="STYLES/<%= session.getAttribute("MyBkg") %>">
         <FONT CLASS="<%= session.getAttribute("MyFon") %>12">Scheme Name</FONT>
                   </TD>
                   <TD ALIGN="center" WIDTH="8%" STYLE="border-bottom:solid;border-bottom-width : thin;"
    BACKGROUND="STYLES/<%= session.getAttribute("MyBkg") %>">
         <FONT CLASS="<%= session.getAttribute("MyFon") %>12">Dark</FONT>
                   </TD>
                   <TD ALIGN="center" WIDTH="8%"     STYLE="border-bottom:solid;border-bottom-width : thin;"
    BACKGROUND="STYLES/<%= session.getAttribute("MyBkg") %>">
         <FONT CLASS="<%= session.getAttribute("MyFon") %>12">Light</FONT>
                   </TD>
                   <TD ALIGN="center" WIDTH="8%" colspan="2"     STYLE="border-bottom:solid;border-bottom-width : thin;"
    BACKGROUND="STYLES/<%= session.getAttribute("MyBkg") %>">
         <FONT CLASS="<%= session.getAttribute("MyFon") %>12">Select </FONT>
                   </TD>
    </TR>
    <FORM ACTION="colors.jsp" METHOD="post" NAME="changecolor">
    </list:headerTemplate>
    <!--- *** DATALIST ITEM SECTION --->
    <list:itemTemplate>
    <TR>
                   <TD CLASS="NoEedge" STYLE="border-bottom:solid;border-bottom-width : thin;">
         <FONT CLASS="F10">
                   <%=CURRENT_OBJECT.getColumn(2)%>
                   </FONT>
         </TD>
                   <TD CLASS="LeftEdge" STYLE="border-bottom:solid;border-bottom-width : thin;"
    bgcolor="<%=CURRENT_OBJECT.getColumn(4)%>">
         <FONT class="F10"> </FONT>
    </TD>
                   <TD CLASS="LeftEdge" STYLE="border-bottom:solid;border-bottom-width : thin;"
    bgcolor="<%=CURRENT_OBJECT.getColumn(5)%>">
         <FONT class="F10"> </FONT>
    </TD>
                   <TD CLASS="LeftEdge" STYLE="border-bottom:solid;border-bottom-width : thin;">
         <input TYPE="Button" NAME="DarkButton" VALUE="Dark" ONCLICK="SetBkg('Dark');">
    </TD>
                   <TD CLASS="LeftEdge" STYLE="border-bottom:solid;border-bottom-width : thin;">
         <input TYPE="Button" NAME="Light" VALUE="Light" ONCLICK="SetBkg('Light');">
    </TD>
    <input TYPE="Hidden" NAME="ccsfile" VALUE="<%=CURRENT_OBJECT.getColumn(3)%>">
    <input TYPE="Hidden" NAME="dark_d" VALUE="<%=CURRENT_OBJECT.getColumn(6)%>">
    <input TYPE="Hidden" NAME="dark_l" VALUE="<%=CURRENT_OBJECT.getColumn(7)%>">
    <input TYPE="Hidden" NAME="DarkValue" VALUE="">
    <input TYPE="Hidden" NAME="LightValue" VALUE="">
    <input TYPE="Hidden" NAME="update" VALUE="1">
    </TR>
    </list:itemTemplate>
    </FORM>
    <!--- *** DATALIST FOOTER SECTION --->
    <list:footerTemplate>
    </TABLE>
    </list:footerTemplate>
    </list:DataList>

    I had the same problem. In your .tld change tagclass to tag-class and bodycontent to body-content and that should do the trick. The names slightly changed for JSP spec 1.2.
              

  • Error in running custom query from jspx(site) for Content Tracker Report

    Hi All,
    I want to generate a custom Content Tracker Report. I am able to do so from Content Tracker console, but when i try to invoke the service 'SCT_GET_DOCUMENT_INFO_ADMIN' or 'SCT_GET_DOCUMENT_INFO' with my custom query(which simply counts the number of rows in a table) from my jspx page, it gives the following error.
    oracle.stellent.wcm.server.request.RequestException: Error
    occurred in Content Server executing service
    'SCT_GET_DOCUMENT_INFO_ADMIN'
    Caused By: oracle.stellent.ridc.protocol.ServiceException: Unable to get
    document info. Unable to execute service method 'sctExecuteQuery'. The
    error was caused by an internally generated issue. The error has been
    logged.
    What could be the reason and the resolution?
    Also, I know that i am invoking the service in the right way as custom report from query as 'select * from users' works fine from site.
    P.S. I am using UCM 11g + SSXA

    Things are turning weird. The below two queries work from jspx.
    1. SELECT * FROM Users
    2. SELECT dname FROM Users
    But, the following query gives error (SQL is correct).
    select dname, count(dname) from users group by dname
    Unable to execute service method 'sctExecuteQuery'. Null pointer is dereferenced.
    $Unable to get document info.!csUnableToExecMethod,sctExecuteQuery!syNullPointerException
    intradoc.common.ServiceException: !$Unable to get document info.!csUnableToExecMethod,sctExecuteQuery
    *ScriptStack SCT_GET_DOCUMENT_INFO_ADMIN
    3:sctExecuteQuery,**no captured values**
    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
    at intradoc.server.Service.buildServiceException(Service.java:2260)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2254)
    at intradoc.server.Service.createServiceException(Service.java:2249)
    at intradoc.server.Service.doCodeEx(Service.java:584)
    at intradoc.server.Service.doCode(Service.java:505)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:477)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
    at intradoc.server.Service.executeActions(Service.java:458)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
    at intradoc.server.Service.doRequest(Service.java:1890)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: java.lang.NullPointerException
    at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
    at intradoc.util.IdcConcurrentHashMap.get(IdcConcurrentHashMap.java:60)
    This works fine from Content Tracker UI.
    Anyone has any idea, what could be the issue here?

  • Error while running Customer Interest Report

    Hello All,
    I am configuering Interest on Customer arrears/balance & I am getting an error "NO TIME-DEPENDENT CONDITIONS FOR INDICATOR EF" while running FINT. I have checked all the threads but there is no such query exept one.  Please guide me to solve this.  Below is the copy of steps i am follwing for Interest Configueration:
    1) Created Balance Interest Calculation Type EF.
    2) Maintained General conditions for Interest Scale, Interest Calc Freq=1, Calender typ=g, Flagged Interest rates depend on total amt, given the number range for forms and flagged Balance plus Int.
    3) Created Reference Int Rates. 
    4) Time Dependent Terms = 1st = EFGHARR, INR, 01012011, 1, Credit Interest:arrears interest calc., 0, Ref. Interest rate - EFGH. 2nd = EFGHBAL, INR, 01012011, 1, Credit Interest:balance interest calc., 0, Ref. Interest rage - EFGH.
    5) Interest values.  Reference - EFGH, valid-01012011, rate 5
    6) OBV1 = B.Transaction - 1000, Acct. Symbol - 0001.
    7) OBV3 = B. Transaction - 1000, Acct. Symbol - 0001.
    8) Have assigned the form F_D_INT_SCALE_00 and created the number range.
    Please note that i have created a GL account under INCOME which i have assigned in OBV1 & OBV3. Do I need to Interest Indicator in my customer recon account?
    Please advice,
    Thanks,
    Kamal

    if you want to generate interest on customer overdue line item you have to  maintain Debit Interest: arrears Interest calc. Now  you have maintained only Credit Interest: arrears Interest calc it will calculate the amount paid by the customer in excess of the actual amount that means the amount paid to the customers, i hope you understand

  • "java.lang.NumberFormatException" error while running custom BIP report

    Hi,
    When we are running a custom BIP report, it is completing in ERROR at times and running Succesfully at times for the same set of parameters.
    Please let us know the solution if any one faced similar kind of an issue.
    Below is the log file when the program errors out:
    Calling XDO Data Engine...
    java.lang.NumberFormatException: For input string: "000</UIN><ACC>726030</ACC><ACC_N>Express Services - Mail and Courier</ACC_N><S_ACC_N>00000</S_ACC_N><S_ACC_NA>Default - Sub Account</S_ACC_NA><I_CO>000</I_CO><PROD>Term Life - GBL - Allocation Ind NQ NP BCLIC Direct</PROD><BAL>1126.47</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3123</R_ID>ACC_N><S_ACC_NA>Default - Sub Account</S_ACC_NA><I_CO>000</I_CO><PROD>Annuities Dep Type - Allocation Ind NQ NP OCB</PROD><BAL>13.5</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3124</R_ID>N><ACC>MGMT_ACCT_HIERARCHY</ACC><ACC_N/><S_ACC_N/><S_ACC_NA/><I_CO/><PROD>FPDA - Other Ind Q NP BCLIC Ind Agt</PROD><BAL>176028.27</BAL><A_L>0</A_L><P_ACC/><S_F>Y</S_F><R_ID>36</R_ID>_T>>726030</ACC><ACC_N>Express Services - Mail and Courier</ACC_N><S_ACC_N>00000</S_ACC_N><S_ACC_NA>Default - Sub Account</S_ACC_NA><I_CO>000</I_CO><PROD>Annuities Other - Allocation Ind NQ NP NON OCB</PROD><BAL>2.58</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3127</R_ID>R_ID>3128</R_ID>S_F><R_ID>41</R_ID>ther - Allocation Ind NQ NP BCLIC Career</PROD><BAL>267.97</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3131</R_ID>areer</PROD><BAL>53.31</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3132</R_ID>o CV Ind NQ NP BCLIC Direct</PROD><BAL>-29963</BAL><A_L>0</A_L><P_ACC/><S_F>Y</S_F><R_ID>46</R_ID>N>Telecommunication/Online Services</ACC_N><S_ACC_N>00000</S_ACC_N><S_ACC_NA>Default - Sub Account</S_ACC_NA><I_CO>000</I_CO><PROD>Term Life - Other - Allocation Grp NQ NP BCLIC Career</PROD><BAL>.06</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3135</R_ID>_ACC_NA><I_CO>000</I_CO><PROD>LTC - Allocation Ind Guar Ren NON OCB</PROD><BAL>22.05</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3136</R_ID>ROD>Term Life - Other - Allocation Grp NQ NP BCLIC Career</PROD><BAL>1118.96</BAL><A_L>0</A_L><P_ACC/><S_F>Y</S_F><R_ID>51</R_ID>S_ACC_N>00000</S_ACC_N><S_ACC_NA>Default - Sub Account</S_ACC_NA><I_CO>000</I_CO><PROD>Annuities Other - Allocat"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:59)
         at java.lang.Integer.parseInt(Integer.java:467)
         at java.lang.Integer.parseInt(Integer.java:508)
         at oracle.apps.xdo.dataengine.ScalableStringList.get(ScalableStringList.java:162)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeRowSetListToStream(XMLPGEN.java:1277)
         at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:559)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:445)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:308)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:334)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:294)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Oracle error 6502: java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "APPS.FND_CONCURRENT", line 1331
    ORA-06512: at line 1
    has been detected in FND_CONCURRENT.SET_INTERIM_STATUS.+---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    9662
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 970405 on node UXEBSCMP01 at 29-SEP-2012 21:02:30.
    Post-processing of request 970405 failed at 29-SEP-2012 21:02:30 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 29-SEP-2012 21:02:30
    Thanks.

    If you use parameters you can try playing with them to narrow down the values on which the error occurs. Anyway, need to get the output in XML (without template) and review it. If it's not too huge, post the XML here.

  • Error in running custom DM Package

    Dear All
    I have a custom logic script that need to be run independently.
    I create a package to run it.
    In SSIS,
    I create  a new .dtsx, put in Logic Task, create MODIFYSCRIPT var and save.
    In Data Manager
    I copied FXTrans package, rename it, point to my .dtsx file, change its logic filename with mine and save.
    By running it, error happen.
    An error occurred while querying for the Webfolders path.
    What did I miss ?
    Thank you.
    Halomoan
    I have this setting in my DM package
    'DEBUG(ON)
    PROMPT(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when running logic.",1,{"Yes, check for work status settings before running logic","No, do not check work status settings"},{"1","0"})
    PROMPT(SELECTINPUT,,,,%CATEGORY_DIM%%ENTITY_DIM%%TIME_DIM%)
    TASK(Execute formulas,USER,%USER%)
    TASK(Execute formulas,APPSET,%APPSET%)
    TASK(Execute formulas,APP,%APP%)
    TASK(Execute formulas,SELECTION,%SELECTIONFILE%)
    TASK(Execute formulas,LOGICFILE,%APPPATH%\..\AdminApp\%APP%\Monthly.LGX)
    TASK(Execute formulas,RUNMODE,1)
    TASK(Execute formulas,LOGICMODE,1)
    TASK(Execute formulas,CHECKLCK,%CHECKLCK%)

    Hi Halomoan,
    I am facing the same error.
    Please share how you fixed it.
    Thank you.
    Regards,
    Shoba

  • Error while running custom schedule task.

    Hello,
    I have created a schedule task, when I am running the task from sysadmin, it wont show any error message.
    In diagnostic log, I got the below error
    [2012-11-29T07:00:18.507-08:00] [oim_server1] [ERROR] [] [oracle.iam.transUI.impl] [tid: OIMQuartzScheduler_Worker-7] [userId: oiminternal] [ecid: 80eeb34d89d5ed80:-1384f0e3:13b4bd4b64a:-8000-0000000000000005,1:29060] [APP: oim#11.1.2.0.0] ADP ClassLoader failed to load: com.cgc.iam.customconnector.ac.ReconAC
    Please help.
    Thanks
    sjit

    Make sure you have included the jar file containing the class - com.cgc.iam.customconnector.ac.ReconAC in OIM classpath.

  • Custom tags prob

    Hi,
    I have created a prog using Custom Tags. I have compiled it . But when I try to run it I am getting Not found error with JSP. Can somebody help me with that:
    package com.brainysoftware;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class MyCustomTag extends TagSupport {
    public int doEndTag() throws JspException {
    JspWriter out = pageContext.getOut();
    try {
    out.println("Hello from the custom tag.");
    catch (Exception e) {
    return super.doEndTag();
    & my jsp code is :
    <%@ taglib uri="/myTLD" prefix="easy"%>
    <easy:myTag/>
    Can somebody help me to run custom tag based jsp?
    Zulfi.

    My jsp is:
    <%@ taglib uri="/myTLD" prefix="easy"%>
    <easy:myTag/>
    & its path is:
    E:\Tomcat\jakarta-tomcat-5\dist\webapps\jsp-examples\jsp2\el
    tag.tld file is:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
    "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
    <taglib>
    <tlibversion>1.0</tlibversion>
    <shortname></shortname>
    <tag>
    <name>myTag</name>
    <tagclass>com.brainysoftware.MyCustomTag</tagclass>
    </tag>
    </taglib>
    Path of MyCustomtag.tld is:
    E:\Tomcat\jakarta-tomcat-5\dist\webapps\jsp-examples\WEB-INF
    Path of web.xml is:
    E:\Tomcat\jakarta-tomcat-5\dist\webapps\jsp-examples\WEB-INF
    & my web.xml (portion of tld )is:
    <taglib> <taglib-uri>/myTLD</taglib-uri> <taglib-location>/WEB-INF/taglib.tld</taglib-location></taglib>
    Path ofMyCustomtag.class
    E:\Tomcat\jakarta-tomcat-5\dist\webapps\jsp-examples\WEB-INF\classes\com\brainysoftware
    & its source is:
    package com.brainysoftware;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class MyCustomTag extends TagSupport {
    public int doEndTag() throws JspException {
    JspWriter out = pageContext.getOut();
    try {
    out.println("Hello from the custom tag.");
    catch (Exception e) {
    return super.doEndTag();
    I am accessing it through example folder. I have to run tomcat to tell u the exact url. If the above information is not enopugh I would tell u the exact url. Plz hold sometime for that.
    Zulfi

  • Installing java custom tag

    I'm trying to install a custom tag written in java
    (cfx_ExcelQuery) and am not having any success.
    The tag was in a .jar file which I downloaded to the server
    and extracted to the /classes subdirectory. The actual .class file
    ended up in a subdirectory several levels below.
    I registered the tag as ExcelQuery and wrote a test program
    to call the tag according to the specs.
    I got a CF error indicating the tag didn't exist until I
    added the directory path containing the .class file (the exact
    subdirectory). Now I get an internal server error instead (progress
    I guess).
    I have no experience installing/using java custom tags so I
    may be missing something that would be obvious to someone else.
    If anyone has any ideas please let me know.
    Thanks,
    Ken

    I got this error:
    Error processing CFX custom tag CFX_net.sourceforge.openxcf.javacfx.text2query. 
    The CFX custom tag CFX_net.sourceforge.openxcf.javacfx.text2query was not found in the custom tag database. You must add custom tags to the database before using them. If you have added your tag to the database, check the spelling of the tag within your template to ensure that it matches the database entry. 
    The error occurred in C:\Inetpub\wwwroot\scratch\DataLoad\checkGradData_NEW_July.cfm: line 191
    189 :                                         
    190 :      <cfx_text2Query
    191 :       file="#FeedPath##FileName#"
    192 :       firstRowIsHeader="false"
    193 :       delimiter="#chr(9)#"

  • Bug in Weblogic 6.0 sp2 Custom Tag implimentation ?

              I 've got this wierd weblogic error in my custom tags:
              javax.servlet.jsp.JspTagException: Since tag class emc.blackbox.taglibs.validation.ErrorTag
              implements BodyTag, it cannot return Tag.EVAL_BODY_INCLUDE
              though my class is (And it doesnt implemnt BodyTag) :
              public class ErrorTag extends BodyTagSupport {
              private JspWriter writer;
              private String preHtml;
              private String postHtml;
              public ErrorTag() { }
              public int doStartTag() throws JspException {
              try {
              writer = pageContext.getOut();
              ValidationManager vm = (ValidationManager) pageContext.findAttribute("validm");
              if (vm.getErrors().length>0){
                   writer.println(preHtml);
                   String [] errors = vm.getErrors();
                   for (int i = 0; i < errors.length; i++) {
                        writer.println(errors[i] );
                   writer.println(postHtml);
                   vm.clearErrors();
                   vm.clear();
              catch (Exception ex) {
              return EVAL_BODY_INCLUDE;
              public int doEndTag() throws JspException {
              return EVAL_PAGE;
              public String getPreHtml(){return preHtml;}
              public void setPreHtml(String preHtml){this.preHtml = preHtml;}
              public String getPostHtml(){return postHtml;}
              public void setPostHtml(String postHtml){this.postHtml = postHtml;}
              Searching on the net I found this :
              http://www.mail-archive.com/[email protected]/msg00888.html
              Does anybody know any work around this ?
              I would appreciate any hints / suggestions ..
              Thanks,
              Amit
              

    Amit,
              I was getting a similar error message! In the jsp 1.2 spec,
              EVAL_BODY_INCLUDE should be usable with BodyTagSupport (as long as
              your .tld file doesn't contain <bodycontent>empty</bodycontent> for
              ErrorTag custom tag) .
              Since it apparently isn't working like it should, HERE IS A WORK
              AROUND that I found (with some Divine inspiration). Change this line:
              public class ErrorTag extends BodyTagSupport
              to
              public class ErrorTag extends TagSupport
              Hope it works for you too!! I'll look into this matter further to see
              if I can find some reason for the error.
              Paul
              "Amit Khare" <[email protected]> wrote in message news:<[email protected]>...
              > I 've got this wierd weblogic error in my custom tags:
              >
              > javax.servlet.jsp.JspTagException: Since tag class emc.blackbox.taglibs.validation.ErrorTag
              > implements BodyTag, it cannot return Tag.EVAL_BODY_INCLUDE
              >
              > though my class is (And it doesnt implemnt BodyTag) :
              >
              > public class ErrorTag extends BodyTagSupport {
              >
              > private JspWriter writer;
              > private String preHtml;
              > private String postHtml;
              >
              > public ErrorTag() { }
              >
              > public int doStartTag() throws JspException {
              >
              > try {
              > writer = pageContext.getOut();
              > ValidationManager vm = (ValidationManager) pageContext.findAttribute("validm");
              > if (vm.getErrors().length>0){
              >      writer.println(preHtml);
              >      String [] errors = vm.getErrors();
              >      for (int i = 0; i < errors.length; i++) {
              >           writer.println(errors[i] );
              >      }
              >      writer.println(postHtml);
              > }
              >      vm.clearErrors();
              >      vm.clear();
              > }
              > catch (Exception ex) {
              >
              > }
              > return EVAL_BODY_INCLUDE;
              > }
              > public int doEndTag() throws JspException {
              > return EVAL_PAGE;
              > }
              > public String getPreHtml(){return preHtml;}
              > public void setPreHtml(String preHtml){this.preHtml = preHtml;}
              >
              > public String getPostHtml(){return postHtml;}
              > public void setPostHtml(String postHtml){this.postHtml = postHtml;}
              >
              > Searching on the net I found this :
              > http://www.mail-archive.com/[email protected]/msg00888.html
              >
              > Does anybody know any work around this ?
              > I would appreciate any hints / suggestions ..
              >
              > Thanks,
              > Amit
              

  • Custom tag error in running OJSP 1.1 on iAS Solaris

    I got an error in running the customtag demo that comes with iAS. Any idea?
    Request URI:/demo/customtag/exampletag.jsp
    Exception:
    oracle.jsp.parse.JspParseException: Line # 2, <%@ taglib prefix="foo" uri="/WEB-INF/exampletag.tld" %> Error: Unable to load taghandler class:
    /WEB-INF/exampletag.tld
    null

    I had this problem, got jdk reinstalled and the error was gone.

Maybe you are looking for