Code lines which generate FRM-41213

Hi all,
Here is a portion of code which generate an FRM-41213's Errors:
BEGIN
          V_rid:=FIND_REPORT_OBJECT(Rep_Obj);          
          -- setting Reports runtime parameters
          SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_COMM_MODE,SYNCHRONOUS);
          SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_FILENAME,'RD_DF1.rep');
          SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_SERVER,'myrserv');
          SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_DESTYPE,CACHE);
          SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_DESFORMAT,'PDF');
                         V_Other_Param:='userid=scott/tiger@db P_Num_Act=6212 P_Typ_Cod=O';
          SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_OTHER,V_Other_Param);
          V_rmessage     := RUN_REPORT_OBJECT(V_rid);
          V_rstatus      := REPORT_OBJECT_STATUS(V_rmessage);          
END;
When debugging is see that it's the last line which generate this error.I'm usind IAS/LINUX and the standalone report is installed on the server(rwserver).This report server works fine using showjobs or running a report by enter the full adress in the browser.
Are There errors in my code?What's the problem
plz help, it's very important.

Hi,
first of all, you don't need to pass username and password as REPORT_OTHER parameter. These values are passed implicit.
The error message means "unable to communicate with Reports Server". You need to find out why the Reports Server cannopt be accessed from Forms (wrong name?). Ifthe Reports Server is on another server, does the Forms process have access to the network?
If you run Forms and Reports 6i then teh Reports Server must be configured as an tnsnames entry in the Forms home.
Frank

