Commandline to run Reports using RWSebService

Hi, I am trying to run the existing reports using the RwWebService from asp.net application here are some sample command lines that I am using, but I am getting the same error. If someone can point me in the right direction, I would really appreciate it.
REPORT=IEP_CERTIFICATES_R USERID=scott@tiger DESTYPE=file DESFORMAT=PDF PARAMFORM=NO DISABLEMAIL=YES DISABLEFILE=YES P_WHERE_CLAUSE='PART_ID = 6077' AUTHID="ANONYMOUS"
authid=oracle background=yes jobname="/ias10g/product/10.1.2/mt10g/forms/dmstest/RPT_MOVE_IMPORT_P.rep" desname=/var/spool/dms/dmstest/RPT_MOVE_IMPORT_P43330.pdf desformat=pdf server="repdmstest" expiredays=0 report="/ias10g/product/10.1.2/mt10g/forms/dmstest/RPT_MOVE_IMPORT_P.rep" userid=scot/tiger@dbname p_request_id=20333 arraysize=30 destype=file
The error I get :
Terminated with error:
REP-501: Unable to connect to the specified database.
I am fairly new Oracle, and would really appreciate all your help.
Thank you
KP

Hi I changed the command lilne as mentioned, however the problem still persists. I am running this from the web service interface. I get the same error when I run the report using the rwservlet. Please help
Command Line
REPORT=IEP_CERTIFICATES_R USERID=scot/tiger@repDMSTEST DESTYPE=file DESFORMAT=PDF P_WHERE_CLAUSE='PART_ID = 6077' AUTHID="oracle"
output:
<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <SOAP-ENV:Body>
- <ns1:runJobResponse xmlns:ns1="http://oracle.reports.rwclient/RWWebService.wsdl" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<return xsi:type="xsd:string"><?xml version = '1.0' encoding = 'ISO-8859-1' standalone = 'yes'?> <serverQueues> <error code="51002" component="REP" message="Bind to Reports Server rep_neptune_mt10g failed"/> </serverQueues></return>
</ns1:runJobResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Similar Messages

  • Get a Report crashed error while running report using the mode character

    Hello,
    I'am getting an "Enable to run report - Report as crashde" issue only when I'am running reports using the mode character. The same report with desformat pdf never has any problems. I have changed the englife (set to one) increase the cachesize but I still have the same issue.
    I'm using report 6i and Oracle 8i.
    Thanks in advance for your help.
    Regards,
    Laurent.

    Hi Thanks for the response,
    In fact the report in character mode is working fine in my environnement but is not working on my customer environnement (which is supposed to be the same as mine). I was thinking of cache size issue or something like this ?
    Regards,
    Laurent.

  • Error when running report using SDK

    Hi, I am getting following error when I am running a report  in boxi r2 sp3 on IIS. Infoview and CMC runs fine but SDK application is not able to connect to CMS. This error does not come all the time. It happens intermittently.
    Error in RetrieveReport: Unable to connect to cluster @hisuatcluster to retrieve updated CMS member list. Logon cannot continue.
    Anyone has seen this and any way to pin point the cause. We have used -ns and -port switch in the command line of CMS and all servers.
    Thanks,

    will try that. But we would not be leveraging cluster benefit then. What happens if that particilar CMS in cluster goes down.
    Below is the logic of SDK.
    1.     Create an EnterpriseSession by calling SessionMgr.Login(the credentials we use to connect on in the web.config file).
    2.     Get a reference to the InfoStore with EnterpriseSession.GetService(u201CInfoStoreu201D)
    3.     Get a reference to the report as an InfoObject by querying the InfoStore u2013 InfoStore.Query(u201CSELECT * FROM CI_INFOOBJECTS WHERE u2026u201D)
    4.     Get a reference to the RASReportFactory u2013 EnterpriseSession.GetService(u201Cu201D, u201CRASReportFactoryu201D)
    5.     Open the report using the InfoObject (line 3) and RASReportFactory (line 4) u2013 ReportClientDoc = ReportAppFactory.OpenDocument(InfoObject.ID, 0)
    6.     Manipulate the reportu2019s connection information.
    7.     Set the vieweru2019s report source with the report (this is commented out in the current tests) u2013 CrystalReportViewer.ReportSource = ReportClientDocument
    8.     Close the session u2013 EnterpriseSession.Logoff()

  • "Failed to open report" error while running reports using Crystal Report

    We have a web application develeoped in ASP.Net, SQL Server 2005 , Crystal Reports 10.0. Sometimes if a large number of users run reports from their individual nodes they receive an error "Failed to open report ", if we restart the IIS they are able to run the reports. In addition to this the users also sometimes get the error "Maximum Report limit attained". Can any one provide me with a solution other than restarting the IIS.

    Hi,
    Use the close and dispose method for Report object. Its a best practice to code also gc.collect for garbage collection.
    It might help you!!
    Regards,
    Amit

  • REP-300 Error while running report using App Server

    Hi,
    I am currently trying to run a report using the Application Server.
    This report is being called from a form.
    I am able to connect to the report server and all configurations seems to be correct.
    But when I execute the report from the form, I am getting error "Unable to run report"
    When I look at the error message in the Report Server queue, I find
    "REP-300 Table or View does not exist.."
    But that table does exist in the database.
    What could be be the problem ?
    Please help.
    The code in the form that calls the report is
    report_id := FIND_REPORT_OBJECT( report_name );
    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_OTHER, 'paramform=yes     p_user_connect='||vc_connect ||' p_servername=repsrv'||' p_action=<host>/reports/rwservlet?' );
    v_rep := RUN_REPORT_OBJECT(report_id, parmlist_id);

    The report is working perfectly fine when I run it from the Report Builder. I get the correct output.
    I am getting this error when I try to run the report through a Report server.
    I run the form from the Forms 10g builder. This form has a button "Run Report". When I click on the button the report is run using the Report server.
    This is when I get the error.
    There are other forms that are also called via the same form. Those work fine. The only difference between those forms and this one is that this one has user parameters passed to it. This one also has an attached library attached to it.
    The code in the Form to call the report is
    report_id := FIND_REPORT_OBJECT( report_name );
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESTYPE, FILE);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESFORMAT, 'pdf');
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_SERVER, 'rep-vena01-xp');
    v_rep      := RUN_REPORT_OBJECT(report_id, parmlist_id );
    v_jobid := substr( v_rep, length( v_reportserver) + 2, length(v_rep) );
    v_repstatus := REPORT_OBJECT_STATUS( v_rep );
    IF ( v_repstatus = 'FINISHED' ) THEN
    v_url := '/reports/rwservlet/getjobid' || v_jobid || '?server=' || v_reportserver ;
    web.show_document( v_url, '_BLANK' );
    END IF;

  • Problem running reports using webutil in Forms 10g

    This is about 3 dll files related to webutil functionality in forms 10g
    d2kwut60.dll
    jacob.dll
    JNIsharedstubs.dll
    I am running report which is using webutil functionality. So when I try to run report, our application server try to download above dlls to my local machine on path C:\Program Files\Java\jre6\bin
    Due to security policy, our company doesn't allow write access to folder C:\Program Files\Java\jre6\bin and hence report is failing to run.
    We need solution for this issue so that we should be able to run report successfully?
    Details as below:
    Application server : Forms 10g - 10.1.2.3 ( Using Sun jre and not jinitiator). We do not want to use jinitiator
    Browser - IE8

    Curious, typically Java will store these "temporary" files in the cache not in the BIN directory. Unfortunately, the only way I know to change the location of the CACHE (temporary files) directory is through the Java Control Panel applet. Open the Control Panel and start the Java Control Panel. On the General tab click the Settings... button in the Temporary Internet Files section. In the Location section - click the Change button which will bring up a "Temporary Files Location" dialog box. Simply navigate to a directory that your security policy will allow files to be written too.
    The ideal solution would be to push this type of change out to all of your users rather than have to manually change each workstation. I don't know if there is a way to push this change out, but you can check the Java website for more information.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Running Reports using DESTYPE=CACHE from Report Launch Form (QMS0012F)

    We are trying to run reports via the web. Since this is a 3-tier setup and our report server is running under UNIX the DESTYPE=Preview and Screen are not valid options. When we choose CACHE as DESTYPE we get the error:
    'Invalid value '||l_value||' passed for parameter DESTYPE'
    I have traced the error down to the QMS0012L.PLL library -> QMS$REPORT (version 6.5.1.3) package -> add_par_to_list procedure.
    Is this a legacy of a client/server type setup? I have modified the procedure to allow for DESTYPE=CACHE. Now by submitting a report with DESTYPE=CACHE it gets submitted to the reports server except it doesn't show report. To display the report I believe we have
    to use the Web.Show Document function to display the report (eg. http://bill:7777/servlet/RWServlet/getjobid8?server=rep60bill) as per the oracle white paper "Integrating Oracle9iAS Reports in Oracle9iAS Forms"
    Has there been a headsdtart patch to include the DESTYPE of CACHE when running reports? or are we the only ones running reports this way.

    Raymond,
    I have recorded a new bug against Headstart for this. We do not
    currently have a fix, but I've looked at the code you mention and
    your fix looks correct.
    Regards,
    Lauri

  • Run report using command utility

    Hi All,
    I am working on OBIEE 11.1.1.6.0.
    can it is possible, Using command utility, we can run obiee report, and it's output should be any format other than text.
    and also this report schedule on hr basis, without using delivers.
    if this possible, then please suggest me how to achieve.
    Thanks in advance,
    Prashant

    Hi Veera,
    I ran the report using nqcmd and to achive the desired result I had also specified the path by giving -0, which had also generated the pdf file for the same but the problem is when I'm opening the pdf file it throws an error saying "could not open 'quar3.pdf' because it is either not a supported file type or because the file has been damaged". Below is what I had passed in cmd.
    D:\MI2\Oracle_BI1\bifoundation\server\bin>nqcmd -d coreapplication_OH1426052389
    -u weblogic -p weblogic_1 -s C:\quar3.sql -o C:\quar3.pdf
    I tried creating .xls, .doc which gets generated but it is not in a tabular format.
    Please help....
    Thanks,
    KD

  • Long running reports using java servlets

    Hello,
    I'm running into a problem using java servlets to produce database reports and sending them back to the client browser as excel or html. The problem comes into play when the user has submitted two reports then goes to run a third and the browser hangs. I realized now that this is because of the two active connections that the user already has to the app server. Does anyone have any suggestions on how to get around this? I'm trying to now write the report to the server, and provide the browser with a url, but it seams as though the connection isn't totally closed even though I close the response printwriter.... Any suggestions would be greatly appreciated....

    Unfortunately I dont have an answer to your question, but:
    If the reports are large/long running, should they be generated on demand? You could schedule the reports to be generated every day, month or whenever appropriate, stored on the server and then quickly pulled by the user whenever needed.

  • Run report using DB Link

    Dear All,
    I have created a db link called as teil_db in Database2 which is connected to Database1 and running the report from Database2.
    I have written following query in my report which is getting compiled :
    select rtrim(ltrim(c.ven_submtldesc)),rtrim(ltrim(a.vendor)),rtrim(ltrim(a.probable_vendors))
    from enq_po.ven_mast@teil_db a,enq_po.ven_attributes@teil_db b,enq_po.ven_submtl@teil_db c
    where a.ven_code = b.ven_code
    and b.ven_submtlcode = c.ven_submtlcode
    order by b.mtl_subtypcode
    But when i run the report i get following error:
    ORA-03106: fatal two-task communication protocol error ==> elect rtrim(ltrim(c.ven_submtldesc)),rtrim(ltrim(a.vendor)),rtrim(ltrim(a.probable_vendors))
    Kindly advice
    Regards Devendra

    Dear MarkyMac,
    Thanks for your prompt reply.
    Currently using 9.2.0.1.0 DB.
    I have also done the same thing but it is asking to install patch 9.2.0.4
    I don't have metalink id.
    Can you kindly support in getting that.
    regards,
    Devendra

  • Reports Services getting down when running reports using in process server

    Hi,
    I have applied patchset 3829014 (Containers for J2EE: Patchset PLACE HOLDER FOR OC4J STANDALONE RELEASE 9.0.4.1)
    to fix the Bug No. 2670561 CPU usage becomes 100% when there is a new HTTP connection
    request in the queue.
    Now after reploying the *.ear file and restarting OC4J_BI_FORMS services from Enterprise Manager and starting the Reports Services if I want to run the reports from the application contained in the ear file, I find the Reports Services is down and the browser throws a 500 - Internal Server Error.
    In the ipm.log file in Oracle_home\opmn\logs I find the following lines:
    05/01/08 17:15:55 [4] Process Alive: OC4J~OC4J_BI_Forms~default_island~1 (1162281586:636)
    05/01/08 17:17:32 [2] [libopmnoc4j] AJP13: Receiving response code: 500 while configured success code is: 200
    05/01/08 17:17:32 [2] [libopmnoc4j] Ping URL for proc: 1162281586 failed while pinging url:/reports/rwservlet/pingserver?start=auto
    05/01/08 17:17:32 [4] [libopmnoc4j] Process Ping Failed: OC4J~OC4J_BI_Forms~default_island~1 (1162281586:636)
    I can't get from where the response code of 500 is coming.
    I have consulted the Doc Id 261867.1 in Metalink and has tuned the opmn.xml file as suggested there but of no use.
    Urgent help in this regard is needed where I went wrong as my production Application Server has become inoperative.
    Thanks
    Nilay

    The ear file contains the front end application from where the reports are called. I have created a new J2EE instance and deployed the application in the form of ear file there.
    After tuning the opmn.xml file following Metalink Doc. Id 261867.1 adding a value of pingtimeout, I found the OC4J_BI_FORMS was not shutting down the inprocess reports server and I was unable to generate reports by giving values from URL. But when I deploy the ear file in the newly created J2EE instance, the OC4J_BI_FORMS is shutting down . Now when I try to start the infrastructure components the OC4J_SEcurity is showing Database dependancy failed although OID and HTTP server components are up.

  • How to set DISPLAY for tomcat service inorder to run reports using rwrun.sh

    Here is my problem..
    I came to know that its not possible to invoke rwrun.sh without setting the DISPLAY environment variable from the servlet or any java program. But some one proposed me a solution that to set the DISPLAY variable for TOMCAT service from where my servlet invokes the shell script written for report generation using rwrun.sh. The user for tomcat service is wwwrun ..
    Do i need to set this variable in the logon script for this user ..but I couldn't find the .profile file for that.
    Is there any way to set this variable for tomcat service and get the report successfully.

    i gave export DISPLAY=aatsv001.local:0.0 in $ORACLE_HOME/bin/reports.sh
    but it gives me the following error when i invoke the report
    Xlib: connection to "aatsv001.local:0.0" refused by server
    Xlib: No protocol specified
    REP-0069: Internal error
    REP-3000: Internal error starting Oracle Toolkit.
    I also tried giving localhost and also aatsv001 (without .local)
    some one help me..

  • Browser Time out in Reports (using WEB.SHOW_DOCUMENT to call reports)

    When running a big report which takes a long time to run, it finishes on the report server but in the browser the screen is stuck at the parameter form, you don't see the report output. It's as if the browser has timedout. Is there a solution to this?
    I am running reports using WEB.SHOW_DOCUMENT only - through a URL. This seems to be a huge drawback of using this method.

    Is the browser launching?
    If it is have you tried a show source on the browser window?
    Sometimes if you open an XML file in a browser you get a blank page but the XML is there. Something to do with the XML format I think. I'm no expert on XML just a behaviour I have observed.

  • Whitespace is not allowed at this location. Error while running CP using RDF with XML

    Hi All,
    I am using RDF report with output type as XML. It have following parameters:
    1. Organization Name,
    2. Invoice No From
    3. Invoice No To
    4. Date From
    5. Date To
    I had developed an RTF and registered that in Oracle Applications. The output comes in Excel file.
    When I used to run report using Invoice Number From and Invoice Number To the report is giving normal excel output.
    But when I am running using parameters Date From and Date To then XML output is coming after viewing output in CP Output button.
    I downloaded that xml file. It is invalid as in the last of xml file it is showing following error message
    "Whitespace is not allowed at this location".
    Please let me know how can I resolve this problem.
    Thanks in advance..
    Regards
    Sandip

    my xml file looks like this....
    <!-- Generated by Oracle Reports version 10.1.2.3.0 -->
    <XX_ITEM_LOADING>
      <LIST_G_BLANKET_NUMBER>
        <G_BLANKET_NUMBER>
          <CUSTOMER>SPS PVT LTD</CUSTOMER>
          <INVOICE_NO>17356</INVOICE_NO>
          <INVOICE_DATE>20-JUL-13</INVOICE_DATE>
          <BUYER_REF>56780YP</BUYER_REF>
          <ITEM_DESCRIPTION>XXCSD</ITEM_DESCRIPTION>
          <NUM_OF_BEANS></NUM_OF_BEANS>
          <CARIRER></CARIRER>
          <SHIP_METHOD_CODE>UK568</SHIP_METHOD_CODE>
          <MODE_OF_TRANSPORT>ROAD</MODE_OF_TRANSPORT>
          <ASSEABLE_VALUE>1134534</ASSEABLE_VALUE>
          <QUANTITY>149</QUANTITY>
          <SOLD_TO>SPS PVT LTD</SOLD_TO>
          <TAN_NO></TAN_NO>
          <ST_REG_NO>943481</ST_REG_NO>
          <EC_CODE></EC_CODE>
          <TERMS>30 NET</TERMS>
          <CUST_PO_NUMBER></CUST_PO_NUMBER>
          <DESTINATION>LONDON</DESTINATION>
          <CP_DAYS>3</CP_DAYS>
        </G_BLANKET_NUMBER>
    XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    Whitespace is not allowed at this location. Error processing resource 'file:///C:/Users/sys/Downloads/cp_output_date_range....
          <SOLD_TO>DKSP TECHNOLOGIES & ENGG(A DIV. OF PARROT SYSTEM LTD.)</SOLD_TO>
    _METHOD_CODE>

  • Error - Object variable or with block variable not set while running report

    Hi,
    I am trying to run BEx reports through portal.
    However I am not able to run any report. I am getting following error.
    "Run time error '91':
    Object variable or with block variable not set"
    This is not BEx installation or excel issue as I am not able to run reports using someone else's desktop also.
    Also I have authorization to those reports. So doesn't seem to be authorization issue.
    Please help me to resolve this problem.
    Thank you in advance.
    Regards,
    Deepti Jain.

    Hi Deepti,
    Can i knw how you solved this issue?
    Regards,
    Maili

Maybe you are looking for

  • How can I print my address book on to envelopes?

    I used to be able to print addresses from my contact list on envelopes now I can't even print the addresses in a group on one page, just their phone numbers appear.  I just changed over to icloud.  Is this the problem?

  • NIS install on solaris 9

    I am trying to install NIS on solaris 9 but I don't have a Makefile in /var/yp. I tried copying the Makefile from one of my solaris 8 boxes but then I ended up missing a bunch of files from /usr/lib/netsvc/yp. I think I must be missing some packages

  • Extend dynamic selection for a field added on PRPS table

    Hi Gurus, I want to see the field that I've added in PRPS table as part of dynamic selection on the reports like S_ALR_87013542/ S_ALR_87013532. The LDB for project systems is PSJ. How do I make it appear as a dynamic selection on the selection-scree

  • How do I modify a check constraint?

    Alter table test modify constraint Constraint_name check(a in ('a','b','c')); Doesn't seem to work. I tried many things, any help?

  • How disabled ipad could not connect to wifi

    I have more than 1000 IPAd  for students in school and i am using MDM to clear passcode for student devices who had forgettin the passcode , when the device is disabled and netwrok sign still appear the clear passcode is working fine , once this devi