Gcc 4 on solaris 9 breaks my code

Hi!
I recently upgraded from gcc 3.4 to gcc 4.0.1 and previously working code now core dumps with segmentation fault.
Basically, I have an application that loads several shared libraries. These libraries use dlsym() to find function symbols in the other loaded libraries. Now, when on shared library goes to invoke
a function in another shared library, I get a segmentation fault. The addresses seem to be getting slightly mangled.
I'm coding on solaris 9 sparcv9.
Has anyone seen something like this and fixed it? Was I getting lucky with gcc?
The same code works on GNU/Linux and win32.
Thanks,
Bobby

Yes, I've been using GNU tar, (Sun's native tar complains about checksum and aborts).
I also checked that in the source tree and found that there are 2 files whose names end with ".hp" rather than ".hpp". I copied those to ".hp" files to ".hpp".
But now I'm encountering different problems entirely, complains about the gmp, mpfr and libiconv of being wrong ELF class.
I've been using gcc 3.4.6 from sunfreeware.com as well as the latest gmp, mpfr and libiconv, all were supposedly compiled by gcc 3.4.6.
I tried rebuilding gmp etc., but then configure complains
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
configure:4217: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4220: $? = 0
Test compile: __builtin_alloca availability
configure:4260: /usr/local/gcc-3.4.6/bin/gcc -O2 -m64 -mptr64 conftest.c >&5
Undefined first referenced
symbol in file
main /big2/usr.local/gcc-3.4.6/bin/../lib/gcc/sparc-sun-solaris2.9/3.4.6/sparcv9/crt1.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status
configure:4263: $? = 1
failed program was:
int k; int foo () { __builtin_alloca (k); }
Test compile: abs int -> double conversion
configure:4384: /usr/local/gcc-3.4.6/bin/gcc -O2 -m64 -mptr64 conftest.c >&5
configure:4387: $? = 0

