Mapping Routing service with a database adapter in ESB

Hi,
I have a database adapter configured for a Stored procedure that takes in a XML_TYPE and returns a CLOB. I also have the Schema for request and response, which I have configured in a Routing Service. Now how do I map the Routing Service to the Database adapter.
The problem I am facing is 'CLOB' is returned as a simple type which can't be mapped to a complex type schema of the Routing Service.
Also the 'any' tag of the XML_TYPE is not supported by jdeveloper.
Any suggestions plz....
Thanks..

Adapters may have been tesed under load but messages are kept small. Of you adapter keep your messages as small as possible. Try and keep messages under 1MB, if possible.
If you know Apps will I would stick to using the DB adapter for calling APIs, and Apps adapter for the more complex integrations, e.g. business events, xml gateway. I use DB adapter for concurrent programs, but the apps adapter is good for these integrations as well.
The reason I used the DB adapter for APIs is because the PL/SQL stub the adapter creates forces you to uses all fields in the APIs. In some case you may only need a handfull out of 100. You get issues when you don't provide values.
If you are in evaluation stage of products I would recommend Oracle Data Integrator for eBusiness Suite integration if you are implementing batch type interfaces. This is because of the inbuild error handling. It manages batch messages much better. Whereas SOA Suite is designed for single messages so it manges small messages well.
The best option Oracle offers is Oracle Data Integration Suite, which includes ESB and BPEL.
cheers
James

