Osb 11g transaction handling

Hi,
I have a problem with transaction handling in OSB 11g. When I add a report action, error messages disappear.
The process is the following:
jms-queue -> proxy-service ->business-service ->EBS webservice.
In the proxy-service I add an error-handler at node-level. In this error-handler I log the error-message in the server log. In the regular process there is a request and response-pipeline.
When I add a message on the queue and when the response from EBS is negative, the message is placed on a errorqueue. That's ok.
When I add a report-action to the error-handler and then I put another message on the queue, the message is disappeared. It is not on the error-queue and not on the normal queue. When I look in the database there is an extra row added.
I use the default datasource(wlsbjmsrpDataSource).
I found for example this blog: http://biemond.blogspot.nl/2010/11/global-transactions-and-quality-of.html ; but I can't find an example with writing to a database and a rollback to an errorqueue. The report-action needs it's own transaction.
In the weblogic console -> datasources -> transaction I unchecked "Keep Connection After Local Transaction" but that didn't work.
What kind of options is possible?
Herman

I cant believe i was answered by the famous Anuj!.
You were correct. The weird thing, is that in publish actions the QoS is not propagated onto the target of that Publish per se.
We say this, becouse the Local PS has the Transaction Required = True, ergo the QoS is Exactly Once all along its message flow. It also propagates in the service callout´s and Route Node´s. Thats why we, trying to avoid redundance, didnt specified it in the publish action.
Thank you very much.
Regards.
Mario.