Similar Messages

  • How to find out the line which caused the runtime error in a SP?

    We have a situation like this.
    We are consulting company doing consultancy services on Oracle technologies.
    One of our clients have PL/SQL stored package.
    We found out by debugging the Oracle Forms front-end application that
    error is generated by a procedure inside this package.
    Problem is that this procedure has over 6000 lines.
    How do we figure out the line which caused the error?
    We tried putting messages in between, but not have been successful.
    Any help would be greatly appreciate.

    How do we figure out the line which caused the error?
    We tried putting messages in between, but not have been successful.
    What does that mean exactly?
    Typically you would instrument the code (especially for multi-step ETL/transform processes) to capture/log key information.
    Also, key sections of code would also be in their own BEGIN/EXCEPTION/END block so that you would know what block caused the exception.
    step_num NUMBER; -- what step is being executed?
    BEGIN
      step_num := 1;
      . . . do something
      step_num := 2;
      . . .  do something else
    EXCEPTION
      -- when you get here the 'step_num' variable will have the number of the step that caused the exception. Log it and then handle/reraise it.
    END;

  • FRM-41213 message will come up the first time

    When users run reports in Oracle Forms from time to time, particularly after the report server engine (InitEng=1, minEng=1, maxEng=2) has been idle for a while, the FRM-41213 message will come up the first time. Then, the second time (or after that) when users try to run reports again reports come up.
    It looks like, after certain idle time, all existing report server engines are killed automatically. Then, the very first call to the report server at that time will usually fail because it has exceeded the time limit to ping the report server when it is actually trying to start an engine.
    Is this an issue with the server configuration? If so, is there any way to correct it?
    Thanks.
    Andy

    The OAS version is actually 10.1.2.3 - latest patches applied to 10.1.2.0.2. The issue is actually intermittent and usually happens when there is a cold call to the report server from RUN_REPORT_OBJECT in Forms. When the first call fails, the second time (or after that) when the same report is called will always succeed. However, this failure pattern is consistent. I also tried to use "trcrro1012" to generate some trace files and got the following. Thanks.
    <pre>
    [Thu Oct 22 08:45:43 PDT 2009] Calling RUN_REPORT_OBJECT with REPORT_SERVER=apprs
    com.sun.corba.se.internal.iiop.ConnectionTable(Thread[main,5,main]): Client get called: host = 10.10.10.10 port = 4526
    com.sun.corba.se.internal.iiop.ConnectionTable(Thread[main,5,main]): SocketException java.net.ConnectException: Connection refused: connect while creating socket for new connection
    com.sun.corba.se.internal.iiop.ConnectionTable(Thread[main,5,main]): Serious error: aborting connection
    [Thu Oct 22 08:45:53 PDT 2009] RUN_REPORT_OBJECT returned : apprs_0
    ERROR TYPE : FRM
    ERROR CODE : 41213
    ERROR TEXT : Unable to connect to the Report server apprs.
    </pre>
    Here is the configuration file:
    <pre>
    <?xml version = '1.0' encoding = 'ISO-8859-1'?>
    <!DOCTYPE server PUBLIC "-//Oracle Corp.//DTD Reports Server Configuration //EN" "file:D:\oracle\product\midtr1012/reports/dtd/rwserverconf.dtd">
    <server version="10.1.2.0.2">
    <!--Please do not change the id for reports engine.-->
    <!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->
    <cache class="oracle.reports.cache.RWCache">
    <property name="cacheSize" value="100"/>
    <!--property name="cacheDir" value="your cache directory"-->
    <!--property name="maxCacheFileNumber" value="max number of cache files"-->
    <!--property name="ignoreParameters" value="parameter names to be ignored in constructing cache key, separated by comma ','"-->
    </cache>
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="2" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000">
    <!--property name="sourceDir" value="your reports source directory"/-->
    <!--property name="tempDir" value="your reports temp directory"/-->
    </engine>
    <engine id="rwURLEng" class="oracle.reports.urlengine.URLEngineImpl" initEngine="1" maxEngine="2" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="60000"/>
    <!--security id="rwSec" class="oracle.reports.server.RWSecurity">
    <property name="securityUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    <property name="oidEntity" value="reportsApp_oracle_oas10g.in.sfdph.net_E2EFB7E1AC6C11DEBFAB594FFB589A0E"/>
    </security-->
    <!--destination destype="oraclePortal" class="oracle.reports.server.DesOraclePortal">
    <property name="portalUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    </destination-->
    <destination destype="ftp" class="oracle.reports.plugin.destination.ftp.DesFTP">
    <!--property name="proxy" value="proxyinfo.xml"/-->
    </destination>
    <destination destype="WebDav" class="oracle.reports.plugin.destination.webdav.DesWebDAV">
    <!--property name="proxy" value="proxyinfo.xml"/-->
    </destination>
    <!-- By default server will use rwnetwork.conf as network config file
    Use this element to override the same -->
    <!--networkConfig file="rwnetwork.conf"></networkConfig-->
    <job jobType="report" engineId="rwEng" retry="3"/>
    <job jobType="rwurl" engineId="rwURLEng" retry="3"/>
    <notification id="mailNotify" class="oracle.reports.server.MailNotify">
    <property name="succnotefile" value="succnote.txt"/>
    <property name="failnotefile" value="failnote.txt"/>
    </notification>
    <!--notification id="wfNotify" class="oracle.reports.server.WorkflowNotify">
    <property name="connStr" value="%WF_DB_USERNAME%/%WF_DB_PASSWORD%@%WF_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    </notification-->
    <log option="noJob"/>
    <!--jobStatusRepository class="oracle.reports.server.JobRepositoryDB">
    <property name="repositoryConn" value="repo_db_username/repo_db_password@repo_db_tnsname" confidential="yes" encrypted="no"/>
    </jobStatusRepository-->
    <!--trace traceOpts="trace_all"/-->
    <trace traceMode="trace_append" traceOpts="trace_all"/>
    <connection maxConnect="20" idleTimeOut="20">
    <orbClient id="RWClient" publicKeyFile="clientpub.key"/>
    </connection>
    <queue maxQueueSize="1000"/>
    <!--jobRecovery auxDatFiles="yes"/-->
    <!--
    The value of the 'identifier' element is encrypted and is of the form SERVERACCESSKEY_USER/SERVERACCESSKEY_PASSWORD
    SERVERACCESSKEY_USER and SERVERACCESSKEY_PASSWORD in <server>.conf and targets.xml
    file should match for Reports EM pages to display data correctly.
    Corresponding entries of username and password in targets.xml:
    <Property NAME="Password" VALUE="SERVERACCESSKEY_PASSWORD" ENCRYPTED="FALSE"/>
    <Property NAME="UserName" VALUE="SERVERACCESSKEY_USER" ENCRYPTED="FALSE"/>
    -->
    <identifier confidential="yes" encrypted="yes">ZgZCDkywAUaHwMnb+A6YTg0RUH18p+JnK5e6PYJzMHahoaXuaMlHLsLimJoUJC7SgRkIKvxUWzcN+fnGpAgXqPbDwQIip3iy1IVDD28qcMq341JDJJwkp3UHBmgF9iaHE1QT5Ax+oDOlbJDRu8UsVvWdEEYE+/I/eo4Lke/II/28sEGlHFJbQ39gtjMB9ULQcKnUVc8mNUTEEE+VoCCzboSmVB1Tlmw1WXrs5IPPTkiNwb6FeN+wSWv19mxKLJgUHzw3QXcGIM2h5dtO7SPlo5agERVicAVt83fWwrd5/1r7BJD/gsUS5tgob91faIqoDU8INtNWdbGJxiQJGKon/lGAqjkSIHbPVWiNUgcB4gNQtFZwFQ8BU9qQCpolnki9zj8NmkRZpqTeMsEDrj2EbJhrFg6UEnrxrgKy1vCYf0bhPyZks/mY94nW4tSekTnqUW5gFVgUe0Ms0WiPx0o=</identifier>
    <pluginParam name="mailServer">dphhub01.sfgov.org</pluginParam>
    <!--pluginParam name="proxy" type="file">proxyinfo.xml</pluginParam-->
    <pluginParam name="xmlpds" type="file">xmlpds.conf</pluginParam>
    <pluginParam name="jdbcpds" type="file">jdbcpds.conf</pluginParam>
    <pluginParam name="textpds" type="file">textpds.conf</pluginParam>
    </server>
    </pre>

  • Documentation about FRM-41213

    Hi all,
    I am in face of a problem for witch i haven't more information to resolve.It's the error:FRM-41213:Unable to connect to a report Server.
    When we Used a standalone report server in IDS/Windows we hadn't this problem.Now we migrate on IAS/LINUX, we create a report server(sigfiprserv) on LINUX using rwserver.sh command.This reports server works fine when we call a report enter full adress in the browser(http://host:port/reports/rwservlet?server=sigfiprserv&report=myrep.rep...).But calling report from forms, using the same code which works fine on IDS, produces FRM-41213 Error.In form builder there isn't more details. I also activate reports trace but traces files don't give more information on this error.I'm looking for a document which can give me all the causes of this error.
    PLZ help, it's important

    THere are so many possibilities I would speak to Oracle Support about this. However the key things are:
    1) Ensure you are testing in a simple case - i.e. a simple one button form calling a simple report.
    Things like problems with paramaters containing spaces can cause this error and so a simple case should be tested to make sure this is not the issue.
    REgards
    Grant Ronald
    Forms Product Management

  • Error calling report FRM-41213 unable to connect to Report Server

    Hi,
    I have installed Oracle Database 10g R2 and Oracle Developer 10gR2.
    I installed it in both Windows 2000 SP4 and Windows XP SP2.
    I would like to call a Report using a button inside Oracle Form.
    I create my own Report Server, using : rwserver server=repsrv
    A Java-based window appear OracleAS Reports Sevice, and showed that repsrv is ready.
    In Form (inside a button -> WHEN-BUTTON-PRESSED) :
    1. Using RUN_REPORT_OBJECT()
       rep_id := find_report_object('REPORT10');
         if not id_null(rep_id) then
           v_rep := run_report_object(rep_id);
         else
              message('Null');
       end if;
       a. If I did not specify the name of the Report Server in Reports node of Form's property object
    (I leave it blank)
    The following error appear :
    FRM-41211: Integration error, SSL failure running another product
    b. If I specify the name of the Report Server : repsrv
    The following error appear :
    FRM-41213: Unable to connect to Reports Server repsrv
    2. Using WEB.SHOW_DOCUMENT()
    a. If did not I specify the server name in the parameter
    WEB.SHOW_DOCUMENT('http://localhost:8889/reports/rwservlet/getjobid'|| SUBSTR(v_rep,INSTR(v_rep,'_',-1)+1)||'?'||,'_blank');Another web browser appear and the following error appear :
    REP-51002: Bind to Reports Server rep_<computer_name> failed
    b. If I specify the server name in the parameter --> server='repsrv'
    WEB.SHOW_DOCUMENT('http://localhost:8889/reports/rwservlet/getjobid'|| SUBSTR(v_rep,INSTR(v_rep,'_',-1)+1)||'?'||'server=repsrv','_blank');Another web browser appear and the following error appear :
    REP-51002: Bind to Reports Server repsrv failed
    In Report :
    If I try to navigate manually to :
    1. http://localhost:8889/reports/rwservlet using web browser.
    It showed OracleAS Report Services - Servlet Command Help page.
    2. http://localhost:8889/reports/rwservlet?userid=scott/tiger@orcl&report=D:\PRACTICE\FORM\MODULE1.JSP&destype=cache&desformat=html
    The following error occured
    REP-51002: Bind to Reports Server rep_<computer_name> failed
    3. Finally,
    http://localhost:8889/reports/rwservlet?server=REPSRV&userid=scott/tiger@orcl&report=C:\PRACTICE\FORM\MODULE1.JSP&destype=cache&desformat=html
    The following error occured
    REP-51002: Bind to Reports Server repsrv failed
    4. Any attempt to different command (i.e showenv, showjobs, etc) seems failed
    If I did not specify the server then REP-51002: Bind to Reports Server rep_<computer_name> failed
    If I specify the server - 'repsrv' then REP-51002: Bind to Reports Server repsrv failed
    5. I have tried to use rwrun in command line.
    rwrun report="D:\My Documents\form\module1.jsp" userid=scott/tiger@orcl destype=file desformat=pdf desname="D:\My Documents\form\module2.pdf"
    The PDF file created and it looks exactly as the web layout as in Oracle Report Builder (Run Web Layout CTRL-R)
    Question :
    1. What supposed to be done?
    The Report server is ready, but the web browser seems unable to connect to Report Server.
    2. Can we used or call or executed an executable command line from Form (using PL/SQL inside button)?
    Any help would be grateful.
    Many thanks,
    Buntoro

    Hi,
    Problem solved.
    I got the solution from another post.
    Re: REP-51002: Bind to Reports Server rep failed
    Here are the step I did.
    Note : Please make backup for the following file : rwnetwork.conf
    - In file rwnetwork.conf, remove or commented the following
    <multicast channel="228.5.6.7" port="14021" timeout="1000" retry="3"/>
    - And then uncommented
    <namingService name="Cos" host="%NAMING_HOST%" port="%NAMING_PORT%"/>
    - replace the
    %NAMING_HOST% with your computer name or specify an IP address
    %NAMING_PORT% with 14021
    It should look like this :
    <namingService name="Cos" host="blahblah" port="14021"/>
    - I did not change the : name="Cos", since I do not understand what does it for
    - Save you changes.
    - Start the OC4J.
    - Find the location of : namingservice.bat (on Windows platform)
    - execute in the command line : namingservice.bat 14021
    - finally start the report in the web browser
    Note:
    To shutdown the namingservice, use : namingservice.bat 14021 shutdown
    Regards.
    Buntoro

  • FRM-41213 : Error raised by a form when launching report on the same server

    Hello !
    I get this error FRM-41213 when launching a report via rp2rro.rp2rro_run_product.
    I don't want to set the report server in a var or property into a library or a form cause my app is to be sent to customers who will not have the sources files.
    This app is a migration from an app 10g to 11g.
    In 10g whe hadn't to set the ReportServerURL ... But in 11g it can't be ok if we don't set the server URL (with the URL it's ok)
    The 11g Report server is running on port 9002, and the form server on port 9001 on the same machine. But the two server are accessible by an ohs on port 8888.
    What the f**k ?
    :)

    Hi
    I don't run my reports using rp2rro.rp2rro_run_product but in both 10g and in 11g have always needed to specify the name of the report server.
    We have used different methods for different clients/customers. At times we have stored this name in a table in the application, other times in a pre-defined file on the server which we read using text_io.
    HTH
    Tony

  • FRM-41213 When calling report from a form using RUN_REPORT_OBJECT

    Hi,
    I get an error frm-41214:unable to connect to the report server when i am trying to call a report from a form using RUN_REPORT_OBJECT.
    My code is as follows:
    I have created a simple report using employee table such tht when i give the department number as parameter it should get the corresponding details along with that i also have highlited the system parameters:
    DESFORMAT
    DESNAME
    DESTYPE
    also other user parameters as
    p_action
    p_servername
    p_user_connect
    and in the before parameter form trigger the following code:
    function BeforePForm return boolean is
    vc_parameter_form VARCHAR2(4000);
    vc_hidden_runtime_values VARCHAR2(1000);
    vc_report_name VARCHAR2(100);
    begin
    IF (:P_ACTION = '_action_') THEN
         vc_hidden_runtime_values := '_hidden_';
    ELSE
         srw.get_report_name(vc_report_name);
              vc_hidden_runtime_values:='report='||vc_report_name||'&destype='||:destype||'&desformat='
    ||:desformat||'&userid='||:p_user_connect||'&server='||:p_servername;
    END IF;
    vc_parameter_form:='<html><body bgcolor="#ffffff"><form method=post action="'
    ||:P_ACTION||'">'||'<input name="hidden_run_parameters" type=hidden value="'
    ||vc_hidden_runtime_values||'">'||'<center><p><table border=0 cellspacing=0 cellpadding=0><tr><td>'
    ||'<input type=submit></td><td width=15><td><input type=reset></td>'||'</tr></table><p><hr><p>';
                        srw.set_before_form_html(srw.text_escape,vc_parameter_form);
    return (TRUE);
    end;
    After this i created a form with department table as my datablock:
    I created a report object in the form with name REPORT6.
    -Created a procedure in the form with the following code
    PROCEDURE RUN_REPORT_OBJECT_PROC(report_id REPORT_OBJECT,reportserver VARCHAR2,runformat VARCHAR2) IS
    report_message VARCHAR2(100);
    rep_status VARCHAR2(100);
    vc_user_name VARCHAR2(100);
    vc_user_password VARCHAR2(100);
    vc_user_connect VARCHAR2(100);
    vc_connect VARCHAR2(300);
    BEGIN
    vc_user_name:=get_application_property(username);
    vc_user_password:=get_application_property(password);
    vc_user_connect:=get_application_property(connect_string);
    vc_connect:=vc_user_name||'/'||vc_user_password||'@'||vc_user_connect;
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,ASYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,runformat);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,reportserver);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,'p_deptno='
    ||:Dept.Deptno
    ||' paramform=yes P_USER_CONNECT='
    ||vc_connect||' P_SERVERNAME='||reportserver
    ||' P_ACTION=http://iitv-1:8888/reports/rwservlet?');
    report_message:=run_report_object(report_id);
    rep_status := report_object_status(report_message);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')LOOP
    rep_status := report_object_status(report_message);
    END LOOP /* Wait for Report to be finished */;
    IF rep_status='FINISHED' then
    web.show_document('http://iitv-1:8888/reports/rwservlet/getjobid'||
    substr(report_message,instr(report_message,'_',-1)+1)||'?server'
    ||reportserver,'_blank');
    ELSE
    message (rep_status||' Report output aborted');
    END IF;
    END;
    I created a press button and in the when_button_pressed trigger i added the following code:
    declare
         repid REPORT_OBJECT;
         repserver VARCHAR2(100);
         runformat VARCHAR2(10);
    BEGIN
         repid := find_report_object('REPORT6');
         repserver := 'rep_iitv-1';
         runformat := 'HTML';
         run_report_object_proc(repid,repserver,runformat);
         END;
    Then tried to run the form but i got this error frm-41213 unable to connect to the report server.
    Any one please help me.

    Run_report_object can't work with forms9i
    Regards
    Vikas Singhal

  • [Goods Receipt PO - Rows - Tax Code][line: 1]

    Dear All,
            At the time of opening GRPO and Delivery Document suddenly system giving one error Number was used up in this sequence [Message 80071-20]
            And after it I entering required data in GRPO with any tax code then system giving new error [Goods Receipt PO - Rows - Tax Code][line: 1] , 'Internal error (-5) occurred'  [Message 131-183]
            I had verified that tax code which is selected in above GRPO is correct.
            When I try to Add GRPO without Tax code then different error coming Internal error (-5) occurred  [Message 131-183]
    Thanks,
    Siddique Shaikh

    Dear Gordon,
             Thanks for reply, I had setup the different sequence for all documents separately, But currently user using manual numbering option in Delivery and A/R Invoice Documents
             I checked new think is that system giving me same error only when we opening form which is creating financial JE in Backhand, Means when I opening Purchase Order or Sales Order form then system not giving any error and we can save PO or SO
            System is not allowing anybody to add any document which create financial effect.
    Thanks,
    Siddique.

  • How to validate multiple lines which is exist in the form builder at the same session

    Hi All,
    we are working on oracle Forms personalization to trigger the message at the point of saving multiple lines rather than requiring each line to be save individually. Currently the oracle form is allowing to user to enter two distinct lines that have same resource and basis type in BOM.
    Currently the Oracle form is allowing to enter the duplicate combination and not giving any error message even we enter the same combination of data.
    As per the customer requirement, they don’t want to validate the data while creating the records but when they try to save the form, in that case it should validate all the records at a time then need to display the appropriate message.
    Customer don’t want to customize the Oracle standard form. Here we have only option to use form personalization or through custom.pll.
    Any idea on how to validate multiple lines which is exist in the form builder at the same session as before inserting the record itself need to perform the validations for all the records.
    Thanks for your help in this regard.
    Regards,
    Thirupathi

    you can write a post script which will do the necessary tasks.
    I mean, once you are done with inserting records into these tables, exeute another procedure which will insert these "extra" records, based on some logic.
    you may not be able use DB trigger as it may generate mutating error or if you don't write it carefully, it will go into recursive loops as you are refering to same tables.
    HTH

  • Is there any t-code in which the List of Customers Display?

    Hi SDN,
    Is there any t-code in which the List of Customers Display?
    Like the MKVZ, this is the t-code for List of Vendors Display.
    Thanks,
    Sumit.

    Hi,
    Following tcodes are related to List of customers.
    MER5                   List of Customer Rebate Arrangements
    RBPCT                  List of Customer Contacts
    SWU5                   Consistency Test for Customer Task
    S_ALR_87009951         List of Customer Open Items
    S_ALR_87009952         List of Customer Open Items
    S_ALR_87009958         List of Customer Addresses
    S_ALR_87009963         List of Customer Open Items
    S_ALR_87009975         List of Customer Line Items
    S_ALR_87009976         List of Cleared Customer Items
    S_ALR_87012173         List of Customer Open Items
    S_ALR_87012174         List of Customer Open Items
    S_ALR_87012180         List of customer addresses
    S_ALR_87012185         List of Customer Open Items
    S_ALR_87012197         List of Customer Line Items
    S_ALR_87012198         List of Cleared Customer Items
    S_ALR_87015021         List of Customer Open Items with Ren
    VC/1                   List of Customers
    VXBC                   SLS: List of Blocked Customers
    Thanks,
    RKP

  • Cannot use jstl tag for jsp page which generated from Human Task

    Hi
    Plz help me.
    I have tried to using jstl in jsp which generate from Human Task and I deploy it to server( by ant on Jdev ) to see task detail in Oracle Worklist application. But when i submit task and then I access to worklist to see task detail, the error has show in page that "OracleJSP: An error occurred. Consult your application/system administrator for support. Programmers should consider setting the init-param debug_mode to "true" to see the complete exception message. " .
    I access server to see application.log to see error and I see error show "workflowform: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: /Header1.jsp: Line # 3, <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%> "
    How do I fix this error?
    PS. I tried to us jstl because I need to connet to database which jstl tag(sql) if somebody has another solution for connect database in task detail page, Please help suggest me.
    Thanks
    user520932

    Is the jstl tag libray loaded in the appsserver?
    Can you use jdbc connection like
    DataSource ds = ic.lookup("java:comp/env/jdbc/myDB");
    Connection con = ds.getConnection();
    DataSource ds = (DataSource) org.apache.derby.jdbc.ClientDataSource()
    ds.setPort(1521);
    ds.setHost("localhost");
    ds.setUser("APP")
    ds.setPassword("APP");
    Connection con = ds.getConnection();
    http://java.sun.com/docs/books/tutorial/jdbc/basics/connecting.html

  • ABAP code to automatic generate an BW Report

    HI Sap BW gurus,
    Can anyone tell me if exists an abap code to automatic generate an report from a query and save it on an directory in HTML format?
    Thanks in advanced,
    Pedro Martins

    You can use this tool...
    /people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-i
    but then you would have to store it into an application server directory as HTML - there is also a how to paper by the same author which you can use... which talks about email query results in HTML
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b7658119-0a01-0010-39a9-b600c816f370;jsessionid=%28J2EE3414800%29ID1001478750DB10940138154678751341End

  • Error frm-41213

    Hi all i have install orcle 10 datbase and devloperSuite 10 on new machine
    every this is working fine but when i call the report from the form it will show me the
    UNABLE TO CONNECT THE REPort SERVER REPSERVER90 FRM-41213
    The report is saved in .rdf and in reports it will working fine
    and the my form when-button-pressed code is
    DECLARE
         repid REPORT_OBJECT;
         v_rep VARCHAR2(1000);
         rep_status VARCHAR2(1000);
    BEGIN
              repid := FIND_REPORT_OBJECT('REPORT5');
                   v_rep := RUN_REPORT_OBJECT(repid);
              rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://vikas_new:8889/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
    ELSE
    message('Error when running report');
    END IF;
    PAUSE;
    END;the report is connect with node available in the forms
    Please Guide
    Thanks And Regards
    vikas Singahl
    Edited by: vikas singhal on Feb 6, 2010 7:12 PM

    Vikas,
    The report server name is given wrong in your statement. If the computer name (report server name) is server90 then the report server name is rep_server90. In the code, you have given server=repserver90', You have to change that.
    Regards,
    Manu.
    If my response or the response of another was helpful, please mark it accordingly

  • Urgent: Need to know a Program name which generates Numbers automatically

    Hi Peers,
    We all know that there are 2 kinds of Numbering :
    1. Internal Numbering
    2. External Numbering
    For eg: When we create an Sales Order a  new SO number is generated automatically which is called Internal number generation.
    There is an Object which generates this number  I would like to know that  Program. If  any Idea please let me know.
    The reason why I need is , Thru a transaction when we  are create entries for an Z table , the number should be generated automatically.
    Points will be suitably rewarded.
    Thanks a Lot.
    Daniel

    Hi,
    1) Goto Tcode SNRO
    2) select ur concerned OBJECT there.
    3) Click on Number Ranges Push Button.
    4) then click on Display Interval Button over there.
    *****************************************************Other code
    Create number range object using OYSN.
    Then call the following function modules.
    FORM get_next_id CHANGING p_discrep.
    DATA: last_id LIKE zrecaudit-discrep,
    quant LIKE inri-quantity, "dummy
    code LIKE inri-returncode. "returncode
    CALL FUNCTION 'NUMBER_RANGE_ENQUEUE'
    EXPORTING
    object = 'ZRECAUDIT'
    EXCEPTIONS
    foreign_lock = 1
    object_not_found = 2
    system_failure = 3
    OTHERS = 4.
    IF sy-subrc = 0.
    CALL FUNCTION 'NUMBER_GET_NEXT'
    EXPORTING
    nr_range_nr = '01'
    object = 'ZRECAUDIT'
    IMPORTING
    number = last_id
    quantity = quant
    returncode = code
    EXCEPTIONS
    interval_not_found = 1
    number_range_not_intern = 2
    object_not_found = 3
    quantity_is_0 = 4
    quantity_is_not_1 = 5
    interval_overflow = 6
    buffer_overflow = 7
    OTHERS = 8.
    CALL FUNCTION 'NUMBER_RANGE_DEQUEUE'
    EXPORTING
    object = 'ZRECAUDIT'
    EXCEPTIONS
    object_not_found = 1
    OTHERS = 2.
    ENDIF.
    ENDFORM. " get_next_id
    Don't forget to reward if useful..
    Vasanth

  • FRM 41213

    i have wriiten following code
    declare
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    report_id report_object;
    lRepServer VARCHAR2(100);
    BEGIN
    --report_id := FIND_REPORT_OBJECT('D:\Projects\repo_eg.jsp');
    report_id := FIND_REPORT_OBJECT('myrepo');
    TOOL_ENV.GETVAR('REPORTSERVERNAME', lRepServer);
    message(lRepServer); --- here it shows nothing
    pause;
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY (report_id, REPORT_DESFORMAT,'HTML');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'repserver');
    v_rep := RUN_REPORT_OBJECT(report_id);
    END;
    getting error
    FRM 41213 Unable to coonect to report server repserver....
    wht to do..?

    Pls Go to Forms and Post ur doubt there u may find an answer..
    Abdetu.

