OSB proxy hostname and port
Hi All,
I have a VIP(load balancer) in front of the machine where the OSB is installed.(The environment is not presently clustered but we have a VIP so we can extend it in future)
There are few proxy's which the end consumers will be invoking .When we export the wsdl of the proxy , it has the actual IP in the address tag but we want the VIP address(we dont want to change the wsdl manually and pass it to consumer).
Is there any setting that needs to be done on the OSB/weblogic side for the VIP?
Thank You.
The file is available but i dont see <cluster> in the file. I have only one node and is not a cluster installation. Is that the reason?
Yes, cluster node (<cluster>) will be there only when you have a cluster in your domain. Metalink note 973743.1 is for clustered installations. For customizing host name in WSDL, refer metalink note 1073694.1
Regards,
Anuj
Similar Messages
-
Getting Proxy name and proxy port using Hostname and port
Hi Colleagues,
I my Application i am consuming webserice and i am setting proxy host and proxy port using the below code :
httpItf = HTTPControlFactory.getInterface(port);
httpItf.setHTTPProxy("proxy", 8080);
But this "Proxy" is getting changed if the application is deployed to another network. (like some other landscape)
So Could it be possible to get the proxy dynamically depending on the Hostname and port.
such that it should automatically pick up the "ProxyHost" and "Proxy port".........depending upon the system it runs .
Please help me out here
Thanks & Regards
Swetha
Edited by: Swetha Nellore on Sep 17, 2009 7:52 AMHi Colleagues,
i have solved this by maintaining a proxy settings properties file.....where proxy settings can be changed using system administrator
Thanks & Regards
Swetha -
How to get server hostname and port from web form
Hi All,
I need to find out server hostname and port number
from 9i form.
That is if the form was called via:
http://myserver.com:1234/f90servlet?form=test,
i would like to call some
GET_XXX_PROPERTY(SERVER_HOSTNAME) that would return
myserver.com
and
GET_XXX_PROPERTY(SERVER_PORT) that would return
1234
or alternatively
GET_XXX_PROPERTY(SERVER_URL) that would return
complete URL, so that i can parse it myself.
Does anything like this exist? If not,would be
possible to get that information from any Java
function via java importer?
BR,
Robert
BR,
RobertRobert,
I'd add the code as a Java Bean in Forms and get this information from the Forms request URL.
Add the following bean to a Canvas and make it a size of 1x1 pixel so taht it appears hidden
import java.applet.Applet;
import java.net.URL;
import oracle.forms.handler.IHandler;
import oracle.forms.properties.ID;
import oracle.forms.ui.VBean;
public class FrmRequestInfo extends VBean
public static final ID pGetPort = ID.registerProperty("GET_PORT");
public static final ID pGetHost = ID.registerProperty("GET_HOST");
public static final ID pGetProtocol = ID.registerProperty("GET_PROTOCOL");
private String _host;
private String _port;
private String _protocol;
private URL FormsURL;
Applet m_applet;
/*Forms settings*/
IHandler m_handler;
public FrmRequestInfo()
public final void init (IHandler handler)
super.init(handler);
m_handler = handler;
// get the forms applet handler
m_applet = m_handler.getApplet();
// initialize cookie domain to the same domain that runs Forms
// Services
FormsURL = m_applet.getDocumentBase();
_host = FormsURL.getHost();
_port = new Integer(FormsURL.getPort()).toString();
_protocol = FormsURL.getProtocol();
public Object getProperty(ID p0)
if (p0 == pGetHost)
return _host;
else if (p0 == pGetPort)
return _port;
else if (p0 == pGetProtocol)
return _protocol;
else
return super.getProperty(p0);
To get the port number you call
VarcharVariable_Port := get_custom_property('beanblock.beanname',1,'GET_PORT');
for the hostname
VarcharVariable_Host:= get_custom_property('beanblock.beanname',1,'GET_HOST');
Frank
Ps.: just wrote the bean on the fly, without testing - but I am positive that it works as similar functionality works for me in other beans. -
hello colleagues,
In the phase Connect Diagnostics dont show the Agent available in SLD, but when go to SLD i have the agents,
Error,
Connect Diagnostics Agent
The table does not contain any data
Agent availables in all SLD
SOAP:1.007 SRT: Unupported xstream found: ("HTTP Code 401 : Unauthorized")
Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING
ThanksOK, then pls follow below steps;
- Go to step 'Create Users' in solman_setup System Preparation scenario and make sure the user SM_INTERN_WS has a green status. Use the 'Test Login' button to make sure the user is not locked and has correct credentials maintained in solman_setup
- Immediately after checking the user status, navigate to Configure Connectivity->Enable Web Services and execute again the 'Create Logical Ports' automatic activity, in order to propagate the correct credentials to the Logical Port definitions.
- If the above operation is not successful, repeat the two steps above, providing a different user Id in 'Create Users' step, eg SM_INTERN_W1. This will prevent situations where the user gets locked by Logical Ports using an obsolete password.
Let me know the results.
Regards,
Vivek -
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? -
OSB proxy service and BPEL depedency is not established in BTM
Hi All,
I am using BTM 12.1.0.3 and I have deployed a service where an OSB proxy service is taking employee information and callling a BPEL process which writes data in some database table. The OSB proxy service and BPEL got discovered in BTM but the dependecy between OSB Proxy service and BPEL process is not established in BTM. I have used soa-dorect protocol to call the BPEL from OSB. I have also tried with using http protocol in OSB for calling a BPEL but nothing worked and the depedency is not established in BTM.
Now I want to create an end-toend transaction i.e. starting from OSB proxy to the database. For this I selected OSB proxy operation and BPEL operation but correlation is not established. How can I correlate these operation? And how can I create an end-to-end transaction for this type of service where OSB calls a BPEL?
Please guide!!
Thanks in advance!!you can manually correlate any number of services to create an end-2-end transaction. Please see http://docs.oracle.com/cd/E24628_01/doc.121/e37014/transactions004.htm#BABDBDFI on how to manually correlate services in BTM.
-
The manual proxy settings keep defaulting to the wrong HTTP and port. This has caused me many hours of anguish. It works fine when I correct the settings but after you log off and then come back it has to be changed again. Is there anyway to fix it? Or can I go back to the previous version because 4 definitely has some issues (other than this one). I could live with it if I had to but I'm not the only one who uses this computer and they don't know how to make the changes. Thanks and I would definitely appreciate an answer.
See:
* http://kb.mozillazine.org/Preferences_not_saved
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
* https://support.mozilla.com/kb/Safe+Mode
* https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes -
How to read the J2EE server hostname and port programmatically
Is there any API to read the J2EE server host and port programmatically? I am looking for the hostname where the components are deployed so that I can append the wsdl path to the server and create an URL.
Hi Larry,
there is a standard J2EE Servlet API for your case.
In a servlet or jsp file you can get the host and prot from the request object.
For example in a JSP file :
request.getScheme();
request.getServerName()
request.getServerPort()
You can check the whole API here :
http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/ServletRequest.html#getServerName()
Bets Regards
Bojidar -
Retrieve the Hostname and port of the server
Hi,
How can i from my webdynpro code get the hostname and the port of the server in which the program is running?
Thanks in Advance!
JoHi Jo,
I think so u can retrive using this URL:
http://<host name>:<port number>/webdynpro/dispatcher/local/<Web Dynpro project>/<name of Web Dynpro application>.
check on to this link for more details:
http://help.sap.com/saphelp_erp2005/helpdata/en/7d/09044132bcef23e10000000a155106/frameset.htm
Hope tihs helps u,
Regards,
Nagarajan. -
What is the difference between SID,HOSTNAME and port number?
I want to know difference between SID,HOSTNAME and portnumber with purposes. could any one explain me with examples,please?
Thanks in advance.Raghavendra Rao J S V wrote:
I want to know difference between SID,HOSTNAME and portnumber with purposes. could any one explain me with examples,please?http://bit.ly/PkIJfi
http://bit.ly/PkIMri
http://bit.ly/PkINvD
Thanks,
Hussein -
OSB: Proxy Service and Dispatch Policy
Hi all,
I'm trying to use OSB (10.3) proxy service with dispatch policy set to WebLogic (10.3) work manager to limit maximum number of threads allocated for request to this proxy service.
It seems to me that whole dispatch policy setting is ignored in OSB. The situation is like this: I have simple Axis based web service with wait method that just waits for few seconds (based on request parameter). I use this service for testing (hm, so far just for trying to understand) OSB dispatch policy function.
Using soapUI I created a simple load test which uses 10 threads to call wait(10) - it means "wait for 10 seconds". Time limit for the whole load test is set to 20 seconds. It is clear that the total execution count is 2 x 10 = 20. So far, so good.
Then I created simple proxy service in OSB that just routes request to business service representing my Axis service with wait method. I set a dispatch policy for the proxy service to WorkManager-2threads (see below) and I expected that running the same load test with endpoint set to OSB would result in significant lower total execution count. I expected that because WebLogic should allocate 2 threads at most for all requests to this proxy service. However, that's not the case as the result is the same as in the first (Axis only) test. Just as there was no dispatch policy settings at all ...
Where is the problem?
This is the relevant part of my WebLogic configuration regarding work manager:
<max-threads-constraint>
<name>MaxThreadsConstraint-2</name>
<target>AdminServer</target>
<count>2</count>
<connection-pool-name></connection-pool-name>
</max-threads-constraint>
<work-manager>
<name>WorkManager-2threads</name>
<target>AdminServer</target>
<max-threads-constraint>MaxThreadsConstraint-2</max-threads-constraint>
<capacity xsi:nil="true"></capacity>
<ignore-stuck-threads>false</ignore-stuck-threads>
</work-manager>It's same problem to me. I do pressure test by loadrunner,I deployed two separate proxy service,under same concurrent user,I get same TPS from the two proxy service.but when I add low priority concurrent user,low priority TPS up.
I set the Route option as you say,but weblogic hanged immediately,and can't be accessed by the console. -
Detect proxy settings and ports
Hello forum, I have a project to find out which servers or applications/services are going through ISA 2006 proxy. The servers comprise of WIndows 2003 and 2008 R2 boxes. I tried proxcfg.exe (pre 2008) and netsh winhttp show proxy (post 2008) but I get following
results. I know that these boxes do use proxy servers because they show up when I query ISA logs.
C:\proxycfg
Microsoft (R) WinHTTP Default Proxy Configuration Tool
Copyright (c) Microsoft Corporation. All rights reserved.
Current WinHTTP proxy settings under:
HKEY_LOCAL_MACHINE\
SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\
WinHttpSettings :
Direct access (no proxy server).
C:\netsh winhttp show proxy
Current WinHTTP proxy settings:
Direct access (no proxy server).
I have also looked at registry keys HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings but found nothing of relevance. Checked IE settings and found no proxy configuration. How can I check which application or service is using proxy and on which port? Thanks again.Thanks Quan, a little background, ISA version is 2004 and the traffic logging is done on a different box with SQL 2005. Which means that all server, service/application or user generated traffic first hits ISA boxes and data is logged in SQL server. Now, I
ran a query on SQL boxes to see if there are servers or applications still accessing old ISA servers and found that many still are using that route. The query I ran is
select clientusername,Max(logtime)
from webproxylog
where logtime > '2014-03-04'
Group by Clientusername
Outcome is a list of servers and users accessing old ISA servers, please see below
clientusername
TimeStamp
Domain\USER1
12/03/2014 9:42
Domain\USER2
10/03/2014 8:29
Domain\SERVER1$
12/03/2014 6:33
Domain\SERVER2$
7/03/2014 23:05
Domain\SERVER3$
7/03/2014 23:09
Domain\SERVER4$
7/03/2014 22:18
Domain\SERVER10$
12/03/2014 0:15
Domain\SERVER12$
6/03/2014 13:00
Domain\SERVER21$
9/03/2014 15:05
Domain\USER46$
6/03/2014 7:17
Domain\SERVER22$
5/03/2014 17:25
Domain\SERVER73$
12/03/2014 9:11
Domain\SERVER14$
5/03/2014 17:31
So I logged on to few servers to check proxy settings. The server list comprise of Windows 2003 and 2008 R2 boxes. On a handful of servers I found proxy, under IE settings but on others I didn't find any proxy settings (under IE). Then I tried proxcfg.exe (pre
2008) and netsh winhttp show proxy (post 2008) but I got following results, please see below.
C:\proxycfg
Microsoft (R) WinHTTP Default Proxy Configuration Tool
Copyright (c) Microsoft Corporation. All rights reserved.
Current WinHTTP proxy settings under:
HKEY_LOCAL_MACHINE\
SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\
WinHttpSettings :
Direct access (no proxy server).
C:\netsh winhttp show proxy
Current WinHTTP proxy settings:
Direct access (no proxy server).
I have also looked at registry keys HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings but found nothing of relevance. Checked IE settings and found no proxy configuration. Then why are my servers using old proxy servers? -
I don't know if this will transmit but I am suddenly losing contact with Apple discussions and get a white screen with a reference to Remote proxy servers / port80 / Apple discussions.
Would anyone know what is going on and if the problem is my end or Apple's.
Much obliged for some info.
Regards to all, 71Klaus1 wrote:
The glass is half full: THEY ARE WORKING ON IT!
I'd be happy just having a glass!
Actually you're right they are working on it but if we talked about the fix here we'd have to kill everyone below level 6. -
How to determine SMTP hostname, and port?
I need create e-mail configure option in my application. And I have to determine what settings of e-mail is installed.
Regards Kostya!Hi Kostyal,
check out the interesting posting done by Jornica at http://jornica.blogspot.com/2007/01/apex-system-preferences.html
Patrick
Check out my APEX-blog: http://inside-apex.blogspot.com -
What is the proxy setup and the port
What is the proxy setup and the port
hadi123 wrote:
What is the proxy setup and the port
Could you give a little more detail on your question please.
If you looking to setup a proxy server and port so your printer can connect the printer to HP ePrint, you will often find this setting in the embedded webserver of a printer. Open up a web browser, and type http://<address of your printer> where the address of your printer is an IP address or hostname (such as http://192.168.2.2). From the EWS, there will be a configuration section for HP ePrint, and you should find options for setting the proxy host and port in this area.
I work for HP.
Maybe you are looking for
-
Jabber Client through Collab Edge dials MCU - no Video
Hi There, I think this is a licensing issue, but would need clarification as to what is required. We have Jabber Clients externally connecting through Collab Edge, Jabber to Jabber video works great, but when conferencing the client gets only Audio.
-
Using Column Name in a Second Table
I have two tables in a sheet, Data and Report. Data contains a column named Hours. How can I write a sum function in the Report table that sums the values in the Hours column in Data? I'd like to use a named reference instead of a row/column letter/n
-
Can I buy the New iPad from an Apple Online UK Store and ship it to Malta via DHL or UPS?
.
-
Firefox 26 crashes on exit in Windows Vista Ultimate 32-bit.
It doesn't matter if I click the Red X, go under File -> Exit or type Alt + F4 to exit out of Firefox under Windows Vista Ultimate 32-bit. It almost always produces an error message that Firefox has stopped working. I can't find how to post a JPEG Sc
-
Need help/advice before I power up my new iMac
Hi friends .... I'm sorry to bother here- but I just purchased a new 21.5" base iMac and need advice before my first start up ..... I'm currently using my 2006 iMac with 10.4.11 .... I'd love to be able to transfer some basic files, Safari bookmarks,