Home » Developer & Programmer » Forms » how to know the server name (oracle 10g reports windows xp)
how to know the server name [message #330025] Fri, 27 June 2008 06:24 Go to next message
varosh81
Messages: 178
Registered: February 2008
Location: CHENNAI
Senior Member
how to know the report server name and port number?
Re: how to know the server name [message #337149 is a reply to message #330025] Wed, 30 July 2008 01:15 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
In a Form or in a Report?

David
Re: how to know the server name [message #337593 is a reply to message #337149] Thu, 31 July 2008 06:40 Go to previous messageGo to next message
varosh81
Messages: 178
Registered: February 2008
Location: CHENNAI
Senior Member
in report
Re: how to know the server name [message #339581 is a reply to message #337593] Thu, 07 August 2008 21:11 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Look at the help file for "REPORTS_SERVER environment variable". It refers to "the Reports Servlet (rwservlet) configuration file (rwservlet.properties), as described in "Identifying the Default Reports Server" in the chapter "Configuring OracleAS Reports Services" of the Oracle Application Services Publishing Reports to the Web manual."

David
Re: how to know the server name [message #343214 is a reply to message #339581] Tue, 26 August 2008 11:38 Go to previous messageGo to next message
Grasshoper_B
Messages: 7
Registered: September 2005
Location: Chicago, USA
Junior Member
I have the same question. That is, how _in runtime_ find the report server name from form?
I need to deploy reports (launched from some form) on different Application Server Unix boxes.
As I understand I should setup some environment variable and read it with tool_env.getvar
There is some info about REPORTS_SERVER environment variable, and I added it to reports.sh script, but it seems that reports server does not pick it up...and, actually I need it to be available from forms.
So, where actually should I place reports server name to read it from forms?

[Updated on: Tue, 26 August 2008 11:41]

Report message to a moderator

Re: how to know the server name [message #344012 is a reply to message #343214] Thu, 28 August 2008 10:23 Go to previous message
Grasshoper_B
Messages: 7
Registered: September 2005
Location: Chicago, USA
Junior Member
Thanks everybody for your useful advices!
How I did it:
1)In OEM go to forms/environment/default.env/edit
2)Add REP_SERVER variable,set value to the name of reports server on this box
3)Get it in forms with tool_env.getvar('REP_SERVER',l_repser_name)
4)Enjoy:)
Previous Topic: Hyperlink in forms
Next Topic: Dynamic FROM clause
Goto Forum:
  


Current Time: Mon Feb 03 12:49:25 CST 2025