Rerouting on error code Cause i = 0x80FF - Interworking error; unspecified

Hi,
I have a problem with my operator. It has a regional crash ant I received this error code
Cause i = 0x80FF - Interworking error; unspecified
I have BRI backup with an other operator but the call manager does not reroute the call.
I try to put the BRI in the same route group or in an another route group but in the same rout list.
*Feb 25 09:20:00.355: ISDN Se0/0/1:15 Q931: TX -> SETUP pd = 8  callref = 0x1A99
        Sending Complete
        Bearer Capability i = 0x8090A3
                Standard = CCITT
                Transfer Capability = Speech
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA9839F
                Exclusive, Channel 31
        Calling Party Number i = 0x0081, '565552838'
                Plan:Unknown, Type:Unknown
        Called Party Number i = 0x80, '0615405708'
                Plan:Unknown, Type:Unknown
*Feb 25 09:20:00.375: ISDN Se0/0/1:15 Q931: RX <- CALL_PROC pd = 8  callref = 0x9A99
        Channel ID i = 0xA9839F
                Exclusive, Channel 31
*Feb 25 09:20:00.423: ISDN Se0/0/1:15 Q931: RX <- DISCONNECT pd = 8  callref = 0x9A99
        Cause i = 0x80FF - Interworking error; unspecified
*Feb 25 09:20:00.447: ISDN Se0/0/1:15 Q931: TX -> RELEASE pd = 8  callref = 0x1A99
*Feb 25 09:20:00.455: ISDN Se0/0/1:15 Q931: RX <- RELEASE_COMP pd = 8  callref = 0x9A99
I need help please.
Pierre

Here is a similar Thread...
https://supportforums.cisco.com/message/3927483#3927483
https://supportforums.cisco.com/message/4004578#4004578
Use can use the work around,..,
Remove the BR1 from the route group, reset the Route lists and re-add the BR1 back and test again
Please rate all useful posts
"The essence of christianity is not the enthronement but the obliteration of self --William Barclay"

