SOA 11g - XML_DOCUMENT lob segment unable to purge

Hi All,
I have SOA 11.1.1.6.0 on Linux x86-64 platform(Oracle Database 11.2.0.3)
I'm using the Purge script/Procedure as advised in Note “Oracle Fusion Middleware (FMW) SOA 11g Infrastructure Database: Installation, Maintenance and Administration Guide [ID 1384379.1]”
But this is not purging XML_DOCUMENT LOB segment which has grown too big. This is causing space issues.
Can somebody advise if they have faced the same issue?
Thanks,
Prashanth

Got it.. was successfull too.
How To Free Space From LOB Segments in the SOA Schema [ID 1380989.1]

Similar Messages

  • Unable To install SOA 11g tool set

    Hii All ,
    Can anyone please help me to install oracle SOA 11g toolset ?. I have tried with the installation document given in oracle site but while configuring SOA
    from JDvloper(11) I unable to view the option tool-configureSOA .
    Thanks and regards,
    Deekay.

    this below link will give complete details about 11g installation :
    http://www.oracle.com/technetwork/middleware/soasuite/overview/quickstartguidesoasuite11gr1ps3-313245.pdf

  • ORA-01652: unable to extend lob segment . by in  tablespace .

    Hello.
    We have 2 application servers 10.1.2.2. Each have its own infrastrusture.
    We run report from form. On one AS report works fine.
    On the second AS we get error:
    ORA-01652: unable to extend lob segment . by in tablespace .
    Exactly the same message with dots.
    What do we need to extend? Tablespace of second AS infrastructure? But which tablespace?
    Thanks.

    Maybe the problem is in this procedure (procedure loads data from file system into database):
    create or replace PROCEDURE load_document
    (P_ID IN document.ID%TYPE
    ,P_doc_name IN document.name%TYPE
    IS
         source BFILE := BFILENAME('source_map', p_doc_name);
         where_to BLOB;
    BEGIN
         SELECT file INTO source
         FROM document
         WHERE id = p_id
         FOR UPDATE;
         DBMS_LOB.OPEN(source, DBMS_LOB.LOB_READONLY);
         DBMS_LOB.OPEN(where_to, DBMS_LOB.LOB_READWRITE);
         DBMS_LOB.LOADFROMFILE(where_to, source, dbms_lob.getlength(source));
         DBMS_LOB.CLOSE(where_to);
         DBMS_LOB.CLOSE(source);
         COMMIT;
    END;
    If we remove this procedure from form, we don't get any error from both application servers.
    Why does this code works with one AS and not with the second one?
    Thanks.

  • Need Help-SOA 11g File Adapter unable to delete input file and its crashing

    Hi All
    Please find the details below:
    1. We have created a simple SOA composite to Read file from an input directory, archive the file in an archive directory using Inbound File Adapter Read
    and then use Outbound File Adapter Write to move the file to a output directory.
    2. File Adapter needs to delete the file after successful read/retrieval.
    3. We are using the "Use Trigger File" for invoking the file adapter. This is a new feature in SOA 11g
    4. Also we are using the option of reading the file as an attachment as we are not doing any transformation in the composite
    Issue Details_
    1. When the trigger file is put in the input directory for the first time, the File Adapter reads the file, archives it and moves it to the output directory
    2. However it does not delete the input file from the input directory and raises Fatal Exception mentioned below:
    [*2011-01-12T16:55:48.639+05:30] [soa_server1] [WARNING] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@19c243d]*
    [userId: <anonymous>] [ecid: 0000IptyLrL9_aY5TrL6ic1DBOS_000009,0] [APP: soa-infra] File Adapter FileAdapterTriggerFilePOC PostProcessor::
    Delete failed, the operation will be retried for max of [0] times
    [2011-01-12T16:55:48.639+05:30] [soa_server1] [WARNING] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@19c243d]
    [userId: <anonymous>] [ecid: 0000IptyLrL9_aY5TrL6ic1DBOS_000009,0] [APP: soa-infra] File Adapter FileAdapterTriggerFilePOC [[
    BINDING.JCA-11042
    File deletion failed.
    File deletion failed.
    File : C:\Dibya\AttachmentTest\InputDir\TestFile3.txt could not be deleted.
    Delete the file and restart server. Contact oracle support if error is not fixable.
    If any one has faced similar issues, kindly provide pointers on how to resolve it.
    Regards,
    Dibya

    Hi,
    Using the file adapter, you can poll from multilple locations...
    Keep the following property in your .jca file
    <property name="DirectorySeparator" value="," />
    While giving the path in File Adapter configuration, keep comma and give the next location....then the file will be picked up from the locations you gave....
    Hope this helps...
    Thanks,
    N

  • Unable to extend lob segment SAPSR4DB

    Hi All,
    I am getting the error u201Cunable to extend lob segment SAPSR4DBu201D when i try to import any dependency into my SC or during the Assembly of my SCA. Then we go and increase the space of the table, it starts working.
    I would like to know how to resolve this problem and if there is any setting to be made so that the contents of this table are cleared automatically after being used?
    Regards,
    Poojith MV

    Hi,
    Have you cheked SAP / BRTOOLS for a tablespace overflow ?
    Mark

  • Truncate table will delete the corresponding LOB segment of table or not ?

    Hi All,
    I have few table with LOB segments, if i fire the truncate table on those table will it purge the LOB segment as well ?
    Approximately how much time will take to truncate 100gb LOB segments.
    Thanks

    903787 wrote:
    Hi ,
    1.Truncate will delete the LOB segment or not ?It won't delete the LOB segments but it should release most of the allocated space.
    >
    2.To reclaim space we need to run the below command, is it correct ?
    ALTER TABLE <table_name> MODIFY LOB (LOB_COLUMN) (SHRINK SPACE);
    Should not be needed in 11.2:
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    SQL> select count(*) from user_segments;
      COUNT(*)
             0
    SQL>
    SQL> create table t(x clob);
    Table created.
    SQL> select segment_name, segment_type, bytes
      2  from user_segments;
    SEGMENT_NAME                             SEGMENT_TYPE            BYTES
    T                                        TABLE                   65536
    SYS_IL0000030908C00001$$                 LOBINDEX                65536
    SYS_LOB0000030908C00001$$                LOBSEGMENT              65536
    SQL>
    SQL> insert into t select lpad(segment_name,8192) from dba_segments;
    6312 rows created.
    SQL> commit;
    Commit complete.
    SQL>
    SQL> select segment_name, segment_type, bytes
      2  from user_segments;
    SEGMENT_NAME                             SEGMENT_TYPE            BYTES
    T                                        TABLE                  393216
    SYS_IL0000030908C00001$$                 LOBINDEX                65536
    SYS_LOB0000030908C00001$$                LOBSEGMENT           53477376
    SQL>
    SQL> truncate table t;
    Table truncated.
    SQL>
    SQL> select segment_name, segment_type, bytes
      2  from user_segments;
    SEGMENT_NAME                             SEGMENT_TYPE            BYTES
    T                                        TABLE                   65536
    SYS_IL0000030908C00001$$                 LOBINDEX                65536
    SYS_LOB0000030908C00001$$                LOBSEGMENT              65536
    SQL>
    SQL> alter table t modify lob(x) (shrink space);
    Table altered.
    SQL>
    SQL> select segment_name, segment_type, bytes
      2  from user_segments;
    SEGMENT_NAME                             SEGMENT_TYPE            BYTES
    T                                        TABLE                   65536
    SYS_IL0000030908C00001$$                 LOBINDEX                65536
    SYS_LOB0000030908C00001$$                LOBSEGMENT              65536
    SQL>

  • Error while starting SOA 11g

    Hi Gurus,
    I have recently started working on SOA 11g and I tried to install it in my machine.. Everything got installed fine without an error.
    Below are the component versions:
    1. Database : 11.1.0.6.0
    2. RCU Version : 11.1.1.3.3
    3. Weblogic Server : 10.3.2
    4. SOA Suite : 11g
    5. Jdeveloper : 11.1.2.0
    Now that I am trying to start my weblogic I am getting an error saying "
    "org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SensorManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricMesh' while setting bean property 'fabricMesh'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMesh': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMeshTarget' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'WSServiceBC' while setting bean property 'bindingComponents' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'WSServiceBC' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'InstanceManager' while setting bean property 'instanceManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'InstanceManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'DOStoreFactory' while setting bean property 'DOStoreFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DOStoreFactory' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricConfigManager' while setting bean property 'fabricConfigManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricConfigManager' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'MediatorServiceEngine' while setting bean property 'configurables' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'MediatorServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config-mediator.xml]: Cannot resolve reference to bean 'FaultRecoveryManager' while setting bean property 'faultRecoveryManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FaultRecoveryManager' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'BPELServiceEngine' while setting bean property 'serviceEngines' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BPELServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config-bpel.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException:
    ORABPEL START-UP ERROR!!!!!!!!
    OraBPEL run-time system failed to start due to exception:
    I tried starting the managed server but it also failed with the error
    <Jan 18, 2011 3:59:46 PM IST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
    There are 1 nested errors:
    weblogic.management.ManagementException: Unable to obtain lock on C:\Oracle\Midd
    leware\user_projects\domains\base_domain\servers\SOAServer\tmp\SOAServer.lok. Server may already be running
    at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:159)
    at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:58)
    at weblogic.management.internal.DomainDirectoryService.start(DomainDirectoryService.java:73)
    at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
    at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
    at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:749)
    at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:488)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:446)
    at weblogic.Server.main(Server.java:67)>
    <Jan 18, 2011 3:59:46 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Jan 18, 2011 3:59:46 PM IST> <Error> <WebLogicServer> <BEA-000383> <A criticalservice failed. The server will shut itself down>
    <Jan 18, 2011 3:59:46 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    However, I am able to login into Admin Consle but I am unable to deploy any BPEL Composite on it. Can you please help with your thoughts..???
    Regards,
    Vikas Manchanda
    Edited by: 829347 on Jan 19, 2011 12:00 AM

    Hi ,
    I don't see any entry like this in my SetSOADomainenv. cmd file. Howver I added it as per your suggestion, but still no luck.
    It is still showing up the same error.
    ####<Jan 19, 2011 2:27:37 PM IST> <Warning> <HTTP> <testmac> <SOAServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1295427457094> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SensorManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricMesh' while setting bean property 'fabricMesh'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMesh': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMeshTarget' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'WSServiceBC' while setting bean property 'bindingComponents' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'WSServiceBC' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'InstanceManager' while setting bean property 'instanceManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'InstanceManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'DOStoreFactory' while setting bean property 'DOStoreFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DOStoreFactory' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricConfigManager' while setting bean property 'fabricConfigManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricConfigManager' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'MediatorServiceEngine' while setting bean property 'configurables' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'MediatorServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config-mediator.xml]: Cannot resolve reference to bean 'FaultRecoveryManager' while setting bean property 'faultRecoveryManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FaultRecoveryManager' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'BPELServiceEngine' while setting bean property 'serviceEngines' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BPELServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config-bpel.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException:
    ORABPEL START-UP ERROR!!!!!!!!
    OraBPEL run-time system failed to start due to exception:
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SensorManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricMesh' while setting bean property 'fabricMesh'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMesh': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMeshTarget' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'WSServiceBC' while setting bean property 'bindingComponents' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'WSServiceBC' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'InstanceManager' while setting bean property 'instanceManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'InstanceManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'DOStoreFactory' while setting bean property 'DOStoreFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DOStoreFactory' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricConfigManager' while setting bean property 'fabricConfigManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricConfigManager' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'MediatorServiceEngine' while setting bean property 'configurables' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'MediatorServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config-mediator.xml]: Cannot resolve reference to bean 'FaultRecoveryManager' while setting bean property 'faultRecoveryManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FaultRecoveryManager' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'BPELServiceEngine' while setting bean property 'serviceEngines' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BPELServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config-bpel.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException:
    ORABPEL START-UP ERROR!!!!!!!!
    OraBPEL run-time system failed to start due to exception:
    Any Pointers..???
    Regards,
    Vikas

  • How to use JKS-based Keystore in Oracle SOA 11g

    I am trying to do FTPS on third party remote server(with UNIX OS) using SOA 11g FTP Adapter. I have Installed and Configured vsftpd and generated vsftpd.pem certificate file on remote server.
    Followed the steps mentioned in http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10231/adptr_file.htm#CIABDGCF
    In one of the step "Setting Up the Oracle FTP Adapter" walletLocation is required, then I went through steps mentioned in http://download.oracle.com/docs/cd/E17904_01/core.1111/e10105/wallets.htm#CHDGIJDC
    Tried to use both 1) JKS Keystore Management 2) Wallet Management
    But unable to find both of them in em of Oracle SOA 11g as the steps are not matching.
    Can anyone tell me how to use JKS Keystore Management or Wallet Management ?
    Many Thanks!!
    Regards
    Yogesh

    Hi Yogesh,
    I believe the wallet can be created from the FMW console only if the HTTP server is installed and available. If there is no Oracle HTTP server, please configure one as given under.
    [ http://download.oracle.com/docs/cd/E12839_01/doc.1111/e14260/toc.htm | Oracle HTTP Server Installation ]
    Reards,
    Neeraj Sehgal

  • BINDING.JCA-12510 JCA Resource Adapter location error in SOA 11g Suite

    Hi,
    I am just testing one simple SOA Application in SOA 11g Suite. Created a SOA Composite Application with one DB Adapter at designtime all worked fine with DB Adapter. But when I deploy the Application on the server I get the following error:
    The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/soademoDatabase'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/soademoDatabase. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ".Do I need to jndi-name in weblogic-ra.xml if so what is the exact location. Any help is appreciated.
    Thanks

    I did but still not able to connect now getting the following error. I went to the Weblogic Console, clicked on deployments, selected DBAdapter, clicked on configuration ,
    and then I don't see outbound configurations instead it shows Outbound Connection Pools, Under Outbound Connection Pools tab I clicked on New and it asked to select Outbound Connection Group I selected the one that was already there (with JNDI eis/DB/SOADemo) and then created my JNDI which was added to the default Outbound Connection Group and in the end it asked to save the Plan.xml which I saved it under a new directory created under soa directory. But still am not able to connect.
    How do I create my own Connection Group as don't want to use the defualt one out there.
    After creating the JNDI Name it asks for saving the Plan.xml file. Where exactly we save this file. Are there any standards.
    Why can't I update any properties when I click on the new JNDI name it takes to Settings for javax.resource.cci.ConnectionFactory --> Outbound Connection Properties but there I see a save buttn but I can't make any changes.
    BINDING.JCA-12563 Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: Could not create/access the TopLink Session. This session is used to connect to the datastore. Caused by javax.resource.spi.InvalidPropertyException: Missing Property Exception. Missing Property: [DBManagedConnectionFactory.userName]. You may have set a property (in _db.jca) which requires another property to be set also. Make sure the property is set in the interaction (activation) spec by editing its definition in _db.jca. . ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. Is there any documentation that lists all these steps as I couldn't find it anywhere. The guide only talks abou DBAdapter but how to configure etc can't find any info. Any help is appreciated.
    Thanks.

  • Org.xml.sax.SAXParseException during deploying project in SOA 11G

    Hello,
    I was migrating a project from SOA 10G to SOA 11G (11.1.1.3). I had to make a few changes in the project such as:
    1) Put concrete wsdl's
    2) Put "<bpelx:exec import="oracle.soa.common.util.Base64Decoder"/>" in the bpel file
    3) Change the database adapters to have "toplink" as the persistence provider as when I migrated the file , it changed it to Eclipse
    4) Fill in the port and location in the reference portion of the composite.xml
    At the end of all these changes , my project compiled properly , but when I tried to deploy it , I am getting this error:
    [09:57:27 AM] Error deploying archive sca_MIA_ModuleInvToGP_rev1.0.jar to partition "default" on server soa_server1 [sv-soafm-dev1.infinera.com:8001]
    [09:57:27 AM] HTTP error code returned [500]
    [09:57:27 AM] Error message from server:
    Error during deployment: org.xml.sax.SAXParseException: <Line 26, Column 68>: XML-20221: (Fatal Error) Invalid char in text.: <Line 26, Column 68>: XML-20221: (Fatal Error) Invalid char in text..
    [09:57:27 AM] Check server log for more details.
    I am unable to know where this particular error is coming from , and do not know how to resolve this. Does any one have any idea on what could be the possible reason for this?
    Seems to be a problem with some XML file , but I dont know which file to check.
    Any help is welcome.
    Thanks
    Manan Sanghvi

    In the session.xml schema it is a choice between driver-class/url and datasource, so you need to remove the driver-class tag as you are using a datasource.
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    <datasource>jdbc/AlfaDS</datasource>
    replalce with,
    <datasource>jdbc/AlfaDS</datasource>

  • How to create JMS Queue in soa 11g?do we need to create jmsuser user in db

    Hi All,
    We r using SOA 11.1.1.3 version do we get jmsuser user while installing itself. we r unable to see this user. Can anyone suggest how to create a JMS queue in soa 11g.
    Thanks,
    RR

    Hi,
    Oracle SOA runs over weblogic application server 10.3.3
    If you want to create a JMS queue, then you have to create it on weblogic server. For creating a JMS queue, first of all create a JMS server on weblogic admin console (by default http://localhost:7001/console) (Services --> Messaging --> JMS Servers) and target it to a server/cluster as desired. Now create a JMS module (Services --> Messaging --> JMS Modules) and target it to same server/cluster.
    Now create a sub-deployment in JMS Module (Services --> Messaging --> JMS Modules --> Your JMS Module --> Subdeployments tab) and select the JMS server you created initially as a target of this subdeployment.
    Now create a connection factory in that JMS module and in advanced targetting select the subdeployment you created. Now create a JMS queue in the same JMS module and in subdeployment select the subdeployment you created.
    If you want to access this queue from an application then JMS URL should be like -
    jms://hostname:port/connFactoryJNDIName/QueueJNDIName
    Regards,
    Anuj

  • Cannot call Siebel UCM Organization service from SOA 11g

    Hi,
    I am trying to call Siebel UCM Organization service from SOA 11g and getting the following error.
    Unable to process SOAP Header child element 'wsse:Security' with 'mustUnderstand="1"'(SBL-EAI-08000)
    Please let me know if anybody has solution for this issue?

    I am using this URL : api.geonames.org/postalCodeSearch?postalcode=90110&username=siddhardha
    I see below message in audit trail.Not sure why the headers are not visible.
    Am i missing something which is very fundamental.?
    <messages>
    <Rest_InputVariable>
    <part name="Input">
    <Input>
    <postalcode>90110</postalcode>
    <username>Siddhardha</username>
    </Input>
    </part>
    </Rest_InputVariable>
    <Rest_OutputVariable>
    <part name="geonames">
    <geonames>
    .....results.............
    </geonames>
    </part>
    </Rest_OutputVariable>
    </messages>
    Edited by: Siddhardha M on Jul 19, 2012 5:44 AM

  • SOA -11g - purgeMetadata PL/SQL Procedure

    Hi,
    In SOA 11g there is a PL/SQL procedure mds_internal_shredded.purgeMetadata which is being executed daily under the user id SOA_MDS. We were not able to find where its being scheduled. Any idea on this?
    Thanks,
    Jp

    --create or replace type int_array as varray(10000) of integer;
    create or replace package orabpel as
    --Fabric component states
    STATE_RUNNING constant integer := 0;
    STATE_RECOVERY_REQUIRED constant integer := 1;
    STATE_COMPLETED_SUCCESSFULLY constant integer := 2;
    STATE_FAULTED constant integer := 3;
    STATE_TERMINATED_BY_USER constant integer := 4;
    STATE_SUSPENDED constant integer := 5;
    STATE_STALE constant integer := 6;
    --BPEL component instance state
    BPEL_STATE_OPEN_RUNNING constant integer := 1;
    BPEL_STATE_OPEN_FAULTED constant integer := 3;
    BPEL_STATE_CLOSED_COMPLETED constant integer := 5;
    BPEL_STATE_CLOSED_FAULTED constant integer := 6;
    BPEL_STATE_CLOSED_ABORTED constant integer := 8;
    BPEL_STATE_OPEN_SUSPENDED constant integer := 2;
    BPEL_STATE_CLOSED_STALE constant integer := 9;
    procedure delete_component_instances(compositeInstanceId in integer);
    procedure delete_component_instances(idTable in varchar2, purgePartitionedData in boolean default true);
    procedure delete_component_instances(compositeDN in varchar2);
    procedure delete_orphaned_instances(compositeDN in varchar2,
    componentNormalizedState in integer,
    componentMinCreationDate in timestamp,
    componentMaxCreationDate in timestamp,
    maxInstances in integer,
                   purgePartitionedData in boolean default true);
    function convert_fabric_to_bpel_state(normalizedState in integer) return integer;
    end orabpel;
    create or replace package body orabpel as
    * Procedure delete_document
    * Delete xml_document and xml_document_ref referenced by document_ci_ref
    procedure delete_document1( ci_key in integer) as
    cursor id_cursor is
    select document_id
    from document_ci_ref where cikey = ci_key;
    begin
    for r_cikeys_cursor in id_cursor
    loop
    delete from xml_document where document_id = r_cikeys_cursor.document_id;
    delete from xml_document_ref where document_id = r_cikeys_cursor.document_id;
    end loop;
    end delete_document1;
    * Procedure delete_document2
    * Delete xml_document and xml_document_ref referenced by document_dlv_msg_ref
    procedure delete_document2(ci_key in integer) as
    cursor cikeys_cursor is
    select document_id from document_dlv_msg_ref
    where message_guid in
    (select m.message_guid from dlv_message m, dlv_subscription s
    where m.res_subscriber = s.subscriber_id and s.cikey = ci_key);
    begin
    for r_cikeys_cursor in cikeys_cursor
    loop
    delete from xml_document where document_id = r_cikeys_cursor.document_id;
    delete from xml_document_ref where document_id = r_cikeys_cursor.document_id;
    end loop;
    end delete_document2;
         * procedure delete_child_tables
         * Delete all other bpel tables that reference the cube instance
         procedure delete_child_tables( ci_key in integer) as
         begin
              delete from cube_scope where cikey = ci_key;
              delete from ci_indexes where cikey = ci_key;
              delete from work_item where cikey = ci_key;
              delete from wi_fault where cikey = ci_key;
    delete_document1(ci_key);
    delete_document2(ci_key);
              delete from document_dlv_msg_ref where message_guid in
              (select m.message_guid from dlv_message m, dlv_subscription s
         where m.res_subscriber = s.subscriber_id and s.cikey = ci_key);
              delete from audit_trail where cikey = ci_key;
              delete from audit_details where cikey = ci_key;
              delete from test_details where cikey = ci_key;
              delete from document_ci_ref where cikey = ci_key;
              delete from ag_instance where cikey = ci_key;
              delete from headers_properties where message_guid in
         (select m.message_guid from dlv_message m where m.cikey = ci_key);
    delete from dlv_message where res_subscriber
    in (select s.subscriber_id from dlv_subscription s where s.cikey = ci_key);
              delete from dlv_subscription where cikey = ci_key;
         end delete_child_tables;
    * procedure delete_component_instances
    * Deletes all cube instance with given composite instance id as well as
    * all other bpel tables that reference the cube instance.
    procedure delete_component_instances(compositeInstanceId in integer) as
    cursor cikeys_cursor is select cikey from cube_instance where
    cmpst_id = compositeInstanceId;
    begin
    for r_cikeys_cursor in cikeys_cursor
    loop
              delete_child_tables(r_cikeys_cursor.cikey);
    end loop;
    delete from cube_instance where cmpst_id = compositeInstanceId;
    end delete_component_instances;
    * procedure delete_component_instances
    * Deletes all cube instance with given composite instance ids as well as
    * all other bpel tables that reference the cube instance.
    procedure delete_component_instances(idTable in varchar2, purgePartitionedData in boolean default true) as
    id_cursor sys_refcursor;
    instance_id integer;
    begin
         open id_cursor for 'select id from '|| idTable;
         loop
         fetch id_cursor into instance_id;
    exit when id_cursor%notfound;
    delete_component_instances(instance_id);
    end loop;
    close id_cursor;
    end delete_component_instances;
    * procedure delete_component_instances
    * Deletes all cube instance with given composite DN as well as
    * all other bpel tables that reference the cube instance.
    procedure delete_component_instances(compositeDN in varchar2) as
         cursor cikeys_cursor is select cikey
         from cube_instance
         where domain_name || '/' || composite_name || '!' ||
         composite_revision || '*' || composite_label = compositeDN;
    begin
    for r_cikeys_cursor in cikeys_cursor
    loop
         delete_component_instances(r_cikeys_cursor.cikey);
    end loop;
    end delete_component_instances;
    * procedure delete_orphaned_instances
    * Deletes all cube instance and related tables based on the given criteria.
    procedure delete_orphaned_instances(compositeDN in varchar2,
    componentNormalizedState in integer,
    componentMinCreationDate in timestamp,
    componentMaxCreationDate in timestamp,
    maxInstances in integer,
    purgePartitionedData in boolean default true) as
    bpelState integer := convert_fabric_to_bpel_state(componentNormalizedState);
         likeString varchar2(400) := compositeDN||'%';
    cursor cikeys_cursor is select cikey
    from cube_instance
    where cmpst_id is null
    and (domain_name || '/' || composite_name || '!' || composite_revision || '*' || composite_label) like likeString
    and state = bpelState
    and creation_date between componentMinCreationDate and componentMaxCreationDate
    and rownum <= maxInstances;
    begin
    for r_cikeys_cursor in cikeys_cursor
    loop
         delete_child_tables(r_cikeys_cursor.cikey);
    delete from cube_instance where cikey=r_cikeys_cursor.cikey;
    end loop;
    end delete_orphaned_instances;
         * Function convert_fabric_to_bpel_state
         * Maps specified component normalized state to the corresponding BPEL state(s)
    function convert_fabric_to_bpel_state(normalizedState in integer)
    return integer
    is
    states integer := BPEL_STATE_CLOSED_COMPLETED;
    begin
    if ( normalizedState = STATE_RUNNING) then
    states := BPEL_STATE_OPEN_RUNNING;
    elsif ( normalizedState = STATE_RECOVERY_REQUIRED) then
    states := BPEL_STATE_OPEN_FAULTED;
    elsif ( normalizedState = STATE_COMPLETED_SUCCESSFULLY) then
    states := BPEL_STATE_CLOSED_COMPLETED;
    elsif ( normalizedState = STATE_FAULTED) then
    states := BPEL_STATE_CLOSED_FAULTED;
    elsif ( normalizedState = STATE_TERMINATED_BY_USER) then
    states := BPEL_STATE_CLOSED_ABORTED;
    elsif ( normalizedState = STATE_SUSPENDED) then
    states := BPEL_STATE_OPEN_SUSPENDED;
    elsif ( normalizedState = STATE_STALE) then
    states := BPEL_STATE_CLOSED_STALE;
    end if;
    return states;
    end convert_fabric_to_bpel_state;
    end orabpel;
    REM show errors;

  • Call To WSIF From SOA 11g

    Hi All,
    Does SOA 11g supports WSIF call From Partnerlink?.
    Regards
    Venkata Madhu

    Thanks Vlad,
    I was trying to do WSIF call from SOA 11.1.1.6, it is simple operation of adding two integers. But while deploying it is not getting deployed, below is the error.
    *_<h1>Deployment Error</h1>_*
    oracle.fabric.common.FabricDeploymentException: [WSIFBinding] SampleWSIFSOAProj.Service Unable to complete load due to: String index out of range: -1: Stri
    ng index out of range: -1 {rootCauses=[]}
    at oracle.integration.platform.blocks.wsif.WsifReference.load(WsifReference.java:354)
    at oracle.integration.platform.blocks.wsif.WsifReference.load(WsifReference.java:98)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployReferences(CompositeDeploymentConnection.java:201)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:93)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.initDeployment(CompositeDeploymentManagerImpl.java:150)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.load(CompositeDeploymentManagerImpl.java:63)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:77)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy318.load(Unknown Source)
    at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoordinatorImpl.coordinateCompositeRedeploy(StandaloneCompositeDeployment
    CoordinatorImpl.java:97)
    at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.overwriteExistingComposite(BaseDeployProcessor.java:435)
    at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProcessor.java:253)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:167)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:112)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeploy(DeployProcessor.java:99)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.process(DeployProcessor.java:81)
    at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPostInsideLoggingSession(CompositeDeployerServlet.java:219)
    Any idea, what could be the reason for this.
    Note: When i try concatenating two string using WSIF, it works.
    Any clue, why it so
    Regards
    Venkata Madhu

  • Invoking HTTPS WSDL in SOA 11G

    Hello,
    Can anyone provide me information on how to invoke https web service(wsdl) in SOA 11G.
    I don't think this https service is using any certificates.I think its just a secured service with user name/password.
    I added security policies "oracle/wss_username_token_client_policy" with user name/password in composite.xml but when I compile the code in JDev I get Errors: Unable to load the wsdl. Unable to load port type
    Can this done with keystore or is there any other process ?
    Thanks

    Thought you would use oracle/wss_httptokenover_ssl_client_policy to populate the http uname/password. The one you mentioned uses ws security header which should not be required.

Maybe you are looking for