Broker ERROR message code B[4031}

We use SunOne MQ JMS server for the at least two years and we never had any serious problems with it before till a couple of days ago when one of our server machines continuously failed to start JMS server.
The logged error messages have codes:
[B4031] and [B30000]. I have never seen such messages in the logs before. My attempts to find any related info in Sun documentation were unsuccessful.
Did somebody experienced something similar and could hint me on this issue? The logs messages are below.
Thank you, Val.
Java Runtime: 1.4.0_02 Sun Microsystems Inc. C:\h\COTS\SUN1AS\jdk\jre
[15/May//2004:13:14:42 CDT]
IMQ_HOME=C:\h\COTS\SUN1AS\imq
[15/May/2004:13:14:42 CDT]
IMQ_VARHOME=C:\h\COTS\SUN1AS\imq\var
[15/May/2004:13:14:42 CDT] Windows 2000 5.0 x86 aissvr5 (2 cpu) SYSTEM
[15/May/2004:13:14:42 CDT] Java Heap Size: max=196608k, current=8128k
[15/May/2004:13:14:42 CDT] Arguments: -ntservice -ntservice -adminkeyfile C:\h\COTS\SUN1AS\imq\var\imq1.tmp
[15/May/2004:13:14:44 CDT] [B1004]: Starting the portmapper service using tcp [ 7676, 50 ] with min threads 1 and max threads of 1
[15/May/2004:13:14:44 CDT] [B1060]: Loading persistent data...
[15/May/2004:13:14:46 CDT] ERROR [B4031]: Failed to load destinations from store:
java.io.StreamCorruptedException
[15/May/2004:13:14:46 CDT] ERROR [B3000]: Could not open persistent message store:
com.sun.messaging.jmq.jmsserver.util.BrokerException: Failed to load destinations from store:
java.io.StreamCorruptedException
[15/May/2004:13:37:07 CDT]

Dear jfdb more info for you :
As you advised I ran imqbrokerd with loglevel DEBUG on different "healthy" machine with the imqbroker/filstore/destination file replaced by the copy of the corrupted file I saved.
The output is below .If you are interested to see that corruptred file I can send you a copy by e-mail.
Val.
[19/May/2004:13:38:24 GMT-05:00] ERROR [B4031]: Failed to load destinations from store:
java.io.StreamCorruptedException
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1301)
     at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
     at com.sun.messaging.jmq.util.PHashMap.<init>(PHashMap.java:91)
     at com.sun.messaging.jmq.jmsserver.persist.file.DestinationList.<init>(DestinationList.java:81)
     at com.sun.messaging.jmq.jmsserver.persist.file.FileStore.<init>(FileStore.java:209)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
     at java.lang.Class.newInstance0(Class.java:306)
     at java.lang.Class.newInstance(Class.java:259)
     at com.sun.messaging.jmq.jmsserver.persist.StoreManager.getStore(StoreManager.java:103)
     at com.sun.messaging.jmq.jmsserver.Globals.getStore(Globals.java:480)
     at com.sun.messaging.jmq.jmsserver.Broker.<init>(Broker.java:427)
     at com.sun.messaging.jmq.jmsserver.Broker.main(Broker.java:1229)
[19/May/2004:13:38:24 GMT-05:00] ERROR [B3000]: Could not open persistent message store:
java.io.StreamCorruptedException
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1301)
     at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
     at com.sun.messaging.jmq.util.PHashMap.<init>(PHashMap.java:91)
     at com.sun.messaging.jmq.jmsserver.persist.file.DestinationList.<init>(DestinationList.java:81)
     at com.sun.messaging.jmq.jmsserver.persist.file.FileStore.<init>(FileStore.java:209)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
     at java.lang.Class.newInstance0(Class.java:306)
     at java.lang.Class.newInstance(Class.java:259)
     at com.sun.messaging.jmq.jmsserver.persist.StoreManager.getStore(StoreManager.java:103)
     at com.sun.messaging.jmq.jmsserver.Globals.getStore(Globals.java:480)
     at com.sun.messaging.jmq.jmsserver.Broker.<init>(Broker.java:427)
     at com.sun.messaging.jmq.jmsserver.Broker.main(Broker.java:1229)