Similar Messages

  • Gateway disconnecting calls - Interworking error; unspecified

    From time to time, and mostly with international calls, the gateway is disconnecting the calls:
    Oct  2 08:47:00: ISDN Se0/0/1:15 Q931: TX -> DISCONNECT pd = 8  callref = 0x59D3
            Cause i = 0x80FF - Interworking error; unspecified
    If you insist, the call proceeds OK. Any idea?

    Sure. It only happens from time to time (I can three times, two OK, one NOK):
    OK CALL
    Oct  3 10:08:36: ISDN Se0/0/1:15 Q931: TX -> SETUP pd = 8  callref = 0x61D1
            Bearer Capability i = 0x8090A3
                    Standard = CCITT
                    Transfer Capability = Speech 
                    Transfer Mode = Circuit
                    Transfer Rate = 64 kbit/s
            Channel ID i = 0xA9839E
                    Exclusive, Channel 30
            Calling Party Number i = 0x0181, '8901'
                    Plan:ISDN, Type:Unknown
            Called Party Number i = 0x91, '0034600990754'
                    Plan:ISDN, Type:International
    Oct  3 10:08:36: ISDN Se0/0/1:15 Q931: RX <- SETUP_ACK pd = 8  callref = 0xE1D1
            Channel ID i = 0xA9839E
                    Exclusive, Channel 30
    Oct  3 10:08:40: ISDN Se0/0/1:15 Q931: RX <- CALL_PROC pd = 8  callref = 0xE1D1
            Channel ID i = 0xA9839E
                    Exclusive, Channel 30
    Oct  3 10:08:45: ISDN Se0/0/1:15 Q931: RX <- ALERTING pd = 8  callref = 0xE1D1
            Progress Ind i = 0x8488 - In-band info or appropriate now available
    Oct  3 10:08:48: ISDN Se0/0/1:15 Q931: RX <- DISCONNECT pd = 8  callref = 0xE1D1
            Cause i = 0x8491 - User busy
    Oct  3 10:08:48: ISDN Se0/0/1:15 Q931: TX -> RELEASE pd = 8  callref = 0x61D1
    Oct  3 10:08:49: ISDN Se0/0/1:15 Q931: RX <- RELEASE_COMP pd = 8  callref = 0xE1D1
    NOK CALL
    Oct  3 10:08:51: ISDN Se0/0/1:15 Q931: TX -> SETUP pd = 8  callref = 0x61D4
            Bearer Capability i = 0x8090A3
                    Standard = CCITT
                    Transfer Capability = Speech 
                    Transfer Mode = Circuit
                    Transfer Rate = 64 kbit/s
            Channel ID i = 0xA9839E
                    Exclusive, Channel 30
            Calling Party Number i = 0x0181, '8901'
                    Plan:ISDN, Type:Unknown
            Called Party Number i = 0x91, '0034600990754'
                    Plan:ISDN, Type:International
    Oct  3 10:08:51: ISDN Se0/0/1:15 Q931: RX <- SETUP_ACK pd = 8  callref = 0xE1D4
            Channel ID i = 0xA9839E
                    Exclusive, Channel 30
    Oct  3 10:08:55: ISDN Se0/0/1:15 Q931: RX <- CALL_PROC pd = 8  callref = 0xE1D4
            Channel ID i = 0xA9839E
                    Exclusive, Channel 30
    Oct  3 10:08:59: ISDN Se0/0/1:15 Q931: RX <- PROGRESS pd = 8  callref = 0xE1D4
            Progress Ind i = 0x8482 - Destination address is non-ISDN
    Oct  3 10:08:59: ISDN Se0/0/1:15 Q931: TX -> DISCONNECT pd = 8  callref = 0x61D4
            Cause i = 0x80FF - Interworking error; unspecified
    Oct  3 10:08:59: ISDN Se0/0/1:15 Q931: RX <- RELEASE pd = 8  callref = 0xE1D4
    Oct  3 10:08:59: ISDN Se0/0/1:15 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x61D4

  • [svn:fx-trunk] 10065: Comment out code causing an RTE in SWFLoader.

    Revision: 10065
    Author:   [email protected]
    Date:     2009-09-08 13:14:26 -0700 (Tue, 08 Sep 2009)
    Log Message:
    Comment out code causing an RTE in SWFLoader. Will fix as part of per-module styles feature development.
    QE notes: None.
    Doc notes: None.
    Bugs: SDK-23081
    Reviewer:
    Tests run: checkintests
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23081
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as

    Hello, first post here..
    I maintain a java based lobby for an opensource RTS
    engine called spring at http://taspring.clan-sy.com
    You can find my lobbys source code at:
    https://taspring.clan-sy.com/svn/spring/trunk/AFLobby/
    Of note being the unitsync.dll/so library used to
    handle mods and maps. Implementing this library in
    pure java is not an option.
    I've dealt with quite a few JNi errors dealing with
    the linux users but we got through them all and it
    all worked great.
    I released a windows installer, and most users can
    run it fine with no issues with JNI, but 2 users seem
    to have problems, despite correctly installing
    everything.Does the JNI code use perl?
    This error message shows several hits on Google for perl related stuff.

  • Tables for Damage Codes, Cause Code & Defects

    Dear Masters,
    I require the tables that store the damage codes, cause codes and defects assigned to a particular maintenance notification.
    I require this in the form of printing a Maintenance order.
    This is a kind of urgent. Please do help. Thanks in advance.
    Chin2.

    Dear Friends,
    Thanks for your quick reply, I had my problem solved with your replies
    Thanks once again
    Chin2

  • Can anybody help me and find why that code cause that exception

    Hi
    I'm standing whole the day finding out why that code cause the following exception but i couldn't so any help
    The exception:
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
    package simulation;
    import javax.swing.*;
    import java.io.*;
    import java.lang.*;
    import java.math.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.util.*;
    * @author Enegm
    public class Main {
       void InitGui()
           f=new JFrame("Simulation");
           f.setBounds(200,200,300,200);
           f.setLayout(null);
           l1=new JLabel("<html>\u03b2<sub>a</sub></html>");
           l2=new JLabel("<html>\u03b2<sub>s</sub></html>");
           l3=new JLabel("The number of delaies desired");
           t2=new JTextField();
           t1=new JTextField();
           t3=new JTextField();
           b1=new JButton("Simulate");
            Draw d;
            b1.addActionListener(new
                ActionListener()
                    public void actionPerformed(ActionEvent event)
                        //Main m=new Main();
                        new Thread()
                            public void run()
                    Draw();
                   //  Draw1();
                            }}.start();
    //                     f1=new JFrame("Q(t) vs t");
    //                    float MX=MaxX(QT);
    //                    float MY=MaxY(QT);
    //                   d=new Draw(MX,MY,QT,BT);
    //                    d.setBounds(10,10,580,280);
    //                    d.setBackground(Color.WHITE);
    //                    f1.setLayout(null);
    //                    f1.setBounds(50,0,610,340);
    //                    f1.getContentPane().add(d);
    //                    f1.setVisible(true);
           l1.setBounds(50,50,30,50);
           t1.setBounds(90,60,30,20);
           l2.setBounds(150,50,30,50);
           t2.setBounds(190,60,30,20);
           b1.setBounds(100,130,100,30);
           l3.setBounds(30,100,175,20);
           t3.setBounds(210,100,30,20);
           f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
           f.getContentPane().add(l1);
           f.getContentPane().add(t1);
           f.getContentPane().add(l2);
           f.getContentPane().add(t2);
           f.getContentPane().add(l3);
           f.getContentPane().add(t3);
           f.getContentPane().add(b1);
           f.setVisible(true);
        public Main() {
         * @param args the command line arguments
        public static void main(String[] args) {
            Main m=new Main();
            m.InitGui();
              r=new Random();
    //          while(true)
    //              if(flag==1)
    //                 m.Draw();
    //        int NEv;
    //        r=new Random();
    //        m.Initialize();
    //        while(ND<=Integer.parseInt(t3.getText()));
    //            NEv=m.TimingRoutine();
    //            if(NEv==0)
    //                m.Arrival();
    //            else
    //                m.Departure();
       public void Initialize()
            SS=false;
            NIQ=0;
            TOLE=0;
            ND=0;
            TD=0;
             float temp1=Float.parseFloat(t1.getText());
            EList[0]=-temp1*((float)(Math.log(r.nextFloat())));
            EList[1]=(float)10e6;
            CLK=0;
            QT=new Vector<Point2D>(100);
            BT=new Vector<Point2D>(100);
       public  void Draw()
           System.out.println(""+java.lang.Runtime.getRuntime());
           int NEv;
                     ND=0;
                      Initialize();
            while(ND<Integer.parseInt(t3.getText()))
                NEv=TimingRoutine();
                if(NEv==0)
                   Arrival();
               else
                    Departure();
                     // System.out.println("ADSDDA SAD");
                       f1=new JFrame("Q(t) vs t");
                        float MX=MaxX(QT);
                        float MY=MaxY(QT);
                        d=new Draw(MX,MY,QT,BT,1);
                        d.repaint();
                        d.setBounds(10,10,600,280);
                        d.setBackground(Color.WHITE);
                        f1.setLayout(null);
                        f1.setBounds(50,0,630,340);
                        f1.getContentPane().add(d);
                        f1.setVisible(true);
                           System.out.println(""+java.lang.Runtime.getRuntime());
        public  void Draw1()
           System.out.println(""+java.lang.Runtime.getRuntime());
           int NEv;
                     ND=0;
                      Initialize();
            while(ND<Integer.parseInt(t3.getText()))
                NEv=TimingRoutine();
                if(NEv==0)
                   Arrival();
               else
                    Departure();
                     // System.out.println("ADSDDA SAD");
                       f1=new JFrame("B(t) vs t");
                        float MX=MaxX(QT);
                        float MY=MaxY(QT);
                        d=new Draw(MX,MY,QT,BT,0);
                        d.repaint();
                        d.setBounds(10,10,600,280);
                        d.setBackground(Color.WHITE);
                        f1.setLayout(null);
                        f1.setBounds(50,350,630,340);
                        f1.getContentPane().add(d);
                        f1.setVisible(true);
                           System.out.println(""+java.lang.Runtime.getRuntime());
       public void Arrival()
           float AT=EList[0];
           float temp1,temp2;
           temp1=Float.parseFloat(t1.getText());
           temp2=Float.parseFloat(t2.getText());
         Point2D state,state1;
           EList[0]=(-temp1*((float)Math.log((r.nextFloat()))))+AT;
          if(SS==true)
              NIQ+=1;
              state=new Point2D.Float(CLK,1);
            //  state.setLocation(CLK,1);
          else
              TD=0;
              ND+=1;
              SS=true;
              EList[1]=(-temp2*((float)Math.log(r.nextFloat())))+CLK;
              state=new Point2D.Float(CLK,1);
              //state.setLocation(CLK,1);
          state1=new Point2D.Float(CLK,NIQ);
        //  state1.setLocation(CLK,NIQ);
            QT.add(state1);
          BT.add(state);
       public void Departure()
           Point2D state,state1;
           float temp=Float.parseFloat(t2.getText());
           if(NIQ==0)
               SS=false;
               state=new Point2D.Float(CLK,0);
              // state.setLocation(CLK,0);
           else
               NIQ--;
               ND++;
               //temp=TOA.remove(0);
               SS=true;
                EList[1]=(-temp*((float)Math.log((r.nextFloat()))))+CLK;
                state=new Point2D.Float(CLK,0);
                // state.setLocation(CLK,0);
              state1=new Point2D.Float(CLK,NIQ);
               //state1.setLocation(CLK,NIQ);
            QT.add(state1);
            BT.add(state);
       public int TimingRoutine()
           int NE;
           if(EList[0]<EList[1])
           {   CLK=EList[0];
               return 0;}
           else
           {   CLK=EList[1];
               return 1;}
       public float MaxX(Vector<Point2D> pts)
           int len =pts.size();
           float Max=0;
           float temp=0;
           for(int i=0;i<len;i++)
               temp=(float)pts.get(i).getX();
               if(Max<temp)
               Max=temp;
           return Max;
        public float MaxY(Vector<Point2D> pts)
           int len =pts.size();
           float Max=0;
           float temp=0;
           for(int i=0;i<len;i++)
               temp=(float)pts.get(i).getY();
               if(Max<temp)
               Max=temp;
           return Max;
      public static Random r;
      public static JFrame f; 
      public static JFrame f1; 
      public static JLabel l1;
      public static JTextField t1;
      public static JLabel l2;
      public static JTextField t2;
      public static JButton b1;
      public static JLabel l3;
      public static JTextField t3;
      public static boolean SS;
      public static int NIQ;
      public static float TOLE;
      public static int ND;
      public static float TD;
      public static Draw d;
      public static Vector<Point2D>QT;
      public static Vector<Point2D>BT;
      public static Vector<Float>TOA;
      public float[] EList=new float[2];
      public static float CLK;
      public static int flag=0;
    class Draw extends JPanel
        public Draw(float x,float y,Vector<Point2D> QT,Vector<Point2D> BT,int dif)
           MX=x;
           MY=y;
           this.QT=QT;
           this.BT=BT;
           this.dif=dif;
        public void paintComponent(Graphics g)
            super.paintComponent(g);
       Graphics2D g2=(Graphics2D) g;
        Line2D L;
        if(dif==1)
        Draw(g2);
        else
              Draw1(g2);
          return;
        public void Draw(Graphics2D g2)
            Line2D L;
            java.text.DecimalFormat dfm = new java.text.DecimalFormat("00.##");
        float tempx,tempy,x,y;
      g2.setColor(Color.BLACK);
      g2.drawLine(0,260,600,260);
      g2.drawLine(10,0,10,280);
      g2.drawLine(578,255,600,260);
      g2.drawLine(578,265,600,260);
       x=(float)((QT.get(0).getX()*580)/MX);
      y=(float)((QT.get(0).getY()*260)/MY);
      int stepx=(int)(580/10+10);int stepy=(int)(260/10);
      String stepx1=""+(int)(MX/10);String stepy1=""+(int)(MY/10);
      String tempc="";
      if((int)(MX/10)==0)
          stepx1=dfm.format(MX/10);;
      if((int)(MY/10)==0)
          stepy1=dfm.format(MY/10);
      int temp=10;double temp1=0;
      for(int i=0;i<10;i++)
          if(temp1>MX)
              break;
          g2.drawString(""+temp1,(int)temp,270);
          temp=temp+stepx;
          temp1=temp1+Double.parseDouble(stepx1);
          tempc=dfm.format(temp1);
          temp1=Double.parseDouble(tempc);
      temp=0;temp1=0;
      for(int i=0;i<10;i++)
          g2.drawString(""+temp1,0,260-temp);
          temp=temp+stepy;
          temp1=temp1+Double.parseDouble(stepy1);
           tempc=dfm.format(temp1);
          temp1=Double.parseDouble(tempc);
       g2.setColor(Color.blue);
      for(int i=1;i<QT.size();i++)
         tempx=(float)((QT.get(i).getX()*580)/MX+10);
         tempy=(float)((QT.get(i).getY()*260)/MY);
         L=new Line2D.Float(x,260-y,tempx,260-y);
          g2.draw(L);
         L=new Line2D.Float(tempx,260-y,tempx,260-tempy);
         g2.draw(L);
    //     g2.drawLine(10,10,260,10);
    //     g2.drawString(""+QT.get(i).getX(),tempx,260);
         x=tempx;y=tempy;  
         public void Draw1(Graphics2D g2)
            Line2D L;
            java.text.DecimalFormat dfm = new java.text.DecimalFormat("00.##");
        float tempx,tempy,x,y;
      g2.setColor(Color.BLACK);
      g2.drawLine(0,260,600,260);
      g2.drawLine(10,0,10,280);
      g2.drawLine(578,255,600,260);
      g2.drawLine(578,265,600,260);
       x=(float)((BT.get(0).getX()*580)/MX);
      y=(float)((BT.get(0).getY()*260)/MY);
      int stepx=(int)(580/10+10);int stepy=(int)(260/10);
      String stepx1=""+(int)(MX/10);String stepy1=""+(int)(MY/10);
      String tempc="";
      if((int)(MX/10)==0)
          stepx1=dfm.format(MX/10);;
      if((int)(MY/10)==0)
          stepy1=dfm.format(MY/10);
      int temp=10;double temp1=0;
      for(int i=0;i<10;i++)
          if(temp1>MX)
              break;
          g2.drawString(""+temp1,(int)temp,270);
          temp=temp+stepx;
          temp1=temp1+Double.parseDouble(stepx1);
          tempc=dfm.format(temp1);
          temp1=Double.parseDouble(tempc);
      temp=0;temp1=0;
      for(int i=0;i<10;i++)
    //      if(temp1>MY)
    //          break;
    //      if((temp1-(int)temp1)!=0)
    //          continue;
          g2.drawString(""+temp1,0,260-temp);
          temp=temp+stepy;
          temp1=temp1+Double.parseDouble(stepy1);
           tempc=dfm.format(temp1);
          temp1=Double.parseDouble(tempc);
       g2.setColor(Color.blue);
      for(int i=1;i<QT.size();i++)
         tempx=(float)((BT.get(i).getX()*580)/MX+10);
         tempy=(float)((BT.get(i).getY()*260)/MY);
         L=new Line2D.Float(x,260-y,tempx,260-y);
          g2.draw(L);
         L=new Line2D.Float(tempx,260-y,tempx,260-tempy);
         g2.draw(L);
    //     g2.drawLine(10,10,260,10);
    //     g2.drawString(""+QT.get(i).getX(),tempx,260);
         x=tempx;y=tempy;  
         public float MaxX(Vector<Point2D> pts)
           int len =pts.size();
           float Max=0;
           float temp=0;
           for(int i=0;i<len;i++)
               temp=(float)pts.get(i).getX();
               if(Max<temp)
               Max=temp;
           return Max;
        public float MaxY(Vector<Point2D> pts)
           int len =pts.size();
           float Max=0;
           float temp=0;
           for(int i=0;i<len;i++)
               temp=(float)pts.get(i).getY();
               if(Max<temp)
               Max=temp;
           return Max;
    public static JFrame f1;
    public static JFrame f2;
    public static float MX;
    public static float MY;
    public static Vector<Point2D> QT;
    public static Vector<Point2D> BT;
    public static int dif;

    Hard to tell. Somewhere you're creating objects without ever releasing them. Are you endlessly adding to a list or something?
    System.out.println(""+java.lang.Runtime.getRuntime());What are those calls good for?
    And may I suggest you to stick to the Java coding conventions (lower-case method and variable names) and generally find better names for your classes and methods?

  • Problem Cause i = 0x80AF - Resource unavailable, unspecified

    I have some problem with customer voice gateway router (Cisco 2821). User couldn't call to anywhere until I reboot voice gateway router. Please see the debugging message below:
    *Aug 17 09:00:43.719: ISDN Se1/0/0:15 Q931: RX <- SETUP pd = 8 callref =
    0x5555
    Sending Complete
    Bearer Capability i = 0x9090A3
    Standard = CCITT
    Transer Capability = 3.1kHz Audio
    Transfer Mode = Circuit
    Transfer Rate = 64 kbit/s
    Channel ID i = 0xA98386
    Exclusive, Channel 6
    Progress Ind i = 0x8283 - Origination address is non-ISDN
    Calling Party Number i = 0x2183, '26109044'
    Plan:ISDN, Type:National
    Called Party Number i = 0xC1, '6872000'
    Plan:ISDN, Type:Subscriber(local)
    *Aug 17 09:00:43.719: ISDN Se1/0/0:15 **ERROR**:
    cdapi_process_connect_resp: cdapi sez to reject the call (appl rejected?)
    *Aug 17 09:00:43.723: ISDN Se1/0/0:15 Q931: TX -> RELEASE_COMP pd = 8
    callref = 0xD555
    Cause i = 0x80AF - Resource unavailable, unspecified
    Anyone know this problem?
    Thank you.

    Hi,
    Thank you for your answer. However I don't think it's a codec issue because Phone and GW are on the same Region.
    Moreover with the same phone, same destinationation number, same voice channel, sometimes calls are fine, sometimes, the problem happens
    Below the debug information for a failed call:
            Bearer Capability i = 0x8090A3
                    Standard = CCITT
                    Transfer Capability = Speech
                    Transfer Mode = Circuit
                    Transfer Rate = 64 kbit/s
            Channel ID i = 0xA98381
                    Exclusive, Channel 1
            Progress Ind i = 0x8183 - Origination address is non-ISDN
            Calling Party Number i = 0x0181, '1252741532'
                    Plan:ISDN, Type:Unknown
            Called Party Number i = 0x81, '0033613926866'
                    Plan:ISDN, Type:Unknown
    *Jul 29 08:02:39.184: ISDN Se0/0/0:15 Q931: RX <- SETUP_ACK pd = 8  callref = 0x8101
            Channel ID i = 0xA98381
                    Exclusive, Channel 1
            Progress Ind i = 0x8288 - In-band info or appropriate now available
    *Jul 29 08:02:44.608: ISDN Se0/0/0:15 Q931: RX <- CALL_PROC pd = 8  callref = 0x8101
    *Jul 29 08:02:51.024: ISDN Se0/0/0:15 Q931: RX <- ALERTING pd = 8  callref = 0x8101
    *Jul 29 08:02:51.252: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8  callref = 0x0101
            Cause i = 0x80AF - Resource unavailable, unspecified
    *Jul 29 08:02:51.416: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8  callref = 0x8101
    *Jul 29 08:02:51.420: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x0101
    Below debug trace for a call OK:
            Bearer Capability i = 0x8090A3
                    Standard = CCITT
                    Transfer Capability = Speech
                    Transfer Mode = Circuit
                    Transfer Rate = 64 kbit/s
            Channel ID i = 0xA98381
                    Exclusive, Channel 1
            Progress Ind i = 0x8183 - Origination address is non-ISDN
            Calling Party Number i = 0x0181, '1252741532'
                    Plan:ISDN, Type:Unknown
            Called Party Number i = 0x81, '0033613926866'
                    Plan:ISDN, Type:Unknown
    *Jul 29 08:00:52.900: ISDN Se0/0/0:15 Q931: RX <- SETUP_ACK pd = 8  callref = 0x80FD
            Channel ID i = 0xA98381
                    Exclusive, Channel 1
            Progress Ind i = 0x8288 - In-band info or appropriate now available
    *Jul 29 08:00:58.308: ISDN Se0/0/0:15 Q931: RX <- CALL_PROC pd = 8  callref = 0x80FD
    *Jul 29 08:01:05.100: ISDN Se0/0/0:15 Q931: RX <- ALERTING pd = 8  callref = 0x80FD
    *Jul 29 08:01:12.956: ISDN Se0/0/0:15 Q931: RX <- CONNECT pd = 8  callref = 0x80FD
    *Jul 29 08:01:12.960: %ISDN-6-CONNECT: Interface Serial0/0/0:0 is now connected to 0033613926866 N/A
    *Jul 29 08:01:12.960: ISDN Se0/0/0:15 Q931: TX -> CONNECT_ACK pd = 8  callref = 0x00FD
    *Jul 29 08:01:15.932: ISDN Se0/0/0:15 Q931: RX <- DISCONNECT pd = 8  callref = 0x80FD
            Cause i = 0x8090 - Normal call clearing
            Progress Ind i = 0x8288 - In-band info or appropriate now available
    *Jul 29 08:01:15.936: %ISDN-6-DISCONNECT: Interface Serial0/0/0:0  disconnected from 0033613926866 , call lasted 2 seconds
    *Jul 29 08:01:15.936: ISDN Se0/0/0:15 Q931: call_disc: PI received in disconnect; Postpone sending RELEASE for callid 0x8080
    *Jul 29 08:01:16.472: ISDN Se0/0/0:15 Q931: TX -> RELEASE pd = 8  callref = 0x00FD
    *Jul 29 08:01:16.524: ISDN Se0/0/0:15 Q931: RX <- RELEASE_COMP pd = 8  callref = 0x80FD

  • Some thing in my code causing excel file to be READ-ONLY

    Hello:
    I am pretty certain problem is caused by left bottom part of the picture, but I am not sure why.  The software basically write a header to a .xls file at start called XXX-peak.xls, at every cycle I read everything from the .xls, do some array manipulation modify 2 columns to the last row and rewrite the whole thing back to the same file.  I originally thought perhaps I left the file unclosed after an access but I think that would cause an error, besides,  all the read/write file VIs have file close features inside of them.  If someone could give me a quick diagnostic, it would be great!
    JC  
    Attachments:
    snapshot1.jpg ‏3779 KB

    First of all, you're not reading or writing any files in Excel (*.xls) format. You're reading and writing plain ASCII spreadsheet data. (The fact that Excel will try its best to parse the content when you later try to open it with excel does not make it an Excel file ).
    It is not obvious from the picture where the problem is, especially since we don't see the code in all the other cases and you read your filename via a value property. Where else is the file name used? It might be more efficient to open the file once, then use low-level file I/O to read from it and write back to it at desired offset location without ever closing the file during the run of the program.
    Why don't you attach the actual VI so we can better see what you're doing?
    LabVIEW Champion . Do more with less code and in less time .

  • Help to Identify the peace of code Causing - ORA-01410: invalid ROWID

    Hi I have Plsql Block that runs monthly and process 10 million records and every once in a while it fails with the ORA-01410: invalid ROWID Error ,last month it failed two times with same error ,if any one could point me what is wrong this code ,i will work on it to fix. if you see the code we have exceptio n block at the end of the code ,we have procedure that inserts a record into log table ,so both the failures had inserted a record into the table that means it failed before it entered into for loop.
    my question is can Fech statement cause invalid rowid.
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    DECLARE
      cFetchLimit CONSTANT NUMBER := 100000; 
      nRunningTotal NUMBER := 0;
      CURSOR curRawData IS
          SELECT rawdata.*, SYS_GUID() combinedprofitdataid,
               NVL((SELECT 'Y'    
                    FROM   SNAP_CDS_HR_NONSENSITIVE_DATA
                    WHERE  emplid = LPAD(rawdata.fk_westprireltnshpmanagerempid,11,'0')),'N') hrempexists,
               NVL((SELECT MAX('Y')      
                    FROM   SNAP_MAX_Entity
                    WHERE  AU     = DECODE(LENGTH(REPLACE(TRANSLATE(rawdata.fk_west_bookingau, '0123456789' ,'**********'), '*', NULL)), NULL, rawdata.fk_west_bookingau, NULL) 
                    ),'N') bookingauexists,               
               NVL((SELECT  MAX('Y')
                    FROM   SNAP_MAX_Entity
                    WHERE  AU     = DECODE(LENGTH(REPLACE(TRANSLATE(rawdata.fk_westprireltnshpmanagerempau, '0123456789' ,'**********'), '*', NULL)), NULL, rawdata.fk_westprireltnshpmanagerempau, NULL)
                    ),'N') prirelmanempauexists,
               NVL((SELECT  MAX('Y')          
                    FROM   SNAP_MAX_ProductGroup
                    WHERE  ProductGroupId = DECODE(LENGTH(REPLACE(TRANSLATE(rawdata.fk_west_productgroupid, '0123456789' ,'**********'), '*', NULL)), NULL, rawdata.fk_west_productgroupid, NULL)
                    ),'N') productgroupexists,
               NVL((SELECT  MAX('Y')          
                    FROM   SNAP_MAX_Product
                    WHERE  ProductId = rawdata.fk_west_productid
                    ),'N') productidexists,
               NVL((SELECT  MAX('Y')
                    FROM   SNAP_MAX_SubProduct
                    WHERE  SubProductId = rawdata.fk_west_subproductid
                    ),'N') subproductidexists,
               (SELECT  e.GL_ENTITY       
                        FROM SNAP_CDS_HR_NONSENSITIVE_DATA e
                       WHERE e.emplid = LPAD(rawdata.fk_westprireltnshpmanagerempid,11,'0')
                         AND e.AU = rawdata.FK_WESTPRIRELTNSHPMANAGEREMPAU ) entity_fk_westprirelmanempau
        FROM   T_rawdata rawdata
        WHERE rawdata.dda_flag = 'N';
      TYPE RawData_aat IS TABLE OF curRawData%ROWTYPE INDEX BY PLS_INTEGER;
      l_RawData RawData_aat;   
      TYPE CombinedProfitData_aat IS TABLE OF T_WIS_CDS_COMBINEDPROFITDATA%ROWTYPE INDEX BY PLS_INTEGER;
      l_CombinedP CombinedProfitData_aat;
      cpdIdx NUMBER := 0;
      vcHREmpExists          VARCHAR2(1) := 'N';
      vcBookingAuExists      VARCHAR2(1) := 'N';
      vcPriRelManEmpAuExists VARCHAR2(1) := 'N';
      vcProductGroupExists   VARCHAR2(1) := 'N';
      vcProductIDExists      VARCHAR2(1) := 'N';
      vcSubProductIDExists   VARCHAR2(1) := 'N';
      vcBEIDExists           VARCHAR2(1) := 'N';
      l_raw_accountnum           t_wis_cds_h_act_rawdata.account%TYPE                   := NULL;
      l_raw_bank_id              t_wis_cds_h_act_rawdata.account%TYPE                   := NULL;
      l_west_sourcesystem        t_wis_cds_h_act_rawdata.sourcesystem%TYPE              := NULL;
      l_fnd_combinedprofitdataid T_WIS_CDS_COMBINEDPROFITDATA.combinedprofitdataid%TYPE := NULL;
      FUNCTION BEIDExists(p_west_be_id VARCHAR2) RETURN VARCHAR2 IS
        CURSOR curBEIDData IS
          SELECT 'Y'
          FROM   SNAP_STOBEX_BUSINESS_ENTITY
          WHERE  be_id  = p_west_be_id;
      BEGIN     
        FOR recBEIDData IN curBEIDData LOOP
          RETURN 'Y';
        END LOOP;
        RETURN 'N';   
      EXCEPTION
      WHEN OTHERS THEN
         P_WIS_CDS.LOG('exists', SQLCODE, SQLERRM);
        RETURN 'N'; 
      END BEIDExists;  
    BEGIN
      OPEN curRawData;
      LOOP
        FETCH curRawData BULK COLLECT INTO l_RawData LIMIT cFetchLimit;
        EXIT WHEN l_RawData.COUNT = 0;       
        l_CombinedP.DELETE;
        cpdIdx := 0;
        nRunningTotal := nRunningTotal + l_RawData.COUNT;
        P_WIS_CDS.info('Merge_cp','0', 'Processing '||nRunningTotal||' rows @ '||SYSDATE);
        FOR i IN l_RawData.FIRST..l_RawData.LAST LOOP
            cpdIdx := (cpdIdx+1);       
            vcHREmpExists          := 'N';
            vcBookingAuExists      := 'N';
            vcPriRelManEmpAuExists := 'N';
            vcProductGroupExists   := 'N';
            vcProductIDExists      := 'N';
            vcSubProductIDExists   := 'N';
            vcBEIDExists           := 'N';
            l_CombinedP(cpdIdx).exportsource      := l_RawData(i).exportsource;
            l_CombinedP(cpdIdx).exportsourcetype  := l_RawData(i).exportsourcetype;
            l_CombinedP(cpdIdx).fk_exportsourceid := l_RawData(i).exportsourceid;
            IF l_RawData(i).fk_westprireltnshpmanagerempid IS NOT NULL THEN
              l_CombinedP(cpdIdx).fk_westprireltnshpmanagerempid :=
                                          LPAD(l_RawData(i).fk_westprireltnshpmanagerempid, 11, '0');       
            ELSE
              l_CombinedP(cpdIdx).fk_westprireltnshpmanagerempid := NULL;
            END IF;
            l_CombinedP(cpdIdx).fk_west_productgroupid :=
                                                l_RawData(i).fk_west_productgroupid;  
            l_CombinedP(cpdIdx).fk_west_productid      :=
                                                     l_RawData(i).fk_west_productid;
            l_CombinedP(cpdIdx).fk_west_subproductid   :=
                                                  l_RawData(i).fk_west_subproductid;
            l_CombinedP(cpdIdx).fk_west_bookingau := NULL;
            IF l_RawData(i).fk_westprireltnshpmanagerempau IS NOT NULL OR l_RawData(i).fk_westprireltnshpmanagerempau <> '0' THEN
         l_CombinedP(cpdIdx).fk_westprireltnshpmanagerempau :=
                                     lpad(l_RawData(i).fk_westprireltnshpmanagerempau,7,'0');   ---->751 task
         ELSE
         l_CombinedP(cpdIdx).fk_westprireltnshpmanagerempau := NULL;
         END IF;         
            l_CombinedP(cpdIdx).combinedprofitdataid         := l_RawData(i).combinedprofitdataid; ---SYS_GUID();
            l_CombinedP(cpdIdx).exportsource                 := l_RawData(i).exportsource;
            l_CombinedP(cpdIdx).exportsourcetype             := l_RawData(i).exportsourcetype;
            l_CombinedP(cpdIdx).fk_exportsourceid            := l_RawData(i).exportsourceid;
            l_CombinedP(cpdIdx).endofmonthdate               := l_RawData(i).endofmonthdate;
            l_CombinedP(cpdIdx).account                      := l_RawData(i).account;
            l_CombinedP(cpdIdx).westaccount                  := l_RawData(i).westaccount;
         IF l_RawData(i).westaccount IS NOT NULL
         THEN
              l_CombinedP(cpdIdx).iseastaccountconvertedtowest := 'Y';
         END IF;
                BEGIN
                  SELECT customer.WEST_BE_ID,
                         linkage.parent_id,
                         linkage.top_parent_id
                  INTO   l_CombinedP(cpdIdx).fk_west_be_id,
                         l_CombinedP(cpdIdx).fk_west_ber_id,
                         l_CombinedP(cpdIdx).fk_west_hlber_id
                  FROM   SNAP_STOBEX_BE_BER_LINKAGE linkage,
                         T_EastToWest customer
                  WHERE  customer.east_customerid = l_RawData(i).fk_customerid
                  AND    customer.east_accountid  = NVL(l_RawData(i).westaccount,l_RawData(i).account)
                  AND    linkage.entity_id(+)     = customer.west_be_id
                  AND    linkage.entity_type(+)   = 'BE'
                  AND    ROWNUM                   = 1;
                EXCEPTION
                WHEN NO_DATA_FOUND THEN
                  BEGIN
                    SELECT customer.WEST_BE_ID,
                           linkage.parent_id,
                           linkage.top_parent_id
                    INTO   l_CombinedP(cpdIdx).fk_west_be_id,
                           l_CombinedP(cpdIdx).fk_west_ber_id,
                           l_CombinedP(cpdIdx).fk_west_hlber_id
                    FROM   SNAP_STOBEX_BE_BER_LINKAGE linkage,
                           T_EastToWest customer
                    WHERE  customer.east_customerid = l_RawData(i).fk_customerid
                    AND    customer.east_accountid  = l_RawData(i).account
                    AND    linkage.entity_id(+)     = customer.west_be_id
                    AND    linkage.entity_type(+)   = 'BE'
                    AND    ROWNUM                   = 1;
                  EXCEPTION            
                    WHEN OTHERS THEN                           
                     l_CombinedP(cpdIdx).fk_west_be_id    := NULL;
                     l_CombinedP(cpdIdx).fk_west_ber_id   := NULL;
                     l_CombinedP(cpdIdx).fk_west_hlber_id := NULL;
                  END;
                WHEN OTHERS THEN                           
                  l_CombinedP(cpdIdx).fk_west_be_id    := NULL;
                  l_CombinedP(cpdIdx).fk_west_ber_id   := NULL;
                  l_CombinedP(cpdIdx).fk_west_hlber_id := NULL;
                END;
            l_fnd_combinedprofitdataid := NULL;
            BEGIN
                SELECT  COMBINEDPROFITDATAID
                  INTO l_fnd_combinedprofitdataid
                  FROM T_WIS_CDS_COMBINEDPROFITDATA cpd
                 WHERE cpd.fk_west_be_id                   = l_CombinedP(cpdIdx).fk_west_be_id
                   AND cpd.fk_west_productgroupid          = l_CombinedP(cpdIdx).fk_west_productgroupid
                   AND cpd.fk_west_productid               = l_CombinedP(cpdIdx).fk_west_productid
                   AND cpd.fk_west_subproductid            = l_CombinedP(cpdIdx).fk_west_subproductid
                   AND extract(month from cpd.endofmonthdate)   = extract(month from l_CombinedP(cpdIdx).endofmonthdate)
                   AND extract(year from cpd.endofmonthdate) = extract(year from l_CombinedP(cpdIdx).endofmonthdate) 
                   AND cpd.revenue BETWEEN l_CombinedP(cpdIdx).revenue - 10.00 AND l_CombinedP(cpdIdx).revenue + 10.00               
                   AND cpd.exportsource <> 'CP'
                   AND ROWNUM = 1;
            EXCEPTION
              WHEN NO_DATA_FOUND THEN
                l_fnd_combinedprofitdataid := NULL;
              WHEN OTHERS THEN
                l_fnd_combinedprofitdataid := NULL;
            END;
            IF l_fnd_combinedprofitdataid IS NOT NULL THEN
              l_CombinedP(cpdIdx).isduplicate       := 'Y';
              l_CombinedP(cpdIdx).fk_duplicatecpdid := l_fnd_combinedprofitdataid;         
            ELSE
              l_CombinedP(cpdIdx).isduplicate       := 'N';
              l_CombinedP(cpdIdx).fk_duplicatecpdid := NULL;
            END IF;
            l_CombinedP(cpdIdx).iserror      := 'N';
            l_CombinedP(cpdIdx).errormessage := NULL;   
         IF l_CombinedP(cpdIdx).FK_WESTPRIRELTNSHPMANAGEREMPAU IS NULL AND l_CombinedP(cpdIdx).ENTITY_FK_WESTPRIRELMANEMPAU IS NOT NULL THEN
              l_CombinedP(cpdIdx).iserror      := 'Y';
              IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('FK_WESTPRIRELTNSHPMANAGEREMPAU is NULL but Entity value exists. ')) < 250 THEN
                l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'FK_WESTPRIRELTNSHPMANAGEREMPAU is NULL but Entity value exists. ';
              END IF;
            END IF;
            IF l_CombinedP(cpdIdx).fk_westprireltnshpmanagerempid IS NULL AND
              l_RawData(i).primaryrelationshipmanagerid IS NOT NULL THEN
              l_CombinedP(cpdIdx).iserror      := 'Y';
              IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Missing CP RM/EMP ID translation. ')) < 250 THEN
                l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Missing CP RM/EMP ID translation. ';
              END IF;                             
            ELSE               
              vcHREmpExists := l_RawData(i).HREmpExists;
              IF vcHREmpExists <> 'Y' THEN
                l_CombinedP(cpdIdx).iserror      := 'Y';
                IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Invalid CP RM/Emp ID translation. ')) < 250 THEN
                  l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Invalid CP RM/Emp ID translation. ';
                END IF;
              END IF;
            END IF;
            IF l_CombinedP(cpdIdx).fk_westprireltnshpmanagerempau IS NULL AND
              l_RawData(i).primaryrelationshipmanagerau IS NOT NULL THEN
              l_CombinedP(cpdIdx).iserror      := 'Y';
              IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Missing CP RM/EMP AU reference. ')) < 250 THEN
                l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Missing CP RM/EMP AU reference. ';
              END IF;       
            END IF;
            vcPriRelManEmpAuExists := l_RawData(i).PriRelManEmpAuExists;      
            IF vcBookingAuExists <> 'Y' THEN
              l_CombinedP(cpdIdx).iserror      := 'Y';
              IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Invalid CP RM/Emp AU translation. ')) < 250 THEN
                l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Invalid CP RM/Emp AU translation. ';
              END IF;
            END IF;
            IF l_CombinedP(cpdIdx).fk_west_productgroupid IS NULL THEN
              l_CombinedP(cpdIdx).iserror      := 'Y';
              IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Missing CP Product Group translation. ')) < 250 THEN
                l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Missing CP Product Group translation. ';
              END IF;
            ELSE
              vcProductGroupExists := l_RawData(i).ProductGroupExists;      
              IF vcProductGroupExists <> 'Y' THEN
                l_CombinedP(cpdIdx).iserror      := 'Y';
                IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Invalid CP Product Group translation. ')) < 250 THEN
                  l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Invalid CP Product Group translation. ';
                END IF;
              END IF;
            END IF;
            IF l_CombinedP(cpdIdx).fk_west_productid IS NOT NULL THEN
              vcProductIdExists := l_RawData(i).ProductIdExists;      
              IF vcProductGroupExists <> 'Y' THEN
                l_CombinedP(cpdIdx).iserror      := 'Y';
                IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Invalid CP Product translation. ')) < 250 THEN
                  l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Invalid CP Product translation. ';
                END IF;
              END IF;
            END IF;
            IF l_CombinedP(cpdIdx).fk_west_subproductid IS NOT NULL THEN
              vcSubProductIdExists := l_RawData(i).SubProductIdExists;      
              IF vcSubProductIdExists <> 'Y' THEN
                l_CombinedP(cpdIdx).iserror      := 'Y';
                IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Invalid CP Sub Product translation. ')) < 250 THEN
                  l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Invalid CP Sub Product translation. ';
                END IF;
              END IF;
            END IF;
            IF l_CombinedP(cpdIdx).fk_west_be_id IS NULL THEN
              l_CombinedP(cpdIdx).iserror      := 'Y';
              IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Missing CP BE ID translation. ')) < 250 THEN
                l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Missing CP BE ID translation. ';
              END IF;
            ELSE
              vcBEIDExists := BEIDExists(l_CombinedP(cpdIdx).fk_west_be_id);      
              IF vcBEIDExists <> 'Y' THEN
                l_CombinedP(cpdIdx).iserror      := 'Y';
                IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Invalid CP BE ID translation. ')) < 250 THEN
                  l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Invalid CP BE ID translation. ';
                END IF;
              END IF;
            END IF;
        END LOOP;
        FORALL i in l_CombinedP.FIRST..l_CombinedP.LAST
          INSERT INTO T_WIS_CDS_COMBINEDPROFITDATA 
          VALUES l_CombinedP(i);
       COMMIT;  
      END LOOP;
      CLOSE curRawData;
    COMMIT; 
    EXCEPTION
    WHEN OTHERS THEN
      IF curRawData%ISOPEN THEN
        CLOSE curRawData;
      END IF;
       P_WIS_CDS.LOG('Error', SQLCODE, SQLERRM);
    END;
    /Thank you

    I just looked at all the ddls' i have the following syntax for all MV's
    CREATE MATERIALIZED VIEW WIS.SNAP_MAX_ENTITY
    TABLESPACE WIS_CDS_DATA01
    PCTUSED    0
    PCTFREE    10
    INITRANS   2
    MAXTRANS   255
    STORAGE    (
                INITIAL          80K
                MINEXTENTS       1
                MAXEXTENTS       UNLIMITED
                PCTINCREASE      0
                BUFFER_POOL      DEFAULT
    NOCACHE
    LOGGING
    NOCOMPRESS
    NOPARALLEL
    BUILD IMMEDIATE
    USING INDEX
                TABLESPACE WIS_DATA01
                PCTFREE    10
                INITRANS   2
                MAXTRANS   255
                STORAGE    (
                            INITIAL          80K
                            NEXT             80K
                            MINEXTENTS       1
                            MAXEXTENTS       UNLIMITED
                            PCTINCREASE      0
                            FREELISTS        1
                            FREELIST GROUPS  1
                            BUFFER_POOL      DEFAULT
    REFRESH FORCE ON DEMAND
    WITH PRIMARY KEYEdited by: vijayp on Aug 7, 2012 6:44 PM
    Edited by: vijayp on Aug 7, 2012 7:02 PM

  • Exception in native code causing Tomcat to crash

    I am running a java servlet on Tomcat and have noticed that it has been unexpectedly terminating quite a bit over the last month or so. Yesterday it happened twice, citing an exception in native code outside the VM. I really have no idea where to start debugging this. Below is what is in the log file that is generated when it terminates. Does anybody know why something like this would be happening? Looking at the stack trace, it looks like a strange place to be terminating? Has anybody come accross anything like this? If you need more information, let me know!
    Thanks!!!
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77F4200B
    Function=RtlEnterCriticalSection+0xB
    Library=C:\WINDOWS\system32\ntdll.dll
    Current Java thread:
    at sun.jdbc.odbc.JdbcOdbc.allocConnect(Native Method)
    at sun.jdbc.odbc.JdbcOdbc.SQLAllocConnect(JdbcOdbc.java:114)
    at sun.jdbc.odbc.JdbcOdbcDriver.allocConnection(JdbcOdbcDriver.java:929)
    at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:126)
    at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:174)
    - locked <02F7D2F0> (a sun.jdbc.odbc.JdbcOdbcDriver)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    - locked <06A87EB0> (a java.lang.Class)
    at java.sql.DriverManager.getConnection(DriverManager.java:193)
    - locked <06A87EB0> (a java.lang.Class)
    at com.lmp.iomada.servlets.LMPPersistence.buildObjects(LMPPersistence.java:56)
    at com.lmp.iomada.servlets.LMPServlet.transformHTML(LMPServlet.java:635)
    at com.lmp.iomada.servlets.LMPServlet.doGet(LMPServlet.java:71)
    at com.lmp.iomada.servlets.LMPServlet.doPost(LMPServlet.java:82)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java)
    at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
    at org.apache.tomcat.core.Handler.invoke(Unknown Source)
    at org.apache.tomcat.core.Handler.service(Unknown Source)
    at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
    at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
    at org.apache.tomcat.core.ContextManager.service(Unknown Source)
    at org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Unknown Source)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:536)
    Dynamic libraries:
    0x00400000 - 0x00406000 c:\j2sdk1.4.1_03\bin\java.exe
    0x77F40000 - 0x77FFA000 C:\WINDOWS\system32\ntdll.dll
    0x77E40000 - 0x77F34000 C:\WINDOWS\system32\kernel32.dll
    0x77DA0000 - 0x77E30000 C:\WINDOWS\system32\ADVAPI32.dll
    0x77C50000 - 0x77CF5000 C:\WINDOWS\system32\RPCRT4.dll
    0x77BA0000 - 0x77BF4000 C:\WINDOWS\system32\MSVCRT.dll
    0x6D340000 - 0x6D46B000 c:\j2sdk1.4.1_03\jre\bin\client\jvm.dll
    0x77D00000 - 0x77D8F000 C:\WINDOWS\system32\USER32.dll
    0x77C00000 - 0x77C44000 C:\WINDOWS\system32\GDI32.dll
    0x76AA0000 - 0x76ACC000 C:\WINDOWS\system32\WINMM.dll
    0x6D1E0000 - 0x6D1E7000 c:\j2sdk1.4.1_03\jre\bin\hpi.dll
    0x6D310000 - 0x6D31E000 c:\j2sdk1.4.1_03\jre\bin\verify.dll
    0x6D220000 - 0x6D239000 c:\j2sdk1.4.1_03\jre\bin\java.dll
    0x6D330000 - 0x6D33D000 c:\j2sdk1.4.1_03\jre\bin\zip.dll
    0x76F50000 - 0x76F63000 C:\WINDOWS\system32\Secur32.dll
    0x6D2E0000 - 0x6D2EE000 C:\j2sdk1.4.1_03\jre\bin\net.dll
    0x71BB0000 - 0x71BB9000 C:\WINDOWS\system32\WSOCK32.dll
    0x71C00000 - 0x71C18000 C:\WINDOWS\system32\WS2_32.dll
    0x71BF0000 - 0x71BF8000 C:\WINDOWS\system32\WS2HELP.dll
    0x71B20000 - 0x71B63000 C:\WINDOWS\system32\mswsock.dll
    0x71AE0000 - 0x71AE8000 C:\WINDOWS\System32\wshtcpip.dll
    0x6D260000 - 0x6D26B000 C:\j2sdk1.4.1_03\jre\bin\JdbcOdbc.dll
    0x0B3E0000 - 0x0B41A000 C:\WINDOWS\system32\ODBC32.dll
    0x70BC0000 - 0x70C50000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.0.0_x-ww_8A69BA05\COMCTL32.dll
    0x77380000 - 0x77B5D000 C:\WINDOWS\system32\SHELL32.dll
    0x77290000 - 0x772D9000 C:\WINDOWS\system32\SHLWAPI.dll
    0x762B0000 - 0x762F7000 C:\WINDOWS\system32\comdlg32.dll
    0x70AD0000 - 0x70BB6000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.100.0_x-ww_8417450B\comctl32.dll
    0x0B580000 - 0x0B597000 C:\WINDOWS\system32\odbcint.dll
    0x0B720000 - 0x0B73A000 C:\WINDOWS\system32\odbccp32.dll
    0x77160000 - 0x77285000 C:\WINDOWS\system32\ole32.dll
    0x77B90000 - 0x77B98000 C:\WINDOWS\system32\VERSION.dll
    0x76ED0000 - 0x76EF7000 C:\WINDOWS\system32\DNSAPI.dll
    0x76F70000 - 0x76F77000 C:\WINDOWS\System32\winrnr.dll
    0x76F10000 - 0x76F3F000 C:\WINDOWS\system32\WLDAP32.dll
    0x76F80000 - 0x76F85000 C:\WINDOWS\system32\rasadhlp.dll
    0x0FFD0000 - 0x0FFFD000 C:\WINDOWS\system32\rsaenh.dll
    0x76B70000 - 0x76B7B000 C:\WINDOWS\system32\PSAPI.DLL
    0x76C10000 - 0x76C38000 C:\WINDOWS\system32\imagehlp.dll
    0x6D580000 - 0x6D621000 C:\WINDOWS\system32\dbghelp.dll
    Local Time = Tue Jun 01 21:23:49 2004
    Elapsed Time = 5644
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.1_03-b02 mixed mode)

    Library=C:\WINDOWS\system32\ntdll.dll
    Current Java thread:
    at sun.jdbc.odbc.JdbcOdbc.allocConnect(Native Method)
    at sun.jdbc.odbc.JdbcOdbc.SQLAllocConnect(JdbcOdbc.java:114)
    at sun.jdbc.odbc.JdbcOdbcDriver.allocConnection(JdbcOdbcDriver.java:929)
    at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:126)
    at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:174)
    The stack trace points to an error in ntdll.dll, the NT system calls library, while it being used by Sun's standard ODBC driver.
    There are two unfixed bugs against 1.4 in this area. One suggests incorrect usage of the driver by client code. The other suggests that the current Java library has poor handling of exceptions in system code.
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4812268
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4641011
    The latter does not explort the actual cause of exceptions - they will have something to do with your Windows configuration. Applying the latest NT service packs might help. Unfortunately as the bug report indicates, this issue will not be fixed in 1.4.

  • Code causing exceptions at its own sweet time and place

    import java.lang.*;
    class newthread implements Runnable
         Thread t;
         int click=0;
         public volatile boolean running=true;
         newthread(int p)
              t=new Thread(this);
              t.setPriority(p);
         void start()
              t.start();
         public void run()
              while(running)
                   click++;
         void start1()
              running=true;
         void stop()
              running=false;     
    class threadpriority2
         public static void main(String argv[])
              newthread ob1=new newthread(Thread.NORM_PRIORITY+2);
              newthread ob2=new newthread(Thread.NORM_PRIORITY-2);
              ob1.start();
              ob2.start();
              try
                   Thread.sleep(5000);
              catch(Exception e)
                   System.out.println("error detected:"+e);
              System.out.println("first one:"+ob1.click);
              System.out.println("first one:"+ob2.click);
              System.out.println("the priority of ob1 is:"+ob1.t.getPriority());
              System.out.println("the priority of ob2 is:"+ob2.t.getPriority());
              ob1.stop();
              ob2.stop();
              ob2.t.setPriority(Thread.NORM_PRIORITY+3);      
              ob1.t.setPriority(Thread.NORM_PRIORITY-3);
              ob1.start1();
              ob2.start1();
              ob1.start();
              ob2.start();
              System.out.println("the priority of ob1 is:"+ob1.t.getPriority());
              System.out.println("the priority of ob2 is:"+ob2.t.getPriority());
              try
                   Thread.sleep(5000);
              catch(Exception e)
                   System.out.println("error detected:"+e);
              ob1.stop();
              ob2.stop();
              System.out.println("first one:"+ob1.click);
              System.out.println("first one:"+ob2.click);
    errors during runtime:
    Exception in thread "main" java.lang.IllegalThreadStateException
    at java.lang.Thread.start(Unknown Source)
    at newthread.start(threadpriority2.java:17)
    at threadpriority2.main(threadpriority2.java:77)
    when i run this code it causes exceptions at its own sweet locations when i run it separately.if once it displays some valid input it would then be followed by the exception
    next time if i run it it will throw exception as soon as i run it at the very start without displaying even an iota of valid data like the previous case
    is ti because the os is placing restrictions on the threads growth or something else.incase there is an error in my code it should atleast pop up the exceptions at one particular loaction in the output and not give different outputs

    1) When you post code, please use and tags as described in Formatting tips on the message entry page. It makes it much easier to read.
    wasnt aware of it.will keep it in mind i post nexttime.sorry for the inconvenience[\b]
    3) You have multiple threads, right? The scheduling of which thread gets how much CPU time when is not subject to your control or prediction, so of course you'll see different timings in subsequent runnings of the same code.[b]actually the problem is not with multiple threads showing different times.whats happening is that exceptions are being thrown randomly at runtime.once when i ran it the exception was displayed at the very beginning of the output and the program snapped.next when i ran it first some output which was slated to be displayed got displayed and then the exceptions appeared in the output.now if the exceptions are thrown at the very beginning its obvious theres some problem at the background coz in the second case that never happened[\b]
    i guess the formatting tips have taken effect[:D]

  • Calling existing C++ dll from native code causes an ACCESS_VIOLATION

    Hi everyone,
    I'm having issues creating a Java app to call an existing c++ DLL. I've done extensive searching for a solution and found lots of goodies, but nothing to fix my problem yet.
    I've gone through the JNI tutorial and created my java class, used javah, and created my native code according to the tutorial.
    I'm new to dealing with DLLs so I'm not sure if there are some steps that I'm not taking.
    The issue comes when I run the program. I get an EXCEPTION_ACCESS_VIOLATION.
    the DLL I'm trying to call makes a call to a device on the USB port. I also have the source code and header files for the DLL but thought it would be easier to just have to deal with the already built DLL.
    After putting some print statements in the native function, the violation comes when I try to call the function in the external DLL. The DLL itself loads correctly (as far as I know).
    Here my native method that will load the external dll. I got the code to call the DLL method from:
    http://goff.nu/techarticles/development/cpp/calldll.html
    JNIEXPORT void JNICALL
    Java_OCPMControl_OCPMSetPixelCount (JNIEnv *env, jobject obj, jint pixelCount)
    //load the dll
    HINSTANCE ocpmSerialDLL = LoadLibrary("OCPMSerialDLL");
    /* get pointer to the function in the dll*/
    FARPROC myDLLFunction = GetProcAddress(HMODULE(ocpmSerialDLL), "OCPMSetPixelCount");
    /* Define the Function in the DLL for reuse. This is just prototyping
    * the dll's function. A mock of it. Use "stdcall" for maximum compatibility.
    typedef void (__stdcall * FUNC)(enum ePixelNum);
    FUNC MyFunction;
    MyFunction = FUNC(myDLLFunction);
    printf("Calling function\n");
    /* The actual call to the function contained in the dll */
    MyFunction(PIXEL256);
    /* Release the Dll */
    FreeLibrary(ocpmSerialDLL);
    When I run the program, I get the following error:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x182
    91E6B
    Function=[Unknown.]
    Library=C:\sun\MyJava\ocpm\src\OCPMSerialDLL.dll
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
    at OCPMControl.OCPMSetPixelCount(Native Method)
    at OCPMControl.getData(OCPMControl.java:167)
    at OCPMService.main(OCPMService.java:46)
    Dynamic libraries:
    0x00400000 - 0x00406000 c:\sun\j2sdk1.4.2_03\bin\java.exe
    0x77F80000 - 0x77FFD000 C:\WINNT\system32\ntdll.dll
    0x7C2D0000 - 0x7C332000 C:\WINNT\system32\ADVAPI32.dll
    0x7C570000 - 0x7C628000 C:\WINNT\system32\KERNEL32.DLL
    0x77D30000 - 0x77DA1000 C:\WINNT\system32\RPCRT4.DLL
    0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
    0x08000000 - 0x08138000 c:\sun\j2sdk1.4.2_03\jre\bin\client\jvm.dll
    0x77E10000 - 0x77E75000 C:\WINNT\system32\USER32.dll
    0x77F40000 - 0x77F7E000 C:\WINNT\system32\GDI32.DLL
    0x77570000 - 0x775A0000 C:\WINNT\system32\WINMM.dll
    0x10000000 - 0x10007000 c:\sun\j2sdk1.4.2_03\jre\bin\hpi.dll
    0x007C0000 - 0x007CE000 c:\sun\j2sdk1.4.2_03\jre\bin\verify.dll
    0x007D0000 - 0x007E9000 c:\sun\j2sdk1.4.2_03\jre\bin\java.dll
    0x007F0000 - 0x007FD000 c:\sun\j2sdk1.4.2_03\jre\bin\zip.dll
    0x18270000 - 0x1827E000 C:\sun\MyJava\ocpm\src\OCPMNative.dll
    0x18290000 - 0x182AA000 C:\sun\MyJava\ocpm\src\OCPMSerialDLL.dll
    0x68120000 - 0x681A1000 C:\sun\MyJava\ocpm\src\instrsup.dll
    0x76B30000 - 0x76B6E000 C:\WINNT\system32\comdlg32.dll
    0x70A70000 - 0x70AD5000 C:\WINNT\system32\SHLWAPI.DLL
    0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.DLL
    0x782F0000 - 0x78538000 C:\WINNT\system32\SHELL32.DLL
    0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll
    0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
    0x690A0000 - 0x690AB000 C:\WINNT\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 140K [0x10010000, 0x100b0000, 0x104f0000)
    eden space 512K, 27% used [0x10010000, 0x10033368, 0x10090000)
    from space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
    to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000)
    tenured generation total 1408K, used 0K [0x104f0000, 0x10650000, 0x14010000)
    the space 1408K, 0% used [0x104f0000, 0x104f0000, 0x104f0200, 0x10650000)
    compacting perm gen total 4096K, used 1012K [0x14010000, 0x14410000, 0x1801000
    0)
    the space 4096K, 24% used [0x14010000, 0x1410d1f0, 0x1410d200, 0x14410000)
    Local Time = Wed May 12 10:53:56 2004
    Elapsed Time = 10
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)
    # An error report file has been saved as hs_err_pid2120.log.
    # Please refer to the file for further information.
    Is there something else I have to do to tell the JVM that the external DLL call isn't an Access Violation?
    Would it be easier to use the source files instead?
    Thanks to anyone who can help me out here!
    Scott Campbell

    Thanks,
    The problem has been solved. I wasn't linking the dll properly to access the external DLL and thus, my native DLL was looking for methods that it didn't know how to find. which was easily solved by adding a few options when creating my native dll.
    Here is the link I found to solve the problem incase anyone else has issues like this. It is regarding implicit v.s. explicit linking to external DLLs in using visual C++.
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_link_an_executable_to_a_dll.asp
    Scott.

  • Will hyphens in generated workflow code cause Unicode problems in ECC5?

    I notice that generated workflow code has hyphens where you wouldn't expect them, e.g. "object-key-material".
    Will these hyphens cause problems after upgrade to ECC5?
    They do in generated ReportWriter/Query code, and that's why I'm asking.

    Hi Mike - Thanks for taking the time to respond.  I've never coded a deep structure - only seen them graphically displayed when debugging ABAPOO or WDA.
    So I didn't see them right off for what they were.
    Thansk again for the quick turnaround.
    Dave

  • Can I get a native dump (Dr. Watson) when JNI code causes an exception?

    Is there a way to get the JVM to just not trap an exception, so that we can get a native dump? I have tried -XX:OnError="drwtsn32 -p %p". This did produce a Dr. Watson dump, but not a good one. I placed a deliberate error in the code, and called it outside of java, and got a good log file (with the fault in my DLL), but the same module called via JNI gave me a bad log file, with the fault point in ntdll.dll.
    This is happening in java 1.4.2. In the field, the jvm is provided by IBM Websphere 6 on Windows 2000. I'm unable to duplicate the error, but am running the above mentioned tests in my Eclipse 3.1 + Weblogic 8.1development environment on Win XP.

    Queer!
    This is not an error message I see when I try to execute a program not in my path!
    And when I do not specify libraries to be linked, I get a linking error!
    This seems to be a preprocessor error.
    What could it possibly be?
    Do you have the correct calling convention in the case of #ifdef __cplusplus ??
    I guess that should have been already done by your javah.
    I wonder.
    I also wonder if cl.exe actually stands for "command line" exe
    Can you pls send me all the files at [email protected] ??
    cheers

  • JVM dies when JNI native code causes a SIGABRT from assertions

    Hi,
    I am wondering whether there is a way to prevent the JVM from dying when the JNI native code hits an assertion.
    #include "NativeTest.h"
    #include <assert.h>
    JNIEXPORT jstring JNICALL Java_NativeTest_sayHello (JNIEnv *env, jobject thisobject, jstring js)
    assert(0);
    return js;
    Calling this code from Java through JNI causes a SIGABRT when assert(0) is hit. This causes the java program to terminate. Is there a way for the JVM to recover from the SIGABRT from the native code?

    929919 wrote:
    I am wondering whether there is a way to prevent the JVM from dying when the JNI native code hits an assertion.There is no way to prevent the VM from exiting if native code does anything that causes an exit.
    An assertion is only one way that can happen.
    So to prevent the VM from exiting - don't run native code. The safe way to execute OS native library is to do the following.
    1. Wrap the library in an executable.
    2. Create a communications API for the executable.
    3. Manage the executable via Java Runtime.exec/ProcessBuilder.
    4. Talk to the executable using the communications API from 2 in the java code.
    The above is safe because if the library exits it exits the executable, not the VM.

  • 7000+ lines of code causes erratic behaviour

    I've been having problem with a game I'm writing, I've got
    nearly 7000 lines of code now (over 5000 in 1 frame), and flash has
    started producing some strange behaviours. I've post on flashkit
    (link
    here) and another user has an identical problem.
    Sometimes, a published swf will do a range of odd behaviours
    - it will do exactly the same thing for each published swf, but
    then making completely minimal code changes (even changing the
    content of a text string which is never refered to) will then cause
    the swf to perform correctly.
    Sometimes the swf just freezes, sometimes it gets caught in a
    loop switching between high quality and low quality, sometimes it
    tries to load a location made up of garbled letters, or on one
    occassion opened up over a dozen new browser windows.
    This is always triggered whenever a swf is loaded into the
    main swf.
    I could only think that they was too much code and some of it
    was being ignored, I tried using external as files, but this didn't
    fix it, and other users on Flashkit have twice the code I have and
    no problems.
    Is this a known issue? is there a work around?
    (I'm using Flash 8 professional)

    My guesses aside from a logic problem are that it could be
    something you
    stumbled on that the compiler is not getting (what are your
    publish movie
    and AS settings?) or a corrupted movie.
    Here are some items I might try. Make backups of course.
    Try publishing with a different computer and copy of Flash.
    Try Save and Compact.
    Try Save As.
    Try rebuilding from a brand new movie. Will require quite a
    bit of cut and
    pastes.
    Try loading code in smaller units from external swfs.
    Although I do not see
    why it cannot be in one Flash movie unless there is a known
    limit I never
    hit and I am sure I have had Flash movies with at least that
    much code.
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "derelttil" <[email protected]> wrote in
    message
    news:[email protected]...
    I've been having problem with a game I'm writing, I've got
    nearly 7000 lines
    of
    code now (over 5000 in 1 frame), and flash has started
    producing some
    strange
    behaviours. I've post on flashkit
    http://www.flashkit.com/board/showthread.php?t=683922
    and another user has
    an
    identical problem.
    Sometimes, a published swf will do a range of odd behaviours
    - it will do
    exactly the same thing for each published swf, but then
    making completely
    minimal code changes (even changing the content of a text
    string which is
    never
    refered to) will then cause the swf to perform correctly.
    Sometimes the swf just freezes, sometimes it gets caught in
    a loop
    switching
    between high quality and low quality, sometimes it tries to
    load a location
    made up of garbled letters, or on one occassion opened up
    over a dozen new
    browser windows.
    This is always triggered whenever a swf is loaded into the
    main swf.
    I could only think that they was too much code and some of
    it was being
    ignored, I tried using external as files, but this didn't fix
    it, and other
    users on Flashkit have twice the code I have and no problems.
    Is this a known issue? is there a work around?
    (I'm using Flash 8 professional)

Maybe you are looking for

  • Desktop shortcuts to web pages don't have the correct icon, can this be corrected?

    I just upgraded from IE to Firefox and it's really working well. The only problem is all the shortcuts to websites on my desktop have the Firefox icon. They had their correct icons under IE how can I get the correct icons back? My computer is running

  • How to fade out a photo from top to bottom

    I have CS5 I want to have an image viewable at the top and slowley fade to transparency towards the bottom. any help please/

  • Re-purchasing frustrations

    I cannot get iTunes to recognize a backup CD from an iTunes library on a previous computer. I cannot import files from that CD (nothing happens). And, when I begrudgingly (as expressed throughout this post)try to repurchase the music, suddenly the so

  • How to clone my production to test databse

    hello, im newbie to oracle and need some help. We have one machine -linux suse. Two databases -PROD and TEST. Test database is out of date. What is best scenerio to update test? Should i delete TEST and then clone PROD ? any step by step tutorial?

  • Posting to revenue Account

    Hi All, We are trying ro return a metrial to vendor using Returns indicator in PO. However we are usinng acct. assignment 'K' and trying to post the value to revenue account. We are getting following error when we r creating PO.  "Document category i