Report server name in rwservlet.properties file

Hi all,
I dont want to hard code the report server name while calling report from the form...
I have used....
     vrep := RUN_REPORT_OBJECT(myreport1);
/* Checking for Report Server is started or not, if not throw an exception else proceed */
     if vrep = vrep||'_0'then
     raise form_trigger_failure;
end if;
     vjob_id := substr(vrep,length(vc_reportserver)+2,length(vrep));
     vrep_status := REPORT_OBJECT_STATUS(vrep);
where vc_reportserver is assigned a value of my report server name...
If I edit rwservlet.properties file and give
server=<my rep server name>,
How can i read this value from the form ? Any help please?
I know there is a way to do in formsweb and default.env. But I want to know the way how to used in rwservlet.properties file and use it in the form.
Kindly help
Priya

Thanks Francois for your reply.
You can pass this value in the formsweb.cfg file (otherparams=)So, in forms I have to create a parameter matching with the one what I have mentioned in otherparams. right?
you can read it from a database parameter's table (solution I prefer).So, just storing the report server name in database and fetch like
select --- from tablename! Is it so?
And apart from this, may I know why you prefer this method?
And why not rwservlet.properties??
Regards
Priya

Similar Messages

  • How Can i specify multiple server names in rwservlet.properties  file?

    How Can i specify multiple server names in rwservlet.properties file without clustering?
    I am using oracle 10g Application server. we have 3 servers Repsvr1, RepSvr2 and RepSvr3. Now i need to configure rwservlet.properties file to point to these servers based on any running report. i got 3 keymap files with reports info.
    Sample entry in the key map file is:
    key1: server=Repsvr1 userid=xxx/yyy@dbname report=D:\Web\path1\path2\reports\Report1.rdf destype=cache desformat=PDF %*
    key2: server=Repsvr2 userid=xxx/yyy@dbname report=D:\Web\path1\path3\reports\Report2.rdf destype=cache desformat=PDF %*
    rwservlet.properties file letting me to enter only one servername. Even though i merged all 3 keymap files into 1, still i have the server name issue. If i leave the server to the default name still i am getting the below error.
    REP-51002: Bind to Reports Server Repsvr1 failed. However, i know the default rep_<servername> would be used incase we dont have SERVER=<value> parameter in the rwservlet.properties file.
    If i specify the servername in the rwservlet.properties file then only Repsvr1 reports are working fine and other 2 server reports are giving the same error like
    REP-51002: Bind to Reports Server <<Server Name>> failed.
    how can i configure the info which will work all 3 reports. 2 Port servers are invoking using oracle forms and report server is invoking using ASP pages.
    If i specify Server name & Key map file in rwservlet.properties one at a time, all the reports are working without any error, whenever i am trying to integrate all 3 to workable i am getting binding error. if i exclude the server from rwservlet.properties still i am getting the same error.

    My RELOAD_KEYMAP setting is YES only.As i said If i specify Server name & Key map file in rwservlet.properties one at a time, all the reports are working without any error.
    keymap file entries
    key1: server=Repsvr1 userid=xxx/yyy@dbname report=D:\Web\path1\path2\reports\Report1.rdf destype=cache desformat=PDF %*
    key2: server=Repsvr2 userid=xxx/yyy@dbname report=D:\Web\path1\path3\reports\Report2.rdf destype=cache desformat=PDF %*
    If i use http://server.domain:port/reports/rwservlet? cmdkey = key1 should bring the report from Repsvr1 and http://server.domain:port/reports/rwservlet? cmdkey = key2 should bring the report from Repsvr2, but i am getting an error from Repsvr2 saying that REP-51002: Bind to Reports Server repsvr2 failed.
    Only Servername Repsvr1 is in rwservlet.properties file. Now what is the best option to by pass the server from rwservlet.properties file and should be from keymap file. if i comment server name in rwservlet.properties file still i am getting REP-51002: Bind to Reports Server <<Server Name>> failed error for both keys.

  • Please help ! "Oracle Reports Server CGI - Reports Server name is not specified."

    Hello Gurus,
    I have an html form that allows putting in a parameter. Upon
    submit the form, it'll pass a string URL with the parameter to a
    new browser.
    My url: http://localhost/servlet/oracle.reports.rwcgi.RWServlet?
    diary&14252
    I also used keymap looks like this
    diary: report=Diary.rdf server=servername desformat=pdf
    destype=cache userid=id/psswd@db myoid=%1 %*
    But I get an Error: The requested URL was not found, or cannot
    be served at this time. Oracle Reports Server CGI - Reports
    Server name is not specified.
    However, if I move the cursor to the end of the same url (or put
    a space at the end) and hit Enter, then the report is
    displayed. I guess there must be something wrong with my
    configuration. Please help. I appreciated any inputs from you.
    Thanks in advance.
    Ashley

    I found the solution to my problem. It was nothing to do with
    the cgicmd.dat keymap file, but the html form itself. It's
    confused between the url arguments and form arguments from the
    submit button. So, what I did was open a new window with all
    arguments instead of using the submit function.
    Regards,
    Ashley

  • How to check report server name and how to start report server in 10g ?

    Hello Experts,
    I do have 10g Dev suite installed on my machine
    I want to run my report on web using OC4J
    How can i check the report server name as well how can i start the report server if is not running ?
    As well,
    Want to know in real time how it works in case there is application server installed 
    Thanks in advance,
    SShubhangi

    Hi Tony
    Sorry for the confusion as I m new to reports
    I do have 10g Dev suite installed/Report builder on my local machine
    I want to run my report on web using OC4J on the same local machine instead of the Run paper layout and Run web layout option
    Means i want to run the report by passing URL like below
    http://hostname:port/reports/rwservlet?report=report_name server=server_name+userid=db_connect_string+destype=file
    +desformat=spreadsheet+desname=C:\temp\myexcel_output.htm
    How can i check the report server name as well how can i start the report server if is not running ?
    Hope this is clear now
    Thanks...

  • How to find out SSRS report server name

    I'm trying to follow the steps for using SSRS web services (http://ssrstutorials.blogspot.com/2012/10/lesson-12-using-ssrs-web-services.html).
    In Step 3:
    Click advanced--> add web reference -- url - http://localhost/reportserver/reportservice2005.asmx
    (replace localhost with your report server name).
    How do I know what's my report server name?
    Thanks, 

    Hi sherri71,
    Sorry for that mark an incorrect reply as an answer.
    The reply suggested by Akbar is about Instance Name, not report server name. Based on my further research, I find that the Reporting Services server name is the computer name which install
    the report server. So we can try to click Start button, right-clicking Computer, and then clicking Properties. Under Computer name, domain, and workgroup settings, you can find your computer name.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine xiong
    Katherine Xiong
    TechNet Community Support

  • How to change report server name in 80 forms at once????????

    Hi All
    i am migrating my application 9i to 10g.
    i have 80+ report parameter forms in my application. now i need to change the report server name in following two locations.
    1. Report Server Property of Report Object
    2. RP2RROREPORTSERVER Parameter property under Parameters node in object navigator.
    HOW CAN I CHANGE IT AT ONCE?
    Regards,

    there is property search option, but it shows only file name only.
    i downloaded jform but its not working error is "Could not find the main class. Program will exit!!

  • Finding Report Server Name

    Hi All,
    I am calling reports from the forms for that I have hard code the report server name in my code.
    Is there is any alternative to set the report server name dynamically at run time, means how to find the report server name and pass that into as a parameter in my code.
    Regards,
    Ashutosh

    Thanks Andreas ......... report server name is getting now.
    I have one more problem ......... i m using webutil.pll in forms 10g
    in that i am using client_host function ........ to run the host command on local machine to delete or copy a file.
    On when-button-pressed trigger writing below code :
    CLIENT_HOST('CMD /C DEL C:\TEMP.TXT');
    Its giving an error message : ORA-06503 & PL/SQL function return without value.
    Could you please help me out ....... as i am new to forms 10g
    Thanks in advance for your assistance.
    Regards
    Ashutosh

  • Where can i get the report server name in Reports 10g

    Where can i get my report server name in 10G ?

    Thanks ..
    When i opened the bat file :
    i did not find any report server name ...
    This is my file :-
    @echo off
    REM $Header: rwdiag.bat 13-may-2005.03:21:21 sunaraya Exp $
    REM
    REM rwdiag.bat
    REM
    REM Copyright (c) 2005, Oracle. All rights reserved.
    REM
    REM NAME
    REM rwdiag.bat - rw diagnostic tool
    REM
    REM DESCRIPTION
    REM Script to run the diagnostic tool used to locate servers / monitor packets on the network
    REM
    REM NOTES
    REM Usage: rwdiag.bat -find <server name> | -findAll [-conf <config file>] [-timeout <timeout in sec>]
    REM
    REM Usage: rwdiag.bat -monitor [-log <logfile>] [-conf <config file>]
    REM
    REM MODIFIED (MM/DD/YY)
    REM sunaraya 05/13/05 - Added rwrun.jar to the classpath for bug 4361664
    REM sunaraya 04/22/05 - Provided execute permission to the script for bug 4323789
    REM sunaraya 04/14/05 - sunaraya_bug-4221172
    REM sunaraya 04/14/05 - Creation
    REM
    set ORA_HOME=C:\ORANT
    if "%ORA_HOME%"=="" goto ERROR
    set CLASSPATH=%ORAHOME%\jlib\zrclient.jar;%ORA_HOME%\reports\jlib\rwrun.jar
    %ORA_HOME%\jdk\bin\java -DORACLE_HOME=%ORA_HOME% -classpath %_CLASSPATH% oracle.reports.utility.DiagServerLocator %*
    goto END
    :ERROR
    echo "ORACLE_HOME is not set"
    echo.
    :END

  • How to get the report server name in Forms 10g.

    How to get the report server name in Forms 10g.
    I'm using the Application Server 10g 10.1.2.

    Hello,
    I do not think that you can get this value from anywhere. A solution is to put the Reports server name in an environment variable stored in the /forms/server/default.env file, then to query it at Forms runtime with the TOOL_ENV.Getvar() built-in.
    Francois

  • How to change Report Server Name???

    How can I change my reports server name which is normally generated according to Server Name_OracleHome combination. But can I use a different name for my report server and which configuration files I'll have to change???

    How can I change my reports server nameSee Paulo Esteves answer in How to change the Report Server Name?

  • Report Server Generating big size trace file

    We are using Report Service which is part of 9iAS suite. Its generating a trace file (server name.trc). This file keeps growing and depending on the number of requests we receive sometimes its size goes in Giga bytes. Anybody knows why its doing that and how to get rid of this behavior ?

    Tracing is useful for troubleshooting purposes. If you do not need tracing please open the file
    $OH\reports\conf\server_name.conf
    and comment the "trace" element. You will need to restart the server for this to take effect
    <!--trace traceOpts="trace_all"/-->
    Thanks
    The Oracle Reports Team

  • Edit the reports server name .dat how ?

    Hi ...
    How edit the file <reports server name >.dat located in $Oracle_home/reports/server , because , i see code encrypted with notepad.exe.
    thanks..
    Atte
    hector

    Hector,
    as far as I know this file contains data about jobs scheduled for the reports server, so the only tool that can read that file is the reports queue manager (and maybe the only forum that can help you is the reports forum;).
    Gerald

  • Report server name issue

    Dear All,
    I am stucking with the following problem,
    I have deployed my ERP apllication (developed in oracle forms & reports 10g) on oracle apllication server 10g forms & report services. my apllication server has two LAN card. out of two one has been configured with statis IP for web access. but while running report from parameter form i am taking report url from table. table contain report server name as my local server name.
    My problem is,
    If i am accessing erp from web using static ip and running report then server name is not recognized
    because it is my local server name coming from table. so for that every time i need to change report url & replace server name with statis ip in browser addr for web users.
    Please guide me what should i do to resolve this issue.
    Your reply would be greatly apprecited.
    Thanks

    If "Credentials supplied by the user running the report" is selected, when the report is run, the user will be prompted to provide credentials.  They would need to provide credentials that have the appropriate permissions (e.g., read, execute) to the
    database.  This prevents the double hop.
    If "Credentials stored securely in the report server" is selected, you have to enter the username and password of a user (or service account) that has the appropriate permissions (e.g., read, execute) to the database. When the report is run, SSRS will use
    these stored credentials each time to authenticate to the database engine and query the data.  Users running the report are not prompted to provide credentials.  With this option you can use an Active Directory or SQL Server account.
    In order to access/run the report, a user will need to authenticate to SSRS.  There are options here as well. You can provide them the link to the report manager and they can authenticate, navigate to, and run the report.  You can also provide
    direct links to reports that users click in a document or application.  At this point the user is typically still prompted to authenticate to SSRS.  You can also programmatically call the report using API's and essentially build a proxy that authenticates
    to SSRS and open the report.
    Not sure if that answers your question.

  • How to find Report Server Name

    Dear All
    Assalam-o-Alikum
    i am running the report using "run_report_object" on "Forms [32 Bit] Version 9.0.4.0.19 (Production)". the problem is that i don't know the Name of Report server, can any body can tell me that from where i find the name of report server.
    i have to give the report server name to run report.
    Thanks
    Best Regards
    Farrukh Shaikh

    hi
    u have to install the report server something like this.
    rwserver -install server=server_name autostart=yeswhen u installed the report server so u can use u r own report server name.
    and u have to use the above code in DOS.
    full path.
    c:\Developer_home\bin\rwserver -install server_name(Any Name) autostart=yes
    sarah

  • How to know report server name in oracle forms and reports with weblogic server 10.3.5

    Hello Experts,               I am new in oracle forms and reports.I have installed Oracle forms 11g with weblogic server 10.3.5 at windows 7.Forms and reports are working well.But I want to call a report from an oracle form button press trigger. For This I need to know the my report server name which i dont know.Please tell me how can I know my report server name.

    I want to call a report from an oracle form button press trigger. For This I need to know the my report server name
    You can find the name of the standalone reports server in $ORACLE_INSTANCE/config/ReportsServerComponent.
    Or you can use Fusion Middleware Control Console, normally at  http://<machine name>:7001/em

Maybe you are looking for