Similar Messages

  • HT201210 Just replaced the battery in my iPhone 4S.  Before doing so I backed-up then wiped the phone.  Now when I go to restore it, it gets about 3/4 done and that is when I get an error message, "Code 1." does this mean I fried it??  :-(

    Hello,
      Just replaced the battery in my iPhone 4S.  Before doing so I backed-up then wiped the phone.  Now when I go to restore it, it gets about 3/4 done and that is when I get an error message, "Code 1." does this mean I fried it??

    Hey joshuafromisr,
    If you resintall iTunes, it should fix the issue. The following document will go over how to remove iTunes fully and then reinstall. Depending on what version of Windows you're running you'll either follow the directions here:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    http://support.apple.com/kb/HT1925
    or here:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/HT1923
    Best,
    David

  • Iphone 4 switched off error message code 21

    i phone 4 just switched its self off and wont restart and when connected to itunes for reboot we get error message code 21

    Error 20, 21, 23, 26, 28, 29, 34, 36, 37, 40
    These errors typically occur when security software interferes with the restore and update process. FollowTroubleshooting security software issues to resolve this issue. In rare cases, these errors may be a hardware issue. If the errors persist on another computer, the device may need service.
    Also, check your hosts file to verify that it's not blocking iTunes from communicating with the update server. See iTunes: Advanced iTunes Store troubleshooting—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > Mac OS X > The hosts file may also be blocking the iTunes Store. If you have software used to perform unauthorized modifications to the iOS device, uninstall this software prior to editing the hosts file to prevent that software from automatically modifying the hosts file again on restart.

  • BluRay error message "code 6, audio buffer underflows. Total bitrate is too high near time = 000000 seconds."

    Hello,
    I’m trying to create BluRays using Encore and I keep getting the following error messages: ‘code 6, audio buffer underflows. Total bitrate is too high near time = 000000 seconds.”
    For info, I created a H264 Bluray - NTSC 24fps master from an Apple prores HQ in Adobe Media Encoder. Duration: 52m, size: 11go. I'm on Mac OSX 10.9.5, the bluray burner is Samsung SE-506CB/RSWD and the BR disks are TDK Blu-ray Disc 50 Spindle - 25GB 4X BD-R - Printable.
    I looked around in forums and tried the following without success: replacing disk name to shorter name without space, creating bluray without menu frame, I also tried with a Mpeg2 bluray master. I tried to export a new master but I can't seem to be able to change the audio bitrate.
    Can anyone please help ?
    Thanks.

    Hi Stan, thanks for getting back.
    I tried to create a new master from Media Encoder but I can only export audio in PCM, I don't get a dolby option. See pic below.
    I tried a new project in Encore and chose PCM instead of Dolby in the preference menu, but I still got the same error. Should I try again limiting bitrate to 15 ? I was on 30 before.
    Please help, I've already wasted 10 bluray and this is getting really frustrating!

  • Authorisation on my pc has been lost, when I try to reactivate I get the following error message  "code: E_AUTH_NOT_READY"  What can I do?

    For some reason I can not get into my ADE and get the error message "code:  E_AUTH_NOT_ READY      Digital Editions encountered an error on the activiation server.
    What can I do as it will not let transfer items to my Sony reader.  Thank you

    yes, I agree with what you say: the note '==> ...' is the solution to
    my problem, found it after some time in another thread  
         regards
         Von: sjpt <[email protected]>
         An: zwergenerv <[email protected]>
         Betreff: after updating ADE to version 2.0 I
    am getting the error message 'code E_AUTH_NOT_READY'
         Datum: Mon, 23 Sep 2013 10:59:41 +0200
    RE: AFTER UPDATING ADE TO VERSION 2.0 I AM GETTING THE ERROR MESSAGE
    'CODE E_AUTH_NOT_READY'
      created by sjpt in Adobe Digital Editions - View the full
    discussion

  • After updating ADE to version 2.0 I am getting the error message 'code E_AUTH_NOT_READY'

    after updating ADE to version 2.0 I am getting the error message 'code E_AUTH_NOT_READY' when trying to authorize my computer (Adobe Id is correct, password I have refreshed, but ..) what to do?
    Running ADE on WinXP with recent SP
    ===> use CTRL-SHIFT-D in ADE to de-authorize and then re-authorize vial Help-Menu

    yes, I agree with what you say: the note '==> ...' is the solution to
    my problem, found it after some time in another thread  
         regards
         Von: sjpt <[email protected]>
         An: zwergenerv <[email protected]>
         Betreff: after updating ADE to version 2.0 I
    am getting the error message 'code E_AUTH_NOT_READY'
         Datum: Mon, 23 Sep 2013 10:59:41 +0200
    RE: AFTER UPDATING ADE TO VERSION 2.0 I AM GETTING THE ERROR MESSAGE
    'CODE E_AUTH_NOT_READY'
      created by sjpt in Adobe Digital Editions - View the full
    discussion

  • Oracle error message code 1401 op 4, ORA-01401: inserted value too large fo

    Hi All
    I got this error when I try to run convert tables on our application server. Anyone know why? I am using Oracle 9i
    Here is the error message:
    Checking Table WORK_INSTRUCTION
    Table not in database
    Conversion Method - Create Table
    Creating Table WORK_INSTRUCTION
    Unable to create database table 'WORK_INSTRUCTION'
    Oracle error message code 1401 op 4, ORA-01401: inserted value too large for column
    WORK_INSTRUCTION definition as followings:
    table work_instruction;
    field identity
         used_for unique_key
         datatype identity;
    { APR 31/3/03 - Bug Nr WI4}
    field wi_admin
    {         links_to personnel . identity;}
    {         links_to location . identity;}
         links_to lab_section . identity;
    { ARP 31/3/03 - Bug Nr WI5 }
    field wi_title
    {         datatype text(20);   }
         datatype text(100);
    field version
              datatype text ( 4 );
    field wi_status
         datatype identity
         prompt_type choose
         choose_type WI_STATUS
         default 'I ' ;
    field wi_type
         datatype identity
         prompt_type choose
         choose_type WI_TYPE
         default '0 ';
    field sterlab_status
         datatype identity
         prompt_type choose
         choose_type STER_STAT
         default '0 ';
    field used_in_lims
         datatype boolean
         true_word 'Yes'
         false_word 'No'
         default 'No' ;
    { ARP WI16 28/5/03 - Extend from 10 to 45 }
    field method
         datatype text(45);
    field ref_method
         datatype text(100);
    field delegate
         links_to personnel . identity;
    field date_expire
         datatype date;
    field date_draft
         datatype date;
    field double_method
         datatype boolean
         true_word 'Yes'
         false_word 'No'
         default 'No' ;
    field technique
         datatype identity
         prompt_type choose
         choose_type TECHNIQUE
         default '0 ';
    field date_distribute
         datatype date;
    field report_date
         datatype date;
    field group_autho
         datatype text ( 16 );
    field astm_volume
         datatype text ( 6 );
    field date_non_active
         datatype date;
    field translated_in
         datatype text(10);
    { ARP WI16 28/5/03 - Extend from 60 to 2000 }
    field comments
         datatype text(2000);
    field doc_path
         datatype text ( 300 )
         prompt_type user_defined
         library 'TEST_SOP_FILE'
         routine 'file_browse';
    field modified_on
         datatype date
         used_for modified_on ;
    field modified_by
         links_to personnel.identity
         used_for modified_by;
    field modifiable
         datatype boolean
         used_for modifiable;
    field removeflag datatype boolean
         used_for remove_flag;
    { MOD TDR - 10/04/03 - Link to livelink document }
    field livelink_url
    datatype text ( 300 ) ;
    Thanks
    Li

    Verbatim from the manual:
    ORA-01401:     inserted value too large for column
    Cause:     The value entered is larger than the maximum width defined for the column.
    Action:     Enter a value smaller than the column width or use the MODIFY option with ALTER TABLE to expand the column width.You should find which value is bein attempted to be inserted into a column with a capacity shorter than the value length.
    ~ Madrid.

  • Oracle error message code 1653 op 4, ORA-01653: unable to extend table

    Hi
    Our application use Oracle 9i as database. I modified one of tables and try to convert it from this application, then I got an Oralce 1653 error as followings:
    Creating Table SAMPLE_T
    Copying data from SAMPLE to SAMPLE_T
    Unable to move data from table 'SAMPLE' to table 'SAMPLE_T'
    Oracle error message code 1653 op 4, ORA-01653: unable to extend table SAND.SAMPLE_T by 1024 in tablespace SAMPLE_RESULT
    I suspect the tablespace SAMPLE_RESULT is not big enough and also can not extended automatically, but not sure if it is right or there maybe other reasons behind this error.
    Any idea?
    Thanks
    Li

    Lets try .....
    SQL> select tablespace_name,sum(bytes)/1024 from dba_free_space where tablespace_name='USERS' group by tablespace_name;
    TABLESPACE_NAME                SUM(BYTES)/1024
    USERS                                      384
    SQL> alter database datafile 'C:\ORACLE\ORADATA\MYDB\USERS01.DBF' autoextend off;
    SQL> alter table scott.emp allocate extent;
    Table altered.
    SQL> /
    alter table scott.emp allocate extent
    ERROR at line 1:
    ORA-01653: unable to extend table SCOTT.EMP by 128 in tablespace USERSI believe you must add more space to tablespace SAMPLE_RESULT or set the autoextend on for associated datafiles.
    Hope it help ..
    Bhupinder

  • HT201210 iam getting a error message code of 3194 when trying to restore iphone 4 on itunes

    iam getting a error message code of 3194 when trying to restore iphone 4 on itunes

    http://support.apple.com/kb/TS3694

  • Touchscreen not working: error message code 45, says "device is not connected to the computer"

    My subject message basically says it all.  My touchschreen is not working at all.  I went into device manager and found error message code 45, which states that the "device is not connected to the computer."
    I have tried updating drivers, uninstalling and reinstalling the device, and other things, but nothing working.
    All advice appreciated.

    Hi @Jim9 ,
    Welcome to the HP Forums!
    I saw your post regarding the error code 45. From what you have described this sounds like it is a hardware issue. The only real troubleshooting I can recommend (that you haven't already done), is going a full System Recovery to restore it back to factory defaults. If the issue still occurs then we know it is a hardware problem.
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • I have an iphone 4 (ios 4.3.1). I want to update to the latest ios, but it wouldn't load onto my iphone, I got error message code 3014. I tried again and it said I would lose all the contents on my iphone if I continued - help!

    I have an iPhone 4 (IOS 4.3.1) and it was synced and backed up today.
    I wanted to upgrade to the latest ios on iTunes (today's date is 3rd Jan 2013), it seemed to download ok (it took about 30 minutes or so), but when it tried to update onto the iPhone (I think this was what it was doing!) I got an error message that had code 3014 in it. Nowhere on Apple's website can I find a way to resolve this error code.
    I then thought I would just try again from the beginning, but I then got an error message saying that if I continued I would lose all the contents on my iPhone so I cancelled it as I don't want to lose everything on my phone.
    Can anyone help me as I am not very good at technical things and I really want to upgrade the ios on my iPhone without losing all the data I have on there already. An idiots guide would be great.
    Thanks.

    Errors 3000-3999 (3004, 3013, 3014, 3018, 3164, 3194, and so on): Error codes in the 3000 range generally mean that iTunes cannot contact the update server (gs.apple.com) on ports 80 or 443.
    Update to the latest version of iTunes.
    Verify the computer's date and time are accurate.
    Check that your security or firewall software is not interfering with ports 80 or 443, or with the server gs.apple.com.
    Follow Troubleshooting security software. Often, uninstalling third-party security software will resolve these errors.
    An entry in your hosts file may be redirecting requests to gs.apple.com (see "Unable to contact the iOS software update server gs.apple.com" above).
    Internet proxy settings can cause this issue. If you are using a proxy, try without using one.
    Test restoring while connected to a known-good network.

  • Pls Hlp with error message code - epub3 upload

    Hi, i only have one error message from my epub upload to ibooks, can anyone tell me exactly how i would rectify this in the manifest (the exact line of code i need to enter?)
    Thanks!
    1 package(s) were not uploaded because they had problems:
    /Users/seaward/Music/iTunes Producer/Playlists/10080339365-Wooley_mountain.itmsp - Error Messages:
    ERROR ITMS-9000: "The_Mystery_Of_Woolley_Mountain1.epub: contains the following file(s) that are not listed in the OPF manifest: The_Mystery_Of_Woolley_Mountain1.epub:/__MACOSX/OEBPS/._.DS_Store. All files must be listed in the OPF manifest. For more information refer tohttp://support.apple.com/kb/TS5420" at Book

    This can occur when the ePub is opened using iTunes (just to check it one last time). At the very moment you decide to use iTunes, the software adds to your ePub the file iTunesMetadata.plist, that in fact, “contaminates” the book, invalidating it.
    SOLUTION: delete the file iTunesMetadata.plist and upload the ePub again.

  • Help on 2 error messages / code request please

    Why am I getting this error message about an abstract when I'm not declearing one.
    error messages I'm getting below -----------
    .\LkList.java:26: Method LinkedList getList() requires a method body. Otherwise declare it as abstract.
    public LinkedList getList();
    DCalc.java:10: class LkList is an abstract class. It can't be instantiated.
    LkList Expression =new LkList(exp);
    code below ------------------------------
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import java.util.*;
    class JCal extends JFrame implements KeyListener
         JLabel answer, expression;
         JButton b1, b2, b4, b5, b6, b7, b8, b9, b10, b11, b12, b13, b14, b15, b16, b17, b18, b19,
              b20, b21, b22, b23, b24, b25, b26, b27;
         JMenuBar menuBar;
         JMenu menu;
         JMenuItem menuItem, menuItem1;
         LkList equation;
         String exp="";
         String ans="";
         double memory=0;
         public JCal()
         {     super("Nicks Swing Calculator");
    //------------------------- labels ---------------------------------------------
              answer = new JLabel(" 0 "); //Answer Lable
              answer.setBounds (20, 20, 220, 30);
              answer.setBorder (BorderFactory.createLoweredBevelBorder());
              answer.setBackground (Color.pink);
    answer.setHorizontalAlignment (SwingConstants.RIGHT);
              expression = new JLabel(" 0 "); // Expression Lable
              expression.setBounds (20, 55, 220, 30);
              expression.setBorder (BorderFactory.createLoweredBevelBorder());
              expression.setBackground (Color.white);
    //------------------------- menu -------------------------------------------------
              menuBar = new JMenuBar();
              setJMenuBar (menuBar);
              menu = new JMenu ("File");
              menuItem = new JMenuItem (" Help", new ImageIcon("help.gif"));
              menuItem1 = new JMenuItem (" Splash Page");
              menuItem.addActionListener(new ActionListener() // Help menu
              {     public void actionPerformed(ActionEvent e)
                   {     new JHelp();
    menuItem1.addActionListener(new ActionListener() // Splash Page
              {     public void actionPerformed(ActionEvent e)
                   {     new JSplash();
    //------------------------ buttons ------------------------------------------------
              JButton b1 = new JButton (new ImageIcon ("mc.gif")); // MR button
              b1.setBounds(20, 100, 55, 50);
              JButton b2 = new JButton (new ImageIcon ("mr.gif")); // MC button
              b2.setBounds(75, 100, 55, 50);
    JButton b3 = new JButton (new ImageIcon ("ms.gif")); // MS button
              b3.setBounds(130, 100, 55, 50);
    JButton b4 = new JButton (new ImageIcon ("mplus.gif")); // M+ button
              b4.setBounds(185, 100, 55, 50);
              JButton b5 = new JButton (new ImageIcon ("seven.gif")); // 7 button
              b5.setBounds(20, 170, 55, 50);
              JButton b6 = new JButton (new ImageIcon ("eight.gif")); // 8 button
              b6.setBounds(75, 170, 55, 50);
              JButton b7 = new JButton (new ImageIcon ("nine.gif")); // 9 button
              b7.setBounds(130, 170, 55, 50);
    JButton b8 = new JButton (new ImageIcon ("div.gif")); // divide button
              b8.setBounds(185, 170, 55, 50);
              JButton b9 = new JButton (new ImageIcon ("four.gif")); // 4 button
              b9.setBounds(20, 220, 55, 50);
              JButton b10 = new JButton (new ImageIcon ("five.gif")); // 5 button
              b10.setBounds(75, 220, 55, 50);
              JButton b11 = new JButton (new ImageIcon ("six.gif")); // 6 button
              b11.setBounds(130, 220, 55, 50);
              JButton b12 = new JButton (new ImageIcon ("times.gif")); // times button
              b12.setBounds(185, 220, 55, 50);
    JButton b13 = new JButton (new ImageIcon ("one.gif")); // 1 button
              b13.setBounds(20, 270, 55, 50);
              JButton b14 = new JButton (new ImageIcon ("two.gif")); // 2 button
              b14.setBounds(75, 270, 55, 50);
              JButton b15 = new JButton (new ImageIcon ("three.gif")); // 3 button
              b15.setBounds(130, 270, 55, 50);
              JButton b16 = new JButton (new ImageIcon ("minus.gif")); // minus button
              b16.setBounds(185, 270, 55, 50);
              JButton b17 = new JButton (new ImageIcon ("zero.gif")); // 0 button
              b17.setBounds(20, 320, 55, 50);
              JButton b18 = new JButton (new ImageIcon ("neg.gif")); // negitive button
              b18.setBounds(75, 320, 55, 50);
              JButton b19 = new JButton (new ImageIcon ("dot.gif")); // decimal button
              b19.setBounds(130, 320, 55, 50);
              JButton b20 = new JButton (new ImageIcon ("add.gif")); // addition button
              b20.setBounds(185, 320, 55, 50);
              JButton b21 = new JButton (new ImageIcon ("left.gif")); // left bracket button
              b21.setBounds(20, 375, 110, 35);
              JButton b22 = new JButton (new ImageIcon ("right.gif")); // right bracket button
              b22.setBounds(130, 375, 110, 35);
              JButton b23 = new JButton (new ImageIcon ("equals.gif")); // equals button
              b23.setBounds(20, 415, 220, 35);
    JButton b24 = new JButton (new ImageIcon ("clear.gif")); // clear button
              b24.setBounds(20, 460, 55, 50);
              JButton b25 = new JButton (new ImageIcon ("ce.gif")); // ce button
              b25.setBounds(75, 460, 55, 50);
              JButton b26 = new JButton (new ImageIcon ("sqrt.gif")); // sqrt button
              b26.setBounds(130, 460, 55, 50);
              JButton b27 = new JButton (new ImageIcon ("percent.gif")); // % button
              b27.setBounds(185, 460, 55, 50);
              //------------------- adding everything on the pane -------------------
              Container contentPane = getContentPane();
              contentPane.setLayout(null);
              // the default layout is BorderLayout
              contentPane.add(b1); // adds buttons
              contentPane.add(b2);
              contentPane.add(b3);
              contentPane.add(b4);
              contentPane.add(b5);
              contentPane.add(b6);
              contentPane.add(b7);
              contentPane.add(b8);
              contentPane.add(b9);
              contentPane.add(b10);
              contentPane.add(b11);
              contentPane.add(b12);
              contentPane.add(b13);
              contentPane.add(b14);
              contentPane.add(b15);
              contentPane.add(b16);
              contentPane.add(b17);
              contentPane.add(b18);
              contentPane.add(b19);
              contentPane.add(b20);
              contentPane.add(b21);
              contentPane.add(b22);
              contentPane.add(b23);
              contentPane.add(b24);
              contentPane.add(b25);
              contentPane.add(b26);
              contentPane.add(b27);
              contentPane.add(answer); // adds answer label
              contentPane.add(expression); // adds expression lable
              menuBar.add(menu); // adds menu
              menu.add(menuItem); // adds menu item "Help"
              menu.add(menuItem1); // adds menu item "Splash Page"
    //------------ button functions ---------------------------------------
              b1.addActionListener(new ActionListener()          // MR
              {     public void actionPerformed(ActionEvent e)
                   {     String TempMemory="";
                        answer.setText(TempMemory.valueOf(memory)); }});
              b2.addActionListener(new ActionListener()          //Mc
              {     public void actionPerformed(ActionEvent e)
                   {     memory=0; }});
              b3.addActionListener(new ActionListener()          //M-
              {     public void actionPerformed(ActionEvent e)
                   {     Double DblTemp=new Double(answer.getText());
                        double dblTemp=DblTemp.doubleValue();
                        memory=memory-dblTemp; }});
              b4.addActionListener(new ActionListener()          //M+
              {     public void actionPerformed(ActionEvent e)
                   {     Double DblTemp=new Double(answer.getText());
                        double dblTemp=DblTemp.doubleValue();
                        memory=memory+dblTemp; }});
    b5.addActionListener(new ActionListener() // Seven
              {     public void actionPerformed(ActionEvent e)
                   {     exp=exp+"7";
                        expression.setText(exp); }});
              b5.addKeyListener(this);
              b6.addActionListener(new ActionListener() // Eight
              {     public void actionPerformed(ActionEvent e)
                   {     exp=exp+"8";
                        expression.setText(exp); }});
              b6.addKeyListener(this);
              b7.addActionListener(new ActionListener() // Nine
              {     public void actionPerformed(ActionEvent e)
                   {     exp=exp+"9";
                        expression.setText(exp); }});
              b7.addKeyListener(this);
              b8.addActionListener(new ActionListener()          // Divide
              {     public void actionPerformed(ActionEvent e)
                   {     exp=exp+"/";
                        expression.setText(exp); }});
              b8.addKeyListener(this);
              b9.addActionListener(new ActionListener() // Four
              {     public void actionPerformed(ActionEvent e)
                   {     exp=exp+"4";
                        expression.setText(exp); }});
              b9.addKeyListener(this);
              b10.addActionListener(new ActionListener() // Five
              {     public void actionPerformed(ActionEvent e)
                   {     exp=exp+"5";
                        expression.setText(exp); }});
              b10.addKeyListener(this);
              b11.addActionListener(new ActionListener() // Six
              {     public void actionPerformed(ActionEvent e)
                   {     exp=exp+"6";
                        expression.setText(exp); }});
              b11.addKeyListener(this);
              b12.addActionListener(new ActionListener()     // Times
              {     public void actionPerformed(ActionEvent e)
                   {     exp=exp+"*";
                        expression.setText(exp); }});
              b12.addKeyListener(this);
              b13.addActionListener(new ActionListener() // One
              {     public void actionPerformed(ActionEvent e)
                   {     exp=exp+"1";
                        expression.setText(exp); }});
              b13.addKeyListener(this);
              b14.addActionListener(new ActionListener() // Two
              {     public void actionPerformed(ActionEvent e)
                   {     exp=exp+"2";
                        expression.setText(exp); }});
              b14.addKeyListener(this);
              b15.addActionListener(new ActionListener() // Three
              {     public void actionPerformed(ActionEvent e)
                   {     exp=exp+"3";
                        expression.setText(exp); }});
              b15.addKeyListener(this);
              b16.addActionListener(new ActionListener()          // Minus
              {     public void actionPerformed(ActionEvent e)
                   {     exp=exp+"-";
                        expression.setText(exp); }});
              b16.addKeyListener(this);
              b17.addActionListener(new ActionListener() // Zero
              {     public void actionPerformed(ActionEvent e)
                   {     exp=exp+"0";
                        expression.setText(exp); }});
              b17.addKeyListener(this);
              b18.addActionListener(new ActionListener() // negative
              {     public void actionPerformed(ActionEvent e)
                   {     exp=exp+"-";
                        expression.setText(exp); }});
              b18.addKeyListener(this);
              b19.addActionListener(new ActionListener()          // Decimal
              {     public void actionPerformed(ActionEvent e)
                   {     exp=exp+".";
                        expression.setText(exp); }});
              b19.addKeyListener(this);
              b20.addActionListener(new ActionListener()          // Addition
              {     public void actionPerformed(ActionEvent e)
                   {     exp=exp+"+";
                        expression.setText(exp); }});
              b20.addKeyListener(this);
              b21.addActionListener(new ActionListener()     // Left Bracket
              {     public void actionPerformed(ActionEvent e)
                   {     exp=exp+"(";
                        expression.setText(exp); }});
              b21.addKeyListener(this);
              b22.addActionListener(new ActionListener()          // Right Bracket
              {     public void actionPerformed(ActionEvent e)
                   {     exp=exp+")";
                        expression.setText(exp); }});
              b22.addKeyListener(this);
              b23.addActionListener(new ActionListener() // Equals
              {     public void actionPerformed(ActionEvent e)
                   {     LkList equation = new LkList();
                        equation.ProcessExpress();
                        ans=equation.getAns();
                        answer.setText(ans);
                        exp="";
                        ans="";     }});
              b23.addKeyListener(this);
              b24.addActionListener(new ActionListener()          // Clear
              {     public void actionPerformed(ActionEvent e)
                   {     exp="";
                        ans="";
                        expression.setText(exp);
                        answer.setText(ans); }});
              b25.addActionListener(new ActionListener()          // Clear Entry
              {     public void actionPerformed(ActionEvent e)
                   {     exp="";
                        ans="";
                        expression.setText(exp);
                        answer.setText(ans); }});
              addWindowListener( new WindowAdapter()
                        {     public void windowClosing(WindowEvent e)
                             {     System.exit(0);
              this.setBounds(10, 10, 270, 600);
              this.show();
         public static void main(String[] args)
         {     new JCal();
    public void keyReleased(KeyEvent evt){}
         public void keyTyped(KeyEvent evt) {}
         public void keyPressed(KeyEvent evt)
         {     char x=evt.getKeyChar();
              switch(x)
              {     case '0': exp=exp+"0";
                        expression.setText(exp);
                        break;
                   case '1': exp=exp+"1";
                        expression.setText(exp);
                        break;
                   case '2': exp=exp+"2";
                        expression.setText(exp);
                        break;
                   case '3': exp=exp+"3";
                        expression.setText(exp);
                        break;
                   case '4': exp=exp+"4";
                        expression.setText(exp);
                        break;
                   case '5': exp=exp+"5";
                        expression.setText(exp);
                        break;
                   case '6': exp=exp+"6";
                        expression.setText(exp);
                        break;
                   case '7': exp=exp+"7";
                        expression.setText(exp);
                        break;
                   case '8': exp=exp+"8";
                        expression.setText(exp);
                        break;
                   case '9': exp=exp+"9";
                        expression.setText(exp);
                        break;
                   case '+': exp=exp+"+";
                        expression.setText(exp);
                        break;
                   case '-': exp=exp+"-";
                        expression.setText(exp);
                        break;
                   case '*': exp=exp+"*";
                        expression.setText(exp);
                        break;
                   case '/': exp=exp+"/";
                        expression.setText(exp);
                        break;
                   case '.': exp=exp+".";
                        expression.setText(exp);
                        break;
                   case '(': exp=exp+"(";
                        expression.setText(exp);
                        break;
                   case ')': exp=exp+")";
                        expression.setText(exp);
                        break;
                   default: break;
    // ================================= equation =============================
    class Equation
    {     private double nbr1;
         private double nbr2;
         private char op;
         private double answer;
         private String StrNum1="";
         private String StrNum2="";
         private String StrOper="";
         private String StrAns="";
         //Constructor
         Equation(String number1, String number2, String operator)
         {     StrNum1 = number1;
              StrNum2 = number2;
              StrOper = operator;
              convert();
         public double getNum1() {return nbr1;}
         public double getNum2() {return nbr2;}
         public char getOp() {return op;}
         private void convert()
         {     Double temp=new Double(StrNum1);
              nbr1=temp.doubleValue();
              temp=new Double(StrNum2);
              nbr2=temp.doubleValue();
              op=StrOper.charAt(0);
         private void convertAnswer()
         {     StrAns=StrAns.valueOf(answer);
         public String toString()
         {     return StrAns;
         public void calculate()
         {     switch (op)
              {     case '+': answer=nbr1+nbr2;
                        break;
                   case '-': answer=nbr1-nbr2;
                        break;
                   case '*': answer=nbr1*nbr2;
                        break;
                   case '/': answer=nbr1/nbr2;
                        break;
              convertAnswer();
    // =============================== linked list ================================
    class LkList
    {  char[] operator = {'+','-','*','/','(',')'}; // operators used
    LinkedList Express = new LinkedList(); // Linked list of expression
    String StrExp = null;
    String oper = ""; // operator
    String number1 = ""; // first number used in expression
    String number2 = ""; // second number used in expression
    String answer = ""; // answer of expression
    Exp TempExp; // Temporary expression
    String Temp;
    // Constructor
    LkList (String e)
    { StrExp = e;
         formList (); // expression turn into liked list nodes
         trimList (); // remove spaces from linked list expression
    public String toString()
         { return Express.toString();
    public LinkedList getList();
         { return Express;
    public String getAns()
         { return Express.get(0).toString();
    public void ProcessExpress() // removing brackets
         {  removeBrack();
    private void formList()
    {  int j = 0;
    boolean lastOper = true;
         for (j = 0 ; j < Express.length(); j++ )
    {  if (!(belongTo(operator, StrExp.charAt (j))))
              {  Temp = Temp + StrExp.charAt (j);
         lastOperator = false;
         if (belongTo(operator, StrExp.charAt (j)))
         {   if ((StrExp.charAt (j) =='-') && (lastOperator))
              {   Temp = "-";
         lastoperator = false;
              else
              {   Express.add (Temp);
              Temp = "";
                   Temp = Temp + StrExp.charAt (j);
                   Express.add (Temp);
                   Temp = "";
                   if (StrExp.charAt (j) == ')')
                   {  lastOperator = false;
                   else
                   {   lastOperator = true;
         Express.add (Temp);
         Temp = "";
    private void trimlist ()
    {   int sp = 0;
    while ((sp !=-1))
    {  sp = Express.indexOf ("");
         if (sp !=-1)
         {  Express.remove (sp);
    private static boolean belongTo (char[] ar, char c)
    {  for (int k = 0; k < ar.length; k++)
         {  if (c == ar[k]) return true;
    return false;
    private boolean findBrack ()
    {  if (Express.contains (")"))
    {  return true;
    return false;
    private void removePoints (int pt1, int pt2 )
    {  int range = (pt2 - pt1);
    for (int j = pt2; j >= pt1; j--)
    {  Express.remove (j);
    private void processOperator (String Oper)
    {  int point =-1;
         while (Express.contains (Oper))
         {  point = Express.indexOf (Oper);
         oper = Express.get(point).toString();
              number1 = Express.get(point-1).toString();
              number2 = Express.get(point+1).toString();
              TempExp = new Exp (number1, number2, oper);
              TempExp.calculate();
              answer = Temp.toString();
              Express.add(point-1, point+1);
              removePoints (point-1, point+1);
    point =-1;
    private void removeBrack()
    {  int opBrack = 0;
    int clBrack = 1;
         int j = 0;
         String Temp = "";
         while (findBrack())
         {  clBrack = Express.indexOf (")");
         j = clBrack;
              do
              {  Temp = Express.get(j).toString();
              if (Temp.charAT(0) =='(')
              {   opBrack = j;
                   j--;
              while (opBrack < 0);
              number1 = Express.get(opBrack +1).toString();
    number2 = Express.get(clBrack -1).toString();
              oper = Express.get(opBrack+2).toString();
              TempExp = new Exp (number1, number2, oper)
              TempExp.calculate();
              answer = TempExp.toString();
              Express.add(clBrack+1, answer);
              removePoints(opBrack, clBrack);
              opBrack=-1;
              clBrack=0;
    private void removeDivide()                         
         {     processOperator("/");                    
              remMult();                         
         private void removeTimes()                         
         {     processOperator("*");                         
              remAdd();                         
         private void removeAdd()                         
         {     processOperator("+");                         
              remSub();                         
         private void removeSub()                         
         {     processOperator("-");
    // ================================= help menu ============================
    class JHelp extends JFrame
    {     JTextArea textarea;
         public JHelp()
         {     super ("Help");
              Container contentPane = getContentPane();
         /*     JPanel textPan1 = new JPanel (new BorderLayout());
              textarea = new JTextArea ("How to use Nicks Calculator");
              textarea.setWrapStyleWord(false);
              JScrollPane textAreaPane1 = new JScrollPane (textarea);
              textPan1.add (textarea, BorderLayout.CENTER);
              contentPane.add(textPan1);
              textarea.setEnabled(false); */
              JLabel lab=new JLabel(new ImageIcon("helpmenu.jpg"));
              contentPane.add(lab, BorderLayout.CENTER);
              setBounds(400,200,400,400);
              this.show();
    // ================================ Splash Page =============================
    class JSplash extends JFrame
    {     public JSplash()
    {   super ("Splash Page");
              Container contentPane=getContentPane();
              JLabel lab=new JLabel(new ImageIcon("nick.jpg"));
              contentPane.add(lab, BorderLayout.CENTER);
              setBounds(400,200,250,320);
              this.show();

    Spot the difference:
    public LinkedList getList();
    public LinkedList getList()
    Notice the semi-colon. Thats the problem

  • "Jigsaw" CSS Validator Error Messages, Code Not Found

    My page is created in DW CS5.
    The page I'm testing (http://jigsaw.w3.org/css-validator/)  is:  www.aloe-vera.org/index.htm
    I am getting error messages.  But, when I got to the line of code indicated, the code isn't there.  These are the errors (which I don't understand anyway):
    166
    ul.MenuBarHorizontal iframe
    attempt to find a semi-colon before the property name. add it
    0
    ul.MenuBarHorizontal iframe
    Parse Error                                              null
    166
    ul.MenuBarHorizontal iframe
    Property opacity doesn't exist in CSS level 2.1 but exists in  : 0.1                                               0.1
    166
    ul.MenuBarHorizontal iframe
    Parse Error                                              0.1);
    167
    ul.MenuBarHorizontal iframe
    Parse Error                                              }
    If the code can't be found on the line indicated, where does one find it?
    Thanks, David (Honaker, in Phoenix, AZ)

    As much as I would push users to that site, there are some parts of the Spry 1.0 framework that cause this type of error to occur.  What Adobe did was include "hacks", for lack of a better term, to make the Spry as compatible as they could in older versions of IE.  They did this knowing that the code would note validate.  It appears with some other Spry items as well.  I do not believe the 2.0 Spry Widgets (in the Widget Browser) have this same code validation issue.
    The only validation error on that page that I would worry about is the one on your index.htm with the ul.nav a, ul.nav a:visited background attribute.  The hex color can be written shorthand (3 characters) or full length (6 characters).  Yours currently is C6580 which is one number short.

  • Error Message code 1900 in syntax check and code LV_ERR in user interface

    In my webdynpro component when i did the code inspector check i have an error message in syntax check
    which says "Message code 1900: ObjectType WDYN Object name ZXXXX Row 1 Column 0 the size of the PXA buffer reached a critical value at 158 percent. The maximum size is currently 4,194,304 bytes ==> The size of the PXA buffer reached a critical value at 158 percent. The maximum size is currently 4,194,304 bytes.
    Another Error message in user interface
    which says: "Message Code LV_ERR:ObjectType WDYN Object name ZXXXX Sub-Object Type  Sub-Object Name  Error  Load unit of component is very large (generation limit).==> Error  Load unit of component is very large (generation limit) .
    Please help in resolving these issues.
    Thanks in advance.

    Hi,
    you need to discuss with the basis team to increase the abap buffersize.
    there is a parameter in the transaction rz11.
    go to RZ11 and then wirte parameter as abap/buffersize
    check its value.
    if you increase it,   problem will be solved i guess.
    thanks
    sarbjeet

Maybe you are looking for

  • Restore Time Machine backup on fresh Leopard install without disc.

    I just got my iMac back from the Apple Store where they fitted a new hard drive with a fresh installation of Leopard. I've got an external drive with a Time Machine backup of my old HD, but don't know how to restore it. Unfortunately I forgot to ask

  • How do I recover Missing Files

    I have several groups of pictures that have gone missing since I first used Picasa to share some photos. I could care less about a lot of them but there were a couple of hundred of my trip to England I would really like to recover. The thumbnails sho

  • Vendor Product Number field

    Can anyone please help us finding the field  " Vendor Product Number". We have the information that this is a standard field on the shopping cart and is part of the standard content and This field is also available on Catalog Purchase Orders Please h

  • N96 Camera Button Problem...

    ok so i have this N96 very good phone but the camera button dosent works for Taking Pictures  let me explain : when i press a little the camera button it should do this Focus and make the corners red or green and then i need to press a little harder

  • Regarding Oracle Apps Technical Material

    hi ,can anybody pass good material on the following ::(11.5.10) New Custom Form Development New Report development New Custom module development Customizing seeded components Migration & Upgradation pdf's r doc's anything ...... have a nice time.