Similar Messages

  • Max file size OSB 11g can process

    Hi,
    What is the max file size OSB 11g can process? We want to do a POC that picks a file from FTP do some complex transformation and post to another FTP server.
    So in this scenario what can be the max file size OSB 11g can handle?
    Regards,
    Abdul

    Again, there is no fixed limit for message size JMS can handle. It depends on the Heap size available. But, In my experience JMS will reduce the practical limit much more than File/FTP transport. I have seen that you start getting a lot of OOM errors if you try to put very large messages on JMS.
    Also, if you are going to transform the payload after reading via FTP/File transport, then you will need to initialize the complete payload in memory which will restrict the maximum message size which can be processed properly.
    For large Files using Content Streaming is recommended but you can not access the streamed content within a message flow (hence no transformations).
    Another limiting factor is CPU utilization, doing complex transformations on large payload will consume a lot of CPU which will effect any other processes running on the same machine (could be another service instance on OSB itself).
    OSB is supposed to work with lightweight, stateless and fast processing. If you have very complex transformations, invest in an XML Appliance.
    If you need to transfer huge files, then use ODI.

  • How to Handle Multiple Thread in JAVA Callout with OSB 11g

    Hi Team,
    With My OSB 11g, I want create a static Thread when Java callout.
    Java code as below.
         private static Thread thread;
    static {
              * lazy load thread and with thread-safe ensure
              if(thread == null){
                   synchronized (HornetQConnectionHelper.class) {
                        thread = new ConnectionRecoveryThread();
                        // Daemon thread, JVM level, Won't be interrupted, Safe!
                        thread.setDaemon(true);
                        thread.start();
    When this class was first called in OSB, the thread start run. while when I redeploy it, the old Thread is still running, if call the class again, it will create a new Thread. The two threads will run at the same time.
    Any body know how do configure it, so that there is only one static Thread in the Weblogic JVM.
    Thanks.
    Best Regards,
    Raysen Jia

    Hi Raysen Jia,
    Create a weblogic startup class... See the references bellow...
    Hope this is helpful...
    http://jagadesh4java.blogspot.com.au/2010/05/working-with-weblogic-startup-shutdown.html
    http://docs.oracle.com/cd/E23943_01/upgrade.1111/e10126/basic_upgrade.htm#FUPAS464
    Cheers,
    Vlad

  • SOAP Header based user/password authentication in OSB 11g Proxy Service

    Hi,
    I have implemented SOAP Header based authentication in my OSB 11g Proxy Service.
    In the Security settings of my AnySOAP(Soap 1.1) HTTP Proxy service, I have amde the following changes:
    1.
    In Transport Access Control link, i selected the User predicate, and provided an user already existing on weblogic server with following roles(AppTesters, Monitors, Operators).
    The AuthorizationProvider was XACMLAuthorizer
    2.
    Under Custom Authentication, I selected the Custom User Name and Password option, and provided the below mentiioned xpaths
    User Name XPath: ./*/*:Username/text()
    User Password XPath: ./*/*:Password/text()
    3.
    In Message Access Control link, i selected the User predicate with the same user as mentioned in Transport Access Control link.
    Now, when I am testing this service from OSB Test Console, I am providing the following input.
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:N1="http://abcd.com/common/bodcomponents/transactional/model/1.0/">
    <soap:Header>
    <AuthHeader>
    <N1:Username>userXYZ</N1:Username>
    <N1:Password>passXYZ</N1:Password>
    </AuthHeader>
    </soap:Header>
    <soap:Body>
    <!-- body payload -->
    </soap:Body>
    </soap:Envelope>
    The response is "The invocation resulted in an error: ."
    The OSB server logs show the below error:
    ####<Feb 9, 2011 6:05:42 PM IST> <Error> <OSB Security> <test.abcd.co.in> <osb_server1> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <5a5769b8025ef997:-2bda316:12def49100a:-7fff-0000000000000c92> <1297254942782> <BEA-387082> <Proxy service access denied (proxy: ABCD/Services/Common_HTTP_Proxy, subject: Subject: 0
    )>
    ####<Feb 9, 2011 6:05:42 PM IST> <Error> <OSB Kernel> <test.abcd.co.in> <osb_server1> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <5a5769b8025ef997:-2bda316:12def49100a:-7fff-0000000000000c92> <1297254942782> <BEA-382004> <Failed to process request message for service ProxyService ABCD/Services/Common_HTTP_Proxy: com.bea.wli.sb.security.AccessNotAllowedException
    com.bea.wli.sb.security.AccessNotAllowedException
         at com.bea.wli.sb.pipeline.RouterSecurity.doAccessControl(RouterSecurity.java:136)
         at com.bea.wli.sb.pipeline.RouterSecurity.doAccessControl(RouterSecurity.java:117)
         at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:586)
         at com.bea.wli.sb.test.service.ServiceMessageSender.send0(ServiceMessageSender.java:329)
         at com.bea.wli.sb.test.service.ServiceMessageSender.access$000(ServiceMessageSender.java:76)
         at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:134)
         at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:132)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
         at com.bea.wli.sb.test.service.ServiceMessageSender.send(ServiceMessageSender.java:137)
         at com.bea.wli.sb.test.service.ServiceProcessor.invoke(ServiceProcessor.java:454)
         at com.bea.wli.sb.test.TestServiceImpl.invoke(TestServiceImpl.java:172)
         at com.bea.wli.sb.test.client.ejb.TestServiceEJBBean.invoke(TestServiceEJBBean.java:167)
         at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.invoke(TestService_sqr59p_EOImpl.java:353)
         at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Please suggest where I am going wrong in this. I have cross checked the user/pass credentials with what I am giving in the input, and it is perfectly fine.

    I have added the Username and Password as follows, since the namespace declaration was required due to the namespace prefix 'N1' in the XPath
    declare namespace N1="http://abcd.com/common/bodcomponents/transactional/model/1.0/";./AuthHeader/N1:Username/text()
    declare namespace N1="http://abcdp.com/common/bodcomponents/transactional/model/1.0/";./AuthHeader/N1:Password/text()
    I have removed the Message Access Control conditions, have only kept Transport Access Control conditions.
    If i keep the condition in Transport Access Control as "Allow access to everyone", and test with proper credentials in the Username/Password tags in SOAP Header, then it works fine. However, if I try to give an incorrect password in the SOAP Header, it denies the access. So that means the XPaths given for Username/Password are working fine. The OSB logs show the below message
    +####<Feb 10, 2011 12:59:21 PM IST> <Error> <OSB Security> <test.abcd.co.in> <osb_server1> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <5a5769b8025ef997:-2bda316:12def49100a:-7fff-0000000000000ef2> <1297322961536> <BEA-386008> <Message level username/password authentication failed: [Security:090304]Authentication Failed: User weblogic javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User weblogic denied>+
    However if i add the condition with predicate as "User" and user name argument as "weblogic", and try to pass the same in the SOAP Header as well with the correct password, it denies the access with below message in the logs.
    +####<Feb 9, 2011 6:05:42 PM IST> <Error> <OSB Security> <test.abcd.co.in> <osb_server1> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <5a5769b8025ef997:-2bda316:12def49100a:-7fff-0000000000000c92> <1297254942782> <BEA-387082> <Proxy service access denied (proxy: ABCD/Services/Common_HTTP_Proxy, subject: Subject: 0+
    +)>+
    +####<Feb 9, 2011 6:05:42 PM IST> <Error> <OSB Kernel> <test.abcd.co.in> <osb_server1> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <5a5769b8025ef997:-2bda316:12def49100a:-7fff-0000000000000c92> <1297254942782> <BEA-382004> <Failed to process request message for service ProxyService ABCD/Services/Common_HTTP_Proxy: com.bea.wli.sb.security.AccessNotAllowedException+
    com.bea.wli.sb.security.AccessNotAllowedException
    at com.bea.wli.sb.pipeline.RouterSecurity.doAccessControl(RouterSecurity.java:136)
    at com.bea.wli.sb.pipeline.RouterSecurity.doAccessControl(RouterSecurity.java:117)
    at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:586)
    at com.bea.wli.sb.test.service.ServiceMessageSender.send0(ServiceMessageSender.java:329)
    at com.bea.wli.sb.test.service.ServiceMessageSender.access$000(ServiceMessageSender.java:76)
    at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:134)
    at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:132)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
    at com.bea.wli.sb.test.service.ServiceMessageSender.send(ServiceMessageSender.java:137)
    at com.bea.wli.sb.test.service.ServiceProcessor.invoke(ServiceProcessor.java:454)
    at com.bea.wli.sb.test.TestServiceImpl.invoke(TestServiceImpl.java:172)
    at com.bea.wli.sb.test.client.ejb.TestServiceEJBBean.invoke(TestServiceEJBBean.java:167)
    at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.invoke(TestService_sqr59p_EOImpl.java:353)
    at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

  • How to increase JVM memory for Web Logic 10.3.3 - OSB 11g

    Hello folks,
    I am running OSB 11g on WebLogic 10.3.3 to call some services passing large XMLs requests. These XMLs are something around 10mb each. Unfortunately, I got errors regarding memory.
    I am using Eclipse with OSB plugin to develop, and I have configured the weblogic server to start up it from the eclipse, thus I don't need to start up through command line.
    I would like to know where I can change the memory arguments to start up the JVM which runs the WebLogic server. As I am starting up the server from eclipse, I can't change the memory size args from command line.
    Is there a file where those arguments are stored? or some configuration on WebLogic console which I can increase the Xms and Xmx ?
    The JVM is jrockit_160_17_R28.0.0-679
    This is the eclipse console output when the server is starting up:
    JAVA Memory arguments: -Xms256m -Xmx512m
    WLS Start Mode=Development
    CLASSPATH=C:\Davi\osb\mw_1033\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;;C:\Davi\osb\mw_1033\OSB_OR~1\modules\features\osb.server.modules_11.1.1.3.jar;C:\Davi\osb\mw_1033\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Davi\osb\mw_1033\patch_oepe1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Davi\osb\mw_1033\JROCKI~1.0-6\lib\tools.jar;C:\Davi\osb\mw_1033\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Davi\osb\mw_1033\WLSERV~1.3\server\lib\weblogic.jar;C:\Davi\osb\mw_1033\modules\features\weblogic.server.modules_10.3.3.0.jar;C:\Davi\osb\mw_1033\WLSERV~1.3\server\lib\webservices.jar;C:\Davi\osb\mw_1033\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Davi\osb\mw_1033\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Davi\osb\mw_1033\osb_ora11g\soa\modules\oracle.soa.common.adapters_11.1.1\oracle.soa.common.adapters.jar;C:\Davi\osb\mw_1033\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Davi\osb\mw_1033\OSB_OR~1\lib\version.jar;C:\Davi\osb\mw_1033\OSB_OR~1\lib\alsb.jar;C:\Davi\osb\mw_1033\OSB_OR~1\3rdparty\lib\j2ssh-ant.jar;C:\Davi\osb\mw_1033\OSB_OR~1\3rdparty\lib\j2ssh-common.jar;C:\Davi\osb\mw_1033\OSB_OR~1\3rdparty\lib\j2ssh-core.jar;C:\Davi\osb\mw_1033\OSB_OR~1\3rdparty\lib\j2ssh-dameon.jar;C:\Davi\osb\mw_1033\OSB_OR~1\3rdparty\classes;C:\Davi\osb\mw_1033\OSB_OR~1\lib\external\log4j_1.2.8.jar;C:\Davi\osb\domains\INFOLE~1\config\osb;C:\Davi\osb\mw_1033\WLSERV~1.3\common\derby\lib\derbynet.jar;C:\Davi\osb\mw_1033\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Davi\osb\mw_1033\WLSERV~1.3\server\lib\xqrl.jar
    PATH=C:\Davi\osb\mw_1033\patch_wls1033\profiles\default\native;C:\Davi\osb\mw_1033\patch_oepe1033\profiles\default\native;C:\Davi\osb\mw_1033\WLSERV~1.3\server\native\win\32;C:\Davi\osb\mw_1033\WLSERV~1.3\server\bin;C:\Davi\osb\mw_1033\modules\ORGAPA~1.1\bin;C:\Davi\osb\mw_1033\JROCKI~1.0-6\jre\bin;C:\Davi\osb\mw_1033\JROCKI~1.0-6\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Application Virtualization Client;C:\Program Files\Attachmate\Reflection\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Davi\osb\mw_1033\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Oracle JRockit(R) (build R28.0.0-679-130297-1.6.0_17-20100312-2123-windows-ia32, compiled mode)
    Starting WLS with line:
    C:\Davi\osb\mw_1033\JROCKI~1.0-6\bin\java -jrockit -Xms256m -Xmx512m -Dweblogic.Name=AdminServer -Djava.security.policy=C:\Davi\osb\mw_1033\WLSERV~1.3\server\lib\weblogic.policy -Xverify:none -da -Dplatform.home=C:\Davi\osb\mw_1033\WLSERV~1.3 -Dwls.home=C:\Davi\osb\mw_1033\WLSERV~1.3\server -Dweblogic.home=C:\Davi\osb\mw_1033\WLSERV~1.3\server -Ddomain.home=C:\Davi\osb\domains\INFOLE~1 -Dcommon.components.home=C:\Davi\osb\mw_1033\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\Davi\osb\mw_1033\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Davi\osb\domains\INFOLE~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Davi\osb\domains\INFOLE~1\config\FMWCON~1\servers\AdminServer -Doracle.security.jps.config=C:\Davi\osb\domains\INFOLE~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Davi\osb\domains\INFOLE~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Davi\osb\domains\INFOLE~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=C:\Davi\osb\mw_1033\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Davi\osb\mw_1033\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Davi\osb\mw_1033\patch_wls1033\profiles\default\sysext_manifest_classpath;C:\Davi\osb\mw_1033\patch_oepe1033\profiles\default\sysext_manifest_classpath weblogic.Server
    Thanks in advance,
    Davinod
    Edited by: user13631313 on Jan 10, 2011 10:07 AM

    Hi Davinod,
    Yes, the correct place is to change the memory arguments in the "setDomainEnv.cmd", however can you confirm if the changed memory arguments were reflected in the logs or not.
    If yes then you need to try to increase the memory arguments again and test which is the best working memory argument suitable for your environment, this would take some trials.
    However if the memory arguments are still not reflected then try to set it properly as shown below:
    set MEM_ARGS=-Xms1024m -Xmx1024m
    Regards,
    Ravish Mody
    http://middlewaremagic.com/weblogic/
    Come, Join Us and Experience The Magic…

  • OSB 11g + DB adapter - best practices

    Hello All,
    I am creating some data services using OSB 11g+Db adapter to perform operations (Sel,Ins,Upd) from two databases. Most of them are simple queries, however some include complex db operations
    1. If I have two separate datasources for databases, are there any option to handle global xa tansaction using OSB service.
    2. Couple of interfaces consist large payload (Say xml with 5000 elements -- approx 500kb - 1MB) to be inserted to db. Are there performance tuning tips for these kind of operations.
    Please let me know your thoughts on this - any docs/blog also will help.
    Thanks,
    ARPL

    The below URL will help you to have DBAdapter in OSB.
    Guido Schmutz, has provided step-by-step tutorial and video tutorial as well.
    http://guidoschmutz.wordpress.com/2010/08/08/oracle-service-bus-11g-and-db-adapter-a-different-more-integrated-approach/
    http://guidoschmutz.wordpress.com/2010/08/08/oracle-service-bus-11g-and-db-adapter-a-more-integrated-approach-the-video-tutorial/
    If you are going to use Sel, Update and Insert to a single table or multiple tables then i would say, try to keep it with in single adapter wsdl with multiple operations, this will help you to have good performance.
    Otherwise you can keep all those in a procedure and call the required function but in that case you have to have 3 DBAdapters.
    To answer your question,
    1. Enable both the datasources as XA enabled. As per 11g, you will be building in Jdeveloper (DBAdapter) and use it inside OSB.
    2. You have to control that on multiple levels like jvm memory allocation, datasource threads allocation, timeout seeting on datasource and releasing dead connections.
    Thanks,
    Vijay

  • Some questions with respect to OSB 11g

    Hi,
    I am quite new to OSB 11g and have some queries.
    1. If a SOA Composite transaction has been rolled back, how would be reflected in OSB. Would there be any retries?
    2. For a composite to use a proxy service, is it a must to use a direct binding reference of OSB? Can't SOA composite simply consider a proxy service a generic web service?
    3. Where are the debugging information written to? Can you control what is written to the debugging file? Can you specify filters,level of severity? Can you specify what context variables?
    4. Does OSB only runs on WLS and is therefore not hot pluggable on other app servers?
    5. One can create, attach WS-policies to my WSDL web services and enforce them on WLS all without using OWSM. If this is possible then what is the role of OWSM?
    I would really appreciate any help with these queries.
    Regards
    Priya.

    1. If a SOA Composite transaction has been rolled back, how would be reflected in OSB. Would there be any retries?
    If you are calling an OSB Proxy from a SOA Composite and the transaction is terminated and rolled back from SOA Composite then OSB transaction will also be terminated and an error will be logged on OSB side. For retrying I am not sure but there should be an option in the SOA suite composite to retry.
    2. For a composite to use a proxy service, is it a must to use a direct binding reference of OSB? Can't SOA composite simply consider a proxy service a generic web service?
    SOA Suite composite can directly call a WSDL based Proxy Service as a generic web service. I believe it It should also be possible to invoke an XML/HTTP (Any XML Proxy Service) from SOA Suite composite. Although Direct Binding is the preferred option because of performance and security reasons.
    3. Where are the debugging information written to? Can you control what is written to the debugging file? Can you specify filters,level of severity? Can you specify what context variables?
    Debug information will be written into the WLS log files by default. You can log any information you want (context variables or custom data) from a Proxy Service message flow using Log action. You can control the severity of log in the Log Action.
    You can define what level of Logs will be actually written to the log file and set any custom filters on Logs in the WLS Console (Home>Servers>{Your server Name}>Logging>Advanced).
    If you want to enable specific debug logging at the server level(for ex if you want to log transaction details by default), you can do so by enabling needed debug logging at (Home>Servers>{Your server Name}>Debug)
    4. Does OSB only runs on WLS and is therefore not hot pluggable on other app servers?
    Yes OSB is only certified for WLS.
    5. One can create, attach WS-policies to my WSDL web services and enforce them on WLS all without using OWSM. If this is possible then what is the role of OWSM?
    Biggest difference is of Scope. You can very well attach WS Policies to services in OSB but their scope will only be of OSB. OWSM can do so at an enterprise level across various applications. OWSM also provides end to end security and SLA monitoring, easier update of Policies across enterprise etc. For more details on OWSM check out this white paper:
    http://www.oracle.com/technetwork/middleware/webservices-manager/owsm-11g-tech-wp-134065.pdf

  • Oracle OSB 11G. Unable to find Oracle Service Bus Configuration Page.

    Hi All,
    Sorry for the apparent silly question but I am studying and learning the product.
    I have the OSB 11G installed and running with a proxy service working and routing requests. The Oracle ESB documentation http://download.oracle.com/docs/cd/E21764_01/doc.1111/e15866/ui_ref.htm#i1327746 at chapter 4.4.2 New Oracle Service Bus Configuration Project Wizard
    Use this wizard to create an Oracle Service Bus configuration project. For configuration options, see Section 4.4.3, "Oracle Service Bus Configuration Page."
    4.4.3 Oracle Service Bus Configuration Page.
    I don't see the configuration page in anywhere in the left pane of the console. Am I missing something? The project creation works fine but I just don't see the configuration Wizard.
    Thanks.
    Regards
    Salvatore Ilardo

    The link which you are referring is for user interface objects in the Oracle Service Bus plug-ins and OSB plug-ins are used with OEPE (Oracle Enterprise Pack for Ecplise) for OSB development. OEPE is the only supported IDE for OSB development as of now.
    Remember, at a time, one and only one Oracle Service Bus Configuration project can be deployed in a OSB domain which may contain desired number of Oracle Service Bus Projects and that's why there is no provision of creating Oracle Service Bus Configuration Project in sbconsole GUI. In IDE, you may create many Oracle Service Bus Configuration Project and that's why it has a Oracle Service Bus Configuration Project Wizard.
    Regards,
    Anuj

  • Error while running export.py in OSB 11g

    Hi all,
    I am trying to write wlst in osb 11g. I am getting the following error
    export:
    [echo] exportscript: export.py
    [java] Initializing WebLogic Scripting Tool (WLST) ...
    [java] Welcome to WebLogic Server Administration Scripting Shell
    [java] Type help() for help on available commands
    *[java] Problem invoking WLST - Traceback (innermost last):*
    *[java] File "C:\Documents and Settings\Desktop\WLST\test\export.py", line 7, in ?*
    *[java] ImportError: cannot import name EnvValueQuery*
    [java] Java Result: 1
    BUILD SUCCESSFUL
    Total time: 6 seconds
    Below is my build.xml should I make any more changes to run it in 11g I have changed the com.bea.common.configfwk_1.3.0.0.jar file name and directory names.
    Should I set any class path before running this build.xml ?
    <project default="export">
         <!-- ALSB domain creation project -->
         <property environment="env" />
         <!-- set global properties for this build -->
         <!-- The bea.home property hold that name of the directory where you installed ALSB 3.0.
              you need to change this value so that it matches your installation directory.
         -->
         <property name="bea.home" value="C:\Oracle\Middleware" />
         <!-- The workspace.dir is the directory of the workspace that you created to contain the sample
              projects from this book. By default, the namespace is "alsb30_book"
         -->
         <property name="workspace.dir" value="C:\Documents and Settings\workspace\Test OSB Project" />
         <property name="weblogic.home" value="${bea.home}\wlserver_10.3" />
         <property name="domain.export.script" value="export.py" />
         <property name="domain.import.script" value="import.py" />
         <property name="export.config.file" value="export.properties" />
         <property name="import.config.file" value="import.properties" />
         <property name="build" value="build" />
         <property name="dist" value="dist" />
         <path id="wlst.class.path">
              <fileset dir="${bea.home}\Oracle_OSB1\lib">
                   <include name="sb-kernel-api.jar" />
              </fileset>
              <fileset dir="${bea.home}\modules">
                   <include name="com.bea.common.configfwk_1.3.0.0.jar" />
              </fileset>
              <fileset dir="${weblogic.home}\server\lib">
                   <include name="weblogic.jar" />
                   <include name="webserviceclient.jar" />
              </fileset>
         </path>
         <taskdef name="wlst" classname="weblogic.ant.taskdefs.management.WLSTTask" classpathref="wlst.class.path" />
         <target name="export">
              <echo message="exportscript: ${domain.export.script}" />
              <java classname="weblogic.WLST" fork="true" classpathref="wlst.class.path">
                   <arg line="${domain.export.script} ${export.config.file}" />
              </java>
         </target>
         <target name="clean">
              <delete dir="${dist}" />
              <delete dir="${build}" />
              <mkdir dir="${dist}" />
              <mkdir dir="${build}" />
         </target>
    </project>

    Perhaps you are using old WLST code (used for OSB 10g), with OSB 11g.
    The ALSBConfigurationMBean (com.bea.wli.sb.management.configuration.ALSBConfigurationMBean) Interface in the com.bea.wli.sb.management.configuration package in the Oracle Fusion Middleware Java API Reference for Oracle Service Bus includes example code illustrating how to import and export Oracle Service Bus 11g configurations, how to change environment values, how to query resources, and so on. Please find it here -
    http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e15033/toc.htm
    Regards,
    Anuj

  • Using DB Adapter for MS SQL Server 2005  SP in OSB 11g.

    Hi All,
    I have a requirement to create a DB Adapter for MS SQL Server Stored Procedure in JDeveloper and export the Adapter file to OSB 11g. I have Created the Adapter and imported it into OSB 11g successfully. Created the Datasource and Connection pool also in console.
    The problem is while trying to execute the created business Service, I am getting the error as below,
    <Oct 26, 2012 12:20:25 PM IST> <Error> <JCATransport> <BEA-381967> <Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/Test/CheckAppID/WL_Driver/CheckAppId_WL_Driver [ CheckAppId_WL_Driver_ptt::CheckAppId_WL_Driver(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'CheckAppId_WL_Driver' failed due to: Unimplemented string conversion.
    Conversion of JDBC type to String is not supported.
    An attempt was made to convert a Java object to String using an unsupported JDBC type: .
    ; nested exception is:
         BINDING.JCA-11804
    Unimplemented string conversion.
    My XSD is ,
    <element name="InputParameters">
    <complexType>
    <sequence>
    <element name="application_id" type="int" db:index="1" db:type="INT" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <element name="OutputParameters">
    <complexType>
    <sequence>
    <element name="RowSet0" type="db:RowSet0_RowSet" db:type="RowSet0" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
    <element name="RowSet1" type="db:RowSet1_RowSet" db:type="RowSet1" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="RowSet1_RowSet">
    <sequence>
    <element name="RowSet1_Row" minOccurs="0" maxOccurs="unbounded">
    <complexType>
    <sequence>
    <element name="cde" type="int" db:type="INT" minOccurs="0" nillable="true"/>
    <element name="msg" db:type="NVARCHAR" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="255"/>
    </restriction>
    </simpleType>
    </element>
    </sequence>
    </complexType>
    </element>
    </sequence>
    </complexType>
    <complexType name="RowSet0_RowSet">
    <sequence>
    <element name="RowSet0_Row" minOccurs="0" maxOccurs="unbounded">
    <complexType>
    <sequence>
    <element name="aaa" type="boolean" db:type="BIT" minOccurs="0" nillable="true"/>
    <element name="bbb" db:type="NVARCHAR" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="10"/>
    </restriction>
    </simpleType>
    </element>
    </sequence>
    </complexType>
    </element>
    </sequence>
    </complexType>
    I don't know why there is a datatype conversion error.
    Help me in resolving this.
    Regards,
    Nataraj R.

    Hi,
    I believe NVARCHAR is an unsupported type...
    The following document lists the supported data types for SQL Server stored procedures and functions... NVARCHAR is not in the list... :-(
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_db.htm#CHDEBEEE
    Hope this helps...
    Cheers,
    Vlad

  • Writing a file using ssh in OSB 11g

    Hi
    OSB 11G
    Once I fetch from DB, i am able to write a flat file(delimiter with pipe) using Messaging Service and MFL.
    Now, my requirement is to write using SSH .
    Can anyone let me know how do I configure it in my Business Service?
    Thanks
    Edited by: soauser on Jul 12, 2011 9:08 AM

    OSB supports SSH File Transfer Protocol (SFTP) using SSH version 2 with SFTP transport -
    section "26.5 SFTP Transport" at http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15866/http_poller.htm#i1085854
    If existing options are not sufficient, you may also create custom transport using transport SDK and use that in OSB -
    http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15866/part_tsdk.htm#sthref954
    Regards,
    Anuj

  • OSB 11g Installation in production environment

    I am trying to install OSB 11g in production mode. But, the problem is its always pointing to the evaluation database, even though I don't require any DB (not using the reporting feature or OWSM). I saw the following workaround and it worked fine, but is it the only way?
    This error you will normally see if you use the built in pointbase db with production domains only.
    I would recommend you use different database in pointbase or better an oracle database. Work around would be to delete WL_LLR* from you point base and the domain will start with out problem.
    If you are not aware of how to delete the table in Pointbase/Derby, then other workaround (I normally use when using production domain with Derby/Poinbase) option would be to open config .xml and delete <jdbc-system-resource>
    <name>wlsbjmsrpDataSource</name>
    <target>AdminServer</target>
    <descriptor-file-name>jdbc/wlsbjmsrpDataSource-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    Even if i configure a different DB, but it still pointing me to Derby?
    Is this a bug with OSB 11g installation in a production env?
    Thanks,
    Bijoy

    Hello Bijoy,
    The evaluation database is provided for use by the sample applications and code examples. If you do not want to use evaluation DB then don't install it.
    To not install evaluation DB, while installing weblogic, select custom installation type, uncheck the "Evaluation Database" checkbox ("Server Examples" will automatically get unchecked) and proceed. Now your weblogic will be installed without an evaluation DB.
    Regards,
    Anuj

  • Transaction Handling - JDBC Receiver Adapter - Multiple SP Calls

    Hello,
    I have the following scenario:
    I send an XML-SQL structure with multiple statment elements (each of them calling a different stored procedure). A stored procedure raises an error back to the JDBC Receiver Adapter in case of error.
    Is it possible to have transaction handling in the JDBC Receiver to ensure:
    - Commit only after ALL stored procedures where succesful (no error risen during calls)
    - Rollback of ALL already called stored procedures in case an error has been risen
    How can I implement these requirements in the JDBC Receiver Adapter?

    One more comment, I have found the following info for JDBC Drivers:
    <i> "JDBC driver's default is to autocommit, meaning that the result of every SQL statement is permanent as soon as it is executed. This is why the course hasn't had to be concerned with transactions so far, and is perfectly acceptable in many cases."</i>
    So I think that each SP-Call is automatically commited in case autocommit on JDBC Driver Level is set to "true". Does anyone know where I can change these settings? Directly on JDBC Receiver Adapter or do I have to go to Visual Admin for those changes?

  • How to do service callout with the incoming JMS message in OSB 11g

    Hello All,
    I have a specific requirement for which I am creating a kind of POC where I need some help in OSB, however am new to OSB.
    My Environment:
    1> I have a request queue (deployed on a WLS domain) - WFReq_WS
    2> I have a response queue (deployed on a WLS domain) - WFRes_WS
    3> I have created a ProxyService (request/response type) in OSB 11g which is simply mapping the incoming message in WFReq_WS to WFRes_WS
    4> I have a WebService (it is currently a simple hello WebService for testing) which takes a string and returns the same string with an added 'Hi' in front of it (e.g. If you send Jack, it will return 'Hi Jack')
    My Requirement:
    1> I have to do some mechanism in OSB, by which while mapping the message from WFReq_WS to WFRes_WS (through the proxy service I have), it will pick the JMS message (which will be a string/text) and will make a service callout to the Webservice I mentioned using the message as the input parameter of the WebService.
    2>Now when the response of the WebService will come, OSB should send this response as the message in the response queue (WFRes_WS) I mentioned above.
    To simplify the requirement using an example:
    A> I will send a text/String message (say Jack) to the request queue (WFReq_WS)
    B> OSB should pick the message (Jack) and make a service callout to the webservice
    C> webservice will return 'Hi Jack'
    D> OSB should send this to the response queue (WFRes_WS)
    I know the above might look very basic question to the PROs, but please elaborate (step by step) what need to be done, since I do not know OSB.
    Thanks a lot for your help !

    Your example points A and D are easily done by having a "Proxy Service" which has the following details:
    Service Type = Messaging Service
    Request and Response type = Text
    Protocol = jms
    Endpoint URI = your request queue (format like 'jms://localhost:7013/weblogic.jms.XAConnectionFactory/QueueJNDIName')
    Checkmark "response" so that the proxy service automatically delivers the response to another queue - your response queue
    Response URI = jms://localhost:7013/weblogic.jms.XAConnectionFactory/QueueResponse
    Now since your "Hello" webservice is (probably) a SOAP xml service you need to "convert" your text based JMS message to xml before sending it on to the "Hello" service.
    Your JMS proxy can do that by just doing a "Assign <whom>{$body/text()}</whom>" to a variable (lets call it 'reqHello')
    Now your JMS proxy should actually call the Hello service and since your JMS proxy is text and the Hello service is SOAP you cannot just "pass" on to the Hello service in a "Route to". Instead you can do a Service Callout where you can specify your "reqHello" variable as payload and a "respHello" as response variable.
    Now you have the "<whom>Hi jack</whom>" in the response variable and since the JMS response needs to be text format you can "extract" the text value into the body variable of the JMS proxy (use "replace /* in body with $respHello/text()" - replace node contents)
    The actual Hello service is a simple "SOAP" based Proxy Service. Add a pipeline and add a stage in the reponse pipeline. Do a ...
    Assign fn:concat("Hi ",$body/whom/text()) to $whomVar
    Replace whom in body with $whomVar (replace node contents)

  • Dynamic endpoints in SOA and OSB 11g

    Hi,
    In AIA we have aiaconfiguration properties.xml from where end points of wsdls will be accessible.
    This enables ease in migrations so that if endpoint changes it is only need to be changed in aiaconfiguration properties.xml.
    Can the same be acheived in SOA and OSB 11g projects?
    Thanks,
    Sowmya

    Hi Sowmya,
    Yes, it is very much possible in OSB 11g using customization (you may use it manually or programmitically). Please refer -
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15867/customization.htm#CACJCAGD
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15022/toc.htm
    Regards,
    Anuj

Maybe you are looking for

  • Download Adobe Flash Player to an Android Tablet

    I have a new Asus TF700T tablet woth Android 4.0 O/S When opening the installed "Browser" I get this message: "No Adobe Flash Player found. Press OK to download" OK. I am redirected to Google Play store where Adobe Flash Player is not to be found. So

  • How to regularly load data from .csv file to database (using apex)

    Hi, i am using apex3 , I need to load data from a csv file to apex . I need to perform this automatically through code at regular time interval of 5-10 seconds. Is it possible .If yes how ?. Please reply as early as possible. This will decide whether

  • MacMini won't shut down

    Over the past few weeks my MacMini has refused to 'restart' from the Apple drop down and when I try to 'shut down' it removes the screen icons and then stops. The only way to 'restart' it is to hold down the power button. Can anyone suggest what is h

  • Allocate Landed Cost to Goods Receipt before Item is sold

    Hi Our Client would like to have a prompting to remind User to allocated Landed Cost before selling the Item as Users always make mistake and sold items before allocating landed cost to Goods Receipt resulting wrong posting of accounting entries to v

  • Please help me to find the table for fields where the descriptions are give

    please help me to find the table for fields where the descriptions are given below Customer Support Administrator first line Support indicator