Find portal database host and port programatically

HI ,
We have EP 7.0 sp15 with oracle database,
Is there a way to find the host and port of  oracle database

Hello namit,
I'm the same problem, do you solved it ?
Tks,
best regards.

Similar Messages

  • Find portal oracle database host and port

    HI ,
    We have EP 7.0 sp15 with oracle database,
    Is there a way to find the host and port of oracle database programatically

    Hello namit,
    I'm the same problem, do you solved it ?
    Tks,
    best regards.

  • Find host and port

    My J2EE application has an EJB module and web module. I need to call the servlet in the web module from EJB module, via HTTPUrl connection. To make the web application portable and not-hardcoded, is there any way for EJB module to find out programatically the host and port number of where my J2EE application is deployed?

    Hi,
    I don't know weather it helps you or if you need the information now:
    I have a "half" solution for it: With the instance-number you can calculate all standard(!)-ports. I saw this calculating-ports-stuff in a word-doc.
    //HTTP-Port = 50000InstanceNumber*1000
    String InstanceNumber = java.lang.System.getProperty("SAPSYSTEM");
    int temp = 50000 + Integer.valueOf(InstanceNumber).intValue() * 100;
    String port = String.valueOf(temp);
    For the IP...maybe you can use "localhost"? But my problem with this solution is: I don't know weather the standard ports can be changed manually. When yes: this solution can have a problem...
    regards,
    Remo

  • Dynamic Host and Port for Web Proxy

    hi,
    When I create a web proxy in JDev I supply the hostname and the port for the web service. The code is then compiled and then deployed. However I want the host and port to be dynamic (kept in a varaible) so when I move my deployment from Development to Test server I just need to change a value in a database or text file. I don't want to re-compile and deploy the code when I move servers. Is there any way to do this??
    Thanks
    Stephen

    Hi,
    not so in the WSDL file that is created. If from the client side access, then WS poxy classes allow you to do this
    Frank

  • Host and Port

    Hi
    WHere can I get the Host and Port no of the PI Server
    Thanks
    PR

    Hi,
    In addition to above, Just FYI that in PI 7.1 the Http and J2ee port are same..
    The discussion about same can be found [here|Re: Architecture of PI 7.1] and [here|Re: ABAP & Java ports in PI 7.1?]
    and to check all the info @ single place:
    Login to XI ABAP stack -> Run tcode SXMB_IFR -> Choose Option Administration -> Properties Administration ->All properties
    Sachin
    Edited by: Sachin Dhingra on Apr 2, 2009 10:01 AM

  • BPM Worklist Problem After Setting Frontend Host and Port

    Hi all,
    I was following the EDG for SOA 11.1.1.5 and was encountering a problem with the BPM Worklist after setting the Frontend Host and Port. We have a topology that includes a load balancer that terminates SSL, two OHS instances, and two SOA instances on separate VMs. When BPM Worklist was loading, it was calling webservices internally through the load balancer, but WebLogic was expecting them as http://. It was not able to resolve the HTTPS port that was being sent from the load balancer through the 80 to 443 redirect.
    What the current EDG does not tell you, is that you have to also turn on "Enable Weblogic Plug-In" for WebLogic to use the OHS plug-in. I did it at the domain level, as all traffic will go through the load balancer. This essentially tells WebLogic that all URLs are https://
    Here is an exerpt from the SOA.out log file:
    <Sep 8, 2011 9:32:06 PM PDT> <Error> <oracle.soa.services.workflow.worklist> <BEA-000000> <<.> Service error.
    Internal Error; Service error occurs in IdentityService in method lookupUser.
    Refer to the log file that is configured for oracle.soa.services.identity for more details on this error and contact Oracle Support Services
    ORABPEL-10585
    Service error.
    Internal Error; Service error occurs in IdentityService in method lookupUser.
    Refer to the log file that is configured for oracle.soa.services.identity for more details on this error and contact Oracle Support Services
    Caused By: javax.xml.soap.SOAPException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; charset=UTF-8
    What it is also missing, is that you should also set the SOA Infrastructure ServerURL mbean for the load balancer, to match the frontend host and port. Do this through Fusion Middleware Contol. Otherwise, you could encounter URL mismatches.
    I hope this helps someone else.
    I've asked Oracle to add this to the EDG for SOA. It's in the IDM guide, but not in any other EDGs.

    Thanks Josh. It helped me infact in 11.1.1.4 Enable Weblogic Plug-In is not required. But 11.1.1.5 I thing it is mandatory. Oracle should have a clear documentaion.

  • Error establishing socket to host and port: EPM11:1433

    Hi Planning Experts,
    I am trying to configure EPM 11.1.2.1 (Planning)
    RDBMS: SQL server 2005 (Express Edition)
    OS: 2008 R2 x64
    i am getting error after providing RDBMS credentials "error establishing socket to host and port: EPM11:1433 Reson: connection refused: connect"
    Please help....
    Regards
    Kumar

    You may need to enable tcp/ip
    SQL Server Express listens on local named pipes and shared memory. With a default installation, you cannot remotely connect to SQL Server Express. You will need to enable TCP/IP and check if the firewall is enabled.
    To enable TCP/IP:
    From the Start menu, choose All Programs, point to Microsoft SQL Server 2005, point to Configuration Tools, and then click SQL Server Configuration Manager.
    Optionally, you can open Computer Manager by right-clicking My Computer and choosing Manage. In Computer Management, expand Services and Applications, expand SQL Server Configuration Manager.
    Expand SQL Server 2005 Network Configuration, and then click Protocols for InstanceName.
    In the list of protocols, right-click the protocol you want to enable, and then click Enable.
    The icon for the protocol will change to show that the protocol is enabled.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Smtp and pop3 host and port name of gmail server?????

    can any body give me smtp and pop3 host and port name of gmail server?????to send a mail......

    Just do a new initial context and lookup the datasource, in case you need other info like host name and port you can use MBEans like:
              InitialContext ctx = null;
                   // fetch managed server name by accessing the
                   // RuntimeServerMBean using the
                   // MBeanServer interface
                   ctx = new InitialContext();
                   MBeanServer server = (MBeanServer) ctx
                             .lookup("java:comp/env/jmx/runtime");
                   ObjectName service = new ObjectName(
                             "com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean");
                   managedServerName = (String) server.getAttribute(service,
                             "ServerName");

  • HTTP Proxy: My grogram runs even I put a wrong proxy host and port

    I'm new to network programming, so I just use System.setProperty() for easy. But I don't know why this piece of code runs with whatever proxy I set:
    (I download a file and display in a in JTextArea, this is the ActionListener for 'Download' button)
         private class GetFileListener implements ActionListener
              public void actionPerformed(ActionEvent event)
                   if (completeRadioButton.isSelected())
                       try
                            viewFileTextArea.setText("");
                        System.setProperty("http.proxyHost", "http://123.123.123.123");
                        System.setProperty("http.proxyPort", "123");
                        System.setProperty("proxySet", "true");
                           URL url = new URL(completeURLTextField.getText());
                           BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
                           String str;
                           while ((str = in.readLine()) != null)
                               viewFileTextArea.append(str + "\n");
                           in.close();
                       catch (MalformedURLException e)
                            viewFileTextArea.setText("URL not found!");
                       catch (IOException e)
         }Please help! Thank you very much!

    This is the new version:
         private class GetFileListener implements ActionListener
              public void actionPerformed(ActionEvent event)
                   if (completeRadioButton.isSelected())
                       try
                            viewFileTextArea.setText("");
                        SocketAddress addr = new InetSocketAddress("123.123.123.123", 123);
                        Proxy proxy = new Proxy(Proxy.Type.HTTP, addr);
                        URL url = new URL(completeURLTextField.getText());
                        URLConnection conn = url.openConnection(proxy);
                           BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
                           String str;
                           while ((str = in.readLine()) != null)
                               viewFileTextArea.append(str + "\n");
                           in.close();
                       catch (MalformedURLException e)
                            viewFileTextArea.setText("URL not found!");
                       catch (IOException e)
         }but it still runs regardless of what proxy host and port I set in InetSocketAddress. Did I wrongly use Proxy class in the code above?

  • Determining Message Server Host and Port information

    Hi,
    I am working on the NWDS creating a Java WD application and I was told which Netweaver system I should work on but I was not told the Message Server Host  information neither the Port information. I ran transaction SM51 (right click->details)in the Netweaver system but the information it is not working. Even though I can telnet this server port if I go to the J2EE Engine window within the NWDS I do not see the green light. I just see "N/A". I also tried to deploy my application but I keep getting this message: "Cannot determine sdm host (is empty). Please configure your engine/sdm correctly".
    Please advice,
    Diego.

    Hi Diego,
    in order to see Message Server Host information and Port information go to SAP J2EE Engine start page: e.g. http://system-name:57100/index.html (use administrator pws).
    Then click on System Information, here on the top you can read the Message Server Host and Port.
    Hope this help you.
    Bye,
    Vito

  • Change/Configure Host and Port for the Web Service Proxy with Server

    Hi,
    Is there a way to configure Host and Port in generated proxy for Web service depending upon server. (ADF 11g)
    Scenario:
    We are consuming Credit Card web service from a service provider and have different Host and Port details for development, QA and Prod.
    So we created proxy classes using wsdl for development and things work fine, but when deploying code to QA or Prod we need to change the Host
    and Port details.
    Is their a way we could user variable's for Host and Port which looks to some configuration file to evaluate their values
    based on server.
    I am a bit new to this web service .. will appreciate if someone could provide an example.
    Thanks.

    Are you using Web Service Proxy or Web Service Data Control?
    If you are using Web Service Proxy. Right click on your Proxy --> Properties --> Port Endpoints. Here you can change the IP & Port details for each port.
    Venkat

  • What does virtual host and port mean in a system in ESB console

    Hi !
    When you click on a system in ESB console you can see and change 'cluster name' , 'Virtual host' and 'Port' .
    What does this mean ?
    As default the port is 8888 even though the installation uses port 80.
    If I change the port, I see no difference.
    Could someone please explain ?

    It is used to generate the endpoint urls in the wsdl's for the services you have deployed. It needs to be set to the esb server and port number where the services are installed. So if your esb installation uses port 80 you need to change 8888 to 80. Try the wsdl and look at the url of the endpoint.
    Kind Regards,
    Andre

  • Access "Host"  and port information

    Hi,
    Is there a way to access host name and port number (http://<servername>:<port>) programmatically.
    Regards,
    Naveen

    Hi Naveen,
    The portal sets a cookie on the user's desktop that includes a number that corresponds to the physical portal server that you're connected to and the portal server node. The name of this cookie is saplb_*. One way to examine the value of this cookie is to log into the portal and then type the following command in your address line:
    javascript:alert(document.cookie);
    This will cause a box to pop up containing a list of your cookies. The value of your saplb_* cookie will look something like this:
    saplb_*=(J2EE1233000)1233050;
    The number that you want is after the end parenthesis. In other words, you want 1233050. Now, navigate to:
    Java Developer -> Portal Archive Deployer & Remover
    Look in the 'Cluster Administration' area. This section contains Server ID, Server Name, Server Type, and Server IP. Look for your 1233050 number in the Server ID area, and then find that line's corresponding IP Address. You then do an NSLookup with that IP Address and there you will have your hostname.
    From what I understand, all of the data in that Cluster Administration page is static. In other words, it will not change. I have made a jsp to grab that cookie's value and then translate that into the hostname. I've hardcoded the data from the Cluster Administration page into my jsp. Also, this data did not change after we upgraded from EP6 to EP7.
    I hope this helps!
    -StephenS

  • SAPInst Installation GUI - host and port

    Hi all,
    I have right installed NWDS but now appears a window inquiring for a host and a port. I think the information about the WAS is filled in Preferences/J2EE engine, but not before.
    Any ideas about what's it inquiring me?

    I don't know to install the NWDS. I have a CD with the folders: IDE, IM_WINDOWS_I386, J2EE_OSINDEP y JAVA_EXPORT.
    The only exe file is sapinst.exe in the folder IM_WINDOWS_I386.
    If a execute this file, I get the error :
    starting gui server process:
      sapinstport: 21200
      guiport    : 21212
      guistart   : true
      command    : ".. guiport=21212 sapinsthost=localhost sapinstport=21200 guistart=true"
    guiengine: call to bind() for socket 21200 1804 failed . No error
    103 guiengine.connection.failed 21200, 943
    Exit status of child: 1
    What file do I have to execute to install NWDS?
    Regards,

  • WebEx Named Host and Port Options

    Hello,
    Whats he diffrence between WEBEX NAMED HOST and WEBEX PORT OPTION. And do they requrie any hardware to function with?
    a documetation with explanations will help more.
    Regards,
    Peter.

    Named Host is where you specify which users can host a meeting. Those people are the only ones who can schedule/create meetings but they can transfer the host role to another person after the meeting has started. Ports on the other hand only limit the total meeting participants across all hosts (the host also consumes a port). You can create as many hosts as you need but total attendance at any one time cannot exceed your ports. There are also per-minute options and active host options where only an unnamed percentage of the organization is assumed to be a host and you true-up if real usage exceeds that percentage.
    It's probably best to speak with a Cisco or WebEx AM over the options. Different usage styles lend themselves to different licensing options. Here's a data sheet though:
    http://www.cisco.com/en/US/prod/collateral/ps10352/ps10362/ps10409/cisco_webex_meeting_center_on_the_gpl_and_wpl.pdf
    Please remember to rate helpful responses and identify helpful or correct answers.

Maybe you are looking for

  • Loading does not complete into ODS

    We are trying to load data using datastage tool. Data goes into PSA but never arrives into NEW TABLE. Job hangs on with QM status yellow. We were able to load the data into this ODS earlier successfully. But for now, it does load. Can anybody point m

  • Account determination config for VA88

    Hi One of my user is complaining that VA88 is porting to wrong GL Account. Can some one tell me where in config I can chnage the GL account attached to VA88 ? This is very urgent for me. Also can some one send me the link of any doc for t-code VA88 ?

  • AEBS 802.11n, TC and APXn with 7.3.1 is very flaky indeed - cant connect -

    HI Guys I think many of you on these forums have posted because you are having joyless experiences with the new APX 802.11n, the AEBSn and the TC not able to be managed via the AIRPORT UTILITY.app v5.3.2 with firmware 7.3.1 in the former devices. Aft

  • Worried About My Mini

    "After reading this: Memory available to Mac OS X may vary depending on graphics needs. Minimum graphics memory usage is 80MB, resulting in 432MB of system memory available." I'm getting worried about my upcomming mini. I'm planning to purchase a mac

  • Macbook (Late 2006) w/ 10.6.7 crashing when playing video

    Lately, my computer has been crashing while I am playing video either through an external display or with just my computer.  A grey screen with multiple languages flashes across the screen and tells me to force shut down.  Also, the the video freezes