Oracle service bus Business service - Cache Flush/clear
Hi Everyone,
We are currently using oracle service bus as an integration platform. We are conducting a disaster recovery exercise for on of the applications (A) integrated to OSB, but the OSB is always connecting to the primary node of the application A though the DNS at application A is pointing to the secondary node.
We believe this is happening because OSB is caching the IP address of the application A (though it is using DNS) and keeps connecting to the same server even if the primary traffic is diverted to the secondary node.
Can someone please let us know if there is a way we can clear the cache of the business service (used to connect to the application A) without restarting the servers?
Thank you.
Regards,
Ram
Yes, by default the JVM will cache the name resolution. You can change this behaviour by adding the TTL in the managed server startup parameters as follows:
-Dnetworkaddress.cache.ttl=120 -Dnetworkaddress.cache.negative.ttl=10
The above parameters mean that the JVM will cache the name resolution for 2 minutes in case of success and for 10 seconds in case of a failure.
For testing purposes, you can reduce the ttl from 120 seconds, but when in production make sure that this value is not too low.
If you follow the above, you don't have to restart anything and you don't have to write any script. The IP address is going to be updated as long as the DNS server is being updated correctly (you can easily test by pinging the host name)
Regards,
Fabio Douek
Similar Messages
-
Oracle Service Bus business service - How to disable XML content check.
Hi All,
Dear Experts I have the necessity to disable the check on the XML content when message is forwarded to external system by on Oracle Service Bus Business Service to avoid that the XML content as string that I inserted in message is wrapped with the CDATA[[.
Thanks a lot,
MikeThere is no explicit option to disable the check on the XML content.
But the you can use Messaging Service of type Text request which will consider the data as string and so there will be no check.
If you want to use WSDL/AnyXML/AnySOAP proxies, the XML check is always carried when the $body varaible is not checked/modified when content streaming is enabled while creating the proxy. I'm quite sure HTTP transport supports content streaming and the stream from the input is directly given to BS with out realizing the XML. Only short coming is it should be a pure pass through and no data enrichment and any action in pipeline that requires realizing the XML from the stream.
Let me know if this helps.
Thanks
Manoj -
Problem with ![CDATA inserted from Oracle Service Bus business service
Hi All,
Dear Experts I have inserted an XML as string in another XML message. The problem is that when the XML is passed to a business service the business service sends the string surrounded with the CDATA (i.e.) :
<h>
<e><![CDATA[<a><b>X</b><b>Y</b><b>Z</b><b>V</b></a>]]></e>
</h>
instead I shold need the the business service does not change the original format (i.e.) :
<h>
<e><a><b>X</b><b>Y</b><b>Z</b><b>V</b></a></e>
</h>
Thanks a lot,
MikeHi Mike,
I probably answered this question in your other thread, but here it goes again...
If you want to insert the XML as a string into another XML, you should use the fn-bea:serialize() XQuery function.
Please refer to the following documentation:
http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15867/xquery.htm#i1106823
or in PDF if the link above is not working:
http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15867.pdf
Regards,
Rodrigo -
Oracle Service Bus - Business Service - SSL Configuration
Hi,
I'm trying to configure a Business Service to use Client Certificate Authentication (to communicate via HTTPS) but I'm getting the following error when I try to run the BS:
"The invocation resulted in an error: No SSL certificates present.".
I have imported the certificate using the following command:
D:\oracle\bea\osb103\jrockit_160_05\jre\bin\keytool -import -noprompt -trust cacerts -alias CRM -file D:\temp\certreq_12_01_2010.cer -keystore cacerts -sto
repass Password
and the import succeeds with "Certificate was added to keystore".
I have been following the "Orace Service Bus Security Guide -> Configuring Outbound HTTPS Security: Main Steps".
Additionally, when I try to access the weblogic consule using https://localhost:7022/console/ I get the following error:
SSL peer was unable to negotiate an acceptable set of security parameters.
(Error code: ssl_error_handshake_failure_alert)
Could you please provide me with some guidance on the matter.
Kind Regards,
AdelI think your best bet would be to ask this question on the OSB forums.
https://community.oracle.com/community/developer/english/fusion_middleware/soa_%26_process_management/soa_suite_3
Thanks,
Greg -
Oracle Service Bus - Business Service Endpoint URI - Change at runtime
Hi,
Is there a way of changing/passing the endpoint URI to a Business Service at runtime? The reason for my question is that depending on the content of the message in a Proxy Service that calls this Business Service I may need to change the URI.
Kind Regards,
AdelAdel,
Is there some use-case limitation that would stop us from using Dynamic routing ?
http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1100135.
DynamicRouting /Dynamic publish can be considered depending on the use-case.
Other option is to use Routing options: Modify any or all of the following properties in the outbound request: URI, Quality of Service, Mode, Retry parameters, Message Priority.
Manoj -
Oracle Service Bus - Business Service Endpoint URI - Dynamic
Hi,
I'm trying to find a way to avoid hard-coding the endpoint URI in a business service. The reason I need to achieve this is because for the different environments (development, testing, production, etc...) the URI will be different.
I have spent the past 2 days searching the oracle forum and documentation but have come up with nothing. Is there a way to achieve this?
Preferably, is there a way to store the endpoint URIs in a configuration/properties file which can be changed when needed?
Any help is much appreciated!
Best Regards,
Adel HaiderHi Adel,
Customization file will be the best solution for your problem. You may generate a environment specific customization file. To know more, please refer -
http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/consolehelp/customization.html#wp1129087
Simplest solution would be to generate a customization file and replace the existing URI's with the required one's using replace all option of textpad. Run this customization file at target environment, after importing the OSB configuration.
Regards,
Anuj -
Oracle Service Bus -- Business service access to a HTTPS service
Hello,
One of the services OSB has to access runs HTTPS (SSL no authentication).
I can access the service test page from the browser as https://server:port/myservice
From OSB I need to configure the Business Service to access this service.
Which steps should I perform on the WL server and on OSB? (create a service provider? a keystore?)
Any experience welcome,
Thanks
DeborahThe root certificate of the CA who has signed the certificate of the HTTPS site has to be imported into the trust keystore for your managed servers. This includes setting up a custom trust keystore for the servers in WLS console and then importing the CA root certificate into the custom keystores using the keytool utility. All these are WLS configuration and not OSB specific. If your server has Hostname verification enabled ( another option under SSL tab in Server --> SSL on admin console) then ensure that the hostname on the site's certificate matches with the hostname part of the https URL..
Edited by: atheek1 on Mar 4, 2010 4:32 AM -
Hi,
I want to know the exacts differences between Windows Azure(Cloud) Service Bus and On-Premises Service Bus (Windows Service Bus 1.0)
Thanks
mitMight ask them over here.
http://social.technet.microsoft.com/Forums/en-us/home?category=biztalkserver
http://social.msdn.microsoft.com/Forums/windowsazure/en-US/home?forum=windowsazuremanagement%2Cservbus%2Cazuremobile&filter=alltypes&sort=lastpostdesc
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
Bindings to use for communicating using Service Bus Relay service
Hi,
I need to use the service bus relay service for synchronous communication between 2 applications (one in cloud and other in corpnet behind a firewall). I wanted to know what is the best option (binding element) I have in terms of message and transport
security. Also will using this best option have some performance concerns ?Hi sir,
From your description, I think you need make sense all the binding methods of Azure service bus relay (https://msdn.microsoft.com/en-us/library/azure/hh410102.aspx) firstly.
Base on my experience, I usually use NetTcpRelayBinding in project. The
NetTcpRelayBinding binding supports two-way messaging semantics and is very closely aligned with the standard WCF
NetTcpBinding – the key difference is that
NetTcpRelayBinding creates a publicly-reachable TCP endpoint in the relay service.
About how to chose the method of binding, it depended on your requirement also.
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Oracle service bus cache flush/clear - business service
Hi Everyone,
We are currently using oracle service bus as an integration platform. We are conducting a disaster recovery exercise for on of the applications (A) integrated to OSB, but the OSB is always connecting to the primary node of the application A though the DNS at application A is pointing to the secondary node.
We believe this is happening because OSB is caching the IP address of the application A (though it is using DNS) and keeps connecting to the same server even if the primary traffic is diverted to the secondary node.
Can someone please let us know if there is a way we can clear the cache of the business service (used to connect to the application A) without restarting the servers?
Thank you.
Regards,
RamYes, by default the JVM will cache the name resolution. You can change this behaviour by adding the TTL in the managed server startup parameters as follows:
-Dnetworkaddress.cache.ttl=120 -Dnetworkaddress.cache.negative.ttl=10
The above parameters mean that the JVM will cache the name resolution for 2 minutes in case of success and for 10 seconds in case of a failure.
For testing purposes, you can reduce the ttl from 120 seconds, but when in production make sure that this value is not too low.
Regards,
Fabio Douek -
There is a somewhat vague message on the old BEA forums saying they have been moved here - along with a link to a non-existent 'Welcome FAQ'.
(In an complete reversal of his previous comment, Hans states:)
I'm not sure whether the Aqualogic Forums have been migrated, or (if they have) what they have been mapped to. Can't find 'em either.
Oracle's recent webinar was pretty clear about JRockit and Weblogic server being the direction.
However, for Aqualogic - based on that same webinar, my misinterpretation is that Aqualogic is one of the 'merged' families, where the best of breed is being chosen for each subset or solution area. That may be causing a delay in the forums being transferred and/merged.
Hoping Oracle comes up with a document that clearly maps both the products and the forums. The list of products is
BEA AquaLogic User Interaction
BEA AquaLogic BPM
BEA AquaLogic Integrator
BEA AquaLogic Service Bus
BEA AquaLogic Data Services Platform
BEA AquaLogic Registry Repository
BEA AquaLogic Enterprise Security
BEA AquaLogic Enterprise Repository
BEA AquaLogic Service Registry
BEA AquaLogic Commerce Services
BEA AquaLogic SOA Management
BEA AquaLogic Pages
BEA AquaLogic Ensemble
BEA AquaLogic Pathways -
Is Response Required in Proxy Service and Business Service
Hi All,
I have made proxy service that is putting message on the Queue through a Business Service. Now I wanted to know what is the use of "Is Response Required" configuration parameter in Business as well Proxy Service. Also what is the significance of the JMSCorrelationID and JMSMessageID.
Thanks,
AnujHi Anuj,
You can refer to the documentation for the information on "Is Response Required" in
Proxy Service @ http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/interopjms/transport.html#wp1096236
Business Service @ http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/interopjms/transport.html#wp1097863
And for the significance of JMSCorrelationID and JMSMessageID please refer to link @ http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/interopjms/MsgIDPatternforJMS.html
Please do reach out to me in case you need specific information.
Thanks,
Patrick -
Jmx Services as Business Services ?
I am wondering if JMX service are just for managing or even suitable to use as business services.
In my new work all remote (business) service invocation is done by using jmx services which i find rather freaky.
The people there come from implementing in C++ and are doing the shift to Java to use JBoss and all, so they're looking for all the java fancy stuff and stacking it all together. Some architectural decisions are questionable, imo.
Maybe im too long into java to see the possibilities.. I thought JMX is (best used) for managing (only).. are Jmx invocations scalable ?
What do u think ?
Any hints, suggestions welcome.This isn't the first time I've heard of JMX technology being used as a general-purpose distributed object model. While that isn't the principal design centre of the technology, it is a reasonably good fit in some circumstances. The main advantages people have cited to explain why they make this choice are, first, the notification (event) support, which provides a simple but powerful model that does not require the server to be able to make a connection back to the client; second, a good security model; and third, the fact that it has been part of the core Java platform since 2004, which means not only that it is trivial to deploy but also that it is maintained.
The main disadvantage is that it does not come with built-in support for transactions, although that can be achieved by having the JMX MBeans use the Java Transaction API, for example.
Concerning scalability, the technology is reasonably scalable along the various dimensions (number of managed objects, number of servers, number of clients). Scalability is one of the main targets of the work we are doing on the next version of the API, due to ship with the Java 7 platform, but the existing scalability will usually be enough except for the biggest deployments.
Regards,
�amonn McManus -- JMX Spec Lead -- [http://weblogs.java.net/blog/emcmanus] -
Pleeease help... regarding Proxy Service and Business Services
Hi,
Can somebody clarify the following? I need urgent clarifications/
1. Can Proxy service only be a Web-service, i.e. WSDL dependent?
2. What about Business Services? What are the different ways you can host your Business Service?
3. How does the client connect to Proxy Service generally?Is it using the endpoint URI or the hostname/port info or by some method call?
Finally can somebody share code samples for use cases that use already developed transport providers like TCP, File etc.? I tried to use a file as input to the Proxy Service, but how to specify XSL transformations to the XML data that are in the file, as a stage in the Proxy Service pipeline?
My e-msil ID is [email protected]
Thank you for your help.
Thanks and regards,
TV Padmanabhan (TVP)1. No it can be any kind of request: binary, text, xml...
2. ALSB support a lot of different transport/protocols:
EMAIL, FTP, FILE, HTTP, JMS, EJB, TUXEDO. In ALSB 3.0 we will add support for ERPs: SAP, SIEBL ..., MQ native and SFTP
3. It depends on the transport. For example for file, the client drops a file in the file system, for http it opens a http connection to the URL http://host:port/address etc...
4. TCP/Socket transport is provided as a sample transport in ALSB 2.5 and 2.6. You can look in the weblogic92/samples/servicebus folder. You can also write your own transport if you like. There is a public SDK. -
Correlation Exception - BPEL - Proxy Service and Business Service
Hi All ,
Correlation exception
Flow - BPEL - Proxy - Business service
We are invoking a proxy service from a bpel process with a correlation set(property set as Yes)) and it works absolutely fine when the service is available But the problem occurs when the service is down or a remote fault occurs.
In the fault policy we had an action saying that retry three times but when it retries three times with the same correlation set
<Action id="ora-retry">
<retry>
<retryCount>3</retryCount>
<retryInterval>2</retryInterval>
<exponentialBackoff/>
<retryFailureAction ref="ora-human-intervention"/>
<retrySuccessAction ref="ora-terminate"/>
</retry>
</Action>
It was throwing an correleation exception.
since it was hitting the service wth same correletion set it was throwing an error. Is there any way i can retry for the same service with out exception
Thanks,
Raja
Edited by: user12893766 on Oct 1, 2010 3:30 AM1. No it can be any kind of request: binary, text, xml...
2. ALSB support a lot of different transport/protocols:
EMAIL, FTP, FILE, HTTP, JMS, EJB, TUXEDO. In ALSB 3.0 we will add support for ERPs: SAP, SIEBL ..., MQ native and SFTP
3. It depends on the transport. For example for file, the client drops a file in the file system, for http it opens a http connection to the URL http://host:port/address etc...
4. TCP/Socket transport is provided as a sample transport in ALSB 2.5 and 2.6. You can look in the weblogic92/samples/servicebus folder. You can also write your own transport if you like. There is a public SDK.
Maybe you are looking for
-
How do I improve the performance of my Macbook Pro (os 10.6.8) ...I previously had "mackeeper" but apple staff advised to get rid of it as I did not need to improve performance and this software was not apple recommended and tends to cause more pro
-
How? loading seperate music player .swf into main site prob.
hey all! Ok something that I still don't really understand, have tried to modify afew flas but with no luck. Anyhow to the point. I have a main fla file with all my content in it and a litlte music player that plays 3 to 4 external swfs with music &a
-
Hello, almost every time, when I synch an iOS device or like to start a Mac AppStore application, the iTunes/AppStore request to authorize this computer. I tried all the hint from the official Apple site (authorize via admin account, delete the speci
-
hi just wondering if my system is equal or greater than: (these are recommended system requrements for shogun 2 btw) 2nd Generation Intel® Core™i5 processor (or greater), or AMD equivalent 2GB RAM (XP), 4GB RAM (Vista / Windows7) AMD Radeon HD 5000 a
-
HTTP POST Request with XML file in
Hi @ all, I would like to send an HTTP Request with an XML File in the body to an SAP System I have the target URL and the a XML File. Now the question is. Is it possible to use something like the HTTP_POST FuBa to send an url post request with an xm