Maybe you are looking for

  • Production and Implementation

    Hello Gurus,                        I want the details like....In production support what are the our usual works(roles), and what we have to do.                        If we are getting tickets, in which manner we have to respond for those tickets.

  • What's wrong with my laptop? It keeps loading and turning off

    My laptop suddenly shut off while I was using I for almost the whole day (which I usually do every day). It felt hot so I had it turned off for 2 hours. I tried to turn it on again but it loads for a while, and then shuts off. I had it rest for almos

  • Crippling, horrifying system problems

    A couple weeks ago, while using my Power Mac G4 (10.3.9), I noticed open applications becoming unexpectedly unresponsive. Attempts to force quit would result in everything from the Finder to the Dock becoming unresponsive. The color wheel spins perpe

  • IOS4 landscape photos sideways in e-mail

    I've e-mailed photos, taken in landscape mode, on iOS 4 (3G and iPhone 4) and they're sideways. It seems that iOS no longer orients landscape photos correctly before e-mailing them. Other's have noted the problem here: http://forums.macrumors.com/arc

  • I need a camera raw plugin for sony raw files

    Hello there,  I got a new Sony A99 camera and I need a Camera Raw update for Adobe Bridge CS5.  I can see my old Sony files from my A580 but the new once are not showing up.  Where can I get an update for my CS5 bridge software? Thanks Fred