Similar Messages

  • Link repositioning breaks the code

    This problem was reported on August 4th with no resolution. I have now updated to the latest version (Build 040621) on XP Pro, with Java 1.4.2_04, and the problem persists.
    I can't believe that links on a page cannot be repositioned without breaking the code. I may be doing something wrong but please try the following and tell me what result you get:
    1) - Create a New Project (nav4) - This creates a new page Page1.jsp
    2) - Drop an "output text" : value = Page 1 just to give it a visual title.
    3) - Right click on page1.jsp and select "Page Navigation"
    4) - Right Click on Page1.jsp in the navigation panel and select [New Page] . Create 2 new pages: Page2.jsp, Page3.jsp
    5) - Right Click on Page1.jsp and [Add button], [Add link] (as mentionned in tutorial)
    6) - to create a navigation link from page1.jsp to page2.jsp and page3.jsp, drag from the hyperlink on page1.jsp to page 2.jsp and the button on page1.jsp to page3.jsp
    7) - Double click on page2.jsp to open it into the design view, and drop an "output text" .Change its value to "page 2". Select page navigation again and do the same for page3.jsp . This is to show some kind of "message" on each page.
    Run the application and everything is fine.....
    Now I challenge you to move the Link on page1.jsp and see what happens.... The link won't work anymore... and you'll have to "undo" to get it to work again.
    If there is any other way I can get around this(short of hacking into the code), please let me know, this functionality is extremely important to my project.
    Thank you for your assistance.

    Hi John,
    Please do me a favour.
    After you moved the link, just verify which page the button forwards you to . You will see that after the link has moved,
    both the button and the link take you to the same page. In my case page2.jsp
    This is the content of the log file :
    Log Session: Tuesday, August 31, 2004 4:48:09 o'clock PM PDT
    System Info: Product Version = Java Studio Creator (Build 040621)
    Operating System = Windows XP version 5.1 running on x86
    Java; VM; Vendor = 1.4.2_04; Java HotSpot(TM) Client VM 1.4.2_04-b05; Sun Microsystems Inc.
    Java Home = C:\Sun\Creator\java\jre
    System Locale; Encod. = en_CA; Cp1252
    Home Dir; Current Dir = C:\Documents and Settings\bcb; C:\Sun\Creator\bin
    IDE Install; User Dir = C:\Sun\Creator; C:\Documents and Settings\bcb\.Creator\1_0
    CLASSPATH = C:\Sun\Creator\lib\ext\boot.jar;C:\Sun\Creator\lib\ext\jgraph.jar;C:\Sun\Creator\lib\ext\naming.jar;C:\Sun\Creator\lib\ext\pbclient.jar;C:\Sun\Creator\lib\ext\pbtools.jar;C:\Sun\Creator\lib\ext\rowset.jar;C:\Sun\Creator\lib\ext\smbase.jar;C:\Sun\Creator\lib\ext\smdb2.jar;C:\Sun\Creator\lib\ext\sminformix.jar;C:\Sun\Creator\lib\ext\smoracle.jar;C:\Sun\Creator\lib\ext\smresource.jar;C:\Sun\Creator\lib\ext\smsqlserver.jar;C:\Sun\Creator\lib\ext\smsybase.jar;C:\Sun\Creator\lib\ext\smutil.jar;C:\Sun\Creator\lib\ext\sql.jar;C:\Sun\Creator\lib\ext\sqlx.jar;C:\Sun\Creator\java\lib\dt.jar;C:\Sun\Creator\java\lib\tools.jar
    Boot & ext classpath = C:\Sun\Creator\java\jre\lib\rt.jar;C:\Sun\Creator\java\jre\lib\i18n.jar;C:\Sun\Creator\java\jre\lib\sunrsasign.jar;C:\Sun\Creator\java\jre\lib\jsse.jar;C:\Sun\Creator\java\jre\lib\jce.jar;C:\Sun\Creator\java\jre\lib\charsets.jar;C:\Sun\Creator\java\jre\classes;C:\Sun\Creator\java\jre\lib\ext\dnsns.jar;C:\Sun\Creator\java\jre\lib\ext\ldapsec.jar;C:\Sun\Creator\java\jre\lib\ext\localedata.jar;C:\Sun\Creator\java\jre\lib\ext\sunjce_provider.jar
    Dynamic classpath = C:\Sun\Creator\lib\core.jar;C:\Sun\Creator\lib\openfile-cli.jar;C:\Sun\Creator\lib\openide-loaders.jar;C:\Sun\Creator\lib\openide.jar;C:\Sun\Creator\lib\ravelnf.jar
    [org.netbeans.core.modules #4] Warning: the extension C:\Sun\Creator\modules\ext\sac.jar may be multiply loaded by modules: [C:\Sun\Creator\modules\css.jar, C:\Sun\Creator\modules\insync.jar]; see: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/classpath.html#class-path
    Turning on modules:
         org.openide/1 [4.26.1 040621]
         org.openide.io [1.1.1 040621]
         org.openide.execution [1.1.1 040621]
         org.openide.compiler [1.2.1 040621]
         org.netbeans.lib.terminalemulator [1.1.1 040621]
         org.openide.src [1.1.1 040621]
         org.openide.loaders [4.11.1 040621]
         org.netbeans.core/1 [1.21.1 040621]
         org.netbeans.core.output/1 [1.1.1 040621]
         org.netbeans.core.compiler/1 [1.4.1 040621]
         org.openide.debugger [1.1.1 040621]
         org.netbeans.modules.j2eeapis/1 [1.0 040621]
         org.netbeans.modules.settings/1 [1.4.1 040621]
         org.netbeans.api.xml/1 [1.3.1.3.6.0 3.6.0 040621]
         org.netbeans.modules.javahelp/1 [2.1.1 040621]
         org.netbeans.modules.schema2beans/1 [1.7.1 040621]
         org.netbeans.core.execution/1 [1.3.1 040621]
         org.netbeans.modules.debugger.core/3 [2.10.1 040621]
         org.netbeans.libs.j2eeeditor/1 [1.1.1 040621]
         org.netbeans.modules.j2eeserver/3 [1.1.2 040701_4]
         org.netbeans.api.java/1 [1.3.1 040621]
         org.netbeans.libs.xerces/1 [1.4.1 2.6.0]
         org.apache.tools.ant.module/3 [3.6.1 040621]
         org.netbeans.modules.debugger.jpda/1 [1.17.1 040621]
         org.netbeans.api.web.dd/1 [1.1.1 1.0 040621]
         com.sun.rave.project/1 [1.0.1 040701_4]
         com.sun.rave.jsfsupport/1 [1.0.1 040701_4]
         org.netbeans.modules.editor/1 [1.14.2 040701_4]
         com.sun.rave.insync/1 [1.0.1 040701_4]
         org.netbeans.modules.diff/1 [1.7.1 040621]
         com.sun.rave.jsfmetadata/1 [1.0 040621]
         com.sun.rave.toolbox/1 [1.0.1 040701_4]
         org.netbeans.modules.classfile/1 [1.8 040621]
         org.netbeans.modules.java/1 [1.16.1 040621]
         com.sun.rave.designer/1 [1.0.1 040701_4]
         com.sun.rave.navigation/1 [1.0.1 040701_4]
         org.netbeans.modules.xml.core/2 [1.1.1.3.6.0 3.6.0 040621]
         org.netbeans.modules.xml.catalog/2 [1.1.1.3.6.0 3.6.0 040621]
         com.sun.tools.appserver/1 [2.0 20040621-1109]
         org.netbeans.core.ui/1 [1.3.1 040621]
         com.sun.rave.servernav/1 [1.0 040621]
         com.sun.rave.licensemgr/1 [1.2 040621]
         org.openidex.util/2 [2.7.1 040621]
         org.netbeans.modules.html/1 [1.12.1 040621]
         org.netbeans.modules.extbrowser/1 [1.3.1 040621]
         org.netbeans.modules.servletapi24/1 [2.0.1 2.0.1 040621]
         org.netbeans.modules.web.jspparser/2 [2.0.1 040621]
         org.netbeans.modules.xml.text/2 [1.1.1.3.6.0 3.6.0 040621]
         org.netbeans.modules.web.core.syntax/1 [1.13.1 040621]
         com.sun.rave.jspsyntaxint/1 [1.0 040621]
         org.netbeans.modules.schema2beansdev/1 [1.1.1 040621]
         com.sun.rave.welcome/1 [1.0 040621]
         org.netbeans.modules.beans/1 [1.11.1 040621]
         com.sun.rave.jwsdpsupport/1 [1.0 040621]
         com.sun.rave.sam/1 [1.0.1 040701_4]
         com.sun.rave.websvc/1 [1.0.1 040701_4]
         org.netbeans.modules.text/1 [1.12.1 040621]
         org.netbeans.modules.image/1 [1.11.1 040621]
         org.netbeans.modules.autoupdate/1 [2.8.1 040621]
         org.netbeans.modules.clazz/1 [1.13.1 040621]
         com.sun.rave.raveupdate/1 [1.0.1 040621]
         com.sun.rave.layoutmgr/1 [1.1 040621]
         org.netbeans.modules.properties/1 [1.11.1 040621]
         org.netbeans.modules.properties.syntax/1 [1.11 040621]
         org.netbeans.core.ide/1 [1.3.1 040621]
         org.netbeans.modules.utilities/1 [1.15.1 040621]
         com.sun.rave.errorhandler.server/1 [0.1 040621]
         com.sun.rave.plaf/1 [0.1 040621]
         com.sun.rave.windowmgr/1 [1.1 040621]
         com.sun.rave.dataconnectivity/1 [1.0.1 040701_4]
         org.netbeans.modules.css/2 [1.1.1.3.6.0 3.6.0 040621]
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! After moving the link here
    *********** Exception occurred ************ at Tue Aug 31 16:51:30 PDT 2004
    java.lang.IllegalArgumentException: Dimensions (width=2147483645 height=2147483645) are too large
         at java.awt.image.SampleModel.<init>(SampleModel.java:112)
         at java.awt.image.SinglePixelPackedSampleModel.<init>(SinglePixelPackedSampleModel.java:124)
         at java.awt.image.Raster.createPackedRaster(Raster.java:757)
         at java.awt.image.Raster.createPackedRaster(Raster.java:460)
         at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
         at java.awt.image.BufferedImage.<init>(BufferedImage.java:250)
         at com.sun.rave.designer.Dragger.initializeImages(Unknown Source)
         at com.sun.rave.designer.Dragger.getImages(Unknown Source)
         at com.sun.rave.designer.Dragger.paint(Unknown Source)
         at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
    [catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
         at javax.swing.JComponent.paintComponent(JComponent.java:541)
         at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
         at javax.swing.JComponent.paint(JComponent.java:808)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JViewport.paint(JViewport.java:722)
         at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
         at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
         at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
         at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
         at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    *********** Exception occurred ************ at Tue Aug 31 16:51:30 PDT 2004
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:507)
         at java.util.ArrayList.get(ArrayList.java:324)
         at com.sun.rave.designer.Dragger.paint(Unknown Source)
         at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
    [catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
         at javax.swing.JComponent.paintComponent(JComponent.java:541)
         at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
         at javax.swing.JComponent.paint(JComponent.java:808)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JViewport.paint(JViewport.java:722)
         at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
         at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
         at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
         at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
         at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    *********** Exception occurred ************ at Tue Aug 31 16:51:30 PDT 2004
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:507)
         at java.util.ArrayList.get(ArrayList.java:324)
         at com.sun.rave.designer.Dragger.paint(Unknown Source)
         at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
    [catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
         at javax.swing.JComponent.paintComponent(JComponent.java:541)
         at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
         at javax.swing.JComponent.paint(JComponent.java:808)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JViewport.paint(JViewport.java:722)
         at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
         at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
         at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
         at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
         at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    *********** Exception occurred ************ at Tue Aug 31 16:51:30 PDT 2004
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:507)
         at java.util.ArrayList.get(ArrayList.java:324)
         at com.sun.rave.designer.Dragger.paint(Unknown Source)
         at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
    [catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
         at javax.swing.JComponent.paintComponent(JComponent.java:541)
         at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
         at javax.swing.JComponent.paint(JComponent.java:808)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JViewport.paint(JViewport.java:722)
         at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
         at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
         at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
         at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
         at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    *********** Exception occurred ************ at Tue Aug 31 16:51:30 PDT 2004
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:507)
         at java.util.ArrayList.get(ArrayList.java:324)
         at com.sun.rave.designer.Dragger.paint(Unknown Source)
         at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
    [catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
         at javax.swing.JComponent.paintComponent(JComponent.java:541)
         at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
         at javax.swing.JComponent.paint(JComponent.java:808)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JViewport.paint(JViewport.java:722)
         at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
         at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
         at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
         at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
         at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    *********** Exception occurred ************ at Tue Aug 31 16:51:30 PDT 2004
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:507)
         at java.util.ArrayList.get(ArrayList.java:324)
         at com.sun.rave.designer.Dragger.paint(Unknown Source)
         at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
    [catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
         at javax.swing.JComponent.paintComponent(JComponent.java:541)
         at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
         at javax.swing.JComponent.paint(JComponent.java:808)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JViewport.paint(JViewport.java:722)
         at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
         at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
         at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
         at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
         at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    *********** Exception occurred ************ at Tue Aug 31 16:51:31 PDT 2004
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:507)
         at java.util.ArrayList.get(ArrayList.java:324)
         at com.sun.rave.designer.Dragger.paint(Unknown Source)
         at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
    [catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
         at javax.swing.JComponent.paintComponent(JComponent.java:541)
         at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
         at javax.swing.JComponent.paint(JComponent.java:808)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JViewport.paint(JViewport.java:722)
         at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
         at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
         at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
         at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
         at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    *********** Exception occurred ************ at Tue Aug 31 16:51:31 PDT 2004
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:507)
         at java.util.ArrayList.get(ArrayList.java:324)
         at com.sun.rave.designer.Dragger.paint(Unknown Source)
         at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
    [catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
         at javax.swing.JComponent.paintComponent(JComponent.java:541)
         at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
         at javax.swing.JComponent.paint(JComponent.java:808)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JViewport.paint(JViewport.java:722)
         at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
         at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
         at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
         at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
         at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    *********** Exception occurred ************ at Tue Aug 31 16:51:31 PDT 2004
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:507)
         at java.util.ArrayList.get(ArrayList.java:324)
         at com.sun.rave.designer.Dragger.paint(Unknown Source)
         at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
    [catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
         at javax.swing.JComponent.paintComponent(JComponent.java:541)
         at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
         at javax.swing.JComponent.paint(JComponent.java:808)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JViewport.paint(JViewport.java:722)
         at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
         at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
         at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
         at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
         at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    *********** Exception occurred ************ at Tue Aug 31 16:51:31 PDT 2004
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:507)
         at java.util.ArrayList.get(ArrayList.java:324)
         at com.sun.rave.designer.Dragger.paint(Unknown Source)
         at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
    [catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
         at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
         at javax.swing.JComponent.paintComponent(JComponent.java:541)
         at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
         at javax.swing.JComponent.paint(JComponent.java:808)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JViewport.paint(JViewport.java:722)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at com.sun.winsys.layout.impl.DnDPanel.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at com.sun.winsys.layout.impl.DnDPanel.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1021)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at com.sun.winsys.layout.impl.DnDPanel.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1021)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at com.sun.winsys.layout.impl.DnDPanel.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4794)
         at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
         at javax.swing.JComponent.paint(JComponent.java:798)
         at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
         at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
         at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
         at java.awt.Container.paint(Container.java:1312)
         at sun.awt.RepaintArea.paint(RepaintArea.java:177)
         at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:260)
         at java.awt.Component.dispatchEventImpl(Component.java:3678)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

  • My young kids got a hold of my older nano 4G and somehow put a passcode in it. They don't know what they did. is there a way to break the code toget into it?

    My yopung kids got a hold of my older nano 4G and somehow set a passcode. i now cannot open it and yhey don't know what the did. Is there a way to break the code so I can use it again? thanks

    grwhite56,
    See this article for different possible solutions.
    http://support.apple.com/kb/ht1350
    B-rock

  • Gcc problems on Solaris 10 X86

    I'm using Solaris 10 x86 and gcc from /usr/sfw/bin and have come across a couple of problems:
    which gcc
    /usr/sfw/bin/gcc
    gcc -v
    Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
    Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure prefix=/usr/sfw with-as=/usr/sfw/bin/gas with-gnu-as with-ld=/usr/ccs/bin/ld without-gnu-ld enable-languages=c,c++ --enable-shared
    Thread model: posix
    gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
    Problem 1
    cat ll.cc
    #include <signal.h>
    int CS;
    gcc -c ll.cc
    ll.cc:2: error: expected unqualified-id before numeric constant
    ll.cc:2: error: expected `,' or `;' before numeric constant
    CS is defined in the file /usr/include/sys/regset.h as:
    #define CS 15
    I've changed the code to use MYCS instead and this gets around the problem. Does anyone have a more elegant solution to the problem?
    Problem 2
    In a g++ compilation I have a file that includes cpp_type_traits.h.
    The compilation fails with:
    /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/../../../../include/c++/3.4.3/bits/cpp_type_traits.h:69: error: expected unqualified-id before "namespace"
    The relevant line in cpp_type_traits.h is:
    namespace __gnu_internal
    Knowing rather little about g++ I've been Googling for an hour but not found anyone else with the same problem.
    Many Thanks
    Andy

    I'm not fully sure what might cause your problems since I'm not a programmer myself. However, I do wonder if the gcc version located in /opt/sfw/bin may do you some good. When all other options fair I'd recommend getting the Studio 11 package and just use the cc compiler provided by Sun themselves. Its free anyway.

  • How to run solaris commands through java code ....

    Hi,
    actually i want to run some solaris commands for zipping some files on Solaris OS...
    any idea how can i do that ?
    thanks

    public class TABLES
    public static void main( String[] args )
                      //database is connected
            try
                   Connection con = null;
                   Statement stmt = null;
                   String strShowTables = "";
                ResultSet resultSet = null;
                   // CBA Statistics period is m_lStatisticsPeriod minutes
                   con = DriverManager.getConnection( g_strRWURI, g_strRWUsername, g_strRWPassword );
                   stmt = con.createStatement();
               ResultSet rs = stmt.executeQuery("use db");
             resultSet = stmt.executeQuery(strShowTables);
        String tableName = "";
             while(resultSet.next()){
    tableName = resultSet.getString(1);
              System.out.println(tableName);
            break;
    String strCmd = "tar cvzf file.tar.gz var/lib/mysql/db/GROUPS.*";
    Process p= Runtime.getRuntime().exec(strCmd);
    System.out.println(strCmd);
        stmt.close();
                rs.close();
                resultSet.close();
                   con.close();
              catch ( Exception e )
                   System.out.println( ": Failed to create database connection (" + e.getMessage() + ")" );
                   e.printStackTrace();
              catch ( Throwable t )
                   System.out.println( " Throwable: " + t.getMessage() );
                   t.printStackTrace();
        }//end of main mehtod
    }//END OF CLASSi hava tried the above code... what the problem is
    when is run that command on shell >    tar cvzf file.tar.gz var/lib/mysql/db/GROUPS.*i works fine but in code even though it didn't give any error but the created "file.tar.gz" is empty...
    Edited by: aftab_ali on Apr 7, 2009 7:15 AM
    Edited by: aftab_ali on Apr 7, 2009 7:17 AM

  • How do I break my codes into classes??

    How do i break each tab into a class and call them inside a main program ??
    Please show me how thanks.
    import javax.swing.JTabbedPane;
    import javax.swing.ImageIcon;
    import javax.swing.JPanel;
    import javax.swing.JLabel;
    import javax.swing.JFrame;
    import javax.swing.JButton;
    import javax.swing.BorderFactory;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.print.*;
    import java.sql.*;
    import java.io.*;
    public class DatabaseApp extends JPanel {
         // declare the width and height of UI
         public static int WIDTH = 800;
         public static int HEIGHT = 600;
         // create textfield objects for user to enter the input
         TextField employeeID = new TextField(15);
         TextField name = new TextField(40);
         TextField address = new TextField(40);
         TextField suburb = new TextField(20);
         TextField state = new TextField(5);
         TextField pCode = new TextField(5);
         TextField dob = new TextField(15);
         TextField homePh = new TextField(15);
         TextField workPh = new TextField(15);
         TextField mobile = new TextField("0",15);
         TextField eMail = new TextField(30);
         TextField dbase = new TextField("employee",20);
         TextField report = new TextField(15);
         TextField query= new TextField(50);
         TextArea displayArea = new TextArea(16,80);
         TextArea helpArea = new TextArea(20,80);
         public static void main (String[] args) {
              JFrame frame = new JFrame ("S-League Management System");
              frame.addWindowListener(new WindowAdapter(){
                        public void windowClosing (WindowEvent e) {
                             System.exit(0);
              frame.getContentPane().add(new DatabaseApp(), BorderLayout.CENTER);
              frame.setSize(800,600);
              frame.setResizable(false);
              frame.setVisible(true);
              //centralise the screen
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              Dimension frameSize = frame.getSize();
              frame.setLocation((screenSize.width - frameSize.width) / 2,
                   (screenSize.height - frameSize.height) / 2);
         /** add buttons to the database form
         public JButton(String text,Icon icon)
         Creates a button with initial text and an icon.
         Parameters:
         text - the text of the button.
         icon - the Icon image to display on the button
         JButton newButton = new JButton (" New ", new ImageIcon(DatabaseApp.class.getResource("img/New.gif")));
         JButton addButton = new JButton (" Add ", new ImageIcon (DatabaseApp.class.getResource("img/Add.gif")));
         JButton findButton = new JButton (" Retrieve ", new ImageIcon (DatabaseApp.class.getResource("img/Find.gif")));
         JButton updateButton = new JButton (" Update ", new ImageIcon (DatabaseApp.class.getResource("img/Refresh.gif")));
         JButton deleteButton = new JButton (" Delete ", new ImageIcon (DatabaseApp.class.getResource("img/Delete.gif")));
         JButton submitButton = new JButton (" Submit Query ", new ImageIcon (DatabaseApp.class.getResource("img/Export.gif")));
         JButton reportButton = new JButton (" Report File ", new ImageIcon (DatabaseApp.class.getResource("img/AlignLeft.gif")));
         /** create tabbed pane for form
         * public void addTab(String title,Icon icon,Component component,String tip)
         * Parameters:
         * title - the title to be displayed in this tab
         * icon - the icon to be displayed in this tab
         * component - The component to be displayed when this tab is clicked.
         * tip - the tooltip to be displayed for this tab
         public DatabaseApp() {
              // create new tabbedPane object
              JTabbedPane tabbedPane = new JTabbedPane(){
                   ImageIcon imageIcon = new ImageIcon("img/logo.jpg");
                   Image image = imageIcon.getImage();
                   public void paintComponent (Graphics g) {
                        g.setColor(new Color(220,220,220));
                        g.fillRect(0,0,643,74);
                        g.drawImage(image, 0, 4, this);
                        super.paintComponent(g);
              tabbedPane.addTab(" Team Management ",null, buildQueryPanel(), "Team Management");
              tabbedPane.addTab(" Player Registration ",null, buildGeneralPanel(), "Player Registration");
              tabbedPane.addTab(" Author ",null, buildAuthorPanel(), "Author");
              // assign layout manager
              //setLayout(new GridLayout(1,1));
              tabbedPane.setSelectedIndex(1);
              tabbedPane.setBorder(BorderFactory.createEmptyBorder(78,0,0,0));
              add(tabbedPane);
         protected JPanel buildQueryPanel() {
              JPanel mainPane = new JPanel();
              // divided into three panes. these panes will be added to mainPanel
              JPanel westPane = new JPanel();
              JPanel centrePane = new JPanel();
              JPanel southPane = new JPanel();
              // assign the layout managers
              mainPane.setLayout(new BorderLayout());
              westPane.setLayout(new GridLayout(4,1));
              centrePane.setLayout(new GridLayout(4,1));
              // create array of Panels for label textfield and buttons and make them left align
              Panel labelPane[] = new Panel[4];
              Panel buttontxtPane[] = new Panel[4];
              Panel textPane[] = new Panel[1];
              for (int i=0; i < labelPane.length; ++i) {
                   labelPane[i] = new Panel();
                   labelPane.setLayout(new FlowLayout(FlowLayout.LEFT));
              for (int i=0; i < buttontxtPane.length; ++i) {
                   buttontxtPane[i] = new Panel();
                   buttontxtPane[i].setLayout(new FlowLayout(FlowLayout.LEFT));
              for (int i=0; i < textPane.length; ++i) {
                   textPane[i] = new Panel();
                   textPane[i].setLayout(new FlowLayout(FlowLayout.LEFT));
              // add different label to the labelPane
              labelPane[0].add(new JLabel("Database:"));
              labelPane[1].add(new JLabel("Query:"));
              labelPane[2].add(new JLabel("Report File:"));
              labelPane[3].add(new Label(""));
              // textfields
              buttontxtPane[0].add(dbase);
              buttontxtPane[1].add(query);
              buttontxtPane[2].add(report);
              // buttons
              buttontxtPane[3].add(submitButton);
              submitButton.setMnemonic('s');
              buttontxtPane[3].add(reportButton);
              reportButton.setMnemonic('r');
              // text area to view the result
              textPane[0].add(displayArea);
              // add action listener to buttons
              submitButton.addActionListener(new ButtonHandler());
              reportButton.addActionListener(new ButtonHandler());
              for(int i=0; i < labelPane.length; ++i)
                   westPane.add(labelPane[i]);
              for(int i=0; i < buttontxtPane.length; ++i)
                   centrePane.add(buttontxtPane[i]);
              for(int i=0; i < textPane.length; ++i)
                   southPane.add(textPane[i]);
              mainPane.add(westPane, BorderLayout.WEST);
              mainPane.add(centrePane, BorderLayout.CENTER);
              mainPane.add(southPane,BorderLayout.SOUTH);
              return mainPane;
         /**Create a JPanel for General tab, divide it into three JPanels for label, displaytext
         * and buttons.Assign a Flowlayout manager to each panel. Add label, textfield
         * and buttons to respective panel. following constructors will be used
         * for Jlabel
         * public JLabel(String text)
         * Creates a JLabel instance with the specified text. The label is aligned against the leading edge of its display area, and centered vertically.
         * Parameters:
         * text - The text to be displayed by the label.
         protected Component buildGeneralPanel() {
              // main panel
              JPanel mainPanel = new JPanel();
              // divided into three panes. these panes will be added to mainPanel
              JPanel westPane = new JPanel();
              JPanel centrePane = new JPanel();
              JPanel southPane = new JPanel();
              // assign the layout managers
              mainPanel.setLayout(new BorderLayout());
              westPane.setLayout(new GridLayout(12,1));
              centrePane.setLayout(new GridLayout(12,1));
              // create array of Panels for label textfield and buttons and make them left align
              Panel labelPane[] = new Panel[12];
              Panel textPane[] = new Panel[12];
              Panel buttonPane[] = new Panel[2];
              for (int i=0; i < labelPane.length; ++i) {
                   labelPane[i] = new Panel();
                   labelPane[i].setLayout(new FlowLayout(FlowLayout.LEFT));
              for (int i=0; i < textPane.length; ++i) {
                   textPane[i] = new Panel();
                   textPane[i].setLayout(new FlowLayout(FlowLayout.LEFT));
              for (int i=0; i < buttonPane.length; ++i) {
                   buttonPane[i] = new Panel();
                   buttonPane[i].setLayout(new FlowLayout(FlowLayout.LEFT));
              // add different label to the labelPane
              labelPane[0].add(new JLabel("Employee No"));
              labelPane[1].add(new JLabel("Name"));
              labelPane[2].add(new JLabel("Address"));
              labelPane[3].add(new JLabel("Suburb"));
              labelPane[4].add(new JLabel("State"));
              labelPane[5].add(new JLabel("PostCode"));
              labelPane[6].add(new JLabel("Date of Birth"));
              labelPane[7].add(new JLabel("Home Phone"));
              labelPane[8].add(new JLabel("Work Phone"));
              labelPane[9].add(new JLabel("Mobile"));
              labelPane[10].add(new JLabel("E-mail"));
              // add textfield component to textPane
              textPane[0].add(employeeID);
              textPane[1].add(name);
              textPane[2].add(address);
              textPane[3].add(suburb);
              textPane[4].add(state);
              textPane[5].add(pCode);
              textPane[6].add(dob);
              textPane[7].add(homePh);
              textPane[8].add(workPh);
              textPane[9].add(mobile);
              textPane[10].add(eMail);
              // add button to buttonPane and assign keyboard key for shortcut e.g Alt + n
              buttonPane[0].add(newButton);
              newButton.setMnemonic('n');
              buttonPane[0].add(addButton);
              addButton.setMnemonic('a');
              buttonPane[0].add(findButton);
              findButton.setMnemonic('r');
              buttonPane[0].add(updateButton);
              updateButton.setMnemonic('u');
              buttonPane[0].add(deleteButton);
              deleteButton.setMnemonic('d');
              // add actionlistener to the buttons
              newButton.addActionListener(new ButtonHandler());
              addButton.addActionListener(new ButtonHandler());
              findButton.addActionListener(new ButtonHandler());
              updateButton.addActionListener(new ButtonHandler());
              deleteButton.addActionListener(new ButtonHandler());
              for (int i = 0; i < labelPane.length; ++i)
                   westPane.add(labelPane[i]);
              for (int i = 0; i < textPane.length; ++i)
                   centrePane.add(textPane[i]);
              for (int i = 0; i < buttonPane.length; ++i)
                   southPane.add(buttonPane[i]);
              mainPanel.add(westPane,BorderLayout.WEST);
              mainPanel.add(centrePane,BorderLayout.CENTER);
              mainPanel.add(southPane,BorderLayout.SOUTH);
              return mainPanel;
         protected JPanel buildAuthorPanel(){
              JPanel authorPanel = new JPanel();
              JPanel authorPane = new JPanel();
              authorPanel.setLayout(new BorderLayout());
              authorPane.setLayout(new GridLayout(9,1));
              Panel pane[] = new Panel[9];
              for (int i=0; i < pane.length; i++) {
                   pane[i] = new Panel();
                   pane[i].setLayout(new FlowLayout(FlowLayout.CENTER));
              pane[0].add(new JLabel(""));
              pane[1].add(new JLabel(""));
              pane[2].add(new JLabel(""));
              pane[3].add(new JLabel(""));
              pane[4].add(new JLabel("Name:Jasper Lim Jiqiang"));
              pane[5].add(new JLabel("Admin:992365G"));
              pane[6].add(new JLabel(""));
              pane[7].add(new JLabel(""));
              pane[8].add(new JLabel(""));
              for (int i=0; i < pane.length; i++)
                   authorPane.add(pane[i]);
              authorPanel.add(authorPane, BorderLayout.CENTER);
              return authorPanel;

    Maybe something like this:
    <code>
    JTabbedPane tabbedPane = new JTabbedPane();
              JPanel introPanel = new JPanel();
              introPanel.add(createIntroPanel());
              ImageIcon img = new ImageIcon(getResourceString("tabIconFile"));
              tabbedPane.addTab(getResourceString("introTab"), img, introPanel);
    </code>
    plus
    <code>
    protected JPanel createIntroPanel()
              JPanel pane = new IntroPanel();
              return pane;
    </code>
    Klint

  • OS language settings break CVI code

    I'm developing software that requires support for chinese language, I've followed the instructions to change this settings for LabVIEW 8.6 (http://digital.ni.com/public.nsf/allkb/91A1863834F4B1A0862575670067D15C) and TestStand 4.1 (http://forums.ni.com/t5/NI-TestStand/Operator-interface-Chinese-language-support/m-p/375100) but I haven't been able to find information on how to do this in CVI 8.5.
    When I enable the support for characters in Chinese on my XP machine and I open the CVI files they are shown like this:
    What do I need to do to get this working?
    Thanks!
    <<-N->>
    CLA - CTA

    Hi Nick,
    I created a simplified function in my driver just to show how it breaks, I'm attaching the source code and a VI I'm using to test this.
    My machine settings are initially in English so I can compile the code. Within the attached project I created a function called tktds8k_SetDataStartNIExample function that runs regardless of wheter you have an instrument or not. Within this function all I'm doing in sending a command using:
    sprintf(buffer,"DATATARt %d",0);
    Using the _tktds8k ExampleNI.vi VI I run the function and take look at what is sent with NISpy, and this is what I see:
    Then I change the language settings to Chinese and run the same VI and this is what I see:
    In production test run I get errors along the lines of passing toom any arguments to a function.
    Regarding the CVI editor, I was under the impression that Idea Exchange was a feature request portal and to me this is a very serious defect in the software... there no guarantee the IDE will work in a multibyte environment for which we are buying dozens of licenses as part of the NI Developer Suite. Would you agree with this?
    <<-N->>
    Attachments:
    NIExampleCN-EN.zip ‏477 KB

  • Line break for code postings

    Hi there,
    normally the forum software does insert automatically a line break for text posting. If i write a
    code posting with the {code} parameter, it does not do like that. Sometimes the posts runs
    out of the displayed field.
    It is a bug or wanted ?
    Regards Steffen

    Thanks.
    But now, I have a syntax error.
    BEGIN OF xml_line,
              data(256) TYPE x
    END OF xml_line.
    DATA: lt_xml_table      TYPE TABLE OF xml_line,
          ls_xml_table      TYPE xml_line.
    LOOP AT lt_xml_table INTO ls_xml_table.
        CONCATENATE ls_string cl_abap_char_utilities=>cr_lf INTO ls_string.
        MODIFY lt_xml_table FROM ls_xml_table INDEX sy-tabix.
        CLEAR : ls_xml_table, ls_string.
      ENDLOOP.

  • SQL command date parameters breaking SQL code

    Hello,
    I have an SQL statement that executes without error against Oracle 10g.  I've created a command in Crystal Reports 2008 for it.  It uses a date range.  When I parametrize the date range, and select 'Date' as my value type for the parameter, it breaks the SQL with the following error:
    "Failed to retrieve data from the database.
    Details: ORA-00907: missing right parenthesis
    [Database Vendor Code: 907]"
    Here is a sample SQL statement that breaks:
    SELECT *
    FROM gift g
    WHERE g.gift_date_of_record BETWEEN to_date ('{?GiftDateStart}', 'mm/dd/yyyy')
      AND to_date ('{?GiftDateEnd}', 'mm/dd/yyyy')
    Has anyone else experienced this problem or know a work-around?
    Thanks in advance!

    Hi,
    Do it like this
    SELECT *
    FROM gift g
    WHERE g.gift_date_of_record BETWEEN to_date ('{?GiftDateStart}', 'dd/mm/yyyy')
    AND to_date ('{?GiftDateEnd}', 'dd/mm/yyyy')
    I hope this will help you.
    Regards,
    Misra P

  • How do i break this code.

    All,
    I am getting the "PLS-00123: program too large error"
    when i execute the following code. Is there a way i can break the huge
    update statement.
    Please suggest me.
    PROCEDURE PR_UPD_FACT ( v_Part in varchar2 )
    IS
    fupd_stmnt VARCHAR2(19190);
    upd_cid      NUMBER;
    upd_recnum     NUMBER;
    BEGIN
    fupd_stmnt :=
    'UPDATE ' ||v_Part|| ' SET ' ||
         'WRKG01_ASM_BODY_DONE_Y = ' || 'TO_DATE(' || '''' || to_char
    (ods_record.WRKG01_ASM_BODY_DONE_Y,'DD/MON/YY HH:MI:SS') || ''''
    || ',' || '''' || 'DD/MON/YY HH:MI:SS' || '''' || ')' || ',' ||
    'WRKG01_ASM_BUCK_Y = ' || 'TO_DATE(' || '''' || to_char(
    ods_record.WRKG01_ASM_BUCK_Y,'DD/MON/YY HH:MI:SS') || '''' || ','
    || '''' || 'DD/MON/YY HH:MI:SS' || '''' || ')' || ',' ||
    -- *** UPDATTING 366 COLUMNS OF A HUGE TABLE ***
    ' WHERE ' ||
    ' WRKG01_CNT_MDL_YEAR_C = ' || '''' || ods_record.WRKG01_CNT_MDL_YEAR_C || '''' ||
    ' AND WRKG01_ORD_PROD_SRC_C = ' || '''' || ods_record.WRKG01_ORD_PROD_SRC_C || '''' ||
    ' AND WRKG01_ORD_PROD_ORD_ID_C = ' || '''' || ods_record.WRKG01_ORD_PROD_ORD_ID_C || '''';     
    upd_cid := DBMS_SQL.OPEN_CURSOR;
         DBMS_SQL.PARSE(upd_cid, fupd_stmnt, DBMS_SQL.NATIVE);
         upd_recnum := DBMS_SQL.EXECUTE(upd_cid);
         DBMS_SQL.CLOSE_CURSOR(upd_cid);
    END PR_UPD_FACT;
    Thank You

    I can't tell which Oracle version you are on, but the limit for v7.x is 64K, v8.0 (up to 8.1.3) is 128K, and 8i and up have a limit of 256M.
    One thing you should definitely incorporate - regardless of whether you split up this statement - is bind variables. Instead of hardcoding the literal values within the string, just assign placeholders and then, on a call(s) to dbms_sql.bind_variable, supply the value(s).
    So instead of:
    'WRKG01_ASM_BODY_DONE_Y = ' || 'TO_DATE(' || '''' || to_char (ods_record.WRKG01_ASM_BODY_DONE_Y,'DD/MON/YY HH:MI:SS')
    use:
    'wrkg01_asm_body_done_y = :w01abd'
    and then, after the call to dbms_sql.parse but before dbms_sql.execute:
    dbms_sql.bind_variable(upd_cid, 'w01abd', to_char(ods_record.wrkg01_asm_body_done_y, 'DD/MON/YY HH:MI:SS'));
    Also use bind variable for the parameters in your WHERE clause. You will still need to hardcode the table and column names (as you do for the tablename parameter v_part).
    Now, using bind variables is extremely important, but it doesn't help your size issue. Is this procedure in a package? It might be, but I couldn't tell. If not, it probably should be.
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:571023051648
    Another thing you might try is to break the update into two steps, each handled in a separate procedure (or separate packages). Now, if you are updating a column included in the WHERE clause, then this will not be a viable option.
    Just some initial thoughts...

  • Line breaks in code view

    I'm using Dreamweaver in 90% of the time in code view, and there is one thing I dont like and I can't seem to fix it.
    When I have a log text the text breaks at the end of my screen and continues at the next line, instead of giving me a horizontal scrollbar at the bottom of the page.
    Is there an option to make this happen?

    Dreamweaver has two types of word wrapping in Code view: hard wrapping, which is off by default, and soft wrapping, which is on by default.
    Soft wrapping works like a word processor by moving text onto the next line when it reaches the right border, but does not insert a newline character. To turn off soft wrapping, go to View > Code View Options, and click Word Wrap. It's a toggle on-off option. With a check mark alongside, it's on. Just click to remove the check mark and turn off soft wrapping.
    Hard wrapping, by the way, is in Preferences > Code Format. It's not recommended, because it breaks JavaScript.

  • Not able to install Gcc on Oracle Solaris-11-express

    Hi,
    I installed Solaris-11-express using live cd ans also text based cd on VM.
    In package manager I could see gcc package but its not getting installed . Its throwing me error .
    So I manually downloaded the gcc tar file and still not able to install. please help.

    I am trying to install iozone, this requires gcc, now gcc is installed properly but iozone is not installing.I am pasting the error with this,
    root@solaris:~/iozone3_353/src/current# make Solaris10gcc-64
    Building iozone for Solaris10gcc-64
    gcc -O -c -Dunix -DHAVE_ANSIC_C -DASYNC_IO -D__LP64__ \
    -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dsolaris \
    -m64 libbif.c -o libbif10-64.o
    gcc -O -c -Dunix -DHAVE_ANSIC_C -DASYNC_IO -D__LP64__ \
    -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dsolaris \
    -DNAME='"Solaris10gcc-64"' -m64 libasync.c -o libasync10-64.o
    gcc -c -O -Dunix -DHAVE_ANSIC_C -DASYNC_IO \
    -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dsolaris \
    -DNAME='"Solaris10gcc-64"' -m64 iozone.c -o iozone_solaris10gcc-64.o
    Building fileop for Solaris10gcc-64
    gcc -c -O -m64 fileop.c -o fileop_Solaris10gcc-64.o
    Building the pit_server
    cc -c pit_server.c -o pit_server.o
    gcc -O -m64 iozone_solaris10gcc-64.o libasync10-64.o libbif10-64.o \
              -lthread -lpthread -lposix4 -lnsl -laio \
              -lsocket -o iozone
    gcc -O -m64 fileop_Solaris10gcc-64.o -o fileop
    gcc -O -m64 pit_server.o -lthread -lpthread -lposix4 \
              -lnsl -laio -lsocket -o pit_server
    ld: fatal: file pit_server.o: wrong ELF class: ELFCLASS32
    ld: fatal: file processing errors. No output written to pit_server
    collect2: ld returned 1 exit status
    make: *** [Solaris10gcc-64] Error 1
    Edited by: 817795 on Dec 9, 2010 11:03 PM

  • How to break jsp code

    I can use code like
    " if(a==null)
    //System.exit(0);
    //break;
    //sth else to end app
    but How do I implement such task in jsp
    simply,How can I do to make some code below( html code maybe ) not to be executed by giving a condition.

    Hi friend,
    My first question about this post is....
    I need to get some clarity.....
    i belive we are writing a server side application using JSP/SERVELET not a standalone client side application.
    As per the earlier post if we use System.exit that will certainly stop the webserver.
    Accronding to his description.
    The thing shud be done at the client side.
    For which the web browser shud be closed automatically.
    No this may not be possible by using JSP direclty,unless and until someone can take someother means of doing this..
    Like java script,May be loading a JAVA applet with full client permission accordingly and other stuff's....
    This wat we can think of at this point.....
    Regards,
    RAHUL

  • New Applescript version breaks old code

    Hi there,
    First off, I'm not an Applescripter, but I have one script I wrote a few years back (with help from kind people on the net) to generate and save tiny applications which, when called from within an Adobe Flash executable, would open the required file using the Mac OS native application associated with them (i.e a doc file wouldbe opened by Word if installed, TextEdit if not...)
    It used to run fine on my old Powerbook G4 on an old version of AppleScript, but times change and, one whizzy Intel processor later, I'm trying to get the same script running on OS 10.8 with AppleScipt 2.5.1, with varied results.
    Basically, what the script should do is read a comma delimited file in the same folder as the script, called 'fileNames.csv' which contains the names of all the files that I want the tiny apps to open. Each item will then have its own file created by the AppleScript, named after each item, which get saved in an pre-existing folder in the same directory as the script and fileNames.csv file, called 'fscommand'.
    The example of the fileNames.csv file I'm having issues with:
    yr2_unit_1_tn.doc,yr2_unit_2_tn.doc,yr2_unit_3_tn.doc ... etc up until  yr2_unit_20_tn.doc
    The script always used to work fine, but the new version of AppleScript seems to have broken it. When I run it now, it creates all the .app files up until 'yr2_unit_11_tn.doc.app' but then stalls in 'Running...' mode in the AppleScipts editor, and refuses to save apps for the final nine files in the .csv file.
    It still runs ok from an older AppleScript editor (2.2.1) but this only saves PowerPC applications, which won't run on Intel Macs. And this would be me running away from the problem, rather than attempting to solve it ;-)
    I'm thinking it's a filename issue, as it always seems to break when attempting to save "yr2_unit_11_tn.doc.app" when "yr2_unit_1_tn.doc.app" already exists in the 'fscommand' folder. If I create a new 'fileNames.csv' file which only contains ten entries from 'yr2_unit_11_tn.doc' to  'yr2_unit_20_tn.doc', and run the script to an empty 'fscommand' folder, it processes all the files fine. It just won't do all twenty entries from 1 to 20.
    Here's the script. I know I'm doing something really stupid here, but as a rock bottom novice AppleScripter, I can't see the error, or why it would work in one version of AppleScript and not another. I can post a link to the zipped files if this is any help in solving it. Thanks in advance for any help! :-)
    tell application "Finder" to get folder of (path to me) as Unicode text
    set cwd to result
    set fileRef to open for access alias (cwd & "fileNames.csv")
    set theList to read fileRef using delimiter ","
    close access fileRef
    set theFolder to alias (cwd & "fscommand")
    set theFolderPath to theFolder as string
    #Create the .app files and save them in theFolder
    set NL to ASCII character 10
    tell application id "com.apple.ScriptEditor2"
    launch
              repeat with theItem in theList
                        set x to make new document
                        set x to the front document
                        set theCharacters to characters of theItem
                        set theReversedCharacters to reverse of theCharacters
                        set theReversedFileName to theReversedCharacters as string
                        set theOffset to offset of "." in theReversedFileName
                        set theReversedSuffix to text 1 thru (theOffset - 1) of theReversedFileName
                        set theSuffix to (reverse of (characters of theReversedSuffix)) as string
                        set the text of document 1 to "tell application \"Finder\"" & NL & "activate" & NL & "set cwd to get folder of container of (path to me) as Unicode text" & NL & "open file (cwd & \"assets:" & theSuffix & ":" & theItem & "\")" & NL & "end tell"
      compile document 1
                        set file_path to theFolderPath & theItem & ".app"
                        save document 1 as "application" in file file_path
      close window 1
              end repeat
    end tell

    That seemed to be it. I put a tiny delay in between saving the document and closing the window and the file runs smoothly through all 20 items.
    compile document 1
    set file_path to theFolderPath & theItem & ".app"
    save document 1 as "application" in file file_path
    delay 0.3
    close window 1
    Never thought that I'd reach the day where I was trying to slow the computer down to process something more carefully :-D

  • Using menu breaking my code. Help?

    I don't think this is a bug; I think I'm just missing something. Following is an abbreviated plug-n-play code snippet to reproduce the problem.
    The problem is that I can make a JProgressBar work in a JFrame nicely if I do it on it's own, but if I try to execute it as a result of a menu-item click, it only displays the JFrame; the JProgressBar never shows up. Replace the progress bar with a button, label, whatever.
    I'm thinking it has something to do with the menu needing to be dismissed or something, but I may be totally off base. Can't find any appropriate documentation. Just finished scanning through 810 bug reports. Need help. What am I missing?
    Using j2sdk_1.4_03
    Signed,
    Feelin' dumb.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Test extends JFrame implements ActionListener
    Test() {
    super("Test");
    JMenuBar jmb;
    JMenu jm;
    JMenuItem jmi;
    setSize(300, 200);
    jmb = new JMenuBar();
    jm = new JMenu("File");
    jmi = new JMenuItem("go");
    jmi.setActionCommand("go");
    jmi.addActionListener(this);
    jm.add(jmi);
    jmb.add(jm);
    setJMenuBar(jmb);
    addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    dispose();
    System.exit(0); }
    setVisible(true);
    public void actionPerformed(ActionEvent e) {
    progressManager pm = new progressManager(0,10000000);
    long loop = 0;
    while(loop < 10000000) {
    pm.setValue(loop++);
    pm.close();
    public static void main(String args[]) {
    System.out.println("Starting");
    // This is to show it works without menus... takes a couple
    // seconds on my 1.6GHz PC, make the loop smaller if you don't
    // want to wait so long.
    progressManager pm = new progressManager(0,10000000);
    long loop = 0;
    while(loop < 10000000) {
    pm.setValue(loop++);
    pm.close();
    Test t = new Test();
    class progressManager {
    JFrame jf;
    JProgressBar jpb;
    long min, max;
    progressManager(long min, long max) {
    this.min = min; this.max = max;
    jf = new JFrame("Progress");
    jpb = new JProgressBar(0, 100);
    Container c = jf.getContentPane();
    c.add(jpb);
    jf.setBounds(100, 100, 200, 100);
    jf.setVisible(true);
    public void setValue(long value) {
    jpb.setValue((int)(value * 100 / max));
    public void close() {
    jf.dispose();

    Sorry to make this page so long. Here is the code properly formatted and updated as you suggest. The problem still exists, but should be more readable. Thank you very my for the help so far.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Test extends JFrame
      Test()
        super("Test");
        JMenuBar jmb;
        JMenu jm;
        JMenuItem jmi;
        setSize(300, 200);
        jmb = new JMenuBar();
        jm = new JMenu("File");
        jmi = new JMenuItem("go");
         //jmi.setActionCommand( "go" );
         jmi.addActionListener( new ActionListener() {
              public void actionPerformed( ActionEvent e ) {
                   progressManager pm = new progressManager(0,10000000);
                   long loop = 0;
                   while(loop < 10000000) {
                        pm.setValue(loop++);
                   pm.close();
        jm.add(jmi);
        jmb.add(jm);
        setJMenuBar(jmb);
        addWindowListener(new WindowAdapter() {
          public void windowClosing(WindowEvent e)
            dispose();
            System.exit(0);
        setVisible(true);
      public static void main(String args[])
        System.out.println("Starting");
        // This is to show it works without menus...
        progressManager pm = new progressManager(0,10000000);
        long loop = 0;
        while(loop < 10000000)
          pm.setValue(loop++);
        pm.close();
        Test t = new Test();
    class progressManager
      JFrame jf;
      JProgressBar jpb;
      long min, max;
      progressManager(long min, long max)
        this.min = min; this.max = max;
        jf = new JFrame("Progress");
        jpb = new JProgressBar(0, 100);
        Container c = jf.getContentPane();
        c.add(jpb);
        jf.setBounds(100, 100, 200, 100);
        jf.setVisible(true);
      public void setValue(long value)
        jpb.setValue((int)(value * 100 / max));
      public void close()
        jf.dispose();
    }

Maybe you are looking for

  • SAP EarlyWatch Alert in SAP ECC and SAP PI

    Hi Experts, Every week in SAP EarlyWatch Alert report in PI as well as SAP ECC, shows PI consuming highest resource in SAP ECC by the SAPMHTTP. Example as below: Initial System Initial Action Total Resp. Time in s % of RFC Load Avg. Response Time Avg

  • Is there a way to view the notebook layout view on Word for mac on an iPad?

    Is there a way to view the notebook layout view on Word for mac on an iPad?

  • Material Revers with 262

    Dear Guru, i have one scenario we create one Maintenance order with one components material after that issued the material with full quantity against PM order or reservation now when i want to revers some qty with T CODE MB21 and movement type  262 s

  • Href does not display when page is posted live

    I am using CS3 on Mac OS 10.6. The page previews perfectly in Safari. When I email the page to our server, the href links are missing. For example, the banner doesn't use the correct font, and the background color the the whole page is missing. Pleas

  • Parallel Transaction recovery caught exception 30319

    Hi, Database - Oracle 11.1.0.7 Server - RHEL 5.2 A load process which was to load 7 milllion records was killed after 4 hours because it had several errors in the alert log - 22238:ORA-04030: out of process memory when trying to allocate 10504 bytes