Similar Messages

  • Connecting to mulitple cache services with the cache adapter

    Is it possible to connect to mulitple cache services using the same CacheAdapter within the same thread.
    Example:
    InitialContext ctx = new InitialContext();
    CacheAdapter adapter = new CacheAdapter(ctx, "tangosol.coherenceTx", CacheAdapter.CONCUR_OPTIMISTIC, CacheAdapter.TRANSACTION_GET_COMMITTED, 0);
    adapter.connect( "MyService", "", "");
    NamedCache cache1 = adapter.getDistributedCache( "X" );
    cache1.put( "a", "b" );
    adapter.connect( "MyService2", "", "");
    NamedCache cache2 = adapter.getDistributedCache( "Y" );
    cache2.put( "a", "b" );
    Do we have to look up a seperate cache adapter for each service. Do we need to close the adapter between connections?
    Thanks
    Rick

    Rick,
    Calling adaptor.connect() basically makes the adapter aware of transactional boundaries imposed by an application server. It is somewhat analogous to getting a db connection. An adapater can be connected to one and only one CacheService. Connection occurs during the connect(String, String, String) call and any subsequent calls to connect() will cause an IllegalStateException. To connect to multiple CacheServices you would just need to instantiate different adapters.
    Using [connected] adapter you can retrieve a transactional NamedCache for any number of NamedCaches for the CacheService that adapter is connected to by using:
        adapter.getNamedCache(sCacheName, loader);Method getDistributedCache(String, ClassLoader) is just a simple helper that ensures that the adapter is connected to the default DistributedCache service and in turn calls getNamedCache(String, ClassLoader)
    Gene

  • [OSB] Oracle Service Bus: select database DBadapter runtime

    Suppose you have 2 databases DB1 and DB2 and both have the SCOTT scheme with the EMP table. The default way to gain access to the databases in the Oracle Service Bus (OSB) is by defining 2 database adapters and defining a business service on each adapter:
    - BS1 DBadapter1 DB1.SCOTT.EMP
    - BS2 DBadapter2 DB2.SCOTT.EMP
    With this setup you can define a proxy service and let the message flow decide which adapter to call.
    Now change this configuration a little and suppose you have 25 databases, you can define 25 database adapters and 25 business services, but that involves a lot of repeating work of defining adapters and business services. A more elegant configuration is one business service with one database adapter, and the database connection is set runtime in stead of design time.
    PS BS DBadapter DB1.SCOTT.EMP ... DB25.SCOTT.EMP
    The challenge is: how do you configure the database adapter runtime (called by an OSB business service).
    With kind regards,
    Jornica

    Oracle Service Bus 10gR3 contains the JCA framework which will eventually allow us to exploit the whole set of JCA adapters currently in use in BPEL Process Manager. Over the next few months several JCA adapters will be certified to be used with Oracle Service Bus - the Database adapter is one of the first of these.
    As for SOA Suite and WebLogic bundling, let me explain. SOA Suite contains the following products:
    BPEL Process Manager
    Business Activity Monitoring
    Business Rules
    Web Services Manager
    Complex Event Processing
    B2B
    ESB (the old Oracle ESB product)
    Service Bus (formerly AquaLogic Service Bus from BEA)
    This does not come with an application server as the suite is hot-pluggable (i.e. can be used with a number of application servers). However, the preferred (and cheaper) approach is to purchase SOA Suite and WebLogic Suite (which contains iAS, WebLogic Enterprise Edition, Coherence, JRockit with 100ms deterministic garbage collection and WebLogic Operations Control). This is because some of the elements of the SOA Suite only currently run on iAS (B2B) and some only run on WebLogic Server (Oracle Service Bus) although in the future these will also become hot pluggable.
    To find out more, check out the SOA Suite and WebLogic Suite pages below:
    [SOA Suite|http://www.oracle.com/technologies/soa/soa-suite.html]
    [WebLogic Suite|http://www.oracle.com/appserver/weblogic/weblogic-suite.html]
    You will find the DataSheets are particularly useful for giving you an overview of the suite.
    Hope that helps.
    Chris

  • Ldapbind to database adapter users in OVD with email

    Hi!
    Can anyone tell me howto ldapbind to database adapter users in OVD with email or uid?
    Ldapbind with full DN work just fine.
    Thanks!

    >
    Also I can bind to users in database CRM OVD-DB table using
    ldapbind -h ovd.mydomain.com -p 6501 -D "cn=extcustomername,cn=customers,cn=users,dc=mydoamin,dc=com" -w %custpwd%
    But I getting "ldap_bind: Invalid credentials" error trying to bind with:
    ldapbind -h ovd.mydomain.com -p 6501 -D cn=extcustomername -w %custpwd%You can bind with UPN to AD because AD is special.
    You won't be able to bind with cn=extcustomername using out of the box adapter. If you write your own plugin that will look up the DN based on cn=extcustomername, then have the plugin do the bind with the DN for you, it'll work. Then you would have to make sure this plugin will work with the database adapter, I haven't tried it so I don't know.
    If you're trying to make this bind with cn=extcustomername work for OAM to OVD, then you don't need to do it. Leave the adapter as is (bind with full DN). External users will login to OAM-protected application with their username or whatever is the value of cn. OAM will then look up the DN based on the cn or any other attribute, this is configured in authentication scheme in credential_mapping plugin. Take a look at the OBE example: http://www.oracle.com/technology/obe/fusion_middleware/im1014/ovd-oam/index.htm

  • Database Adapter VS. ADF-BC

    Hello everyone
    I've been working with Oracle BPM 11g for quite a while now.
    The process I am working on has lots of DB interactions, ie:
    -getting user's previous history from the database and show it in their workspace
    -user inserts some co-worker's ID, their record is fetched from DB and shown to him on the same page
    etc.
    What I have figured out so far:
    -Database adapter needs less technical knowledge, therefore it's easier to work with.
    -ADF-BC provides alot more control but mistakes can happen if one is not completely familiar with it.
    -Some issues exist in ADF-BC when working with non-oracle databases, like the one I've mentioned in this thread: Business Rules:Non-oracle db connections not shown in the ADF-BC Facts sect
    -Since working with Database Adapter means adding one or sometimes more service tasks to the process, the process can get quite messy and hard to trace if the project is big.
    -ADF-BC view objects have a sync mechanism so if there is a change in the database later, less work needs to be done with ADF-BC inorder to make the application compatible with the database. (I'm not completely sure about this one though!)
    I've found this section in the book "Oracle Business Process Management 11g Handbook":
    >
    ADF-BC vs. Database Adapters
    BPM also includes a database adapter thaqt can be used to retrieve data from a database into a process. In the context of getting data for displaying as part of a task form or for using as a list-of-values, using ADF-BC is recommended because it provides the following benefits:
    -Data currency: If a database adapter is use4d, then the process will need to retrieve the data. This can result in a time lag between when a user interacts with the data and when the process retrieves it.
    However, when using ADF-BC, the data can be fetched by the UIj itself, ensuring it is current.
    -Business Logic: ADF-BC is much more than object-to-relational mapping. As discussed earlier, it supports business logic like validations, as well as provides hooks for the inclusion of custom business logic.
    In the context of a process accessing data from a database for processing (and not for a user interface), working with a database adapter is simpler.
    However, using ADF-BC means that business logic is shared between BPM and user interface layers. Therefore, if ADF-BC already exists, or there is a possibility of building user interfaces on top of the data, or there are business logic and validation requirements, ADF-BC shyould be used. Otherwise, a databaser adapter should be used.
    >
    Since reading this passage, I have moved to ADF-BC and re-created my whole process, replacing the DB Adapters where it applies.
    But I have had lots of issues which were not presented before, which makes me wonder: if oracle has provided a tool like database adapter in their BPM, why should one go to all the trouble with adf-bc?
    The main problem is, there are lots and lots of sources on the net on woking with ADF-BC and on working with Oracle BPM (well not as much as ADF) separately, but when integrating the two, it's kind of hard for someone new like me to figure out a good strategy to stick to.
    Would someone shed some light on the topic please?
    Thank alot

    Hello
    Yes, for example in the facts section of my business rule, on the adf-bc tab, my sql server database connections won't be available, as I've mentioned here:
    Business Rules:Non-oracle db connections not shown in the ADF-BC Facts sect
    or there's that other issue with the pool connection which I've mentioned in this one:
    pool connection issue with sql server database in adf application
    or when a new table is added to the database, if one needs to create a new entity object from that, all the attributes must be created manually, or the whole app module needs to be recreated.
    Now some of this is probably duo to my lack of enough knowledge, but I didn't have such problems when working with the adapter.
    Thanks

  • Error in Database Adapter Insert Or Update (Merge) Operation

    I have a simple SOA composite which reads XML files and posts data to a database table using a database adapter. I would like to perform a merge operation but I keep getting this error in the log -
    SEVERE: JCABinding=> XML2DB:WriteInvToDB [ WriteInvToDB_ptt::merge(InventoryCollection) ] Could not invoke operation 'merge' against the 'Database Adapter' due to:
    BINDING.JCA-11616
    DBWriteInteractionSpec Execute Failed Exception.
    merge failed. Descriptor name: [WriteInvToDB.Inventory].
    Caused by java.lang.NullPointerException.
    Here is the complete log:
    SEVERE: JCABinding=> XML2DB:WriteInvToDB [ WriteInvToDB_ptt::merge(InventoryCollection) ] Could not invoke operation 'merge' against the 'Database Adapter' due to:
    BINDING.JCA-11616
    DBWriteInteractionSpec Execute Failed Exception.
    merge failed. Descriptor name: [WriteInvToDB.Inventory].
    Caused by java.lang.NullPointerException.
    Please see the logs for the full DBAdapter logging output prior to this exception.
    Jan 3, 2009 10:58:06 AM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    SEVERE: JCABinding=> [default/XML2DB!1.0*2008-12-23_13-27-06_078.WriteInvToDB]:merge One-way interaction failed
    Jan 3, 2009 10:58:06 AM oracle.tip.mediator.serviceEngine.MediatorServiceEngine post2Mesh
    SEVERE: Post 2 messah failed
    oracle.fabric.common.FabricInvocationException: BINDING.JCA-12563
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'merge' failed due to: DBWriteInteractionSpec Execute Failed Exception.
    merge failed. Descriptor name: [WriteInvToDB.Inventory].
    Caused by java.lang.NullPointerException.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.EndpointInteractionException.getFabricInvocationException(EndpointInteractionException.java:74)
         at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:226)
         at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:153)
         at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:152)
         at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:159)
         at sun.reflect.GeneratedMethodAccessor253.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
    Caused by: BINDING.JCA-12563
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'merge' failed due to: DBWriteInteractionSpec Execute Failed Exception.
    merge failed. Descriptor name: [WriteInvToDB.Inventory].
    Caused by java.lang.NullPointerException.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:428)
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:509)
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:493)
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteraction.java:429)
         at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:193)
         ... 49 more
    Caused by: BINDING.JCA-11616
    DBWriteInteractionSpec Execute Failed Exception.
    merge failed. Descriptor name: [WriteInvToDB.Inventory].
    Caused by java.lang.NullPointerException.
    Please see the logs for the full DBAdapter logging output prior to this exception.
         at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:488)
         at oracle.tip.adapter.db.exceptions.DBResourceException.outboundWriteException(DBResourceException.java:529)
         at oracle.tip.adapter.db.transaction.DBTransaction.commit(DBTransaction.java:287)
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:311)
         ... 53 more
    Caused by: java.lang.NullPointerException
         at oracle.toplink.descriptors.DescriptorQueryManager.putCachedUpdateCalls(DescriptorQueryManager.java:1605)
         at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.prepareUpdateObject(ExpressionQueryMechanism.java:1608)
         at oracle.toplink.internal.queryframework.StatementQueryMechanism.updateObject(StatementQueryMechanism.java:405)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.updateObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:1136)
         at oracle.toplink.queryframework.UpdateObjectQuery.executeCommitWithChangeSet(UpdateObjectQuery.java:69)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:279)
         at oracle.toplink.queryframework.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:47)
    Jan 3, 2009 10:58:06 AM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    WARNING: JCABinding=> ReadXML ReadXMLonReject: The resource adapter 'File Adapter' requested handling of a malformed inbound message. However, the following Service property has not been defined: 'rejectedMessageHandlers'. Please define it and redeploy the module. Will use the default Rejection Directory file://jca\ReadXML\rejectedMessages for now.
    Jan 3, 2009 10:58:06 AM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    WARNING: JCABinding=> ReadXML ReadXMLonReject: Sending invalid inbound message to Exception Handler:
    Jan 3, 2009 10:58:06 AM oracle.tip.mediator.common.error.ErrorMessageEnqueuer$EnqueuerThread run
    SEVERE: Failed to enqueue error message
    javax.jms.TransactionInProgressException: Cannot call commit on a XA capable JMS session.
         at oracle.j2ee.ra.jms.generic.RAUtils.make(RAUtils.java:595)
         at oracle.j2ee.ra.jms.generic.RAUtils.toTransactionInProgressException(RAUtils.java:846)
         at oracle.j2ee.ra.jms.generic.RAUtils.toTransactionInProgressException(RAUtils.java:840)
         at oracle.j2ee.ra.jms.generic.SessionWrapper.commit(SessionWrapper.java:197)
         at oracle.tip.mediator.common.error.ErrorMessageEnqueuer$EnqueuerThread.run(ErrorMessageEnqueuer.java:187)
         at java.lang.Thread.run(Thread.java:595)
    Any help is greatly appreciated.
    The INSERT operation works fine with the database adapter, but I cannot get MERGE and UPDATE operations to work as expected!
    Thanks.

    hi Sudeep,
    We are at first hand struggling with DB adapter problem getting down everytime. Don't know the reason why.
    DB adapter is in down state and when trying to make it up gives below error:
    "weblogic.application.ModuleException: weblogic.connector.exception.RAException: Jndi Name is null or empty."
    I just created a simple sync process using DB adapter (custom select) and deplyed successfully. I hope jndi name is not to be configured in weblogic-ra.xml file.
    This is the first time we are using this JNDI name (eis/DB/calvindb).
    Any inputs will be appreciated.
    Thanks,
    Nikhil

  • How to invoke a stored procedure in database adapter

    Hi All,
    i have created a database adapter which contains a stored procedure, the procedure is merge process,which bring data from another database,
    i have made sure that checking for new records and updating any changes from the source database everything has been taken care in the procedure.
    my question is how to invoke this process, what all process activities need to be associated with the database adapter, to invoke it
    assuming i want to run it every 5 hours,
    any reply would be of great help.
    Regards
    Ananth

    Hi,
    V thanks for you reply, i am v much new to this bpel environment, i tried using invoke but got errors like
    Error(61):
    [Error ORABPEL-10107]: Invalid initial activities
    [Description]: in line 61 of "C:\jdevstudio10134\jdev\mywork\Incremental_refresh\data_incr_refresh\bpel\data_incr_refresh.bpel", Initial activity is invalid. An initial activity must be of a receive or pick activity..
    [Potential fix]: Please re-arrange the BPEL process definition to make sure its initial activity is of a receive or pick activity. (e.g. by adding new receive activity or removing invalid initial activities..
    Error:
    [Error ORABPEL-10063]: missing initial receive activity
    [Description]: in "C:\jdevstudio10134\jdev\mywork\Incremental_refresh\data_incr_refresh\bpel\data_incr_refresh.bpel", there is no receive activity that starts the process.
    [Potential fix]: make sure one of "pick" and "receive" activities have attribute      "createInstance" set to be "yes".
    later i used the service pick, so from pick i am heading to ivoke and later to finally database adapter, but still getting below error
    Error(59):
    [Error ORABPEL-10900]: xml parser error
    [Description]: in line 59 of "file:/C:/jdevstudio10134/jdev/mywork/Incremental_refresh/data_incr_refresh/bpel/data_incr_refresh.bpel", XML parsing failed because file:/C:/jdevstudio10134/jdev/mywork/Incremental_refresh/data_incr_refresh/bpel/data_incr_refresh.bpel<Line 59, Column 19>: XML-24536: (Error) Missing Attribute 'partnerLink'.
    [Potential fix]: Fix the invalid XML.
    Error(59):
    [Error ORABPEL-10900]: xml parser error
    [Description]: in line 59 of "file:/C:/jdevstudio10134/jdev/mywork/Incremental_refresh/data_incr_refresh/bpel/data_incr_refresh.bpel", XML parsing failed because file:/C:/jdevstudio10134/jdev/mywork/Incremental_refresh/data_incr_refresh/bpel/data_incr_refresh.bpel<Line 59, Column 19>: XML-24536: (Error) Missing Attribute 'portType'.
    [Potential fix]: Fix the invalid XML.
    Error(59):
    [Error ORABPEL-10900]: xml parser error
    [Description]: in line 59 of "file:/C:/jdevstudio10134/jdev/mywork/Incremental_refresh/data_incr_refresh/bpel/data_incr_refresh.bpel", XML parsing failed because file:/C:/jdevstudio10134/jdev/mywork/Incremental_refresh/data_incr_refresh/bpel/data_incr_refresh.bpel<Line 59, Column 19>: XML-24536: (Error) Missing Attribute 'operation'.
    [Potential fix]: Fix the invalid XML.

  • Database Adapter not working properly for more input parameters in OSM

    Hi,
    We are using OSM 7.0.0.3 and using design studio for development.
    Recently we are facing issue with the database adapter.In Studio,we have options for configuring the JDBC adapter.
    we have custom table in the database which has four columns with it.we are suppose to retrieve this table data using database adpater.
    so,whats happening here is,when we are sending two parameters as input to database adapter,we are able to retrive the table data properly.
    but,
    when we are sending morethan two parameters as input adapter,it is not giving right results.
    so,
    is there any constarint on how many parameters to be send as inut to adapter???
    any opinoin on first look at the issue??i will share the sample code if needed.

    Hi Naidu,
    OSM 7.0.0.3 is a very old version and they are many fixes on top of it. So request you to please use any of the latest versions of OSM 7.0.1/7.0.2/7.0.3 and retest the issue. We are not giving any patches on top of OSM 7.0.0. You can also raise a service request for further investigation and analysis.
    Regards,
    JP

  • Troble configuring Hyperion Shared Services with SQL Server 2005

    I recently installed SQL server (SQL SERVER 2005) in my machine and then am trying to install Hyperion (9.3.1) products. I started with Shared services. It was installed successfully. Problem is occuring when am trying to configure Shared service with SQL database using Hyperion Configuration utility (9.3.1)
    The error which is popping up is
    Unable to connect to the database for the product Hyperion Shared Services.
    Things which I tried from my end
    1. Made sure TCP IP Protocol was enabled in SQL server configuration server.
    2. hypuser was created in SQl server.
    3. hypdb was created in SQL server.
    4. Was having dynamic IP address so install Loopback adapter to obtain Static IP address and port.
    5. Port and IP address was correct.
    Let me know where I am going wrong.
    Any help will be greatly appreciated.

    Finally got it fixed firewall settings needed to be change : This document helped me a lot to troubleshoot the issue
    An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
    This problem may occur when SQL Server 2005 is not configured to accept incoming local and remote connections, which is disabled by default in SQL Server 2005 Express Edition, SQL Server 2005 Developer Edition and also SQL Server 2005 Enterprise Edition. To solve the connection forbidden problem, SQL Server 2005 needs to configure to allow incoming local and remote connections.
    Firstly, ensure that SQL Server 2005 is configured properly to allow incoming connections on the instance of database server, else enable and turn on the local and remote connections setting.
    Click Start button, then go to Programs or All Programs, then select Microsoft SQL Server 2005, followed by Configuration Tools. Click and run the SQL Server Surface Area Configuration.
    On the “SQL Server 2005 Surface Area Configuration” page, click Surface Area Configuration for Services and Connections.
    On the “Surface Area Configuration for Services and Connections” page, expand Database Engine tree, click Remote Connections.
    Select Local and remote connections, or Local connections only which applicable only if there is no remote system tries to connect to the SQL Server, useful when you just trying to connect and authenticate with the server after installing.
    Select the appropriate protocol to enable to local and/or remote connections environment. To ensure maximum compatibility, select Using both TCP/IP and named pipes.
    Click Apply button when done.
    Click OK button when prompted with the message saying that “Changes to Connection Settings will not take effect until you restart the Database Engine service.”
    On the “Surface Area Configuration for Services and Connections” page, expand Database Engine, then click Service.
    Click Stop button to stop the SQL Server service.
    Wait until the MSSQLSERVER service stops, and then click Start button to restart the MSSQLSERVER service.
    Secondly, SQL Server Browser service has to be enabled to allow for local and remote connections if SQL Server 2005 is running by using an instance name and users are not using a specific TCP/IP port number in the connection string.
    Click Start button, then go to Programs or All Programs, then select Microsoft SQL Server 2005, followed by Configuration Tools. Click and run the SQL Server Surface Area Configuration.
    On the “SQL Server 2005 Surface Area Configuration” page, click Surface Area Configuration for Services and Connections.
    On the “Surface Area Configuration for Services and Connections” page, click SQL Server Browser.
    Select Automatic as the Startup type to start SQL Server Browser service automatically every time system starts.
    Click Apply button.
    Click on Start button to start the service immediately.
    Click OK button.
    Finally, if remote computer needs to connect and access SQL Server, an exceptions in Windows Firewall included in Windows XP SP2 (Service Pack 2), Windows Server 2003 and Windows Vista needs to be created. If you’re using third-party firewall system, the exception rules also needed to be created to allow external remote connections to the SQL Server 2005 and SQL Server Browser Service to communicate through the firewall, else connections will be blocked. Consult the firewall manual for more details. Each instance of SQL Server 2005 must have its own exception, together with an exclusion for SQL Server Browser service.
    SQL Server 2005 uses an instance ID as part of the path when you install its program files. To create an exception for each instance of SQL Server, you must identify the correct instance ID. To obtain an instance ID, follow these steps:
    Click Start button, then go to Programs or All Programs, then select Microsoft SQL Server 2005, followed by Configuration Tools. Click and run the SQL Server Configuration Manager.
    In “SQL Server Configuration Manager”, click the SQL Server Browser service in the right pane, right-click the instance name in the main window, and then click Properties.
    On the “SQL Server Browser Properties” page, click the Advanced tab, locate the instance ID in the property list.
    Click OK button.
    Then create an exception for SQL Server 2005 in Windows Firewall.
    Click on Start button, the click on Run and type firewall.cpl, and then click OK. For Windows Vista, type firewall.cpl in Start Search box and press Enter key, then click on Allow a program through Windows Firewall link on left tasks pane.
    In “Windows Firewall”, click the Exceptions tab, and then click Add Program.
    In the “Add a Program” window, click Browse button.
    Click the C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlservr.exe executable program, click Open button. MSSQL.1 with is a placeholder for the instance ID that is obtained from previous procedure. Note that the path may be different depending on where SQL Server 2005 is installed.
    Click OK button.
    Repeat steps 1 through 5 for each instance of SQL Server 2005 that needs an exception.
    For SQL Server Browser service, locate the C:\Program Files\Microsoft SQL Server\90\Shared\sqlbrowser.exe executable program, and click Open button.
    Click OK button.

  • Database adapter BindFault and Domain log entry

    Dear All,
    SOA/BPEL - 10.1.3.1
    I am hoping that someone can point me in the right direction to getting to the root cause of an error that we occassionally encounter in production with a database adapter service that inserts a record into an Oracle database.
    The database adapter step reports:
    "Faulted while invoking operation "insert" on provider "DB_INSERTAR_MSISDN"":
    <fault>
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary">
    <summary>null</summary>
    </part>
    </bindingFault>
    </fault>
    </messages>
    "{http://schemas.oracle.com/bpel/extension}bindingFault" has been thrown.
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary">
    <summary>null</summary>
    </part>
    </bindingFault>
    In the domain log, at the same time and the same BPEL flow, I see an entry like:
    <2010-02-04 15:16:54,235> <INFO> <default.collaxa.cube.ws> <AdapterFramework::Outbound> file:/opt/oracle/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_ServiciosRed_1.5_fa24eb00ffacca13b39ce7cdeeee537e.tmp/DB_INSERTAR_MSISDN.wsdl [ DB_INSERTAR_MSISDN_ptt::insert(MsisdnCollection) ] - Using JCA Connection Pool - max size = <unbounded>
    I am assuming that the two are related -- but I don't know how to get to the root cause - is it a connections issue to the database? have we exceeded maximum allowable connections?
    Any assistance or pointers you can provide is greatly appreciated.
    Regards - Anit

    Hi UserN,
    Thanks for the pointers. It has been a while since I attended the BPEL course, and since then I haven't had to administer any connection pools, I've just used what has been set-up by another team.
    When I open the BPEL project, and look at the database adapter using the wizard, I see that the JNDI location specified as "eis/DB/HPPOMV". I see this again in the wsdl associated with the DB adapter, with the following: UIConnectionName="HPPOMV"
    I have logged into EM, but I am not 100% sure that I am looking at the correct connection pool. I have navigated to "JDBC Resources" tab. Under the Data Sources section I see a list, but none of these has a JNDI location of "eis/DB/HPPOMV".
    The closest match is "     jdbc/HPPOMV", with connection pool attributes of:
    Initial size of Connection Cache 0
    Minimum Number of Connections 0
    Maximum Number of Connections 100
    Connection Retry Interval (seconds) 1
    Maximum Connection Attempts 3
    Maximum Number of Statements Cached 0
    Have I made my way to the right connection?
    I am monitoring this pool, but the "connection in use" has not got anywhere near 100.
    Edit:: is there anyway to monitor/record the connection pool usage? We normally investigate these errors the following day, by which time any connection pool issues may have gone. I don't really have time to watch the screen refresh every 30 seconds.
    Thanks - Anit
    (At the moment I am reading through the BPEL training material to review the steps I performed in class).
    Edited by: Anit Patel on Feb 5, 2010 3:02 PM

  • Oracle service bus and database connectivity

    Since currently OSB does not support Adapter Framework, what are currently options for using DB Adapter type functionality in Oracle Service Bus (ALSB).
    It seems JMS and other transports are very well supported, but how do we use DB Services?
    Please if someone can provide some insight into this.
    thanks

    Oracle Service Bus 10gR3 contains the JCA framework which will eventually allow us to exploit the whole set of JCA adapters currently in use in BPEL Process Manager. Over the next few months several JCA adapters will be certified to be used with Oracle Service Bus - the Database adapter is one of the first of these.
    As for SOA Suite and WebLogic bundling, let me explain. SOA Suite contains the following products:
    BPEL Process Manager
    Business Activity Monitoring
    Business Rules
    Web Services Manager
    Complex Event Processing
    B2B
    ESB (the old Oracle ESB product)
    Service Bus (formerly AquaLogic Service Bus from BEA)
    This does not come with an application server as the suite is hot-pluggable (i.e. can be used with a number of application servers). However, the preferred (and cheaper) approach is to purchase SOA Suite and WebLogic Suite (which contains iAS, WebLogic Enterprise Edition, Coherence, JRockit with 100ms deterministic garbage collection and WebLogic Operations Control). This is because some of the elements of the SOA Suite only currently run on iAS (B2B) and some only run on WebLogic Server (Oracle Service Bus) although in the future these will also become hot pluggable.
    To find out more, check out the SOA Suite and WebLogic Suite pages below:
    [SOA Suite|http://www.oracle.com/technologies/soa/soa-suite.html]
    [WebLogic Suite|http://www.oracle.com/appserver/weblogic/weblogic-suite.html]
    You will find the DataSheets are particularly useful for giving you an overview of the suite.
    Hope that helps.
    Chris

  • Is it possible to create an inbound SOAP Adaptor for an ESB routing service

    I have been given a pre-defined wsdl file that defines the inputs to an ESB service and I wa wondering whether it is possible to create an inbound SOAP adaptor or whether this is actually an outbound adaptor. I am new to SOAP adaptors so need a little bit of guidance.
    Hopefully someone can help.

    Hi,
    In your case you need to create an Routing Service. If you create an esb project you can select Routing Service from the ESB Services entry in the Component Palette. You then get the option Select Existing WSDL. The SOAP adapter is only used for outbound SOAP messages. If you define a routing service it is available as a 'webservice' with a wsdl (in this case the one you define) from the console.
    Kind Regards,
    Andre Jochems

  • Database Adapter: Insert, relationships, sequences and problems of course

    Hello Everyone!!
    I'm trying to do an insert in an Oracle Express Database with a database adapter. I'm trying to do the insert in two tables: SOLICITUDES with a column called NUMSOLICITUD that is also the primary key of the table and it's populated from its own sequence and the other table whose name is DOCJUST with a field NUMSOL. SOLICITUDES has a 1:M relationship with DOCJUST and the fields used in this relationship are NUMSOLICITUD and NUMSOL. The problem is that when the adapter do the insert, the first insert made on SOLICITUDES is correct, but when it tries to insert in the DOCJUST table, when it's supposed to insert in NUMSOL the same value inserted in NUMSOLICITUDES instead of that, a NULL value is inserted in NUMSOL so the process fails. Is it because the NUMSOLICITUDES column is populated from a sequence? How can I resolve that?
    Thanks!!

    Hi,
    OK, I found the following article: http://soa-bpel-esb.blogspot.com/2010/04/understanding-catch-and-catchall.html
    Using the info from that article I have created a test flow, which contains the same insert database adapter as the production flow. I have placed the Invoke within its own scope and attached a "CatchAll" block to this scope. To this block I have added a "empty" step (do nothing).
    In my tests, I see the desired results i.e. the second time I initiate the flow with the same data, the CatchAll block executes, which does nothing, and processing continues after the scope.
    So far so good - my query is how would I catch the specific error of unique index violation rather than general catchall?
    As before, and assistance/comments greatly appreciated.
    Anit

  • Can't create a Database Adapter

    My BPEL process was functioning properly, but I wanted to rename some of my database and FTP adapters. When I did this they quit working, so I then deleted the old adapters and attempted to create new adapters, duplicate my previous efforts, with the new names I wanted. Unfortunately when I try to create a new Database Adapter (I hit the finish button in the wizard) it just sits there with the dialog box saying "Processing, please wait..." and never creates the wsdl file or anything else.
    Anybody know how I can fix this? I'm using 10.1.3

    After doing some more testing I think I found the problem. It wasn't bad wsdl files or references, but instead that my database adapter names were too long.
    After I recreated my project I ran into problems with my database adapter again. This time it created the adapter but did not allow my Invoke to access any operations... the drop down box for operations was empty even though the roles were appropriately configured. As a test I duplicated my nonworking adapter and changed the name to something much shorter, and it worked. Absolutely no other differences existed between the two adapters.
    I can understand there being limits to variable name lengths, but it would be nice if JDeveloper would alert you that your names are too long rather than just breaking when other components try to access them.

  • Database adapter exception handling

    Using Database adapter in ESB process that polls using DeletePolling strategy.
    On hitting exception due to some date format issue the adapter stops polling and the polling resumes only after identifying and removing the faulty record from the table.
    We have to do manual process of identifying the faulty records, since the error is not reported in any of the log files.
    Can configure to log this type of error?
    Would any rejection handling work in this case?
    Using Oracle ESB 10.1.3.4

    When records are inserted into the table, then the date format will be of sql type which is supported by db adapter. This might not be causing the issue. I hope you don't have a scenario where db adapter is updating a record through it's logical delete strategy and the same record is updated by another service. This would result in stopping db adapter polling. Provide the log trace for this. You can change the mode to trace-32 at soa.adapter level in em console.
    HTH.
    -Sriharish.

Maybe you are looking for

  • Purchase Order SAP abap statement

    Hi ABAP Expert, Need your help to solve my issue; If i what to get the detail on the PO number , i can get from table EKPO get EKPO-EBELN from EKPO how do i use sap statement to get the detail below 1. PO with GR and Invoice 2. PO with GR without Inv

  • Splitting a text field in columns

    Hello ! I want to divide a text field in two columns (like articles in newspaper). Is it possible ? How ? Regards, Lucian

  • OracleFRHome1ProcessManager service is not starting?

    Good day to One and All, I am using following configuration on Oracle AS10g:- OS = Windows 2003 Server Application = Oracle AS10g Server version: Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server Load balanced : hostname1, hostname2, hostna

  • Search box help

    I recently added some "flipping books" to my website and when they are added they create a random text file. These are showing up in my web search on the site. Is there anyway to limite the search to top 2 or 3 results? It seems these always show up

  • Drop Zone Issue

    Since updating to FCPX 10.0.6,  Both Titles, Transistions and Gernerators that came with final cut and one's I have made myself do not allow me fill a Drop Zone with video. It fill's the drop zone with a Still from the last frame of the video clip I