Host/server name and port

Hi,
is there like session/repository variable that holds the server/host name and port? i would like to get these values programmatically.
thanks.

In my humble opinion do not see any use in setting up these details on variables. The fact that these could be used only after logging on, which will obviously need these details manually. If you require it for tracking purpose, You could do it manually, as they are going to be static at least for that session.

Similar Messages

  • How to get server name and port of OSB server in a proxy service ?

    I need to get the server name and port of the OSB server inside a proxy service. How can I get this?

    You may use java callout for this purpose -
    How to get ServerName and ApplicationName in OSB (ALSB) ?
    Regards,
    Anuj

  • Application server name and port number

    Hi
    Is it possible to get the application server name(ip) and port number at runtime. Becuase i want to open an html file which is in the application server, when a button is pressed by using web.show_document ();
    Can anyone guide me please.
    Thanks in advance
    geethu

    application server name and port number

  • How to get Server Name and port. Urgent.....

    Hi,
    Please let me know how can i get the server name and port without using request object.
    I am getting it :- request.getServerName();
    But, pl. let me know how can I get it without using this request object.
    Waiting for reply..

    I don't know of any way to trivially access that, but why do you need to do this? If you need access to that information in a method that can't see your HttpServletRequest, then perhaps your architecture has a flaw, and you'll be better off in the long run restructuring it.

  • Configuring server name and port number through action links - obiee11g

    Is it possible to configure host name and port when using action links ?
    Say some session variables hold these values. Is there any way to use these values ?
    Thanks
    SM

    Any pointers ?

  • Get report server name and port name

    J want to know if it is possibile to obtain from a form the name of the report server and the port on work.
    Infact if i use two different application server the nae of the report server change and in the script that call the report server is necesseraly using the name of the report server.
    Thank's

    if your cases are that the dev, test, production servers have different servers and databases, then you may create a table e.g., report_server_profiles(serv_name varchar2(100),ports number), it contains one record ONLY in each server's database, then in your form code only have same code that works for three of them.
    If you have two report servers, but have one database, then you may add a flag column in above table and depends on users group to set that report flag.

  • Hiding the Port in a Virtual Host/Server-name Alias

    I need some guidance/help with the HTTP Server in AS 10g. We have several new Portal sites with a mix of forms, reports, and pl/sql server pages. We wish to make these services available from the internet via an aliased hole in the firewall.
    We have our public alias of Alias.CompanyWebsite.com mapped to the server-name, but we'd like to get the alias mapped to servername:port. I've tried to get this set up using virtual hosts in the HTTP server, but I'm having no luck. I'm also having trouble finding documentation on how to this.
    Is there a way to hide the server-name and port number via a virtual host (alias) in HTTP Server and/or Web Cache? If so, how do you accomplish this?
    Thanks,
    Josh

    Usually it is like this:
    outside name: www.acme.com
    oudside port: 80
    inside name: inside.acme.local
    inside port: 7778 (if you have a seperate machine for the middle tier)
    In the Webcache you'll need a site
    www.acme.com with port 80
    and an origin server
    inside.acme.local with port 7778
    Then create a site-to-server mapping from www.acme.com to inside.acme.local
    If your firewall listens to another name or does something with the ports you need to change the site accordingly.
    cu
    Andreas

  • Host server name is blank.

    Hi All,
          we are running virtual machines on host servers. we have installed scom agents on virtual machines. when I go to windows computers in monitoring pane and select display attribute as "host server name" and 
    "virtual machine" it is blank when IP address, Network name etc are getting populated.
    Please help me in getting this host server name and virtual machine field getting populated.
    Regards,
    Abhishek Yadav

    Hi,
    Have you imported the latest Hyper-V management pack? If not, please try it.
    http://www.microsoft.com/en-us/download/details.aspx?id=36438
    Niki Han
    TechNet Community Support

  • Getting web host name, web-port, oral-report server name and virtual path

    Hi.
    I have been using oralce forms 6i on oracle application server 10g. I have three servers installed on remote locations.I just want that when i am hosting an application on a server, the web host name, web port , oracle report server name and the path of directory should be selected in a dynaminc variable at application level at run time. In this manner, I will be able to make a single application for all three servers. Any other solution to this problem is also welcomed. Please help anyone and oblige me.

    Hi Rajesh,
    Actually Web AS Host name is <Servername>.<domain name>:<Port no>
                 Web AS Path for R/3 is </sap/bc/bsp/sapd>
    Refer the following link.
    <a href="https://forums.sdn.sap.com/thread.jspa?threadID=402561">https://forums.sdn.sap.com/thread.jspa?threadID=402561</a>
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=265076">https://www.sdn.sap.com/irj/sdn/thread?threadID=265076</a>
    Regards
    Hemalatha
    /Assign points if helpful/

  • How to get the Host name and port number

    Hi all,
    I am working in xRPM. I need to get the server name, host name & port number for the portal and i need to diaplay as a link in the Workflow step. I cant give the portal link as static, as it will vary depends on the DEV, QUAL, PROD. Is there any FM or class is available, so i can get the server name, port no. for my purpose?.
    Regards,
    Vinoth

    Hi Kanagaraja,
    My client has configured the portal and backend in different stack. So when i execute the FM you provided and with class: CL_HTTP_SERVER, CL_WD_UTILITIES, i am getting only the backend host name and port no. not the portal's info. So please help is there any way we can get the portal's info.
    Thanks for your reply.
    -Vinoth

  • Getting host name and port number from application

    Does anyone know how I would be able to get the host name
    and port number from an application launched by java webstart ?
    This is the host and port of the URL that this application is launched from.

    A couple of suggestions:
    -The note is about 6.40. Doesn't fit for your server
    -Don't!
    -Reinstall!
    Regards,
    Benny

  • Getting host name and port number from an application

    Does anyone know how I would be able to get the host name
    and port number from an application launched by java webstart ?
    This is the host and port of the URL that this application is launched from.

    A couple of suggestions:
    -The note is about 6.40. Doesn't fit for your server
    -Don't!
    -Reinstall!
    Regards,
    Benny

  • Yosemite 10.10.2 server app. FTP help. I have a program running in my local server enviroment that wants to FTP to my mac folder. It asks for the server , name, password, port and path. what are they?

    So I have set up a localhost area in my Mac. I have the new server.app and I am running yosemite 10.10.2 .
    I have a program running in my local server enviroment that wants to FTP to my mac .
    It asks for the server , name, password, port and path. what are they?
    I am pretty certain that the Serveris "localhost",
    Name is my macs name (like my-mac-min)
    password is "my login password"
    and they suggest port 21.
    But what is the file path, lets just say my site is set up http://localhost/siteftp and is actually at my Users/Sites/siteftp folder.
    Why cant this program connect to the mac.
    Is it because they are both operating in the same localhost enviroment,
    could it be my folder permissions are not correct on siteftp folder?
    Help please !

    I tried turning the computer off and then back on. The alerts don't show the notice to update as resolved. Hopefully this is not a problem or an indicator or another problem. Should I ignore or reload 10.10.1 from the app store to trigger a resolved check in a green circle?
    Interesting that I had to buy server software after my free Yosemite download. I would have hoped that the two pieces of software would have gone together without any complication. It is not positive to end up buying a problem. Ah well, time to move on.

  • Replacing Host Name and Port number throughout Environments

    So I am currently working on a project that have several classes using simple JDBC code. I'm switching all of it to use JNDI instead of what is currently being used. I'm using Weblogic and the plan is to have the code run in a cluster.
    Here is a code Snippet of some of the code.
    Context ctx = null;
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL,
    "t3://hostname:port");
    My problem lies in the the "t3://hostname:port" String. I don't want to hardcode that since I know its bad code practice but my question is what is the best way to replace that with the Host Name and Port number as I move environments. Should I have a Class with a Static Variable and just reference that through the other classes or should I put it in some Property file and read the value from there? Any insight into this would be greatly appreciated.
    Thank you.

    would it be something like this?
    Properties properties = new Properties();
              try {
         properties.load(new FileInputStream("src/jndi.properties"));
         String url = properties.getProperty("url");
         System.out.println(url );
         } catch (IOException e) {
         }

  • Customizing server.name and server.port in services-config.xml

    Hi
    How can i find out what does BlazeDs use for server.name and server.port in
    url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf"
    can i customize those values?
    thank you

    Mete
    Thank you for your reply
    So context.root is resolved at compile time and server & port at runtime
    Do you have an example or a link that shows / explain how to create custom tokens replaced by JVM options?
    I have an issue where if i install my app on http://www.mydomain.com/mycontext/, it loads but will display the following message when making server call using Safari
    FAULT: faultCode:Client.Error.MessageSend faultString:Send failed faultDetail:Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: http://www.mydomain.com/context/messagebroker/amf
    Notte that it works on IE7 when accessing http://www.mydomain.com/mycontext/
    and that it works great with all browsers on http://localhost:8080/mycontextroot
    Would you know what is the best way to debug this issue?
    Thank you
    matt

Maybe you are looking for

  • Problem with firebird on visual studio

    hello im importing firebird on visual studio in the references and im making the import line code: imports firebirdsql.data.firebirdclient but when i compile appears one error that makes that line code with a green undelined someone knows what its ha

  • BEX Help

    Hi, Please help me in BEX. I have HR payrol report which will display actual time worked each day. Now i want to distribute my monthly salary to each day according to time. So what I need is i want to sum up each day time.. and then devide by sallary

  • Problems uploading via FTP-host

    I have very often (most of the time actually) problems uploading a website via the FTP-host. Changes I made are often not uploaded etc. Is this a common problem or am I the only one?

  • " " and " " symbols around from email addresses

    Hi Guys, In my Mail inbox (for my gmail account) in the From column certain email addresses tend to have around them and have them twice i.e. <[email protected]><[email protected]> What is the reason for this? I like my inbox to look nice and clean a

  • No physical reads, plenty of consistant gets

    Hi All, Oracle v11.2 on Linux. Please have a look at the query I ran and the output. The SQL_ID is of a SELECT command. What does this situation represents, where there are zero physical reads and plenty of consistant gets ? For consistant gets, we d