SQL Blocking notification - at high monitoring level and holding many threads in Sharepoint 2010

I am getting the following error in our SharePoint 2010 environment:
Unexpected       PortalSiteMapProvider was unable to fetch current node, request
Account Pipeline Dashboard/EditForm.aspx, message: Thread was being aborted.
Any ideas?
-Kash

There could be multiple reasons for this, one possible reason is that your application pool account does not have full permissions to read the complete site collection.
Identify your web apps' app pool account using inetmgr
Login to central site administration
Go to Application management > Policy for web application
Choose the web application where the inaccessible site collection exists
Add a full control policy for the app pool account
Try below command:
$wa = Get-SPWebApplication -Identity "http://intranet.mysite.com"
$wa.Properties["portalsuperuseraccount"] = "i:0#.w|pro1766\sp_superuser_cache" $wa.Properties["portalsuperreaderaccount"] = "i:0#.w|pro1766\sp_superreader_cache"
$wa.Update()
Also try below hotfix
http://blogs.msdn.com/b/joerg_sinemus/archive/2013/02/12/february-2013-sharepoint-2010-hotfix.aspx
If this helped you resolve your issue, please mark it Answered

Similar Messages

  • Pl/sql block to count no of vowels and consonents in a given string

    hi,
    I need a pl/sql block to count no of vowels and consonants in a given string.
    Program should prompt user to enter string and should print no of vowels and consonants in the given string.
    Regards
    Krishna

    Edit, correction to my above post which was wrong
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select '&required_string' as txt from dual)
      2  --
      3  select length(regexp_replace(txt,'([bcdfghjklmnpqrstvwxyzBCDFGHJKLMNPQRSTVWXYZ])|.','\1')) as cons_count
      4        ,length(regexp_replace(txt,'([aeiouAEIOU])|.','\1')) as vowel_count
      5* from t
    SQL> /
    Enter value for required_string: This is my text string with vowels and consonants
    old   1: with t as (select '&required_string' as txt from dual)
    new   1: with t as (select 'This is my text string with vowels and consonants' as txt from dual)
    CONS_COUNT VOWEL_COUNT
            30          11
    SQL>

  • Content Search and not the document in SharePoint 2010

    Hi,
    The requirement is : Search the content of documents by storing the data in a database-driven structure and get the search results in a grid view with data in different columns. My questions are :-
    1) Can we store complete content of the word document in a separate database (other than content DB of site collection) or in list/library and show in search results/SP search result page ?
    2) Can we convert the existing documents in XML format and save it SharePoint ? Will that content be visible in Search results  ?
    3) How can we modify search page to have check box before every search result ?
    4) How can we export the selected search results in an excel file ?
    Any help will be highly appreciated !!!
    Vipul Jain

    Hi Inderjeet,
    Thanks for the reply. But the client's existing documents are in .doc (Word 2003) format , which is not an open-xml supported format. So the first step would be -
    Q1) How can we extract the content from word documents ?
    The existing documents are based on a standard corporate template (.dot). These documents are having very heavy content , for example, resume document of an employee, having 20 experiences in very big paragraphs in text format.
    Q2) Can we store such large content (experience/qualifications/professional licenses etc) in SharePoint list/library columns ? If yes , which column type will be used...  
    Its true that we can convert the existing documents in XML and then the content will be searchable in SharePoint 2010.
    Q3) Can we customize the search page to that level that it can give us results in a grid view having different columns , and user can select the multiple search results and create a document dynamically based on those selected search results.
    I Know anything can be done using customization's (.net C#)..I just want to clarify for SharePoint search page. If yes , then there will be no need to store the document contents in a separate SQL database.
    Kindly reply.
    Vipul Jain

  • Slow execution, flickering graphics, and too many threads, oh my!

    i wrote a little game called Aim, Fire! just to screw around.
    its immense complexity involves shooting little targets that fly across the screen.
    you can see it at http://www.brianmaissy.com/applets/aimfire
    i made a class representing a target that paints itself and is its own thread.
    its kinda nifty in a OOP sort of way: all i have to do is instantiate a target; and it takes care of the rest, notifying the driver program of anything important (like it getting shot)
    the problem, however, is the speed changes significantly depending on how many targets are active, and the graphics are very flickery.
    i think the problem may be that having multiple threads is slow.
    i also tried buffering my graphics but it didnt work very well.
    however that may just be because i did it wrong.
    in fact i probably did a lot of things wrong - please notify me of anything you see that i did badly
    so tell me what you think about the design of the program, and any suggestions you have to restructure it. would i do better just to stick everything in one thread, or even all in one class?
    thanks very much!
    here is the code: (also found at http://www.brianmaissy.com/applets/aimfire/aimFire/AimFire.java and http://www.brianmaissy.com/applets/aimfire/aimFire/Target.java)
    package aimFire;
    import java.applet.Applet;
    import java.awt.Color;
    import java.awt.Event;
    import java.awt.Graphics;
    import java.awt.Image;
    import java.awt.Point;
    import java.util.ArrayList;
    import java.util.Random;
    public class AimFire extends Applet{
         public static final int SPEED_CONSTANT = 500;
         public static final int MIN_X = 0;
         public static final int MIN_Y = 21;
         public static final int MAX_X = 399;
         public static final int MAX_Y = 399;
         Image ammoImage;
         private Random rand;
         private static final int CLIP = 10;
         private static final int TOTAL_TARGETS = 20;
         private int toBeAdded;
         private ArrayList<Target> targets;
         private int targetsKilled;
         private int ammo;
         private int score;
         private boolean gameActive;
         public void init(){
              setSize(400, 400);
              setBackground(Color.black);
            setCursor(getToolkit().createCustomCursor(getImage(this.getClass().getResource("crosshair.gif")), new Point(16, 16), "crosshair"));
            ammoImage = getImage(this.getClass().getResource("ammo.gif"));
            rand = new Random();
            ammo = CLIP;
            score = 0;
            gameActive = true;
            targetsKilled = 0;
            toBeAdded = TOTAL_TARGETS;
            targets = new ArrayList<Target>();
            sendRandom();
            sendRandom();
         public boolean mouseDown(Event e, int x, int y){
              if(gameActive && ammo > 0){
                   ammo--;
                   for(int count = 0; count < targets.size(); count++){
                        score += targets.get(count).hit(x, y);
                   repaint();
              return true;
         public boolean keyDown(Event e, int key){
              if((char)key == ' ' && gameActive){
                   ammo = CLIP;
                   repaint();
              return true;
         private void sendRandom(){
            toBeAdded--;
              Target t = new Target(this, getGraphics(), rand);
              targets.add(t);
            new Thread(t).start();
            repaint();
         public void notifyOfDeath(Target t){
              targetsKilled++;
              targets.remove(t);
              if(toBeAdded > 0){
                   sendRandom();
              if(targets.size()==0){
                   gameActive = false;
              repaint();
         public void paint(Graphics g){
              g.setColor(Color.gray);
            g.drawLine(0, 20, 399, 20);
              for(int count = 0; count < ammo; count++){
                   g.drawImage(ammoImage, count*10 + 3, 3, this);
              if(ammo == 0){
                   g.drawString("press space to reload", 3, 13);
            g.drawString("Targets: " + targetsKilled + "/" + TOTAL_TARGETS, 230, 13);
            g.drawString("Score: " + score, 340, 13);
              if(!gameActive){
                   g.setColor(Color.gray);
                   g.drawString("Game Over", 170, 200);
                   g.drawString("Score: " + score, 170, 230);
    package aimFire;
    import java.awt.Color;
    import java.awt.Graphics;
    import java.util.Random;
    public class Target implements Runnable{
         private AimFire a;
         private Graphics g;
         private int radius;
         private int xLocation;
         private int yLocation;
         private int xDirection;
         private int yDirection;
         private int xSpeed;
         private int ySpeed;
         public Target(AimFire driver, Graphics graphics, Random rand){
              this(driver, graphics, 3*(rand.nextInt(9)+ 2), rand.nextInt(1 + AimFire.MAX_X - 60) + 30 + AimFire.MIN_X, rand.nextInt(1 + AimFire.MAX_Y - 60 - AimFire.MIN_Y) + 30 + AimFire.MIN_Y, rand.nextInt(3)-1, rand.nextInt(3)-1, rand.nextInt(5)+1, rand.nextInt(5)+1);
              if(xDirection == 0 && yDirection == 0){
                   if(rand.nextInt(2)==0){
                        if(rand.nextInt(2)==0){
                             xDirection = 1;
                        }else{
                             xDirection = -1;
                   }else{
                        if(rand.nextInt(2)==0){
                             yDirection = 1;
                        }else{
                             yDirection = -1;
         public Target(AimFire driver, Graphics graphics, int r, int x, int y, int xDir, int yDir, int xSp, int ySp){
              a = driver;
              g = graphics;
              radius = r;
              xLocation = x;
              yLocation = y;
              xDirection = xDir;
              yDirection = yDir;
              xSpeed = xSp;
              ySpeed = ySp;
         public void run() {
              if(g!=null){
                   paint();
                   int count = 1;
                   while(xLocation >= AimFire.MIN_X && xLocation <= AimFire.MAX_X && yLocation >= AimFire.MIN_Y && yLocation <= AimFire.MAX_Y){
                        unpaint();
                        if(count % (AimFire.SPEED_CONSTANT/xSpeed) == 0){
                             xLocation += xDirection;
                        if(count % (AimFire.SPEED_CONSTANT/ySpeed) == 0){
                             yLocation += yDirection;
                        paint();
                        count++;
                   unpaint();
                   a.notifyOfDeath(this);
         public int hit(int x, int y){
              if(Math.abs(x - xLocation) < radius/3 && Math.abs(y - yLocation) < radius/3){
                   xLocation = -99;
                   return 3;
              }else if(Math.abs(x - xLocation) < 2*radius/3 && Math.abs(y - yLocation) < 2*radius/3){
                   xLocation = -99;
                   return 2;
              }else if(Math.abs(x - xLocation) < radius && Math.abs(y - yLocation) < radius){
                   xLocation = -99;
                   return 1;
              }else{
                   return 0;
         private void paint(){
              g.setColor(Color.red);
              g.fillOval(xLocation-radius, yLocation-radius, 2*radius, 2*radius);
              g.setColor(Color.white);
              g.fillOval(xLocation-2*radius/3, yLocation-2*radius/3, 4*radius/3, 4*radius/3);
              g.setColor(Color.red);
              g.fillOval(xLocation-radius/3, yLocation-radius/3, 2*radius/3, 2*radius/3);
         private void unpaint(){
              g.setColor(Color.black);
              g.fillOval(xLocation-radius, yLocation-radius, 2*radius, 2*radius);
    }

    i wrote a little game called Aim, Fire! just to screw around.
    its immense complexity involves shooting little targets that fly across the screen.
    you can see it at http://www.brianmaissy.com/applets/aimfire
    i made a class representing a target that paints itself and is its own thread.
    its kinda nifty in a OOP sort of way: all i have to do is instantiate a target; and it takes care of the rest, notifying the driver program of anything important (like it getting shot)
    the problem, however, is the speed changes significantly depending on how many targets are active, and the graphics are very flickery.
    i think the problem may be that having multiple threads is slow.
    i also tried buffering my graphics but it didnt work very well.
    however that may just be because i did it wrong.
    in fact i probably did a lot of things wrong - please notify me of anything you see that i did badly
    so tell me what you think about the design of the program, and any suggestions you have to restructure it. would i do better just to stick everything in one thread, or even all in one class?
    thanks very much!
    here is the code: (also found at http://www.brianmaissy.com/applets/aimfire/aimFire/AimFire.java and http://www.brianmaissy.com/applets/aimfire/aimFire/Target.java)
    package aimFire;
    import java.applet.Applet;
    import java.awt.Color;
    import java.awt.Event;
    import java.awt.Graphics;
    import java.awt.Image;
    import java.awt.Point;
    import java.util.ArrayList;
    import java.util.Random;
    public class AimFire extends Applet{
         public static final int SPEED_CONSTANT = 500;
         public static final int MIN_X = 0;
         public static final int MIN_Y = 21;
         public static final int MAX_X = 399;
         public static final int MAX_Y = 399;
         Image ammoImage;
         private Random rand;
         private static final int CLIP = 10;
         private static final int TOTAL_TARGETS = 20;
         private int toBeAdded;
         private ArrayList<Target> targets;
         private int targetsKilled;
         private int ammo;
         private int score;
         private boolean gameActive;
         public void init(){
              setSize(400, 400);
              setBackground(Color.black);
            setCursor(getToolkit().createCustomCursor(getImage(this.getClass().getResource("crosshair.gif")), new Point(16, 16), "crosshair"));
            ammoImage = getImage(this.getClass().getResource("ammo.gif"));
            rand = new Random();
            ammo = CLIP;
            score = 0;
            gameActive = true;
            targetsKilled = 0;
            toBeAdded = TOTAL_TARGETS;
            targets = new ArrayList<Target>();
            sendRandom();
            sendRandom();
         public boolean mouseDown(Event e, int x, int y){
              if(gameActive && ammo > 0){
                   ammo--;
                   for(int count = 0; count < targets.size(); count++){
                        score += targets.get(count).hit(x, y);
                   repaint();
              return true;
         public boolean keyDown(Event e, int key){
              if((char)key == ' ' && gameActive){
                   ammo = CLIP;
                   repaint();
              return true;
         private void sendRandom(){
            toBeAdded--;
              Target t = new Target(this, getGraphics(), rand);
              targets.add(t);
            new Thread(t).start();
            repaint();
         public void notifyOfDeath(Target t){
              targetsKilled++;
              targets.remove(t);
              if(toBeAdded > 0){
                   sendRandom();
              if(targets.size()==0){
                   gameActive = false;
              repaint();
         public void paint(Graphics g){
              g.setColor(Color.gray);
            g.drawLine(0, 20, 399, 20);
              for(int count = 0; count < ammo; count++){
                   g.drawImage(ammoImage, count*10 + 3, 3, this);
              if(ammo == 0){
                   g.drawString("press space to reload", 3, 13);
            g.drawString("Targets: " + targetsKilled + "/" + TOTAL_TARGETS, 230, 13);
            g.drawString("Score: " + score, 340, 13);
              if(!gameActive){
                   g.setColor(Color.gray);
                   g.drawString("Game Over", 170, 200);
                   g.drawString("Score: " + score, 170, 230);
    package aimFire;
    import java.awt.Color;
    import java.awt.Graphics;
    import java.util.Random;
    public class Target implements Runnable{
         private AimFire a;
         private Graphics g;
         private int radius;
         private int xLocation;
         private int yLocation;
         private int xDirection;
         private int yDirection;
         private int xSpeed;
         private int ySpeed;
         public Target(AimFire driver, Graphics graphics, Random rand){
              this(driver, graphics, 3*(rand.nextInt(9)+ 2), rand.nextInt(1 + AimFire.MAX_X - 60) + 30 + AimFire.MIN_X, rand.nextInt(1 + AimFire.MAX_Y - 60 - AimFire.MIN_Y) + 30 + AimFire.MIN_Y, rand.nextInt(3)-1, rand.nextInt(3)-1, rand.nextInt(5)+1, rand.nextInt(5)+1);
              if(xDirection == 0 && yDirection == 0){
                   if(rand.nextInt(2)==0){
                        if(rand.nextInt(2)==0){
                             xDirection = 1;
                        }else{
                             xDirection = -1;
                   }else{
                        if(rand.nextInt(2)==0){
                             yDirection = 1;
                        }else{
                             yDirection = -1;
         public Target(AimFire driver, Graphics graphics, int r, int x, int y, int xDir, int yDir, int xSp, int ySp){
              a = driver;
              g = graphics;
              radius = r;
              xLocation = x;
              yLocation = y;
              xDirection = xDir;
              yDirection = yDir;
              xSpeed = xSp;
              ySpeed = ySp;
         public void run() {
              if(g!=null){
                   paint();
                   int count = 1;
                   while(xLocation >= AimFire.MIN_X && xLocation <= AimFire.MAX_X && yLocation >= AimFire.MIN_Y && yLocation <= AimFire.MAX_Y){
                        unpaint();
                        if(count % (AimFire.SPEED_CONSTANT/xSpeed) == 0){
                             xLocation += xDirection;
                        if(count % (AimFire.SPEED_CONSTANT/ySpeed) == 0){
                             yLocation += yDirection;
                        paint();
                        count++;
                   unpaint();
                   a.notifyOfDeath(this);
         public int hit(int x, int y){
              if(Math.abs(x - xLocation) < radius/3 && Math.abs(y - yLocation) < radius/3){
                   xLocation = -99;
                   return 3;
              }else if(Math.abs(x - xLocation) < 2*radius/3 && Math.abs(y - yLocation) < 2*radius/3){
                   xLocation = -99;
                   return 2;
              }else if(Math.abs(x - xLocation) < radius && Math.abs(y - yLocation) < radius){
                   xLocation = -99;
                   return 1;
              }else{
                   return 0;
         private void paint(){
              g.setColor(Color.red);
              g.fillOval(xLocation-radius, yLocation-radius, 2*radius, 2*radius);
              g.setColor(Color.white);
              g.fillOval(xLocation-2*radius/3, yLocation-2*radius/3, 4*radius/3, 4*radius/3);
              g.setColor(Color.red);
              g.fillOval(xLocation-radius/3, yLocation-radius/3, 2*radius/3, 2*radius/3);
         private void unpaint(){
              g.setColor(Color.black);
              g.fillOval(xLocation-radius, yLocation-radius, 2*radius, 2*radius);
    }

  • Call DLL from PL-SQL block

    Hello all,
    I want to call a function located in an external DLL from a PL-SQL block. I execute the followin steps :
    1. Create a database library pointing to the external DLL :
    create or replace library libstk as 'C:\SUMMIT\libstkdte_s_trade1.dll'
    2. Create the definition and the body package :
    CREATE OR REPLACE PACKAGE dllcall IS
         FUNCTION s_trade (
              s_in VARCHAR2 )
    RETURN VARCHAR2;
    PRAGMA RESTRICT_REFERENCES(s_trade, WNDS);
    end dllcall;
    show errors
    CREATE OR REPLACE PACKAGE BODY dllcall IS
    FUNCTION s_trade (s_in IN VARCHAR2) RETURN VARCHAR2
    IS EXTERNAL
    NAME "s_trade"
    LIBRARY libstk
    PARAMETERS (s_in           STRING,
    RETURN STRING);
    END dllcall;
    show errors
    set serveroutput on
    3. Start the PL-SQL block calling the external function. And I got the foolowing error :
    1 begin
    2 dbms_output.put_line ( dllcall.s_trade ( '<Request> ' ||
    3 '<CurveId>MYCURVE</CurveId> ' ||
    4 '<Mode>02</Mode> ' ||
    5 '<ExpCcy>GBP</ExpCcy> ' ||
    6 '<AsOfDate>20001023</AsOfDate> ' ||
    7 '<Entity>***SUMMIT-XML***</Entity> ' ||
    8 '</Request>') );
    9* end;
    10
    11 /
    begin
    ERROR à la ligne 1 :
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: Unable to load DLL
    ORA-06512: at "V31.DLLCALL", line 0
    ORA-06512: at line 2
    The "Read - Execute permissions" of the DLL file was given to "Authentified users" .
    What's wrong ?
    TIA
    PS : NT2K environment, DB 8.1.7
    R. Charles Emile

    Yes, a RPC was set up.
    Listner.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Server1)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = NMP)(SERVER = Server1)(PIPE = ORAPIPE))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = E:\Oracle\Ora81)
    (PROGRAM = extproc)
    tnsnames.ora
    extproc_connection_data =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA = (SID = PLSExtProc))
    Thanks
    RCE

  • Can I summarize data from a line item ODS into a higher summary level?

    Hello friends,
    1) Can I summarize data from a line item ODS into a high summary level and store the results into another ODS?  If so, can you discuss the approach at a high level...i.e. whether or not a start up routine is needed?
    2) Once data is stored in an ODS, can a routine be written to update specific fields in the ODS after the data has already been loaded into the ODS.  As a simple example, is it possible to write a routine that simply multiplies "Field A" by "Field B" and stores the result in the ODS as "Field C"?  (Most of the time I would do this calculation in Bex, but in this one case, I have the need to calculate and store "Field C" in the ODS.)
    Thank you.

    1.- Yes, you can sumarize data in other ODS. Connect both ODS and use aditions for key figures intead of overwriting.
    2.- You can do it in load time, in update rules, is not necesary to wait for ODS was loaded

  • Why do i have to init a VARCHAR for a SELECT in a Pro*C PL/SQL block?

    Hi,
    i use PL/SQL Block in a Embedded C Programm and compile with the PRO*C Compiler. Oracle 10gR2.
    When i Select .. Into a VARCHAR bind variable, i have to initialize the variable before, otherwise i get an ORA-1458.
    Same problem with assignments to VARCHAR variables.
    Question: why do i need to initialize the variable?
    Tnx for your help!
    The following test program shows my issue:
    #include <stdio.h>
    #include <string.h>
    #include "oraca.h"
    #include "sqlca.h"
    #define USER "scott"
    #define PASSWORD "tiger"
    int main()
    EXEC SQL BEGIN DECLARE SECTION;
    char *db_user   = USER;
    char *db_passw  = PASSWORD;
    VARCHAR sysdate_str[64];
    EXEC SQL END DECLARE SECTION;
    EXEC SQL CONNECT :db_user identified by :db_passw;
    /* this works */
    sysdate_str.len = 1000; /* invalid length */
    EXEC SQL SELECT
    to_char( sysdate, 'dd.mm.yy hh24:mi:ss' )
    into :sysdate_str
    from DUAL
    printf ("sqlca.sqlcode %d\n", sqlca.sqlcode);
    /* following code does not work, sqlcode = - 1458 */
    /* 01458, 00000, "invalid length inside variable character string" */
    sysdate_str.len = 1000; /* invalid length */
    EXEC SQL EXECUTE
    BEGIN
    select to_char( SYSDATE, 'dd.mm.yy hh24:mi:ss')
    into :sysdate_str
    from dual;
    END;
    END-EXEC;
    printf ("sqlca.sqlcode %d\n", sqlca.sqlcode);
    /* following code does not work, sqlcode = - 1458 */
    /* 01458, 00000, "invalid length inside variable character string" */
    sysdate_str.len = 1000; /* invalid length */
    EXEC SQL EXECUTE
    BEGIN
    :sysdate_str := to_char( SYSDATE, 'dd.mm.yy hh24:mi:ss');
    END;
    END-EXEC;
    printf ("sqlca.sqlcode %d\n", sqlca.sqlcode);
    return(0);
    Edited by: jjaeckel on May 5, 2010 8:37 PM

    jjaeckel wrote:
    When i Select .. Into a VARCHAR bind variable, i have to initialize the variable before, otherwise i get an ORA-1458.A bind variable in a SQL is simply a place holder. The SQL engine has no idea what data type the value for that placeholder will be. When itself needs to return a value via that placeholder to the caller, it needs to know what the limits/size of the caller's variable is that will be receiving the value from it.
    The way that the SQL engine knows what the data type and size are of a placeholder/bindvar, is by you the caller, telling it.. by binding the variable you will be using, to this placeholder.
    This bind process "exposes" the data type and size of the variable that will be used for binding (sending/receiving data).

  • Cell Offload will Happen for pl/sql Block with variables

    Hello Experts,
    i am working on procedures on exadata now. i was confused with cell offload in exadata. somehow offload is not happening when i ran the sql statement in in pl/sql block with variables.
    here are my findings.
    when i ran insert into from select with values at toad, my query response time is very good. the total process is completed in less than a minute.
    i checked offload is happening.
    same sql statement is placed in plsql block with variable, procedure is taking lot of time and it is not completing. this case offload is not happening.
    is it true, if i use variables in pl/sql block will not use cell offload and smart scan?
    if yes, what is the work around.
    Thanks
    #! Pavan

    Hello Marc,
    Thanks for quick response.
    when i ran the query with literals in toad session i am getting response.
    when i run it with pl/sql block , block is not completing at all.
    here is the plsql block:
    My Apologies for sending big code,with out proper format.
    DECLARE
    P_BUSINESS_DATE DATE;
    P_BATCH_ID NUMBER;
    UTC_OFFSET NUMBER;
    BEGIN
    P_BUSINESS_DATE := to_date('02/01/2012', 'MM/DD/YYYY');
    P_BATCH_ID := 1;
    UTC_OFFSET := 0;
    INSERT /*+ APPEND */ INTO UPL_CLIENT_tbl
    ( reportdate,
    LastName,
    FirstName,
    MiddleInitial,
    AccountNumber,
    Address,
    City,
    State,
    Zip,
    HomePhone,
    WorkPhone,
    BirthDate,
    Age,
    Sex,
    NumberOfChildren,
    Occupation,
    LeadSource,
    Consultant,
    ProgramDirector,
    CallTaker,
    LeadDate,
    FirstVisitDate,
    LastVisitDate,
    BillType,
    ClientType,
    PreviousClientType,
    AppointmentDate,
    DoctorLetterRequired,
    OneYearPermStabilizationDate,
    UnlimitedPermStabilizationDate,
    MaritalStatus,
    ReferrerName,
    ReferrerCentreID,
    CentreID,
    PaymentDateOne,
    PaymentAmountOne,
    PaymentDateTwo,
    PaymentAmountTwo,
    PaymentDateThree,
    PaymentAmountThree,
    PaymentDateFour,
    PaymentAmountFour,
    LibraryPurchased,
    BalanceDue,
    FoodNSFBalance,
    ProductNSFBalance,
    ProgramNSFBalance,
    StartWeight,
    CurrentWeight,
    GoalWeight,
    Height,
    DateGoalWeightAchieved,
    DateSuccessPlusPurchased,
    ReturnToActiveDate,
    VersionNumber,
    HalfWayDate,
    LastLSCDate,
    LastUpdatedDate,
    VitaminWaiverSigned,
    LastSupplementPurchaseDate,
    LastSupplementCodePurchased,
    LastTotalSupplementSupplyCycle,
    LastAddtlSupplPurchaseDate,
    LastAddtlSupplCodePurchased,
    LastAddtlSupplSupplyCycle,
    DiabetesClient,
    DietControlled,
    TakingOralMed,
    TakingInsulin,
    EmailId,
    CTADate,
    RWLDate,
    Address2)
    (SELECT /*+ full(S_CONTACT) full(REFERRER) full(Consultant) full(ProgramDirector) full(CallTaker) full(S_CONTACT_X) full(a) full(a2) full (a3) */ distinct p_business_date reportdate,
    SUBSTR(S_CONTACT.LAST_NAME,1,25) AS LastName,
    SUBSTR(S_CONTACT.FST_NAME,1,25) AS FirstName,
    SUBSTR(S_CONTACT.MID_NAME,1,1) AS MiddleInitial,
    S_CONTACT.X_JC_ACNT_NUM + 900000000 AS AccountNumber,
    SUBSTR(S_ADDR_PER.ADDR,1,40) AS ADDRESS,
    SUBSTR(S_ADDR_PER.CITY,1,20) AS City,
    S_ADDR_PER.STATE AS State,
    SUBSTR(S_ADDR_PER.ZIPCODE,1,15) AS Zip,
    SUBSTR(REPLACE(S_CONTACT.HOME_PH_NUM,'-',''),1,10) AS HomePhone,
    SUBSTR(REPLACE(S_CONTACT.WORK_PH_NUM,'-',''),1,10) AS WorkPhone,
    S_CONTACT.BIRTH_DT AS BirthDate,
    CASE WHEN FLOOR((p_business_date - S_CONTACT.BIRTH_DT)/360) < 0 THEN NULL ELSE FLOOR((p_business_date - S_CONTACT.BIRTH_DT)/360) END AS AGE,
    S_CONTACT.SEX_MF AS SEX,
    NULL AS NumberOfChildren,
    S_CONTACT_X.ATTRIB_34 AS OCCUPATION,
    CASE WHEN SUBSTR(S_CONTACT_X.ATTRIB_37,1,4)='Othe' THEN 'Othr'
    WHEN SUBSTR(S_CONTACT_X.ATTRIB_37,1,4)='Inte' THEN 'Intr'
    WHEN SUBSTR(S_CONTACT_X.ATTRIB_37,1,4)='Prin' THEN 'News'
    WHEN SUBSTR(S_CONTACT_X.ATTRIB_37,1,4)='Gues' THEN 'Gst'
    ELSE SUBSTR(S_CONTACT_X.ATTRIB_37,1,4) END AS LeadSource,
    SUBSTR(Consultant.EMP_NUM,1,10) AS CONSULTANT,
    ProgramDirector.EMP_NUM AS ProgramDirector,
    CallTaker.EMP_NUM CallTaker,
    S_CONTACT.X_LEAD_DT AS LeadDate,
    LEAST(nvl(S_CONTACT.X_LAST_CONSULTATION_DATE,O.FirstPurchaseDate ), nvl(O.FirstPurchaseDate,S_CONTACT.X_LAST_CONSULTATION_DATE+1) ) AS FirstVisitDate, --X_LAST_CONSULTATION_DATE stores the performed date or the legacy client firstvisitdate
    GREATEST(nvl(S_CONTACT_XM.X_CONSULTATION_DT ,S_CONTACT_X.ATTRIB_29), nvl(S_CONTACT_X.ATTRIB_29, S_CONTACT_XM.X_CONSULTATION_DT-1) ) AS LastVisitDate,
    CASE WHEN S_CONTACT.X_INSTALLMENT_BALANCE > 0 THEN 'B' ELSE NULL END AS BillType,
    ct.current_client_type ClientType,
    SUBSTR(ct.saved_client_type,1,1) PreviousClientType,
    S_CONTACT.LAST_CREDIT_DT AS AppointmentDate,
    CASE WHEN a.X_DR_LETTER_STATUS IS NOT NULL THEN 'Y' ELSE 'N' END AS DoctorLetterRequired,
    NULL AS OneYearPermStabilizationDate,
    DECODE(S_PROD_INT.X_PROGRAM_CLASSIFICATION,'Premium',a.START_DT ,NULL) AS UnlimitedPermStabilizationDate,
    SUBSTR(S_CONTACT.MARITAL_STAT_CD,1,1) AS MaritalStatus,
    SUBSTR(REFERRER.FST_NAME ||' '|| REFERRER.LAST_NAME,1,34) AS ReferrerName,
    ORGEXT_REF.LOC AS ReferrerCentreID,
    S_ORG_EXT.LOC AS CentreID,
    NULL AS PaymentDateOne,
    NULL AS PaymentAmountOne,
    NULL AS PaymentDateTwo,
    NULL AS PaymentAmountTwo,
    NULL AS PaymentDateThree,
    NULL AS PaymentAmountThree,
    NULL AS PaymentDateFour,
    NULL AS PaymentAmountFour,
    NULL AS LibraryPurchased,
    nvl(S_CONTACT.X_INSTALLMENT_BALANCE,0) + nvl(S_CONTACT.X_PREPAID_BALANCE,0) AS BalanceDue, -- Changed operation from (-) prepaid to (+) prepaid since the sign was flipped in OLTP.
    NULL AS FoodNSFBalance,
    NULL AS ProductNSFBalance,
    NULL AS ProgramNSFBalance,
    a2.X_START_WEIGHT AS StartWeight,
    a2.X_CURRENT_WEIGHT AS CurrentWeight,
    a2.X_GOAL_WEIGHT AS GoalWeight,
    a3.X_HEIGHT AS Height,
    a2.X_FAXSENT_DATETIME DateGoalWeightAchieved,
    DECODE(S_PROD_INT.X_PROGRAM_CLASSIFICATION,'Premium',a.START_DT,NULL) AS DateSuccessPlusPurchased,
    CASE WHEN A2.ARCHIVE_FLG = 'N' THEN a2.START_DT ELSE NULL END AS ReturnToActiveDate,
    600 VersionNumber,
    a2.X_FAXRECV_DATETIME AS HalfWayDate,
    NULL AS LastLSCDate,
    TRUNC(S_CONTACT.LAST_UPD-UTC_OFFSET/24) AS LastUpdatedDate,
    NULL AS VitaminWaiverSigned,
    LastSupplementPurchaseDate,
    LastSupplementCodePurchased,
    LastTotalSupplementSupplyCycle,
    LastAddtlSupplPurchaseDate,
    LastAddtlSupplCodePurchased,
    LastAddtlSupplSupplyCycle,
    CASE WHEN (a.X_DIABETES_NO_MEDS_FLG='Y' OR a.X_DIABETES_ORAL_MEDS_FLG = 'Y' OR a.X_DIABETES_ON_INSULIN_FLG = 'Y') THEN 'Y' ELSE 'N' END AS DiabetesClient,
    DECODE(a.X_DIABETES_NO_MEDS_FLG,'Y','Y','N') AS DietControlled,
    a.X_DIABETES_ORAL_MEDS_FLG AS TakingOralMed,
    a.X_DIABETES_ON_INSULIN_FLG AS TakingInsulin,
    S_CONTACT.EMAIL_ADDR AS EmailId,
    NULL CTADATE,
    NULL RWLDATE,
    SUBSTR(S_ADDR_PER.ADDR_LINE_2,1,40) AS Address2
    FROM S_CONTACT,
    S_CONTACT REFERRER,
    S_CONTACT Consultant,
    S_CONTACT ProgramDirector,
    S_CONTACT CallTaker,
    S_CONTACT_X,
    (SELECT /*+ parallel full(S_CONTACT_XM) */ PAR_ROW_ID, attrib_05, MAX(X_CONSULTATION_DT) AS X_CONSULTATION_DT FROM S_CONTACT_XM
    WHERE (S_CONTACT_XM.last_upd_by < '1-14WD'
    or S_CONTACT_XM.last_upd_by > '1-14WD')
    AND S_CONTACT_XM.ATTRIB_05 IN (SELECT row_id FROM S_ORG_EXT WHERE S_ORG_EXT.ACCNT_TYPE_CD IN ('Corporate Centre','Franchise Centre')) LOC IN (SELECT centreid FROM UPL_LIVE_CENTRES WHERE LIVE = 'Y' AND BATCHID = p_batch_id)) where S_ORG_EXT.ACCNT_TYPE_CD IN ('Corporate Centre','Franchise Centre')) --
    GROUP BY PAR_ROW_ID, attrib_05) S_CONTACT_XM,
    (SELECT CONTACT_ID, ACCNT_ID,
    MAX(LastSupplementPurchaseDate) AS LastSupplementPurchaseDate,
    MAX(LastSupplementCodePurchased) AS LastSupplementCodePurchased,
    MAX(LastTotalSupplementSupplyCycle) AS LastTotalSupplementSupplyCycle,
    MAX(LastAddtlSupplPurchaseDate) AS LastAddtlSupplPurchaseDate,
    MAX(LastAddtlSupplCodePurchased) AS LastAddtlSupplCodePurchased,
    MAX(LastAddtlSupplSupplyCycle) AS LastAddtlSupplSupplyCycle,
    MIN(FirstPurchaseDate) AS FirstPurchaseDate,
    MAX(LastPurchaseDate) AS LastPurchaseDate
              FROM (
              SELECT /*+ parallel full(S_ORDER) full(S_ORDER_XM) */ S_ORDER.CONTACT_ID AS CONTACT_ID,S_ORDER.ACCNT_ID,
    NULL AS LastSupplementPurchaseDate,
    NULL AS LastSupplementCodePurchased,
    NULL AS LastTotalSupplementSupplyCycle,
    NULL AS LastAddtlSupplPurchaseDate,
    NULL AS LastAddtlSupplCodePurchased,
    NULL AS LastAddtlSupplSupplyCycle,
    (S_ORDER_XM.X_BUSINESS_DATE) FirstPurchaseDate,
    (S_ORDER_XM.X_BUSINESS_DATE) LastPurchaseDate
              FROM S_ORDER,S_ORDER_XM
              WHERE S_ORDER.ROW_ID = S_ORDER_XM.PAR_ROW_ID
              AND S_ORDER.STATUS_CD IN ('Complete', 'Submitted', 'Ready')
              AND TRUNC(S_ORDER_XM.X_BUSINESS_DATE - UTC_OFFSET/24) <= (p_business_date)
              --GROUP BY S_ORDER.CONTACT_ID
              UNION ALL
              SELECT /*+ parallel full(S_ORDER) full (S_ORDER_ITEM) */ S_ORDER.CONTACT_ID AS CONTACT_ID,S_ORDER.ACCNT_ID,
              (CASE WHEN SUBSTR(SUBSTR(S_PROD_INT.PART_NUM,1,INSTR(S_PROD_INT.PART_NUM,'-',1,1)-1),2,4) = '931' THEN S_ORDER.CREATED ELSE NULL END) AS LastSupplementPurchaseDate,
              (CASE WHEN SUBSTR(SUBSTR(S_PROD_INT.PART_NUM,1,INSTR(S_PROD_INT.PART_NUM,'-',1,1)-1),2,4) = '931' THEN 931 ELSE NULL END) AS LastSupplementCodePurchased,
              (CASE WHEN SUBSTR(SUBSTR(S_PROD_INT.PART_NUM,1,INSTR(S_PROD_INT.PART_NUM,'-',1,1)-1),2,4) = '931' THEN 7 ELSE NULL END) AS LastTotalSupplementSupplyCycle,
              (CASE WHEN SUBSTR(SUBSTR(S_PROD_INT.PART_NUM,1,INSTR(S_PROD_INT.PART_NUM,'-',1,1)-1),2,4) = '920' THEN S_ORDER.CREATED ELSE NULL END) AS LastAddtlSupplPurchaseDate,
              (CASE WHEN SUBSTR(SUBSTR(S_PROD_INT.PART_NUM,1,INSTR(S_PROD_INT.PART_NUM,'-',1,1)-1),2,4) = '920' THEN 920 ELSE NULL END) AS LastAddtlSupplCodePurchased,
              (CASE WHEN SUBSTR(SUBSTR(S_PROD_INT.PART_NUM,1,INSTR(S_PROD_INT.PART_NUM,'-',1,1)-1),2,4) = '920' THEN 28 ELSE NULL END) AS LastAddtlSupplSupplyCycle,
              NULL FirstPurchaseDate,
              NULL LastPurchaseDate
              FROM S_ORDER,S_ORDER_ITEM, S_PROD_INT
              WHERE S_ORDER_ITEM.PROD_ID = S_PROD_INT.ROW_ID
                   AND S_ORDER.ROW_ID = S_ORDER_ITEM.ORDER_ID
                   AND S_ORDER_ITEM.qty_req <> 0
                   AND s_order.created_by <> '1-14WD'
                   AND S_ORDER_ITEM.PAR_ORDER_ITEM_ID is null
                   AND (S_ORDER_ITEM.PAR_ORDER_ITEM_ID is null
                   OR EXISTS (select 1 from S_ORDER_ITEM i2,s_prod_int p
    where i2.row_id = S_ORDER_ITEM.PAR_ORDER_ITEM_ID
    and SUBSTR(SUBSTR(S_PROD_INT.PART_NUM,1,INSTR(S_PROD_INT.PART_NUM,'-',1,1)-1),2,4) IN ('931','920')
    and i2.prod_id = p.row_id
                   AND S_ORDER.status_cd in ('Complete', 'Submitted', 'Ready')
                   and SUBSTR(SUBSTR(S_PROD_INT.PART_NUM,1,INSTR(S_PROD_INT.PART_NUM,'-',1,1)-1),2,4) IN ('931','920')
    GROUP BY CONTACT_ID,ACCNT_ID) O,
    S_CONTACT_TNTX,
    S_ORG_EXT,
    S_ORG_EXT ORGEXT_REF,
    S_ADDR_PER,
    S_ASSET a,
    S_PROD_INT,
    S_ASSET a2,
    S_ASSET a3,
    UPL_CLIENT_TYPES ct,
    (select /*+ parallel */ o.contact_id, o.accnt_id
    from S_ORDER o, S_ORDER_XM oxm
    where o.row_id = oxm.par_row_id
    and trunc(oxm.X_BUSINESS_DATE - (UTC_OFFSET/24)) = trunc(p_business_date)
    group by o.contact_id, o.accnt_id) oxm2
    WHERE S_CONTACT.ROW_ID = S_CONTACT_X.PAR_ROW_ID
    AND S_CONTACT_X.ROW_ID = S_CONTACT_XM.PAR_ROW_ID (+)
    AND (S_ORG_EXT.ROW_ID = S_CONTACT.PR_DEPT_OU_ID
    OR S_ORG_EXT.ROW_ID = oxm2.accnt_id
    OR S_ORG_EXT.ROW_ID = S_CONTACT_XM.attrib_05)
    AND ORGEXT_REF.ROW_ID(+) = REFERRER.PR_DEPT_OU_ID
    AND S_CONTACT.CON_ASST_PER_ID = Consultant.ROW_ID
    AND S_ORG_EXT.X_DIRECTOR_ID = ProgramDirector.ROW_ID (+)
    AND S_CONTACT.CREATED_BY = CallTaker.ROW_ID
    AND S_CONTACT.ROW_ID = a.PR_CON_ID (+)
    AND S_CONTACT.PR_PER_ADDR_ID = S_ADDR_PER.ROW_ID (+)
    AND S_CONTACT_TNTX.PAR_ROW_ID (+) = S_CONTACT.ROW_ID
    AND REFERRER.ROW_ID(+) = S_CONTACT_TNTX.REFERRED_BY_ID
    AND a.PROD_ID = S_PROD_INT.ROW_ID (+)
    AND O.CONTACT_ID (+) = S_CONTACT.ROW_ID
    AND a.STATUS_CD (+) = 'Active'
    AND a.TYPE_CD (+) ='Program'
    AND S_CONTACT.ROW_ID = a2.PR_CON_ID (+)
    AND a2.STATUS_CD (+) = 'Active'
    AND a2.TYPE_CD (+) = 'Lifecycle'
    AND a3.PR_CON_ID(+) = S_CONTACT.ROW_ID
    AND a3.STATUS_CD (+) = 'Active'
    AND a3.TYPE_CD (+) = 'HealthSheet'
    AND S_CONTACT.X_JC_ACNT_NUM = ct.CLIENT_NUMBER (+)
    --AND S_ORG_EXT.LOC NOT LIKE 'F%'
    AND S_ORG_EXT.ACCNT_TYPE_CD NOT IN 'Division'
    --AND S_ORG_EXT.Loc in (select to_char(centreid) from UPL_LIVE_CENTRES where LIVE = 'Y')
    AND (trunc(S_CONTACT.LAST_UPD - (UTC_OFFSET/24)) = trunc(p_business_date) or trunc(S_CONTACT_X.LAST_UPD - (UTC_OFFSET/24)) = trunc(p_business_date) OR (S_CONTACT_XM.X_CONSULTATION_DT = p_business_date) OR oxm2.CONTACT_ID IS NOT NULL)
    AND S_CONTACT.last_upd_by not in ('1-14WD')
    AND oxm2.CONTACT_ID (+) = o.CONTACT_ID
    AND S_ORG_EXT.LOC <> 'CW_846'
    AND (a.pr_accnt_id in (select row_id from S_ORG_EXT where S_ORG_EXT.LOC IN (Select CentreID from UPL_Live_Centres where BATCHID = p_batch_id)) or a.pr_accnt_id is null)
    AND (a2.pr_accnt_id in (select row_id from S_ORG_EXT where S_ORG_EXT.LOC IN (Select CentreID from UPL_Live_Centres where BATCHID = p_batch_id)) or a2.pr_accnt_id is null)
    AND (a3.pr_accnt_id in (select row_id from S_ORG_EXT where S_ORG_EXT.LOC IN (Select CentreID from UPL_Live_Centres where BATCHID = p_batch_id)) or a3.pr_accnt_id is null));
    rollback;
    END;
    --------------------------------------------------------------------------------------------------

  • Pl/Sql block returning too many values

    Hi
    Below is simple pl/sql block.while excecuting this i'm getting too many values exception
    declare
    attrib QW_ACCT_ATTR%ROWTYPE;
    begin
    SELECT ATTR_END_DATE, ATTR_NM, ATTR_VAL INTO attrib FROM (SELECT ATTR_END_DATE, ATTR_NM, ATTR_VAL FROM QW_ACCT_ATTR where CUST_ACCT_ID='5158660414' AND ATTR_NM = 'SS' ORDER BY ATTR_END_DATE DESC) where rownum = 1;
    DBMS_OUTPUT.PUT_LINE('end daate is...'||attrib.ATTR_END_DATE);
    end;
    could anybody please help me how to rewrite this qwery to get only one record.
    we are not supposed to use cursors here,
    thanks

    I am just changing your logic,
    declare
    attrib QW_ACCT_ATTR%ROWTYPE;
    begin
    SELECT ATTR_END_DATE, ATTR_NM, ATTR_VAL INTO attrib FROM (SELECT ATTR_END_DATE, ATTR_NM, ATTR_VAL FROM QW_ACCT_ATTR where CUST_ACCT_ID='5158660414' AND ATTR_NM = 'SS' ORDER BY ATTR_END_DATE DESC where rownum = 1) ;
    DBMS_OUTPUT.PUT_LINE('end daate is...'||attrib.ATTR_END_DATE);
    end;

  • How to configure SharePoint 2010 / 2013 Search for SQL Database Contents and Oracle Database Contents?

    Hi All,
    We are planning to maintain the contents in SQL / Oracle. Could you please suggest anyone which is best for SharePoint 2010 / 2013 Search. How to configure the search for external content source?
    Thanks & Regards,
    Prakash

    This link explains supported and non supported scenarios to use Oracle for BCS
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/453a3a05-bc50-45d0-8be8-cbb4e7fe7027/oracle-db-as-external-content-type-in-sharepoint-2013
    And here is more on it
    http://msdn.microsoft.com/en-us/library/ff464424%28office.14%29.aspx 
    And here how you can connect Oracle to SharePoint for BCS functionality
    http://lightningtools.com/bcs/business-connectivity-services-in-sharepoint-2013-and-oracle-using-meta-man/
    Overall it seems SQL doenn't require any special arrangement to connect BCS to SharePoint.
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • Many threads in waitforrequest condition and server in unknown condition

    Java version : J2RE 5.0 IBM J9 2.3 AIX ppc-32 build j9vmap3223-20080315
    Maximum Java heap size : 2048m
    Initial Java heap size : 1024m
    Free Java heap size: 656,758,528 bytes
    Allocated Java heap size: 1,477,712,384 bytes
    I have application deployed on above environment.Using Springs2.0,Struts 2.0 and JPA
    Many threads in waiting condition no deadlock condition.**Application has stopped respondinThread dump looks like
    2XMFULLTHDDUMP Full thread dump J9 VM (J2RE 5.0 IBM J9 2.3 AIX ppc-32 build 20080314_17962_bHdSMr, native threads):
    "main" (TID:0x3295C400, sys_thread_t:0x300107E8, state:CW, native ID:0x001980FB) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199)
    at weblogic/t3/srvr/T3Srvr.waitForDeath(T3Srvr.java:730)
    at weblogic/t3/srvr/T3Srvr.run(T3Srvr.java:380)
    at weblogic/Server.main(Server.java:67)
    "JIT Compilation Thread" (TID:0x3295C800, sys_thread_t:0x30010D20, state:CW, native ID:0x001E70A5) prio=11
    "Signal Dispatcher" (TID:0x3295CC00, sys_thread_t:0x30011258, state:R, native ID:0x00260001) prio=5
    at com/ibm/misc/SignalDispatcher.waitForSignal(Native Method)
    at com/ibm/misc/SignalDispatcher.run(SignalDispatcher.java:84)
    "Concurrent Mark Helper" (TID:0x33CF8C00, sys_thread_t:0x33C19EE4, state:CW, native ID:0x0014203D) prio=5
    "Gc Slave Thread" (TID:0x33CF9000, sys_thread_t:0x33C1A180, state:CW, native ID:0x0025B0B7) prio=5
    "Timer-0" (TID:0x33CF9400, sys_thread_t:0x33C1A41C, state:CW, native ID:0x000C50E7) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at java/util/TimerThread.mainLoop(Timer.java:498)
    at java/util/TimerThread.run(Timer.java:477)
    "Timer-1" (TID:0x34C3EF00, sys_thread_t:0x33C1A6B8, state:CW, native ID:0x001400E3) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:231(Compiled Code))
    at java/util/TimerThread.mainLoop(Timer.java:524)
    at java/util/TimerThread.run(Timer.java:477)
    "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x34C3F300, sys_thread_t:0x33C1A954, state:CW, native ID:0x0019E0EF) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:186)
    "OperatingSystemMXBean notification dispatcher" (TID:0x34C3F700, sys_thread_t:0x35525028, state:CW, native ID:0x0018F031) prio=6
    at com/ibm/lang/management/OperatingSystemNotificationThread.processNotificationLoop(Native Method)
    at com/ibm/lang/management/OperatingSystemNotificationThread.run(OperatingSystemNotificationThread.java:39)
    "MemoryPoolMXBean notification dispatcher" (TID:0x3557B200, sys_thread_t:0x355252C4, state:CW, native ID:0x001D508D) prio=6
    at com/ibm/lang/management/MemoryNotificationThread.processNotificationLoop(Native Method)
    at com/ibm/lang/management/MemoryNotificationThread.run(MemoryNotificationThread.java:55)
    "weblogic.time.TimeEventGenerator" (TID:0x3557B600, sys_thread_t:0x35525560, state:CW, native ID:0x0021C055) prio=9
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:231(Compiled Code))
    at weblogic/time/common/internal/TimeTable.snooze(TimeTable.java:286)
    at weblogic/time/common/internal/TimeEventGenerator.run(TimeEventGenerator.java:117)
    at java/lang/Thread.run(Thread.java:810)
    "weblogic.timers.TimerThread" (TID:0x3557BA00, sys_thread_t:0x355257FC, state:CW, native ID:0x001CF047) prio=9
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:231(Compiled Code))
    at weblogic/timers/internal/TimerThread$Thread.run(TimerThread.java:260)
    "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x355A8300, sys_thread_t:0x35525A98, state:CW, native ID:0x002230A5) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:186)
    "Finalizer thread" (TID:0x355A8700, sys_thread_t:0x35525D34, state:CW, native ID:0x00258071) prio=5
    "weblogic.store.WLS_DIAGNOSTICS" (TID:0x355A8B00, sys_thread_t:0x33CB7518, state:P, native ID:0x002390F1) prio=10
    at sun/misc/Unsafe.park(Native Method)
    at java/util/concurrent/locks/LockSupport.park(LockSupport.java:169(Compiled Code))
    at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1787(Compiled Code))
    at java/util/concurrent/LinkedBlockingQueue.take(LinkedBlockingQueue.java:379(Compiled Code))
    at weblogic/utils/concurrent/JDK15ConcurrentBlockingQueue.take(JDK15ConcurrentBlockingQueue.java:89(Compiled Code))
    at weblogic/store/internal/PersistentStoreImpl.getOutstandingWork(PersistentStoreImpl.java:570(Compiled Code))
    at weblogic/store/internal/PersistentStoreImpl.run(PersistentStoreImpl.java:618)
    at java/lang/Thread.run(Thread.java:810)
    "ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'" (TID:0x33E56300, sys_thread_t:0x33CB77B4, state:B, native ID:0x0013A019) prio=5
    at weblogic/socket/PosixSocketMuxer.processSockets(PosixSocketMuxer.java:93)
    at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29)
    at weblogic/socket/SocketReaderRequest.execute(SocketReaderRequest.java:42)
    at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117)
    "ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'" (TID:0x33E56700, sys_thread_t:0x33CB7A50, state:B, native ID:0x001B4053) prio=5
    at weblogic/socket/PosixSocketMuxer.processSockets(PosixSocketMuxer.java:93)
    at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29)
    at weblogic/socket/SocketReaderRequest.execute(SocketReaderRequest.java:42)
    at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117)
    "ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'" (TID:0x33E56B00, sys_thread_t:0x33CB7CEC, state:R, native ID:0x00208083) prio=5
    at weblogic/socket/PosixSocketMuxer.poll(Native Method)
    at weblogic/socket/PosixSocketMuxer.processSockets(PosixSocketMuxer.java:102)
    at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29)
    at weblogic/socket/SocketReaderRequest.execute(SocketReaderRequest.java:42)
    at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117)
    "VDE Transaction Processor Thread" (TID:0x33F9F300, sys_thread_t:0x33CB7F88, state:CW, native ID:0x002050A9) prio=2
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199)
    at com/octetstring/vde/backend/standard/TransactionProcessor.waitChange(TransactionProcessor.java:367)
    at com/octetstring/vde/backend/standard/TransactionProcessor.run(TransactionProcessor.java:212)
    "LDAPConnThread-0 ldap://10.18.49.5:7001" (TID:0x33F9F700, sys_thread_t:0x33CB8224, state:R, native ID:0x001D10AB) prio=5
    at java/net/SocketInputStream.socketRead0(Native Method)
    at java/net/SocketInputStream.read(SocketInputStream.java:155)
    at java/io/BufferedInputStream.fill(BufferedInputStream.java:229)
    at java/io/BufferedInputStream.read(BufferedInputStream.java:246(Compiled Code))
    at netscape/ldap/ber/stream/BERElement.getElement(BERElement.java:101)
    at netscape/ldap/LDAPConnThread.run(LDAPConnThread.java:538)
    at java/lang/Thread.run(Thread.java:810)
    "DoSManager" (TID:0x33F9FB00, sys_thread_t:0x33F4F638, state:CW, native ID:0x000940C3) prio=6
    at java/lang/Thread.sleep(Native Method)
    at java/lang/Thread.sleep(Thread.java:938(Compiled Code))
    at com/octetstring/vde/DoSManager.run(DoSManager.java:433)
    "LDAPConnThread-1 ldap://10.18.49.5:7001" (TID:0x3414EE00, sys_thread_t:0x33F4F8D4, state:R, native ID:0x00189037) prio=5
    at java/net/SocketInputStream.socketRead0(Native Method)
    at java/net/SocketInputStream.read(SocketInputStream.java:155)
    at java/io/BufferedInputStream.fill(BufferedInputStream.java:229)
    at java/io/BufferedInputStream.read(BufferedInputStream.java:246(Compiled Code))
    at netscape/ldap/ber/stream/BERElement.getElement(BERElement.java:101)
    at netscape/ldap/LDAPConnThread.run(LDAPConnThread.java:538)
    at java/lang/Thread.run(Thread.java:810)
    "weblogic.store._WLS_TPMS_MS1" (TID:0x3414F200, sys_thread_t:0x33F4FB70, state:P, native ID:0x001C70AF) prio=10
    at sun/misc/Unsafe.park(Native Method)
    at java/util/concurrent/locks/LockSupport.park(LockSupport.java:169(Compiled Code))
    at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1787(Compiled Code))
    at java/util/concurrent/LinkedBlockingQueue.take(LinkedBlockingQueue.java:379(Compiled Code))
    at weblogic/utils/concurrent/JDK15ConcurrentBlockingQueue.take(JDK15ConcurrentBlockingQueue.java:89)
    at weblogic/store/internal/PersistentStoreImpl.getOutstandingWork(PersistentStoreImpl.java:570(Compiled Code))
    at weblogic/store/internal/PersistentStoreImpl.run(PersistentStoreImpl.java:618)
    at java/lang/Thread.run(Thread.java:810)
    "Store com.cvs.tpms.cache.METHOD_CACHE Spool Thread" (TID:0x3414F600, sys_thread_t:0x33F4FE0C, state:CW, native ID:0x002510DD) prio=2
    at java/lang/Thread.sleep(Native Method)
    at java/lang/Thread.sleep(Thread.java:938(Compiled Code))
    at net/sf/ehcache/store/DiskStore.spoolAndExpiryThreadMain(DiskStore.java:573)
    at net/sf/ehcache/store/DiskStore.access$800(DiskStore.java:65)
    at net/sf/ehcache/store/DiskStore$SpoolAndExpiryThread.run(DiskStore.java:1057)
    "[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x3B886200, sys_thread_t:0x33F500A8, state:CW, native ID:0x00257023) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:186)
    "weblogic.GCMonitor" (TID:0x3B886600, sys_thread_t:0x33F50344, state:CW, native ID:0x0027309D) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:231(Compiled Code))
    at java/lang/ref/ReferenceQueue.remove(ReferenceQueue.java:97(Compiled Code))
    at weblogic/platform/GCMonitorThread.waitForNotification(GCMonitorThread.java:88)
    at weblogic/platform/GCMonitorThread.run(GCMonitorThread.java:64)
    "[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x3B886A00, sys_thread_t:0x3B6DE538, state:CW, native ID:0x0026400B) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:186)
    "DynamicListenThread[Default]" (TID:0x3ACF6F00, sys_thread_t:0x3B6DE7D4, state:CW, native ID:0x0022E04F) prio=9
    at java/net/PlainSocketImpl.socketAccept(Native Method)
    at java/net/PlainSocketImpl.accept(PlainSocketImpl.java:455(Compiled Code))
    at java/net/ServerSocket.implAccept(ServerSocket.java:462(Compiled Code))
    at java/net/ServerSocket.accept(ServerSocket.java:433(Compiled Code))
    at weblogic/socket/WeblogicServerSocket.accept(WeblogicServerSocket.java:34(Compiled Code))
    at weblogic/server/channels/DynamicListenThread$SocketAccepter.accept(DynamicListenThread.java:519(Compiled Code))
    at weblogic/server/channels/DynamicListenThread$SocketAccepter.access$200(DynamicListenThread.java:420(Compiled Code))
    at weblogic/server/channels/DynamicListenThread.run(DynamicListenThread.java:166)
    at java/lang/Thread.run(Thread.java:810)
    "[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x3ACF7300, sys_thread_t:0x3B6DEA70, state:CW, native ID:0x001AA0EF) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:186)
    "[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x3ACF7700, sys_thread_t:0x3B6DED0C, state:CW, native ID:0x0014C03F) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:186)
    "Thread-17" (TID:0x3BE6F600, sys_thread_t:0x3B6DEFA8, state:CW, native ID:0x000B209D) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:231(Compiled Code))
    at com/sun/jmx/remote/internal/ServerCommunicatorAdmin$Adminor.run(ServerCommunicatorAdmin.java:163)
    at java/lang/Thread.run(Thread.java:810)
    "FSCacheRefQueueThread" (TID:0x3BE6FA00, sys_thread_t:0x3B6DF244, state:CW, native ID:0x0019A0A9) prio=1
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:231(Compiled Code))
    at java/lang/ref/ReferenceQueue.remove(ReferenceQueue.java:97(Compiled Code))
    at java/lang/ref/ReferenceQueue.remove(ReferenceQueue.java:74(Compiled Code))
    at workshop/util/filesystem/FSCache$FSCacheRefQueueThread.run(FSCache.java:65)
    "[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x3BE6FE00, sys_thread_t:0x3F621978, state:R, native ID:0x0019F0BF) prio=5
    at java/net/PlainSocketImpl.socketClose0(Native Method)
    at java/net/PlainSocketImpl.socketPreClose(PlainSocketImpl.java:744(Compiled Code))
    at java/net/PlainSocketImpl.close(PlainSocketImpl.java:568(Compiled Code))
    at java/net/SocksSocketImpl.close(SocksSocketImpl.java:1049(Compiled Code))
    at java/net/Socket.close(Socket.java:1341(Compiled Code))
    at weblogic/socket/SocketMuxer.closeSocket(SocketMuxer.java:430(Compiled Code))
    at weblogic/socket/SocketMuxer.cancelIo(SocketMuxer.java:754)
    at weblogic/socket/SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:744(Compiled Code))
    at weblogic/socket/SocketMuxer.deliverEndOfStream(SocketMuxer.java:681)
    at weblogic/socket/SocketMuxer.closeSocket(SocketMuxer.java:558)
    at weblogic/rjvm/t3/MuxableSocketT3$T3MsgAbbrevJVMConnection.close(MuxableSocketT3.java:510)
    at weblogic/rjvm/ConnectionManager.removeConnection(ConnectionManager.java:1183)
    at weblogic/rjvm/ConnectionManager.shutdown(ConnectionManager.java:718)
    at weblogic/rjvm/ConnectionManagerServer.shutdown(ConnectionManagerServer.java:733)
    at weblogic/rjvm/RJVMImpl.peerGone(RJVMImpl.java:1321)
    at weblogic/rjvm/RJVMImpl$HeartbeatChecker.timerExpired(RJVMImpl.java:1516(Compiled Code))
    at weblogic/timers/internal/TimerImpl.run(TimerImpl.java:265(Compiled Code))
    at weblogic/work/ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518(Compiled Code))
    at weblogic/work/ExecuteThread.execute(ExecuteThread.java:209(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:181(Compiled Code))
    "[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x3FF82400, sys_thread_t:0x3F621EB0, state:CW, native ID:0x0019208D) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x3FF82800, sys_thread_t:0x3F621C14, state:CW, native ID:0x0024E0A5) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[STANDBY] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x3FF82C00, sys_thread_t:0x3F62214C, state:CW, native ID:0x001950F3) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "File Reaper" (TID:0x400CEF00, sys_thread_t:0x406E4F48, state:CW, native ID:0x001EC0F5) prio=10
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:231(Compiled Code))
    at java/lang/ref/ReferenceQueue.remove(ReferenceQueue.java:97(Compiled Code))
    at java/lang/ref/ReferenceQueue.remove(ReferenceQueue.java:74(Compiled Code))
    at org/apache/commons/io/FileCleaner$Reaper.run(FileCleaner.java:206)
    "[STANDBY] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x41008500, sys_thread_t:0x406E5480, state:CW, native ID:0x0026107F) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '26' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42C39000, sys_thread_t:0x42C0F4EC, state:CW, native ID:0x002120AF) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '27' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42D70C00, sys_thread_t:0x42C0F788, state:CW, native ID:0x001320CF) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '28' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42D71000, sys_thread_t:0x42C0FA24, state:CW, native ID:0x002140D9) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42D71400, sys_thread_t:0x42E4A648, state:CW, native ID:0x002320EB) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '30' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42E54700, sys_thread_t:0x42E4A8E4, state:CW, native ID:0x001B80B7) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '31' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42E54B00, sys_thread_t:0x42E4AB80, state:CW, native ID:0x001E6031) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '32' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42E54F00, sys_thread_t:0x42E4AE1C, state:CW, native ID:0x001550EF) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '33' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42E75700, sys_thread_t:0x42E4B0B8, state:CW, native ID:0x00268027) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '34' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42E75B00, sys_thread_t:0x42E4B354, state:CW, native ID:0x000CC093) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '35' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42E75F00, sys_thread_t:0x42E7D6A8, state:CW, native ID:0x001CE0F9) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '36' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42E86800, sys_thread_t:0x42E7D944, state:CW, native ID:0x0014D0FB) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '37' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42E86C00, sys_thread_t:0x42E7DBE0, state:CW, native ID:0x001A909F) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[STANDBY] ExecuteThread: '38' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42E87000, sys_thread_t:0x42E7DE7C, state:CW, native ID:0x0012608B) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[STANDBY] ExecuteThread: '45' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x43701E00, sys_thread_t:0x4346B748, state:CW, native ID:0x001D90ED) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[STANDBY] ExecuteThread: '46' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x43702200, sys_thread_t:0x4346B9E4, state:CW, native ID:0x0018D031) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[STANDBY] ExecuteThread: '47' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x43702600, sys_thread_t:0x4374F2A8, state:CW, native ID:0x001E80D1) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '48' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x437E0D00, sys_thread_t:0x4374F544, state:CW, native ID:0x0013C075) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '49' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x437E1100, sys_thread_t:0x4374F7E0, state:R, native ID:0x000FF091) prio=5
    at java/net/PlainSocketImpl.socketClose0(Native Method)
    at java/net/PlainSocketImpl.socketPreClose(PlainSocketImpl.java:744(Compiled Code))
    at java/net/PlainSocketImpl.close(PlainSocketImpl.java:568(Compiled Code))
    at java/net/SocksSocketImpl.close(SocksSocketImpl.java:1049(Compiled Code))
    at java/net/Socket.close(Socket.java:1341(Compiled Code))
    at weblogic/socket/WeblogicSocket.close(WeblogicSocket.java:80(Compiled Code))
    at weblogic/socket/SocketMuxer.closeSocket(SocketMuxer.java:420(Compiled Code))
    at weblogic/socket/SocketMuxer.cancelIo(SocketMuxer.java:754)
    at weblogic/socket/SocketMuxer$TimerListenerImpl.timerExpired(SocketMuxer.java:957(Compiled Code))
    at weblogic/timers/internal/TimerImpl.run(TimerImpl.java:265(Compiled Code))
    at weblogic/work/ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518(Compiled Code))
    at weblogic/work/ExecuteThread.execute(ExecuteThread.java:209(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:181(Compiled Code))
    Any help will be highly appreciated.

    My jvm parameters....Weblogic is 9.2
    -Xjcl:jclscar_23
    -Dcom.ibm.oti.vm.bootstrap.library.path=/usr/java5/jre/bin
    -Dsun.boot.library.path=/usr/java5/jre/bin
    -Djava.library.path=/usr/java5/jre/bin:/usr/java5/jre/bin:/usr/java5/jre/bin/classic:/usr/java5/jre/bin:/usr/local/bea/weblogic921/patch_weblogic921/profiles/default/native:/usr/local/CA/Siteminder/webagent/bin:/usr/local/bea/weblogic921/weblogic92/server/native/aix/ppc:/usr/java5/jre/bin/j9vm:/usr/lib
    -Djava.home=/usr/java5/jre
    -Djava.ext.dirs=/usr/java5/jre/lib/ext
    -Duser.dir=/usr/local/bea/weblogic921/user_projects/domains/tpms
    j2sej9=70912 0xF0AF7C68
    vfprintf 0x300017C4
    -Xms1024m
    -Xmx2048m
    -Xmn312m
    -Xgcpolicy:gencon
    -da
    -Dplatform.home=/usr/local/bea/weblogic921/weblogic92
    -Dwls.home=/usr/local/bea/weblogic921/weblogic92/server
    -Dwli.home=/usr/local/bea/weblogic921/weblogic92/integration
    -Dweblogic.management.discover=false
    -Dweblogic.management.server=http://ibmtpmsua1:7001
    -Dwlw.iterativeDev=false
    -Dwlw.testConsole=false
    -Dwlw.logErrorsToConsole=
    -Dweblogic.ext.dirs=/usr/local/bea/weblogic921/patch_weblogic921/profiles/default/sysext_manifest_classpath
    -Dweblogic.Name=TPMS_MS1
    -Djava.security.policy=/usr/local/bea/weblogic921/weblogic92/server/lib/weblogic.policy
    -Dinvokedviajava
    -Djava.class.path=/usr/local/bea/weblogic921/user_projects/domains/tpms/patches/CR287255_810sp6_v2.jar/usr/local/bea:/usr/local/bea/weblogic921/patch_weblogic921/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/java5/lib/tools.jar:/usr/local/bea/weblogic921/weblogic92/server/lib/weblogic_sp.jar:/usr/local/bea/weblogic921/weblogic92/server/lib/weblogic.jar:/usr/local/bea/weblogic921/weblogic92/server/lib/webservices.jar::/usr/local/bea/weblogic921/weblogic92/common/eval/pointbase/lib/pbclient51.jar:/usr/local/bea/weblogic921/weblogic92/server/lib/xqrl.jar::
    vfprintf
    portlibrary 0xF0AF74A8
    -Xdump
    -Xjcl:jclscar_23
    -Dcom.ibm.oti.vm.bootstrap.library.path=/usr/java5/jre/bin
    -Dsun.boot.library.path=/usr/java5/jre/bin
    -Djava.library.path=/usr/java5/jre/bin:/usr/java5/jre/bin:/usr/java5/jre/bin/classic:/usr/java5/jre/bin:/usr/local/bea/weblogic921/patch_weblogic921/profiles/default/native:/usr/local/CA/Siteminder/webagent/bin:/usr/local/bea/weblogic921/weblogic92/server/native/aix/ppc:/usr/java5/jre/bin/j9vm:/usr/lib
    -Djava.home=/usr/java5/jre
    -Djava.ext.dirs=/usr/java5/jre/lib/ext
    -Duser.dir=/usr/local/bea/weblogic921/user_projects/domains/tpms
    j2sej9=70912 0xF0AF7C68
    vfprintf 0x300017C4
    -Xms1024m
    -Xmx2048m
    -Xmn312m
    -Xgcpolicy:gencon
    -da
    -Dplatform.home=/usr/local/bea/weblogic921/weblogic92
    -Dwls.home=/usr/local/bea/weblogic921/weblogic92/server
    -Dwli.home=/usr/local/bea/weblogic921/weblogic92/integration
    -Dweblogic.management.discover=false
    -Dweblogic.management.server=http://ibmtpmsua1:7001
    -Dwlw.iterativeDev=false
    -Dwlw.testConsole=false
    -Dwlw.logErrorsToConsole=
    -Dweblogic.ext.dirs=/usr/local/bea/weblogic921/patch_weblogic921/profiles/default/sysext_manifest_classpath
    -Dweblogic.Name=TPMS_MS1
    -Djava.security.policy=/usr/local/bea/weblogic921/weblogic92/server/lib/weblogic.policy
    -Dinvokedviajava
    -Djava.class.path=/usr/local/bea/weblogic921/user_projects/domains/tpms/patches/CR287255_810sp6_v2.jar/usr/local/bea:/usr/local/bea/weblogic921/patch_weblogic921/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/java5/lib/tools.jar:/usr/local/bea/weblogic921/weblogic92/server/lib/weblogic_sp.jar:/usr/local/bea/weblogic921/weblogic92/server/lib/weblogic.jar:/usr/local/bea/weblogic921/weblogic92/server/lib/webservices.jar::/usr/local/bea/weblogic921/weblogic92/common/eval/pointbase/lib/pbclient51.jar:/usr/local/bea/weblogic921/weblogic92/server/lib/xqrl.jar::
    vfprintf
    portlibrary 0xF0AF74A8
    -Xdump

  • How to get record created and modified user name from SharePoint Database?

    Hi,
    My SharePoint Portal is in Window Authentication. Some users have added requests to Lists. I want to find user name of the Created By and Modified By.
    Only ID is available in the corresponding columns in Content Database table. In which table the users details would store in Content Database.
    Thanks & Regards
    Poomani Sankaran

    hi, you can find the user details inside UserInfo Table in content database. But i would suggest not to directly query the content databse not even for select as it will affect the indexes.
    why not follow the link
    http://www.sharepoint4arabs.com/AymanElHattab/Lists/Posts/Post.aspx?ID=99
    also if you just need the basic created by and modified by info than use SharePoint Object Model To get these values using ECMA script use below link
    http://www.c-sharpcorner.com/UploadFile/anavijai/get-created-by-and-modified-by-values-from-sharepoint-2010-l/ using Client side object model https://msdn.microsoft.com/en-us/library/office/ee534956%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
    Using server Side Object model
    http://www.sharepointcto.com/View.aspx?id=15
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • Bind Variable in SELECT statement and get the value  in PL/SQL block

    Hi All,
    I would like  pass bind variable in SELECT statement and get the value of the column in Dynamic SQL
    Please seee below
    I want to get the below value
    Expected result:
    select  distinct empno ,pr.dept   from emp pr, dept ps where   ps.dept like '%IT'  and pr.empno =100
    100, HR
    select  distinct ename ,pr.dept   from emp pr, dept ps where   ps.dept like '%IT'  and pr.empno =100
    TEST, HR
    select  distinct loc ,pr.dept   from emp pr, dept ps where   ps.dept like '%IT'  and pr.empno =100
    NYC, HR
    Using the below block I am getting column names only not the value of the column. I need to pass that value(TEST,NYC..) into l_col_val variable
    Please suggest
    ----- TABLE LIST
    CREATE TABLE EMP(
    EMPNO NUMBER,
    ENAME VARCHAR2(255),
    DEPT VARCHAR2(255),
    LOC    VARCHAR2(255)
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (100,'TEST','HR','NYC');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (200,'TEST1','IT','NYC');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (300,'TEST2','MR','NYC');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (400,'TEST3','HR','DTR');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (500,'TEST4','HR','DAL');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (600,'TEST5','IT','ATL');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (700,'TEST6','IT','BOS');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (800,'TEST7','HR','NYC');
    COMMIT;
    CREATE TABLE COLUMNAMES(
    COLUMNAME VARCHAR2(255)
    INSERT INTO COLUMNAMES(COLUMNAME) VALUES ('EMPNO');
    INSERT INTO COLUMNAMES(COLUMNAME) VALUES ('ENAME');
    INSERT INTO COLUMNAMES(COLUMNAME) VALUES ('DEPT');
    INSERT INTO COLUMNAMES(COLUMNAME) VALUES ('LOC');
    COMMIT;
    CREATE TABLE DEPT(
    DEPT VARCHAR2(255),
    DNAME VARCHAR2(255)
    INSERT INTO DEPT(DEPT,DNAME) VALUES ('IT','INFORMATION TECH');
    INSERT INTO DEPT(DEPT,DNAME) VALUES ('HR','HUMAN RESOURCE');
    INSERT INTO DEPT(DEPT,DNAME) VALUES ('MR','MARKETING');
    INSERT INTO DEPT(DEPT,DNAME) VALUES ('IT','INFORMATION TECH');
    COMMIT;
    PL/SQL BLOCK
    DECLARE
      TYPE EMPCurTyp  IS REF CURSOR;
      v_EMP_cursor    EMPCurTyp;
      l_col_val           EMP.ENAME%type;
      l_ENAME_val       EMP.ENAME%type;
    l_col_ddl varchar2(4000);
    l_col_name varchar2(60);
    l_tab_name varchar2(60);
    l_empno number ;
    b_l_col_name VARCHAR2(255);
    b_l_empno NUMBER;
    begin
    for rec00 in (
    select EMPNO aa from  EMP
    loop
    l_empno := rec00.aa;
    for rec in (select COLUMNAME as column_name  from  columnames
    loop
    l_col_name := rec.column_name;
    begin
      l_col_val :=null;
       l_col_ddl := 'select  distinct :b_l_col_name ,pr.dept ' ||'  from emp pr, dept ps where   ps.dept like ''%IT'' '||' and pr.empno =:b_l_empno';
       dbms_output.put_line('DDL ...'||l_col_ddl);
       OPEN v_EMP_cursor FOR l_col_ddl USING l_col_name, l_empno;
    LOOP
        l_col_val :=null;
        FETCH v_EMP_cursor INTO l_col_val,l_ename_val;
        EXIT WHEN v_EMP_cursor%NOTFOUND;
          dbms_output.put_line('l_col_name='||l_col_name ||'  empno ='||l_empno);
       END LOOP;
    CLOSE v_EMP_cursor;
    END;
    END LOOP;
    END LOOP;
    END;

    user1758353 wrote:
    Thanks Billy, Would you be able to suggest any other faster method to load the data into table. Thanks,
    As Mark responded - it all depends on the actual data to load, structure and source/origin. On my busiest database, I am loading on average 30,000 rows every second from data in external files.
    However, the data structures are just that - structured. Logical.
    Having a data structure with 100's of fields (columns in a SQL table), raise all kinds of questions about how sane that structure is, and what impact it will have on a physical data model implementation.
    There is a gross misunderstanding by many when it comes to performance and scalability. The prime factor that determines performance is not how well you code, what tools/language you use, the h/w your c ode runs on, or anything like that. The prime factor that determines perform is the design of the data model - as it determines the complexity/ease to use the data model, and the amount of I/O (the slowest of all db operations) needed to effectively use the data model.

  • Creating a PL/SQL-Block with Boolean-Return and Check

    Hello folks,
    I have some kind of tricky problem. Actually, I want to integrate a small Task-System on my Apex 2.2 installation. Every task is intended to have a field with a anonymous PL/SQL-block in the shape of:
    Declare
    Begin
    return true/false;
    End;
    It is comparable to the condition-PL/SQL-block you can set for almost ev'ry item.
    It's not the problem to write this block half-automated, but how do I check it? Is there any kind of Database-Function?
    Thanks for your replies.
    Matthias.

    I believe Struct is basically used for SQL types , and your 'T_NACHRICHT' is a type of Objects so please pass the objects array to STRUCT.
    For example if type is :
    CREATE OR REPLACE TYPE T_NACHRICHT AS OBJECT
    ID_Nachricht NUMBER,
    ID_Vorgang NUMBER,
    --datum                 TIMESTAMP(6),
    Betreff VARCHAR2(400),
    -- Nachricht CLOB,
    ID_Antwort NUMBER,
    ist_neu VARCHAR2(5),
    CONSTRUCTOR FUNCTION T_NACHRICHT(
    p_ID_Vorgang NUMBER,
    p_Betreff VARCHAR2) RETURN SELF AS RESULT
    then call the struct in below way:
    STRUCT nachrichtSTRUCT = null;
    StructDescriptor structDesc = StructDescriptor.createDescriptor("T_NACHRICHT", conn);
              Object [] obj = {123456,123456,"ABC",123456,"ABCD"};
    nachrichtSTRUCT = new STRUCT(structDesc, conn, obj);

  • Db_link name and synonym in PL/SQL block

    Hi,
    I'm having a problem with synonyms in PL/SQL block.
    Say, I have two schemas A and B.
    In schema A, I create some tables and stored procedures.
    In schema B, I create a db link connecting to schema A. Then I create some synonyms for tables and stored procedures in schema A with the db link. In stored procedures created in schema B, I need to access or reference objects in schema by using synonyms.
    My problem is, if schema A and schema B reside on the same db instance and the instance's global_names is set to true, I will not be able to reference any synonyms in stored procedures created in schema B. The error message is,
    PL/SQL: ORA-00980: synonym translation is no longer valid.
    A simple example:
    In schema A,
    create table mytable (A char(2));
    In schema B,
    create database link <global_name-for-schema-A>@loopback connect to A identified by <A-pwd> using '<net-service-name-for-schema-A>';
    create synonym mytable for mytable@<global_name-for-schema-A>@loopback;
    declare
    a char;
    begin
    select * from mytable;
    end;
    But I have no problem to access the synonym-ed objects in SQL*PLUS.
    Please help.
    Thanks

    I had the similar problem i did a work around like below
    SQL>select max(col1) from tab1;
    MAX(COL1)
    21161910
    SQL>get a
    1 declare
    2 a number;
    3 begin
    4 select max(col1) into a from tab1;
    5 dbms_output.put_line(a);
    6* end;
    SQL>@a
    select max(col1) into a from tab1;
    ERROR at line 4:
    ORA-06550: line 4, column 1:
    PL/SQL: ORA-00980: synonym translation is no longer valid
    ORA-06550: line 4, column 1:
    PL/SQL: SQL Statement ignored
    Created a view on top of the synonym
    SQL>create or replace view tab1_v as select * from tab1@db1;
    View created.
    changed the pl/sql block as below to get it from view instead of synonymn
    declare
    a number;
    begin
    select max(col1) into a from tab1;
    dbms_output.put_line(a);
    end;
    Now it worked
    SQL>@a
    21161910
    PL/SQL procedure successfully completed.

Maybe you are looking for