Queue or Queue Table getting hanged

Hi. I am having an interesting issue. The problem goes as below
I have a queue table QT_PROMO_QUEUE and the associated queue Q_PROMO_QUEUE. This Queue has two agents QUEUE_AGENT1 and QUEUE_AGENT2.
Suppose say i have enqueued one message into the this Q_PROMO_QUEUE, then if i have manually deleted(not purging) that message from the queue table QT_PROMO_QUEUE, then the queue is getting hanged. I am not able to perform any operations on the queue except enqueuing the new messages.
I am not able to do below operations
dequeuing the messages from the queue, stopping the queue, removing the subscribers from the queue, dropping the queue, or even purging the queue table, and dropping the queue table.
Early replies are appreciated...Thanks in advance.

when the Init is sucessfull in BW it initializes the DS in Delta Queue(RSA7) and if any of the documents gets posted they will come to update tables/extraction queue depends on the update mode you have selected in LO Cokpit. when you schedule the job control on LBWE - it transfer the delta records to RSA7

Similar Messages

  • Create table getting hanged

    Hi,
    I am trying to create a table with name no_dtls_asmts_bs in a particular schema. but i am not getting the table created and the session getting hanged.but i am able to create table with name no_dtls_asmts_bs1 . why this is happening. i have no object with the name no_dtls_asmts_bs in that particular schema.
    Thanks in advance
    kishore.

    Hi,
    11:28:15 zug7_real>create table no_dtls_asmts_bs1(n1 number);
    Table created.
    11:28:24 zug7_real>desc no_dtls_asmts_bs1
    Name                                      Null?    Type
    N1                                                 NUMBERI don't think there will be problem with table_name.
    check from another session.. what is happening ...else trace out.. you find the things running behind the scene..
    - Pavan kumar N

  • How can i stop transfer data to Trfc queue from a table datasource.help!!!

    how can i stop transfer data to Trfc queue from a table datasource.
    I create a incorrect view datasource in R3 with wrong join condition,it contain so large data,i want to stop it collect data to sm58.otherwise the system will be ...
    i can't find helpful infrmation in sm50 .
    in sm37 has a canceled job
       Job                              Ln Job CreatedB Status          Start date Start time Duration(sec.) Delay (sec.)
       BIREQU_4EFQCFFUQL5ZOAWYOK2L0YCMF    ALEREMOTE    Canceled        2009-07-10 16:38:59         101,869            0
    plesse help me 。

    Hi,
    You paste the job name in source system in
    Tcode :Sm37
    Job name as :BIREQU_4EFQCFFUQL5ZOAWYOK2L0YCMF
    User:*
    Go to job details and get the PID no ,on which application number it is runnug
    GO to sm51 ,here you will find the application servers,Select the appriate app server go to that PID.
    On left top most you will find option as cancel with out core ..
    OR
    Ask basics team do the same.
    Regards,
    Suman
    Edited by: suman on Jul 13, 2009 12:56 PM

  • Queuing - Action Blocks (Queue Get, Queue Put , Queue List, Queue Delete)

    Does any one know how to use Queue Get, Queue Put, Queue List, Queue Delete
    action blocks?
    There is neither any help documentation nor any previous queries in the forum for this.
    Thanks and Regards
    Khaleel Badeghar

    Hi Khaleelurrehman,
    1. Put something in your Queue:
       Name: MyQueue
       ID:      4711
       Example:
       - Make a ForNextLoop and use the Link Editor to fill the Queue with 10 entries.
       - Use a Local XML Variable as Message and a Assignment to set the
         Message text. So your Message will be:
         "a Message with the ID " & For_Next_Loop_0.CurrentItem
       - Put the Message and the ID in your Queue using the Link Editor
         ID: 4700 + For_Next_Loop_0.CurrentItem
    2. Replace something in your Queue:
       Just refere to Queue-Name and Queue-ID to replace a Message with the
       Queue-Put-Action.
    3. Get one entry of your Queue:
       Just refere to Queue-Name and Queue-ID to get the Message out of the Queue
       with the Queue-Get-Action.
    4. Get a List of entries from your Queue:
       - Use the Queue-List-Action which will return a xMII-XML Structure with
         DATE and ID.
       - Use a Repeater to loop over the Output of Queue-List-Action.
       - Use a Queue-Get-Action and assign the ID of the Repeater-Output to get the
         Message for the ID.
    5. Delete one Message in your Queue:
       Use the Queue-Delete-Action to delete a Message with a specific ID from
       your Queue.
    6. Delete the whole Queue (or all Messages)
       Use Queue-List-Action + Repeater to loop + Queue-Delete-Action
    Hope this helps.
    Ciao
    Martin

  • System getting hanged whilst using Insert into table select * from table

    I have a peculiar problem.
    I am using the below statements:
    Query 1:
    insert into table ppms.erin_out@ppms_dblink select * from erin_out;
    Query 2:
    insert into table ppms.erin_out@ppms_dblink values(23,'dffgg',12',dfdfdgg,dfdfdg);
    I am in 'interfaces' schema (testing server) and executing above statements. We have testing server and development server, both are identical, i.e one is clone of the other.
    ppms_dblink is created in interfaces schema. ppms_dblink points to different database server which has two schemas 'clarity' and 'ppms'. ppms_dblink is create through authentication details of clarity schema.
    erin_out table is created on ppms schema on the same dababase server pointed by ppms_dblink.
    Question is :
    TOAD hangs while running query 1.
    Query 2 is working perfectly.
    As I have pl/sql script which is using query 1. I want to know why query 1 is creating problem.
    If I use query 2 in my pl/sql query then it may create performance issue as i have to use cursor then.
    On clarity schema, I have insert, update, select, modify rights on ppms.erin_out.
    I have tried same queries from another database server.
    That is I tried queries from 'interfaces' schema of development server ( clone of the testing server ). Its working perfectly.
    Message was edited by:
    user484158

    Dhanchik:
    The table from which I select rows, to insert into table on dblink, is having only one record. It may contatin maximum 100 rows at a time because I am scheduling the procedure through daemon process. Anyway transaction is not more than 100 records. I am trying with just 1 record for testing.
    So 1) Problem is not about the cost, TOAD is getting hanged ( to insert 1 record, cost does not mean much)
    2) there is no large amount of data, so no question of deteriorated performance
    Aron Tunzi:
    I think that should not be problem, because I am able to insert a record through query 2.
    Warren Tolentino :
    I am testing with 1 record only. Its not performance issue.
    Message was edited by:
    रचित

  • Can I use Reports Server Queue PL/SQL Table API to retrieve past jobs ?

    Hi all,
    Can I use Reports Server Queue PL/SQL Table API to retrieve past jobs using WEB.SHOW_DOCUMENT from Forms ?
    I have reviewed note 72531.1 about using this feature and wonder if i can use this metadata to retrieve past jobs submitted by a user.
    The idea would be to have a form module that can filter data from the rw_server_queue table, say, base on user running the form, and be able to retrieve past jobs from Report Server Queue. For this, one would query this table and use WEB.SHOW_DOCUMENT.
    Is this possible ...?
    Regards, Luis ...!

    Based on that metalink note and the code in the script rw_server.sql, I am pretty sure that by querying the table you would be able accomplish what you want... I have not tested it myself... but it looks that it will work... you have the jobid available from the queue, so you can use web.show_document to retrieve the output previously generated...
    ref:
    -- Constants for p_status_code and status_code in rw_server_queue table (same as zrcct_jstype)
    UNKNOWN CONSTANT NUMBER(2) := 0; -- no such job
    ENQUEUED CONSTANT NUMBER(2) := 1; -- job is waiting in queue
    OPENING CONSTANT NUMBER(2) := 2; -- opening report
    RUNNING CONSTANT NUMBER(2) := 3; -- running report
    FINISHED          CONSTANT NUMBER(2) := 4; -- job has finished
    TERMINATED_W_ERR CONSTANT NUMBER(2) := 5; -- job has terminated with

  • Start BI Services getting hang in obiee 11g

    Hi Experts,
    when I start the BI Service in obiee 11g in getting Hang, how could I resolve this.
    SVR_GRP =
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=512m -XX:-UseSSE42Intr
    insics
    WLS Start Mode=Production
    CLASSPATH=D:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar
    ;D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblog
    ic_patch.jar;D:\Oracle\MIDDLE~1\patch_ocp353\profiles\default\sys_manifest_class
    path\weblogic_patch.jar;C:\PROGRA~1\Java\JDK16~1.0_2\lib\tools.jar;D:\Oracle\MID
    DLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server
    \lib\weblogic.jar;D:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10
    .3.3.0.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\Oracle\MI
    DDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;D:\Oracle\MIDDLE~1\modules\NETSFA~1.0_
    1/lib/ant-contrib.jar;D:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar
    ;D:\Oracle\Middleware\oracle_common\modules\oracle.dms_11.1.1\dms.jar;D:\Oracle\
    Middleware\oracle_common\modules\oracle.jmx_11.1.1\jmxframework.jar;D:\Oracle\Mi
    ddleware\oracle_common\modules\oracle.jmx_11.1.1\jmxspi.jar;D:\Oracle\Middleware
    \oracle_common\modules\oracle.odl_11.1.1\ojdl.jar;D:\Oracle\MIDDLE~1\ORACLE~1\so
    a\modules\commons-cli-1.1.jar;D:\Oracle\MIDDLE~1\ORACLE~1\soa\modules\oracle.soa
    .mgmt_11.1.1\soa-infra-mgmt.jar;D:\Oracle\Middleware\Oracle_BI1\common\jlib\11.1
    .2.0\ctg.jar;D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;D:\Or
    acle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\Oracle\MIDDLE~1\WLS
    ERV~1.3\server\lib\xqrl.jar
    PATH=D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;D:\Oracle\MIDDLE~1
    \patch_ocp353\profiles\default\native;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\nativ
    e\win\x64;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;D:\Oracle\MIDDLE~1\modules\OR
    GAPA~1.1\bin;C:\PROGRA~1\Java\JDK16~1.0_2\jre\bin;C:\PROGRA~1\Java\JDK16~1.0_2\b
    in;D:\app\product\11.2.0\dbhome_1\bin;C:\Program Files (x86)\Dell\SysMgt\RAC5;C:
    \Program Files (x86)\Dell\SysMgt\oma\bin;C:\Program Files (x86)\Dell\SysMgt\idra
    c;C:\Program Files\Intel\DMIX;D:\Oracle\Middleware\Oracle_BI1\bin;D:\Oracle\Midd
    leware\Oracle_BI1\opmn\bin;D:\Oracle\Middleware\Oracle_BI1\opmn\lib;D:\Oracle\Mi
    ddleware\Oracle_BI1\perl\bin;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64
    \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_21"
    Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
    Java HotSpot(TM) 64-Bit Server VM (build 17.0-b17, mixed mode)
    Starting WLS with line:
    C:\PROGRA~1\Java\JDK16~1.0_2\bin\java -server -Xms256m -Xmx512m -XX:MaxPermSi
    ze=512m -XX:-UseSSE42Intrinsics -Dweblogic.Name=AdminServer -Djava.security.poli
    cy=D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Dweblogic.Producti
    onModeEnabled=true -Doracle.home=D:\Oracle\Middleware\Oracle_BI1 -da -Dplatform
    .home=D:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\ser
    ver -Dweblogic.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=D:\Oracl
    e\MIDDLE~1\USER_P~1\domains\BIFOUN~1 -Dcommon.components.home=D:\Oracle\MIDDLE~1
    \ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commo
    ns.logging.impl.Jdk14Logger -Djrockit.optfile=D:\Oracle\MIDDLE~1\ORACLE~1\module
    s\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=D:\Oracle\MID
    DLE~1\USER_P~1\domains\BIFOUN~1\config\FMWCON~1 -Doracle.server.config.dir=D:\Or
    acle\MIDDLE~1\USER_P~1\domains\BIFOUN~1\config\FMWCON~1\servers\AdminServer -Dor
    acle.security.jps.config=D:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1\config\fmw
    config\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dig
    f.arisidbeans.carmlloc=D:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1\config\FMWCO
    N~1\carml -Digf.arisidstack.home=D:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1\c
    onfig\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=D:\Oracle\MIDDL
    E~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,D:\Oracle\MIDDLE~1\ORACLE~1\modules\o
    racle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Doracle.biee.sear
    ch.bisearchproperties=D:\Oracle\Middleware\Oracle_BI1\bifoundation\jee\BISearchC
    onfig.properties -Dweblogic.management.clearTextCredentialAccessEnabled=true -Do
    racle.notification.filewatching.interval=2000 -Dweblogic.security.SSL.ignoreHost
    nameVerification=true -DEPM_ORACLE_HOME=D:\Oracle\Middleware\Oracle_BI1 -Doracle
    .ecsf.crawl.mode.debug=true -Doracle.ecsf.security.service=oracle.biee.search.se
    curity.BISearchSecurityService -Doracle.ecsf.configuration.class=oracle.biee.sea
    rch.services.BISearchServiceConfiguration -Dxdo.server.config.dir=D:\Oracle\Midd
    leware\user_projects\domains\bifoundation_domain\config\bipublisher -DXDO_FONT_D
    IR=D:\Oracle\Middleware\Oracle_BI1\common\fonts -Dorg.eclipse.emf.ecore.EPackag
    e.Registry.INSTANCE=com.sigmadynamics.emf.util.SDEMFRegistry -Dweblogic.wsee.ski
    p.async.response=true -Drtd.instanceName=RTD_AdminServer -Dem.oracle.home=D:\Ora
    cle\Middleware\oracle_common -Djava.awt.headless=true -Dweblogic.management.disc
    over=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToCon
    sole=false -Dweblogic.ext.dirs=D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default
    \sysext_manifest_classpath;D:\Oracle\MIDDLE~1\patch_ocp353\profiles\default\syse
    xt_manifest_classpath -Dweblogic.management.username=Administrator -Dweblogic.ma
    nagement.password=System12 weblogic.Server
    <Mar 28, 2011 2:26:26 AM PDT> <Info> <WebLogicServer> <BEA-000377> <Starting Web
    Logic Server with Java HotSpot(TM) 64-Bit Server VM Version 17.0-b17 from Sun Mi
    crosystems Inc.>
    <Mar 28, 2011 2:26:26 AM PDT> <Info> <Management> <BEA-141107> <Version: WebLogi
    c Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
    <Mar 28, 2011 2:26:29 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server sta
    te changed to STARTING>
    <Mar 28, 2011 2:26:29 AM PDT> <Info> <WorkManager> <BEA-002900> <Initializing se
    lf-tuning thread pool>
    <Mar 28, 2011 2:26:29 AM PDT> <Notice> <Log Management> <BEA-170019> <The server
    log file D:\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers
    \AdminServer\logs\AdminServer.log is opened. All server side log events will be
    written to this file.>
    Log file shows
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <WebLogicServer> <XTDBS1> <> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1301304389287> <BEA-000000> <WebLogic Server "AdminServer" version:
    WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 Copyright (c) 1995, 2009, Oracle and/or its affiliates. All rights reserved.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Notice> <Log Management> <XTDBS1> <> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1301304389412> <BEA-170019> <The server log file D:\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Log Management> <XTDBS1> <> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1301304389427> <BEA-170023> <The Server Logging is initialized with Java Logging API implementation.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Diagnostics> <XTDBS1> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389521> <BEA-320001> <The ServerDebug service initialized successfully.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Server> <XTDBS1> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389630> <BEA-002622> <The protocol "t3" is now configured.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Server> <XTDBS1> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389630> <BEA-002622> <The protocol "t3s" is now configured.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Server> <XTDBS1> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389630> <BEA-002622> <The protocol "http" is now configured.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Server> <XTDBS1> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389630> <BEA-002622> <The protocol "https" is now configured.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Server> <XTDBS1> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389630> <BEA-002622> <The protocol "iiop" is now configured.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Server> <XTDBS1> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389630> <BEA-002622> <The protocol "iiops" is now configured.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Server> <XTDBS1> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389630> <BEA-002622> <The protocol "ldap" is now configured.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Server> <XTDBS1> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389630> <BEA-002622> <The protocol "ldaps" is now configured.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Server> <XTDBS1> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389630> <BEA-002622> <The protocol "cluster" is now configured.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Server> <XTDBS1> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389630> <BEA-002622> <The protocol "clusters" is now configured.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Server> <XTDBS1> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389646> <BEA-002622> <The protocol "snmp" is now configured.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Server> <XTDBS1> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389646> <BEA-002622> <The protocol "admin" is now configured.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Server> <XTDBS1> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389646> <BEA-002624> <The administration protocol is "t3s" and is now configured.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <RJVM> <XTDBS1> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389677> <BEA-000570> <Network Configuration for Channel "AdminServer"
    Listen Address          :7001
    Public Address          N/A
    Http Enabled          true
    Tunneling Enabled     false
    Outbound Enabled     false
    Admin Traffic Enabled     true>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Server> <XTDBS1> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389724> <BEA-002609> <Channel Service initialized.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Socket> <XTDBS1> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389739> <BEA-000406> <NTSocketMuxer was built on Jan 24 2006 20:40:35
    >
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Socket> <XTDBS1> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389762> <BEA-000436> <Allocating 3 reader threads.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <Socket> <XTDBS1> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389778> <BEA-000446> <Native IO Enabled.>
    ####<Mar 28, 2011 2:26:29 AM PDT> <Info> <IIOP> <XTDBS1> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1301304389918> <BEA-002014> <IIOP subsystem enabled.>
    Thanks,
    Balaa...

    balaa,
    can you help in starting the bi services?
    Thanks

  • Weblogic portal is getting hanged after a regular interval

    Hi,
    We are using WLP 8.1 SP 5 on a HP Unix environment. Our Weblogic instance is getting hanged and we need to restart the same. This problem is happing once in a 3 weeks time. From console we cheked that avilable memory for JVM heap is quite low when this happens. Below are the some of the log messages we have found in the weblogic log:
    <Jun 28, 2010 6:12:59 AM GMT> <Error> <HTTP> <BEA-101083> <Connection failure.
    java.net.SocketException: Error in poll for fd=172, revents=32
    at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:131)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    >
    <Jun 28, 2010 6:45:14 AM GMT> <Error> <WebLogicServer> <BEA-000337> <ExecuteThread: '57' for queue: 'default' has been busy for "966" seconds working on the request "Http Reques
    t: /Xxxxx/global/docs/en/careers/Xxxxx_Power_Source.wmv", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>
    ********* resources error jsp is called *******
    <Jun 28, 2010 7:55:14 AM GMT> <Error> <WebLogicServer> <BEA-000337> <ExecuteThread: '13' for queue: 'default' has been busy for "606" seconds working on the request "Http Reques
    t: /Xxxxx/global/docs/en/xxxxx/media_publications/technical_papers/xxxx.pdf", which is more than the configured time (StuckThreadMaxTime) of "600" seco
    nds.>
    ********* resources error jsp is called *******
    <Jun 28, 2010 7:46:13 AM GMT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=12830383,name=xxxxxportal,context-path=)] mt:mail: Could not send message
    javax.mail.SendFailedException: No recipient addresses
    at javax.mail.Transport.send0(Transport.java:111)
    at javax.mail.Transport.send(Transport.java:81)
    at org.apache.taglibs.mailer2.BackgroundMailThread.run(BackgroundMailThread.java:65)
         ********* resources error jsp is called *******
    Any help is highly appriciated.

    Hi,
    Please find below my findings about the memory leak.
    Many (around 40 where max connection is 50) connection were created without they getting closed in a very short span of time. This caused the connection pool to be filled as rest of the connections in the connection pool were doing something else. Below is the log message:
    ####<Jul 4, 2010 12:24:01 AM GMT> <Info> <Common> <domainname.xxxxxxxx.com> <EXL> <ExecuteThread: '4' for queue: 'default'> <<anonymous>> <BEA1-39390F6683087D485CB1> <BEA-000627> <Reached maximum capacity of pool "portalPool", making "0" new resource instances instead of "1".>
    ####<Jul 4, 2010 12:24:01 AM GMT> <Info> <Common> <domainname.xxxxxxxx.com> <EXL> <ExecuteThread: '48' for queue: 'default'> <<anonymous>> <BEA1-393D0F6683087D485CB1> <BEA-000627> <Reached maximum capacity of pool "portalPool", making "0" new resource instances instead of "1".>
    ####<Jul 4, 2010 12:26:06 AM GMT> <Info> <Common> <domainname.xxxxxxxx.com> <EXL> <ExecuteThread: '45' for queue: 'default'> <<anonymous>> <BEA1-397A0F6683087D485CB1> <BEA-000627> <Reached maximum capacity of pool "portalPool", making "0" new resource instances instead of "1".>
    This caused all the threads handling request to the application hanged.
    ####<Jul 4, 2010 12:29:24 AM GMT> <Error> <WebLogicServer> <domainname.xxxxxxxx.com> <EXL> <weblogic.health.CoreHealthMonitor> <<WLS Kernel>> <> <BEA-000337> <ExecuteThread: '1' for queue: 'default' has been busy for "636" seconds working on the request "Http Request: /xxxxxxxx.portal", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>
    ####<Jul 4, 2010 12:29:24 AM GMT> <Error> <WebLogicServer> <domainname.xxxxxxxx.com> <EXL> <weblogic.health.CoreHealthMonitor> <<WLS Kernel>> <> <BEA-000337> <ExecuteThread: '2' for queue: 'default' has been busy for "696" seconds working on the request "Http Request: /xxxxxxxx.portal", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>
    69 of 70 threads hanged and logged this error message
    Also, other Weblogic modules (EJBs etc.) were not able to release connections due to this connection leak problem.
    <Jul 4, 2010 12:31:13 AM GMT> <Info> <EJB> <domainname.xxxxxxxx.com> <EXL> <ExecuteThread: '15' for queue: 'default'> <<anonymous>> <BEA1-38C90F6683087D485CB1> <BEA-010051> <EJB Exception occurred during invocation from home: [email protected]106df27 threw exception: javax.ejb.TransactionRolledbackLocalException: EJB Exception: ; nested exception is: javax.ejb.TransactionRolledbackLocalException: EJB Exception: ; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 502 seconds
    BEA1-38C90F6683087D485CB1
    These hanged threads and EJBs caused the memory leak in JVM heap.
    ####<Jul 4, 2010 2:00:35 AM GMT> <Error> <T3Misc> <domainname.xxxxxxxx.com> <EXL> <weblogic.time.TimeEventGenerator> <<WLS Kernel>> <> <BEA-000712> <Exception invoking Scheduled Trigger
    java.lang.OutOfMemoryError: Java heap space
    java.lang.OutOfMemoryError: Java heap space
    >
    When checked the JDBC log the below exception was found:
    SQLException: SQLState(null) vendor code(17002)
    SQLException: SQLState(null) vendor code(17002)
    java.sql.SQLException: Io exception: Broken pipe (errno:32)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
    So, what might cause this JDBC error. Is the problem at Weblogic end or the database end? It seems that the connections are hanging due to this JDBC error which is causing the connection pool to be filled up. Subsequently threads are hanging which leads to memory leak.
    Please help as this issue is reoccuring again and again!!!

  • Can I pass Chinese characters in a queue (Do queues support Unicode)?

    I am aware that there are a number of tools to allow the use of Chinese characters within LabVIEW. I have successfully built an application where I am able to switch between English and Chinese so that all screen text, buttons, multi-column list boxes etc etc are updated correctly.
    However, I do all my event logging using queues. When I dequeue the an item, I want to write it out to a log file (i.e. a ".txt" file) but the resulting file contains rubbish instead of the Chinese characters.
    As an experiment, I created a simple VI that reads an array of Chinese text and writes it to a text file and this works fine. But, as I say, if I try doing this using queues, I just just get rubbish.
    Any help would be very much appreciated.
    Lee
    Solved!
    Go to Solution.

    Hi Steve
    I've tried to replicate my situation but now I get a different outcome. It seems that I am now getting Chinese characters in my text file. However, you'll see from my code that I'm trying to Tab seperate each item (Date, Time and Message) but this doesn't seem to be working. Likewise, I want to end each line with a Carriage Return but that doesn't seem to be working either.
    I think I'm going to have to take it on the chin that something I'm doing in my "real" application is preventing me from seeing the Chinese characters in my log file.
    I've attached the sample VI along with a sample logfile from my "real" application so you can see what I'm getting.
    I can't really see what I've done different between my sample VI and my application. The only real difference is to do with the Byte Order Mark. In my application I've tried the following :-
    Inserting this once at the beginning of the entire log file
    Inserting it once at the start of each line of the log file
    Inserting it before each piece of text excluding the date and time
    Inserting it before every message item including the Tabs and Carriage Returns
    None of the above produce anything I can use.
    Thanks for responding so quickly.
    Cheers
    Lee
    Attachments:
    Sample Chinese Queue.vi ‏37 KB
    120125-16-15-59.txt ‏1 KB

  • Save Queue / Watch Queue For "Build Server"

    I'm trying to use Adobe Media Encoder CS6 as what we in the programming world call a "build server", i.e. watch for inputs that are new or changed and build output automatically when it finds them.
    Specifically, I want AME to automatically notice when there are new or changed PPro sequences, and automatically encode output for those sequences.
    At first, the "Watched Folder" feature seemed perfect. it will monitor a given folder and when a new file pops up automatically encode it.
    But there are 2 problems...
    It doesn't seem to support sequences. Seriously?
    Even if it did support sequences, it only seems to look for new items - not modified
    So then I started thinking about the "Save Queue" approach (queue up all my PPro sequences in AME, Save the queue, backup the "batch.xml" file, then "restore" the "batch.xml" file later when I need to re-export)
    Doing that would kind of give me a "Watched Folder" kind of functionality for sequences, except:
    It's actually the opposite of Watched Folder in that it would only re-export existing sequences and *not* new ones (of course, I guess I could always restore, add any new sequences, then re-back-up the "batch.xml" again...)
    It's not automatic - I'd have to manually do the restore / run open AME
    A sequence would always be encoded regardless whether it actually changed.
    The "Watched Folder" seems to be a no-go because it doesn't support sequences. The "batch.xml" seems pretty kludgy, but I guess it's better than having to manually re-enter the sequence information every time it changes (i.e. PPro > select sequence > File > Export > Select filename > Say yes to replace it > choose "entire sequence" > choose "Queue" > say "yes" to replace filename again > ugh).
    Does anybody have any ideas? I can't believe I'm the only person in the world that has the seemingly basic unmet need.

    Oh, one other thing I noticed about the "Save Queue" approach.
    If you look at the batch.xml file itself, you'll notice that the "parentprojectfile" is not the sequence you exported, but rather a copy of it.
    For example, I have a project "e:\video\home movies\dvd7-003.prproj", with a sequence called "master". I exported this sequence via Export > Media > Queue, the looked at the "batch.xml" that was created by AME > File > Save Queue.
    The parentprojectfile was not "e:\video\home movies\dvd7-003.prproj", but rather "c:\windows\temp\dvd-003_8.prproj". A first I thought it was just a "snapshot" copy of the project, but a file comparison showed they are very, very different. Actually, a cursory glance would have shown that: my e:\ project file is 7.7MB, the c:\ project file is only 5.5MB.
    So long story short, I would not trust a backup / restore of "batch.xml" to do what I want.
    It's not pointing to the same project, it's not even pointing to a copy of the project, and if my temp directory gets cleaned out, AME will fail when you try to encode (since it's referencing a file that no longer exists).

  • Sessions/connections gets hang during update and select operations.

    A table with 3 million records, which has customer details data.
    Everyday application is executing select and update queries on that table.
    Sessions/connections gets hang during update and select operations.
    After checking ADDM report, following are the findings:
    Please suggest the solutions
    Findings and Recommendations
    Finding 1: Row Lock Waits
    Impact is 145.22 active sessions, 99.77% of total activity.
    SQL statements were found waiting for row lock waits.
    Recommendation 1: Application Analysis
    Estimated benefit is 145.22 active sessions, 99.77% of total activity.
    Action
    Significant row contention was detected in the TABLE
    "AVAYA.AIRTEL_CUSTOMER_MASTER" with object ID 82155. Trace the cause of
    row contention in the application logic using the given blocked SQL.
    Related Object
    Database object with ID 82155.
    Rationale
    The SQL statement with SQL_ID "974vg65j29pmv" was blocked on row locks.
    Related Object
    SQL statement with SQL_ID 974vg65j29pmv.
    UPDATE AVAYA.AIRTEL_CUSTOMER_MASTER SET PREFERRED_LANGUAGE = :1
    WHERE ( AIRTEL_CUSTOMER_MASTER.MSISDN = :2 )
    Rationale
    The session with ID 50 and serial number 34525 in instance number 1 was
    the blocking session responsible for 100% of this recommendation's
    benefit.
    Symptoms That Led to the Finding:
    Wait class "Application" was consuming significant database time.
    Impact is 145.22 active sessions, 99.77% of total activity.
    Finding 2: Top SQL Statements
    Impact is 46.39 active sessions, 31.87% of total activity.
    SQL statements consuming significant database time were found. These
    statements offer a good opportunity for performance improvement.
    Recommendation 1: SQL Tuning
    Estimated benefit is 46.39 active sessions, 31.87% of total activity.
    Action
    Investigate the UPDATE statement with SQL_ID "974vg65j29pmv" for
    possible performance improvements. You can supplement the information
    given here with an ASH report for this SQL_ID.
    Related Object
    SQL statement with SQL_ID 974vg65j29pmv.
    UPDATE AVAYA.AIRTEL_CUSTOMER_MASTER SET PREFERRED_LANGUAGE = :1
    WHERE ( AIRTEL_CUSTOMER_MASTER.MSISDN = :2 )
    Rationale
    The SQL spent only 0% of its database time on CPU, I/O and Cluster
    waits. Therefore, the SQL Tuning Advisor is not applicable in this case.
    Look at performance data for the SQL to find potential improvements.
    Rationale
    Database time for this SQL was divided as follows: 100% for SQL
    execution, 0% for parsing, 0% for PL/SQL execution and 0% for Java
    execution.
    Rationale
    SQL statement with SQL_ID "974vg65j29pmv" was executed 212 times and had
    an average elapsed time of 2494 seconds.
    Rationale
    Waiting for event "enq: TX - row lock contention" in wait class
    "Application" accounted for 100% of the database time spent in
    processing the SQL statement with SQL_ID "974vg65j29pmv".

    **addm report **
              ADDM Report for Task 'TASK_7526'
    Analysis Period
    AWR snapshot range from 5003 to 5004.
    Time period starts at 08-JUL-13 11.00.27 AM
    Time period ends at 08-JUL-13 12.00.45 PM
    Analysis Target
    Database 'AVAYADB' with DB ID 2878789264.
    Database version 11.2.0.1.0.
    ADDM performed an analysis of instance avayadb, numbered 1 and hosted at
    NG-LA04AVAYA01.
    Activity During the Analysis Period
    Total database time was 563062 seconds.
    The average number of active sessions was 155.63.
    Summary of Findings
       Description         Active Sessions      Recommendations
                           Percent of Activity
    1  Row Lock Waits      155.44 | 99.88       1
    2  Top SQL Statements  26.67 | 17.14        1
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              Findings and Recommendations
    Finding 1: Row Lock Waits
    Impact is 155.4 active sessions, 99.88% of total activity.
    SQL statements were found waiting for row lock waits.
       Recommendation 1: Application Analysis
       Estimated benefit is 155.44 active sessions, 99.88% of total activity.
       Action
          Significant row contention was detected in the TABLE
          "AVAYA.AIRTEL_CUSTOMER_MASTER" with object ID 82155. Trace the cause of
          row contention in the application logic using the given blocked SQL.
          Related Object
             Database object with ID 82155.
       Rationale
          The SQL statement with SQL_ID "974vg65j29pmv" was blocked on row locks.
          Related Object
             SQL statement with SQL_ID 974vg65j29pmv.
             UPDATE AVAYA.AIRTEL_CUSTOMER_MASTER SET PREFERRED_LANGUAGE = :1
             WHERE  ( AIRTEL_CUSTOMER_MASTER.MSISDN = :2 )
       Rationale
          The session with ID 167 and serial number 6084 in instance number 1 was
          the blocking session responsible for 100% of this recommendation's
          benefit.
       Symptoms That Led to the Finding:
          Wait class "Application" was consuming significant database time.
          Impact is 155.45 active sessions, 99.88% of total activity.
    Finding 2: Top SQL Statements
    Impact is 26.66 active sessions, 17.14% of total activity.
    SQL statements consuming significant database time were found. These
    statements offer a good opportunity for performance improvement.
       Recommendation 1: SQL Tuning
       Estimated benefit is 26.67 active sessions, 17.14% of total activity.
       Action
          Investigate the UPDATE statement with SQL_ID "974vg65j29pmv" for
          possible performance improvements. You can supplement the information
          given here with an ASH report for this SQL_ID.
          Related Object
             SQL statement with SQL_ID 974vg65j29pmv.
             UPDATE AVAYA.AIRTEL_CUSTOMER_MASTER SET PREFERRED_LANGUAGE = :1
             WHERE  ( AIRTEL_CUSTOMER_MASTER.MSISDN = :2 )
       Rationale
          The SQL spent only 0% of its database time on CPU, I/O and Cluster
          waits. Therefore, the SQL Tuning Advisor is not applicable in this case.
          Look at performance data for the SQL to find potential improvements.
       Rationale
          Database time for this SQL was divided as follows: 100% for SQL
          execution, 0% for parsing, 0% for PL/SQL execution and 0% for Java
          execution.
       Rationale
          SQL statement with SQL_ID "974vg65j29pmv" was executed 707 times and had
          an average elapsed time of 794 seconds.
       Rationale
          Waiting for event "enq: TX - row lock contention" in wait class
          "Application" accounted for 100% of the database time spent in
          processing the SQL statement with SQL_ID "974vg65j29pmv".
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              Additional Information
    Miscellaneous Information
    Wait class "Commit" was not consuming significant database time.
    Wait class "Concurrency" was not consuming significant database time.
    Wait class "Configuration" was not consuming significant database time.
    Wait class "Network" was not consuming significant database time.
    Wait class "User I/O" was not consuming significant database time.
    Session connect and disconnect calls were not consuming significant database
    time.
    Hard parsing of SQL statements was not consuming significant database time.

  • Error listening to Queue carnot Queue

    I get the following error in my application.log and do not really know, what to do with it:
    java.lang.InstantiationException: Error: com.evermind.server.jms.EvermindQueueSession
         at com.evermind.server.jms.OrionServerSessionPool.getServerSessionFull(OrionServerSessionPool.java:377)
         at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:769)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:66)
    my jms.xml looks as follows:
    <?xml version="1.0"?>
    <!DOCTYPE jms-server PUBLIC "Orion JMS server" "http://xmlns.oracle.com/ias/dtds/jms-server.dtd">
    <jms-server port="9127" host="127.0.0.1">
    <!--Queue bindings, these queues will be bound to their respective JNDI path for later retrieval -->
    <queue-connection-factory location="jms/carnotQCF" password="carnot" port="9127" username="admin">
    </queue-connection-factory>
    <queue-connection-factory location="jms/appointmentQCF" password="carnot" port="9127" username="admin">
    </queue-connection-factory>
    <queue-connection-factory location="jms/objectMessageQCF" password="carnot" port="9127" username="admin">
    </queue-connection-factory>
    <queue-connection-factory location="jms/d0012QCF" password="carnot" port="9127" username="admin">
    </queue-connection-factory>
    <!-- path to the log-file where JMS-events/errors are stored-->
    <!-- log>
    <file path="../log/jms.log" />
    </log -->
    <queue name="carnot Queue" location="jms/carnotqueue" persistence-file="../persistence/MDB/carnot.queue" >
    <description>Appointment Queue</description>
    </queue>
    <queue name="Appointment Queue" location="jms/appointmentQ" persistence-file="../persistence/MDB/appointment.queue" >
    <description>Appointment Queue</description>
    </queue>
    <queue name="Object Message Queue" location="jms/objectMessageQ" >
    <description>Object Message Queue</description>
    </queue>
    <queue name="D0012 Queue" location="jms/d0012Q" persistence-file="../persistence/MDB/d012.queue" >
    <description>D012 queue</description>
    </queue>
    </jms-server>
    orion-ejb-jar.xml for the MDB:
    <message-driven-deployment name="MessageListener" destination-location="jms/carnotqueue" connection-factory-location="jms/carnotQCF" max-instances="10">
    Anybody an idea?
    cheers,
    Klaus

    Hi Klaus
    We had the same error as you have.
    After a lot of troubles we are now able to run IBMs MQSeries with OC4J v. 9.0.3.0.0
    Here is an overview of our configuration (on Windows 2000)
    Added the following lines to C:\OC4J\j2ee\home\config\application.xml
    This is to use connect to MQSeries with a file based JNDI. We created the file .bindings in C:\JNDI with IBMs JMSAdmin tool.
    <resource-provider
    class="com.evermind.server.deployment.ContextScanningResourceProvider"
    name="MQSeries">
    <description> MQSeries </description>
    <property name="java.naming.factory.initial" value="com.sun.jndi.fscontext.RefFSContextFactory"> </property>
    <property name="java.naming.provider.url" value="file:/C:/JNDI"> </property>
    </resource-provider>
    We copied the following files from MQSeries to C:\OC4J\j2ee\home\lib
    com.ibm.mq.jar
    com.ibm.mqjms.jar
    com.ibm.mqbind.jar
    mqji.properties
    fscontext.jar
    providerutil.jar
    Added the following line to C:\OC4J\j2ee\home\config\server.xml
    <library path="../lib" />
    This points to C:\OC4J\j2ee\home\lib where our MQSeries .jar files are located.
    In line 176 in com.evermind.server.jms.OrionServerSessionPool.class (located in OC4J.jar) we changed the following lines:
    ((AQjmsSession)new_session).setCloseCheckInterval(2);
    new_consumer = ((QueueSession)new_session).createReceiver((Queue)destination, messageSelector);
    ((AQjmsQueueReceiver)new_consumer).setNavigationMode(1);
    new_connection.start();
    to this:
    new_consumer = ((QueueSession)new_session).createReceiver((Queue)destination, messageSelector);
    new_connection.start();
    The reason to this, is that it looks like OC4J do not accept other queue system than AQ. If we dont change those lines, we get the following error:
    java.lang.InstantiationException: Error: com.evermind.server.jms.EvermindQueueSession at com.evermind.server.jms.OrionServerSessionPool.getServerSessionFull(OrionServerSessionPool.java:377)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:769)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:66)
    In the MDB sample (C:\OC4J\j2ee\home\demo\mdb) we changed the following (ivtTCF, ivtQCF, ivtT and ivtQ are MQSeries factories and connections):
    Orion-ejb-jar.xml
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
    <orion-ejb-jar deployment-version="9.0.3.0.0" deployment-time="ec68ca361c">
    <enterprise-beans>
    <session-deployment
    name="MyCart"
    max-instances="10"
    location="MyCart">
    <resource-ref-mapping
    name="ivtTCF"
    location="java:comp/resource/MQSeries/ivtTCF">
    </resource-ref-mapping>
    <resource-env-ref-mapping
    name="ivtT"
    location="java:comp/resource/MQSeries/ivtT">
    </resource-env-ref-mapping>
    <resource-ref-mapping
    name="ivtQCF"
    location="java:comp/resource/MQSeries/ivtQCF">
    </resource-ref-mapping>
    <resource-env-ref-mapping
    name="ivtQ"
    location="java:comp/resource/MQSeries/ivtQ">
    </resource-env-ref-mapping>
    </session-deployment>
    <message-driven-deployment
    name="MessageBeanTpc"
    connection-factory-location="java:comp/resource/MQSeries/ivtTCF"
    destination-location="java:comp/resource/MQSeries/ivtT"
    subscription-name="MDBSUB">
    <resource-ref-mapping
    name="ivtTCF"
    location="java:comp/resource/MQSeries/ivtTCF">
    </resource-ref-mapping>
    <resource-env-ref-mapping
    name="ivtT"
    location="java:comp/resource/MQSeries/ivtT">
    </resource-env-ref-mapping>
    <resource-ref-mapping
    name="ivtQCF"
    location="java:comp/resource/MQSeries/ivtQCF">
    </resource-ref-mapping>
    <resource-env-ref-mapping
    name="ivtQ"
    location="java:comp/resource/MQSeries/ivtQ">
    </resource-env-ref-mapping>
    </message-driven-deployment>
    <message-driven-deployment
    connection-factory-location="java:comp/resource/MQSeries/ivtQCF"
    destination-location="java:comp/resource/MQSeries/ivtQ"
    name="MessageBeanQue">
    <resource-ref-mapping
    name="ivtTCF"
    location="java:comp/resource/MQSeries/ivtTCF">
    </resource-ref-mapping>
    <resource-env-ref-mapping
    name="ivtT"
    location="java:comp/resource/MQSeries/ivtT">
    </resource-env-ref-mapping>
    <resource-ref-mapping
    name="ivtQCF"
    location="java:comp/resource/MQSeries/ivtQCF">
    </resource-ref-mapping>
    <resource-env-ref-mapping
    name="ivtQ"
    location="java:comp/resource/MQSeries/ivtQ">
    </resource-env-ref-mapping>
    </message-driven-deployment>
    </enterprise-beans>
    <assembly-descriptor>
    <default-method-access>
    <security-role-mapping name="&lt;default-ejb-caller-role&gt;" impliesAll="true" />
    </default-method-access>
    </assembly-descriptor>
    </orion-ejb-jar>
    ejb-jar.xml
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.2//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_2.dtd">
    <ejb-jar>
    <description>A demo cart bean package.</description>
    <display-name>A simple cart jar</display-name>
    <enterprise-beans>
    <session>
    <description>A simple shopping cart.</description>
    <display-name>Shopping Cart</display-name>
    <ejb-name>MyCart</ejb-name>
    <home>cart.ejb.CartHome</home>
    <remote>cart.ejb.Cart</remote>
    <ejb-class>cart.ejb.CartEJB</ejb-class>
    <session-type>Stateful</session-type>
    <transaction-type>Container</transaction-type>
    <resource-ref>
    <res-ref-name>ivtQCF</res-ref-name>
    <res-type>javax.jms.QueueConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>ivtQ</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
    </resource-env-ref>
    <resource-ref>
    <res-ref-name>ivtTCF</res-ref-name>
    <res-type>javax.jms.TopicConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>ivtT</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
    </resource-env-ref>
    </session>
    <message-driven>
    <description></description>
    <display-name>MessageBeanTpc</display-name>
    <ejb-name>MessageBeanTpc</ejb-name>
    <ejb-class>cart.ejb.MessageBean</ejb-class>
    <transaction-type>Container</transaction-type>
    <message-driven-destination>
    <destination-type>javax.jms.Topic</destination-type>
    <subscription-durability>Durable</subscription-durability>
    </message-driven-destination>
    <resource-ref>
    <res-ref-name>ivtQCF</res-ref-name>
    <res-type>javax.jms.QueueConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>ivtQ</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
    </resource-env-ref>
    <resource-ref>
    <res-ref-name>ivtTCF</res-ref-name>
    <res-type>javax.jms.TopicConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>ivtT</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
    </resource-env-ref>
    </message-driven>
    <message-driven>
    <description></description>
    <display-name>MessageBeanQue</display-name>
    <ejb-name>MessageBeanQueBMT</ejb-name>
    <ejb-class>cart.ejb.MessageBean</ejb-class>
    <transaction-type>Bean</transaction-type>
    <message-driven-destination>
    <destination-type>javax.jms.Queue</destination-type>
    </message-driven-destination>
    <resource-ref>
    <res-ref-name>ivtQCF</res-ref-name>
    <res-type>javax.jms.QueueConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>ivtQ</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
    </resource-env-ref>
    <resource-ref>
    <res-ref-name>ivtTCF</res-ref-name>
    <res-type>javax.jms.TopicConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>ivtT</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
    </resource-env-ref>
    </message-driven>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>MyCart</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <method>
    <ejb-name>MessageBeanTpc</ejb-name>
    <method-name>onMessage</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <method>
    <ejb-name>MessageBeanQue</ejb-name>
    <method-name>onMessage</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    In MessageBean.java I removed the few lines code related to AQ, and added the following imports to MessageBean.java and CartEJB.java:
    import com.ibm.*;
    import com.ibm.mq.*;
    import com.ibm.mq.jms.*;
    import com.ibm.jms.*;
    It works!!!
    Good luck
    Ole

  • Creation of tree gets hanged.

    Hi
    I am creating a tree from BAPI.
    The table structure is:
    ParentID
    ParentDesc
    ChildID
    ChildDesc
    When I create a tree with this information, portal get hanged.....
    Here is the code I am using
    public void populateTreeValues( java.lang.String selectedValue, int size )
        //@@begin populateTreeValues()
          IWDMessageManager mgr = wdComponentAPI.getMessageManager();   
        mgr.reportSuccess("Inside populateTreeValues");
          wdContext.nodeFoldersTreeRoot().invalidate();
                      for(int i=0; i< wdContext.nodeIT_COLLOBRATION_NODES_FINAL_VAL().size(); i++)
                            temp.put(wdContext.nodeIT_COLLOBRATION_NODES_FINAL_VAL().getIT_COLLOBRATION_NODES_FINAL_VALElementAt(i).getPARENT_ID(),wdContext.nodeIT_COLLOBRATION_NODES_FINAL_VAL().getIT_COLLOBRATION_NODES_FINAL_VALElementAt(i).getPARENT_DESC()); 
                            temp1.put(wdContext.nodeIT_COLLOBRATION_NODES_FINAL_VAL().getIT_COLLOBRATION_NODES_FINAL_VALElementAt(i).getPARENT_ID(),wdContext.nodeIT_COLLOBRATION_NODES_FINAL_VAL().getIT_COLLOBRATION_NODES_FINAL_VALElementAt(i).getPARENT_DESC());
                      Iterator it = temp.entrySet().iterator();
                      while (it.hasNext())
                            mgr.reportSuccess("***************START*********************");
                            mgr.reportSuccess("temp size "+temp.size());
                            Map.Entry pairs = (Map.Entry)it.next();
                            String uniqueParent = (String)pairs.getValue();
                            mgr.reportSuccess("Level1 element is "+uniqueParent);
                            IPrivateFoldersTreeView.IFoldersTreeRootElement level1Element = wdContext.createFoldersTreeRootElement();
                            level1Element.setChild(uniqueParent);
                            wdContext.nodeFoldersTreeRoot().addElement(level1Element);
                            temp1.remove(pairs.getKey());
                            for(int i =0 ; i < wdContext.nodeIT_COLLOBRATION_NODES_FINAL_VAL().size(); i++)
                                  if((uniqueParent).equalsIgnoreCase(wdContext.nodeIT_COLLOBRATION_NODES_FINAL_VAL().getIT_COLLOBRATION_NODES_FINAL_VALElementAt(i).getPARENT_DESC()))
                                        //mgr.reportSuccess("unique parent matched with element in node is "+uniqueParent);
                                        IPrivateFoldersTreeView.IFoldersTreeRootElement level2Element = level1Element.nodeChildNode().createFoldersTreeRootElement();
                                        String child = wdContext.nodeIT_COLLOBRATION_NODES_FINAL_VAL().getIT_COLLOBRATION_NODES_FINAL_VALElementAt(i).getCHILD_DESC();
                                        level2Element.setChild(child);
                                        level1Element.nodeChildNode().addElement(level2Element);
                                        String ID = wdContext.nodeIT_COLLOBRATION_NODES_FINAL_VAL().getIT_COLLOBRATION_NODES_FINAL_VALElementAt(i).getCHILD_ID(); 
                                        temp1.remove(ID);
                                        createChildNodes(child,level2Element);                                 
                            temp = temp1;
                            mgr.reportSuccess("temp1 size "+temp1.size());
                            mgr.reportSuccess("***************END*********************");
        //@@end
      public void createChildNodes( java.lang.String childTxt, com.diageo.productdashboard.wdp.IPrivateFoldersTreeView.IFoldersTreeRootElement parentEle )
        //@@begin createChildNodes()
        wdComponentAPI.getMessageManager().reportSuccess("Inside createChildNodes");
          for(int i =0; i< wdContext.nodeIT_COLLOBRATION_NODES_FINAL_VAL().size();i++)
                if(childTxt.equalsIgnoreCase(wdContext.nodeIT_COLLOBRATION_NODES_FINAL_VAL().getIT_COLLOBRATION_NODES_FINAL_VALElementAt(i).getPARENT_DESC()))
                      IPrivateFoldersTreeView.IFoldersTreeRootElement element = parentEle.nodeChildNode().createFoldersTreeRootElement();
                      String child = wdContext.nodeIT_COLLOBRATION_NODES_FINAL_VAL().getIT_COLLOBRATION_NODES_FINAL_VALElementAt(i).getCHILD_DESC();
                            element.setChild(child);
                            parentEle.nodeChildNode().addElement(element);
                            wdComponentAPI.getMessageManager().reportSuccess("Inside if childNode Level "+child);
                            String id = wdContext.nodeIT_COLLOBRATION_NODES_FINAL_VAL().getIT_COLLOBRATION_NODES_FINAL_VALElementAt(i).getCHILD_ID();
                            temp1.remove(id);
                            //recursive function call
                            createChildNodes(child,element);
        //@@end
    Please advice as to where the changes have to be made to load the tree successfully.
    Thanks in advance for your help

    Shivanand,
    Have you seen our How To document about trees?
    http://otn.oracle.com/products/database/htmldb/howtos/howto_tree.html
    Sergio

  • Report6i is getting hanged when i am using truncate command in srw.do_sql

    Hi All,
    I am using Reports 6.0.8.18.0 and oracle 9.2.0.1 on Windows XP with SP1.
    I am having a report in which i have used "truncate table <tablename>" command using SRW.do_sql command. some times report is getting hanged and some times it is giving an error as given below
    18:26:52 ERR REP-1425: 'afterpform': Error running DO_SQL package - 'Error parsing the SQL statement.
    ORA-04021: timeout occurred while waiting to lock object <object name >
    When i checked with the Oracle 8.1.7 database it is working fine.
    is there any patches are requried at database side ?
    Can any body help me in this.
    Regards,
    Gouri

    First: you should get a new keyboard. Seems your shift-key is stuck.
    Second: A header of a post is a header and not for a summary of your question
    Third: This is the forum for the tool SQL Developer. Please mark this question as answered and post again in Forms
    Forth: When you expect an answer, the least would be to include the errormessage and your forms version.
    Regards
    Marcus

  • On propagation from queue to queue on same instance

    Hi !
    I have a queue that I need to propagate into another queue (and later add a transformation during the process). I have created the ques for the moment with the same payload type in order to test easily, but the propagate does not work. The messages gets in the first queue, state READY.
    I'm on 10.2.0.3 on AIX
    Here is my code:
    {color:#0000ff}CREATE OR REPLACE TYPE mst_input_type AS object(
    sender_id VARCHAR2(30),
    subject VARCHAR2(30),
    text VARCHAR2(1000));{color}
    {color:#0000ff}--input k&oslash;
    exec DBMS_AQADM.stop_QUEUE ('MST_INPUT_QUEUE');{color}
    {color:#0000ff}exec DBMS_AQADM.drop_QUEUE ('MST_INPUT_QUEUE');{color}
    {color:#0000ff}exec DBMS_AQADM.drop_QUEUE_TABLE (queue_table =&gt; 'MST_INPUT_QUEUE_TABLE');{color}
    {color:#0000ff}-- output samme format
    exec DBMS_AQADM.stop_QUEUE ('MST_OUTPUT_QUEUE2');{color}
    {color:#0000ff}exec DBMS_AQADM.drop_QUEUE ('MST_OUTPUT_QUEUE2');{color}
    {color:#0000ff}exec DBMS_AQADM.drop_QUEUE_TABLE (queue_table =&gt; 'MST_OUTPUT_QUEUE_TABLE2');{color}
    {color:#0000ff}-- input k&oslash;/tabel
    exec DBMS_AQADM.CREATE_QUEUE_TABLE (
    queue_table =&gt; 'MST_INPUT_QUEUE_TABLE',
    queue_payload_type =&gt; 'mst_input_type'
    , multiple_consumers =&gt; TRUE
    );{color}
    {color:#0000ff}BEGIN
    DBMS_AQADM.CREATE_QUEUE (
    queue_name =&gt; 'MST_input_QUEUE',
    queue_table =&gt; 'MST_input_QUEUE_TABLE'
    DBMS_AQADM.START_QUEUE (
    queue_name =&gt; 'MST_input_QUEUE'
    END;{color}
    {color:#0000ff}-- output k&oslash;/tabel samme format
    exec DBMS_AQADM.CREATE_QUEUE_TABLE (
    queue_table =&gt; 'MST_output_QUEUE_TABLE2',
    queue_payload_type =&gt; 'mst_input_type'
    );{color}
    {color:#0000ff}BEGIN
    DBMS_AQADM.CREATE_QUEUE (
    queue_name =&gt; 'MST_output_QUEUE2',
    queue_table =&gt; 'MST_output_QUEUE_TABLE2'
    DBMS_AQADM.START_QUEUE (
    queue_name =&gt; 'MST_output_QUEUE2'
    END;{color}
    {color:#0000ff}-- slet subscriber
    DECLARE
    subscriber sys.aq$_agent;
    BEGIN
    subscriber := sys.aq$_agent('subscriber1', 'MST_output_QUEUE2', null);
    DBMS_AQADM.REMOVE_SUBSCRIBER(queue_name =&gt; 'MST_input_QUEUE',subscriber =&gt; subscriber);
    END;{color}
    {color:#0000ff}--- lav en subscriber
    DECLARE
    subscriber sys.aq$_agent;
    BEGIN
    subscriber := sys.aq$_agent('subscriber1', 'mst.MST_output_QUEUE2', null);
    DBMS_AQADM.ADD_SUBSCRIBER(queue_name =&gt; 'MST_input_QUEUE',subscriber =&gt; subscriber, queue_to_queue =&gt; TRUE);
    END;{color}
    {color:#0000ff}BEGIN
    DBMS_AQADM.SCHEDULE_PROPAGATION(queue_name =&gt; 'MST_input_QUEUE', destination =&gt; NULL,
    destination_queue =&gt; 'mst.MST_output_QUEUE2',
    Next_time =&gt; 'SYSDATE + 1/(24*60)');
    END;{color}
    {color:#0000ff}--- Skriv en besked
    declare
    message_handle RAW(16);
    enqueue_options dbms_aq.enqueue_options_t;
    message_properties dbms_aq.message_properties_t;
    payload mst_input_type;
    BEGIN
    message_properties.priority := 5;
    message_properties.delay := 1; -- one second delay before sending
    payload := mst_input_type(null,null,null);
    payload.sender_id := user;
    payload.subject := 'Message fra ' || user ;
    payload.text := 'Dette er en message fra ' || user || ' sendt ca. kl. ' || systimestamp ;
    DBMS_AQ.ENQUEUE(queue_name =&gt; 'MST_input_QUEUE',
    enqueue_options =&gt; enqueue_options,
    message_properties =&gt; message_properties,
    payload =&gt; payload,
    msgid =&gt; message_handle);
    plog.info('Messageid=' || message_handle);
    commit;
    end;{color}
    {color:#000000}Can you give me a hint on how to get further? I have tried with and without the queue-to-queue options, but with little sucess.
    {color}
    Regards
    Mette, DK
    Edited by: mettemusens on Jan 11, 2009 7:57 PM

    By trying and trying I got it to work .... long hours
    I removed the queue to queue option and the subscriber name from the subscriptions definition. And then I removed the destination-queue on the propagation schedule. Then it worked.
    Mette

Maybe you are looking for