Using a JRockit mdmp file and Jrockit double computation precision.

Hi,
I would like to know what can I do to understand the mdmp file.
Is there some tool to exploit its content?
Can I know the content of memory (for instance the object type which is the most represented in the JVM) with this dump?
In fact, we have repeated crash during a gc with JRockit jrockit81sp5_142_08. GC works.. but in vain, as a result the application freezes.
We can't upgrate to version >=1.4.2_14 because one of our fonctional test doesn't work with this version.
(in an XSLT transformation, double computation are not as exact as it used to be : values like 0.0003940225 are with the version 14 shown as 0.00039402250000000006).
I have a complete independent test case.
Is there some option in the JVM that can be set in order to have the same behavior as previous version?
Edited by pedro_cristian at 06/25/2008 3:10 AM

The mdmp file is a Windows MiniDump which can be read by debuggers (for example Visual Studio or Windbg). On other platforms the same file is called a 'core'. The contents are usually quite hard to interpret without access to the source code. The file is used by BEA (Oracle) engineering to understand why a crash has occured and should be included in reports to support.
Regarding the floating point calculation problem: have you tried running with -Xstrictfp? This enables strict (and well specified) floating point calculations in the JVM.
Regards,
/Staffan

Similar Messages

  • I keep getting an error code while trying to import a cd to my itunes: Error occurred while converting the file. The disc you are attempting to use is full. removing files and emptying the recycle bin will free up additional space.  What does this mean?

    I keep getting this error code while trying to import a cd to my itunes: "Error occurred while converting the file. The disc you are attempting to use is full. removing files and emptying the recycle bin will free up additional space."  What does this mean?

    Well it probably means exactly what it says... How much free space is there on your hard drive where the iTunes Media folder resides? I believe there is also an obscure bug that can occur when software doesn't read the true value of the free space properly, and the workaround is, perversely, to duplicate some content so that with less actual free space the software in question perceives it as more. I've no idea if iTunes is affected by such a bug.
    tt2

  • My daughter is currently using my Apple ID with her ipod touch.  I will be upgrading her to an iPhone 4S and would like to use a differnt Apple ID and a new computer and still keep all the current music and apps that she has now.  How do I do this?

    My daughter is currently using my Apple ID with her ipod touch.  I will be upgrading her to an iPhone 4S and would like to use a different Apple ID and a new computer and still keep all the current music and Apps that she has now.  How do I do this?

    Make a new Apple ID for her.
    Use it on her iPhone 4S for iCloud, iMessage and FaceTime.
    Use your ID on her iPhone 4S for iTunes and App Stores.
    Sign in with your Apple ID on iTunes Store (on iTunes app of her new computer)
    Authorize her new computer with your Apple ID in iTunes (iTunes menu>Store>Authorize this Computer)
    Check "Share my Library on my Local Network" in iTunes Preferences in your and her computer
    Sign in Home Sharing of her iTunes with your Apple ID.
    Copy all the Music she wants from the old computer to the new one. (Must be on the same network)
    Copy all the apps she wants from the old computer to the new one. (Must be on the same network)
    Export all playlist as xml files from the old computer to the new one.(right click on the playlist to export and "File>Library>Import Playlist to Import)
    Sync her iPhone 4S with all content she wants from her new computer (all data from the old computer will be deleted)
    Are you sharing Contacts or other data from iCloud?
    Be careful or ask for help about moving from iCloud account to another one.

  • I currently use an iPhone, an iPad, and a Mac computer for business.  The three devices have Contacts Managers that sync with each other through both Google and through Mobile Me.  Currently, this has created a mess of duplicate contacts.  Please researc

    I currently use an iPhone, an iPad, and a Mac computer for business.  The three devices have Contacts Managers that sync with each other through both Google and through Mobile Me.  Currently, this has created a mess of duplicate contacts.  Please advise me on the steps necessary for removing these duplicates and establishing a syncing solution that doesn't regenerate the duplicates.  There are several applications available that remove duplicates, but I am not sure which ones work or don't work.  I want information on this, but most importantly I want to understand how to fix this problem permanently.  Also, I read somewhere that Mac's new operating system, Lion, can help deal with duplicates.  I don't have Lion, but I would be willing to get it, if this would fix the problem.

    Had the same problem with 4 devices (two computers, an iPhone and an iPod). The solution is simple: open the Address Book application in your mac, ask it to locate duplicate entries (under one of the top menu items, "edit" I think), and then ask it to consolidate them: it took me all of three seconds after I figured it out: worked like a charm! PS: if you have more than one mac with unconected Address Books, repeating the operation in the second one may be a good idea.
    Message was edited by: mfduran

  • Upon sync or backup, I receive the message, "iTunes could not back up the iPhone "iPhone name" because and error occurred. I have deleted my backup file and tried another computer, with no success.  Also, the bluetooth function stopped working.

    Upon sync or backup, I receive the message, "iTunes could not back up the iPhone "iPhone name" because and error occurred. I have deleted my backup file and tried another computer, with no success.  Also, the bluetooth function stopped working.

    Hi, EJ13. 
    I see you are having issues with backing up you iPhone and have tried a couple troubleshooting steps.  There are a couple more steps I could recommend in the article below. 
    iOS: Troubleshooting backup issues in iTunes
    http://support.apple.com/kb/ts2529
    Regards,
    Jason H. 

  • ANNOUNCE: JRockit R27.1 and JRockit Mission Control 2.0 released!

    New versions of JRockit and JRockit Mission Control are now available!
    The following new products have been released:
    - JRockit 1.4.2 R27.1
    - JRockit 5.0 R27.1
    - JRockit 6 R27.1 TECHNOLOGY PREVIEW
    - JRockit Mission Control 2.0
    JROCKIT R27.1
    =============
    The JRockit release is a major update from the previous version (R26.4) and includes a large set of enhancements including:
    - A completely new version of JRockit Mission Control (see separate section below)
    - Improved Monitoring and Diagnostics features
    - Improved Supportability features
    - Connect-on-Demand capability for JVMTI and JMX (JRockit 5.0 and 6)
    - A new "Diagnostics Guide" with troubleshooting and performance tuning tips
    - Full support for IPv6 on all platforms
    - Expanded support for Solaris/SPARC
    - Enhanced performance
    The 1.4.2 and 5.0 versions of JRockit R27.1 are based on Sun 1.4.2_12 and 1.5.0_08 respectively, and contain all enhancements and fixes made to the Java class libraries from those Sun releases.
    JRockit 6 R27.1 is a tech preview based on 1.6.0-rc-b97 from Sun. The public GA of JRockit 6 is expected to be in the first half of 2007, and will bring a larger set of performance enhancements. For feedback on this release, please use our user forums at forums.bea.com/bea/forum.jspa?forumID=2009.
    The connect-on-demand capabilities in JRockit 5.0 and 6 are similar to those provided in Sun Java SE 6 and enable developers to connect to locally running JRockit processes without being forced to start JRockit with specific command line options. For JMX there is also an autodiscovery mechanism for remote connections which is very useful in development environments.
    For Solaris/SPARC we have added a JRockit 1.4.2 version, which in internal measurements has shown to be very competetive to Sun's 1.4.2 implementation on Solaris/SPARC. Definitely worth checking out! (Note: WLS 8.1 does not officially support running on this JRockit version.)
    On the performance side, there are enhancements for WLS applications (10-15%), memory-intensive applications (10-15%) and improved out-of-the-box performance (up to 25%), all based on internal measurements.
    Release notes:
    http://e-docs.bea.com/jrockit/releases/R27/relnotes/r27_notes.html
    Docs home:
    http://e-docs.bea.com/jrockit/webdocs/index.html
    NEW! Diagnostics Guide:
    http://e-docs.bea.com/jrockit/geninfo/diagnos/index.html
    Download pages:
    http://commerce.bea.com/products/weblogicjrockit/jrockit_prod_fam.jsp
    JROCKIT MISSION CONTROL 2.0
    ===========================
    Together with JRockit R27.1 we are releasing a completely new version of JRockit Mission Control. The separate tools in JMC 1.0 have been integrated into one single GUI based on Eclipse RCP, which means that any user of the Eclipse IDE should feel at home. All tools features from Mission Control 1.0 are of course still available, and we continue our drive towards exposing all data about your Java application that JRockit has access to. You will also find a large set of usability improvements, including:
    - Drag-and-drop support
    - Configurable views
    - Online and (for the Runtime Analyzer) context-sensitive help
    - Connect-on-demand to local JVMs and autodiscover remote JVMs
    One particular area of interest is GC profiling, where much more detailed metrics are available, which can help drill down into the causes for long GC pause times and spikes.
    Release notes:
    http://edocs.bea.com/jrockit/tools/relnotestools/relnotestools2.html
    There is no separate download for JRockit Mission Control, instead it is included in the JRockit R27.1 JDK downloads for Windows and Linux/x86. To start using the tools, install JRockit and select JRockit Mission Control from the Windows Start menu, or launch the $JROCKIT_HOME/bin/jrmc executable.
    Documentation is bundled with the installation and available from the Help menu.
    If you have any questions, comments or concerns, please visit our user forums at forums.bea.com/bea/forum.jspa?forumID=2009.
    Happy holidays!
    Henrik Stahl
    Product Manager

    Hi,
    I have tried and installed the version R27.1.0-109-73164-1.5.0_08-20061129-1415-linux-x86_64 on our 16GB RAM
    with 4 dual-core Opteron processor.
    JAVA_OPTS="-server -Xms800M -Xmx4000M -Djava.net.preferIPv4Stack=true -Xpausetarget=2500ms -Xverboselog:/var/log/javavm.log -Xverbose:gc,memory -Xverbosetimestamp -Xgcpause -Xgcreport -Xstrictfp -XXexitOnOutOfMemory -XXdumpFullState -XXstaticCompaction -XXcompactRatio:10 "
    After 5 secs of jvm startup I receive the follwing trace (without any DUMP-file):
    java.lang.OutOfMemoryError: class allocation JVM@check_alloc (src/jvm/model/classload/classalloc.c:1
    22). 42216 bytes requested. Java heapsize=838860800, paged memory=0/0.
    Probable cause: Too large java heap setting.
    Try to reduce the Java heap size using -Xmx:<size> (e.g. "-Xmx128m")
    at java/lang/Class.getDeclaredMethods0(Z)[Ljava/lang/reflect/Method;(Native Method)
        at java/lang/Class.privateGetDeclaredMethods(Class.java:2395)
        at java/lang/Class.getMethod0(Class.java:2642)
        at java/lang/Class.getMethod(Class.java:1579)
        at org/apache/xalan/processor/XSLTAttributeDef.setAttrValue(XSLTAttributeDef.java:1611)
        at org/apache/xalan/processor/XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProces
    sor.java:338)
        at org/apache/xalan/processor/XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProces
    sor.java:263)
        at org/apache/xalan/processor/ProcessorTemplateElem.startElement(ProcessorTemplateElem.java:76)
        at org/apache/xalan/processor/StylesheetHandler.startElement(StylesheetHandler.java:623)
        at org/apache/xerces/parsers/AbstractSAXParser.startElement(Lorg/apache/xerces/xni/QName;Lorg/ap
    ache/xerces/xni/XMLAttributes;Lorg/apache/xerces/xni/Augmentations;)V(Unknown Source)
        at org/apache/xerces/impl/XMLNSDocumentScannerImpl.scanStartElement()Z(Unknown Source)
        at org/apache/xerces/impl/XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Z)Z(
    Unknown Source)
        at org/apache/xerces/impl/XMLDocumentFragmentScannerImpl.scanDocument(Z)Z(Unknown Source)
        at org/apache/xerces/parsers/XML11Configuration.parse(Z)Z(Unknown Source)
        at org/apache/xerces/parsers/XML11Configuration.parse(Lorg/apache/xerces/xni/parser/XMLInputSour
    ce;)V(Unknown Source)
        at org/apache/xerces/parsers/XMLParser.parse(Lorg/apache/xerces/xni/parser/XMLInputSource;)V(Unk
    nown Source)
        at org/apache/xerces/parsers/AbstractSAXParser.parse(Lorg/xml/sax/InputSource;)V(Unknown Source)
        at org/apache/xerces/jaxp/SAXParserImpl$JAXPSAXParser.parse(Lorg/xml/sax/InputSource;)V(Unknown
    Source)
        at org/apache/xalan/processor/TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:92
    0)
        at org/jboss/deployment/XSLSubDeployer.createService(XSLSubDeployer.java:141)
        at org/jboss/system/ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
        at org/jboss/system/ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
        at sun/reflect/GeneratedMethodAccessor2.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/
    Object;(Unknown Source)
        at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java/lang/reflect/Method.invoke(Method.java:585)
        at org/jboss/mx/interceptor/ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org/jboss/mx/server/Invocation.dispatch(Invocation.java:94)
        at org/jboss/mx/server/Invocation.invoke(Invocation.java:86)
        at org/jboss/mx/server/AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org/jboss/mx/server/MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org/jboss/system/ServiceController$ServiceProxy.invoke(ServiceController.java:978)
        at $Proxy0.create()V(Unknown Source)
        at org/jboss/system/ServiceController.create(ServiceController.java:330)
        at org/jboss/system/ServiceController.create(ServiceController.java:273)
        at sun/reflect/GeneratedMethodAccessor4.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/
    Object;(Unknown Source)
        at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java/lang/reflect/Method.invoke(Method.java:585)
        at org/jboss/mx/interceptor/ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org/jboss/mx/server/Invocation.dispatch(Invocation.java:94)
        at org/jboss/mx/server/Invocation.invoke(Invocation.java:86)
        at org/jboss/mx/server/AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org/jboss/mx/server/MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org/jboss/mx/util/MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy4.create(Ljavax/management/ObjectName;)V(Unknown Source)
        at org/jboss/deployment/SARDeployer.create(SARDeployer.java:258)
        at org/jboss/deployment/MainDeployer.create(MainDeployer.java:953)
        at org/jboss/deployment/MainDeployer.deploy(MainDeployer.java:807)
        at org/jboss/deployment/MainDeployer.deploy(MainDeployer.java:771)
        at jrockit/vm/RNI.c2java(JJJJ)V(Native Method)
        at jrockit/vm/Reflect.invokeMethod(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava
    /lang/Object;(Native Method)
        at sun/reflect/NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Lja
    va/lang/Object;)Ljava/lang/Object;(Native Method)
        at sun/reflect/NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java/lang/reflect/Method.invoke(Method.java:585)
        at org/jboss/mx/interceptor/ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org/jboss/mx/server/Invocation.dispatch(Invocation.java:94)
        at org/jboss/mx/interceptor/AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org/jboss/mx/server/Invocation.invoke(Invocation.java:88)
        at org/jboss/mx/interceptor/ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor
    .java:142)
        at org/jboss/mx/server/Invocation.invoke(Invocation.java:88)
        at org/jboss/mx/server/AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org/jboss/mx/server/MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org/jboss/mx/util/MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy8.deploy(Ljava/net/URL;)V(Unknown Source)
        at org/jboss/deployment/scanner/URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
        at org/jboss/deployment/scanner/URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
        at org/jboss/deployment/scanner/AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymen
    tScanner.java:263)
        at org/jboss/deployment/scanner/AbstractDeploymentScanner.startService(AbstractDeploymentScanner
    .java:336)
        at org/jboss/system/ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
        at org/jboss/system/ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
        at sun/reflect/GeneratedMethodAccessor2.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/
    Object;(Unknown Source)
        at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java/lang/reflect/Method.invoke(Method.java:585)
        at org/jboss/mx/interceptor/ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org/jboss/mx/server/Invocation.dispatch(Invocation.java:94)
        at org/jboss/mx/server/Invocation.invoke(Invocation.java:86)
        at org/jboss/mx/server/AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org/jboss/mx/server/MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org/jboss/system/ServiceController$ServiceProxy.invoke(ServiceController.java:978)
        at $Proxy0.start()V(Unknown Source)
        at org/jboss/system/ServiceController.start(ServiceController.java:417)
        at sun/reflect/GeneratedMethodAccessor9.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/
    Object;(Unknown Source)
        at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java/lang/reflect/Method.invoke(Method.java:585)
        at org/jboss/mx/interceptor/ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org/jboss/mx/server/Invocation.dispatch(Invocation.java:94)
        at org/jboss/mx/server/Invocation.invoke(Invocation.java:86)
        at org/jboss/mx/server/AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org/jboss/mx/server/MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org/jboss/mx/util/MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy4.start(Ljavax/management/ObjectName;)V(Unknown Source)
        at org/jboss/deployment/SARDeployer.start(SARDeployer.java:302)
        at org/jboss/deployment/MainDeployer.start(MainDeployer.java:1007)
        at org/jboss/deployment/MainDeployer.deploy(MainDeployer.java:808)
        at org/jboss/deployment/MainDeployer.deploy(MainDeployer.java:771)
        at org/jboss/deployment/MainDeployer.deploy(MainDeployer.java:755)
        at jrockit/vm/RNI.c2java(JJJJ)V(Native Method)
        at jrockit/vm/Reflect.invokeMethod(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava
    /lang/Object;(Native Method)
        at sun/reflect/NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Lja
    va/lang/Object;)Ljava/lang/Object;(Native Method)
        at sun/reflect/NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java/lang/reflect/Method.invoke(Method.java:585)
        at org/jboss/mx/interceptor/ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org/jboss/mx/server/Invocation.dispatch(Invocation.java:94)
        at org/jboss/mx/interceptor/AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org/jboss/mx/server/Invocation.invoke(Invocation.java:88)
        at org/jboss/mx/interceptor/ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor
    .java:142)
        at org/jboss/mx/server/Invocation.invoke(Invocation.java:88)
        at org/jboss/mx/server/AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org/jboss/mx/server/MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org/jboss/mx/util/MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy5.deploy(Ljava/lang/String;)V(Unknown Source)
        at org/jboss/system/server/ServerImpl.doStart(ServerImpl.java:482)
        at org/jboss/system/server/ServerImpl.start(ServerImpl.java:362)
        at org/jboss/Main.boot(Main.java:200)
        at org/jboss/Main$1.run(Main.java:464)
        at java/lang/Thread.run(Thread.java:595)
        at jrockit/vm/RNI.c2java(JJJJ)V(Native Method)
        -- end of trace
    JRockit aborted: Out of memory (68)
    Failed to acquire native memory. Try reducing Java heap size using -Xmx:<size> (i.e "-Xmx16m")
    If I change the -Xmx parameter from -Xmx4000M to -Xmx3000M
    than it didn't work, but
    if I change the -Xmx parameter from -Xmx4000M to -Xmx2900M
    than it works.
    (The hint to change -Xmx to -Xmx16m is great on a 16GB RAM machine,.. :-) )
    Any ideas?
    How can I use 4GB java-heap ?
    Greetings Martin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • NEED TO RECOVER A DATABASE USING RMAN with CONTROL FILE AND NO RMAN CATALOG, DISK FAILURE..

    Hello All,
    The disk failure caused our production data on the disk to be resotred with the backup data available and recovered through RMAN with cotrolfile , and no catalog DB is configured.
    I had the restored the spfile and control file then recovered the database,
    startup nomount;
    RESTORE SPFILE FROM ' path '  ;
    Shutdown immediate;
    startup nomount
    Restore controfile from autobackup;
    restore database;
    [AT POINT , A MESSAGE PROMPTED LIKE " failur of restored command - some targets not found"  (thinking may be few archives are not found, i proceeded to incomeplete recovery of DB) ]
    recover database;
    Finished reocvery .
    Now in the Grid control i see that 60 blocks of a particular datafile are corrupted and needs recovery. Do i need to get the data file resotred again and recover it or any simple way to recover this data file
    When i perform the block recovery , it says recovery failed and when i run the data file recovery it succeeds. Please provide you inputs to recover the database as it is production BI database and pretty critical to our client.
    Thanks for your valuable time in advance.
    Regards,
    Ran G.

    These is a common problem if the object are created due to NOLOGGIN option. If you check most of the object which are facing block corruption is indexes .
    Use the below query to check the objects :
    It will map each block from v$database_block_corruption to either a segment or if the block is free.
    $ sqlplus / as sysdba
    set pagesize 2000
    set linesize 250
    SELECT e.owner, e.segment_type, e.segment_name, e.partition_name, c.file#
    , greatest(e.block_id, c.block#) corr_start_block#
    , least(e.block_id+e.blocks-1, c.block#+c.blocks-1) corr_end_block#
    , least(e.block_id+e.blocks-1, c.block#+c.blocks-1)
    - greatest(e.block_id, c.block#) + 1 blocks_corrupted
    , null description
    FROM dba_extents e, v$database_block_corruption c
    WHERE e.file_id = c.file#
    AND e.block_id <= c.block# + c.blocks - 1
    AND e.block_id + e.blocks - 1 >= c.block#
    UNION
    SELECT s.owner, s.segment_type, s.segment_name, s.partition_name, c.file#
    , header_block corr_start_block#
    , header_block corr_end_block#
    , 1 blocks_corrupted
    , 'Segment Header' description
    FROM dba_segments s, v$database_block_corruption c
    WHERE s.header_file = c.file#
    AND s.header_block between c.block# and c.block# + c.blocks - 1
    UNION
    SELECT null owner, null segment_type, null segment_name, null partition_name, c.file#
    , greatest(f.block_id, c.block#) corr_start_block#
    , least(f.block_id+f.blocks-1, c.block#+c.blocks-1) corr_end_block#
    , least(f.block_id+f.blocks-1, c.block#+c.blocks-1)
    - greatest(f.block_id, c.block#) + 1 blocks_corrupted
    , 'Free Block' description
    FROM dba_free_space f, v$database_block_corruption c
    WHERE f.file_id = c.file#
    AND f.block_id <= c.block# + c.blocks - 1
    AND f.block_id + f.blocks - 1 >= c.block#
    order by file#, corr_start_block#;
    Below oracle support note will help you :
    ORA-1578 / ORA-26040 Corrupt blocks by NOLOGGING - Error explanation and solution (Doc ID 794505.1)
    The Gains and Pains of Nologging Operations (Doc ID 290161.1)
    SQL> select d.NAME as DBF_NAME, t.NAME as TS_NAME, d.UNRECOVERABLE_CHANGE# as NOLOG_CHNG#, to_char(d.UNRECOVERABLE_TIME, 'Dy DD-Mon-YYYY HH24:MI:SS') as NOLOG_TIME from V$DATAFILE d join V$TABLESPACE t on d.TS# = t.TS# order by t.NAME;
    Thanks,
    gssdba.wordpress.com

  • Prevent using special characters in file and folder names?

    I've recently begun adding windows clients to my network. In doing so, I've found that on my file shares from OS X server, the windows clients are unable to see files and folders which have names containing special characters such as / ? < > \ : * | ”
    Unfortunately my accounting department has been creating files with these characters in their names for several years. I would like to find if there is a way to prevent them from using a defined set of characters in the file and folder names to prevent them from "accidentally" doing so in the future.
    I've found that by turning off streams support on SMB in OS X server, that my windows clients can at least see that a file or folder should exist, albeit with a corrupted file name. Removing the special characters from these names allows the proper name to become visible and the file accessible.
    Any info would be greatly appreciated.

    (_seb_) wrote:
    > Gary White wrote:
    >> On Sun, 19 Nov 2006 19:15:04 +0100, "(_seb_)"
    <[email protected]> wrote:
    >>
    >>> "ça alors: it's a déjà-vu"
    >>>
    >>> How can I encode this so it's valid as a
    directory name, yet can be
    >>> displayed as intended when the name is output to
    the page.
    >>> urlencode() does not do the job, neither does
    htmlentities()...
    >>
    >>
    >> What's wrong with:
    >>
    >> $l="ça alors: it's a déjà-vu";
    >> print urlencode($l)."<br>\n";
    >> print htmlspecialchars($l);
    >>
    >> Gary
    >
    >
    > I know that, but what is the name of the directory? It
    has to be a real
    > directory name, not a string stored somewhere.
    >
    > What's a valid encoding for a directory named "ça
    alors: it's a
    > déjà-vu"? I can call a folder like this on my
    Mac, but it won't work on
    > any server...
    >
    >
    >
    PS: basically it's not a url encoding issue.
    I can url encode "ça alors: it's a déjà-vu",
    and pass it in a url query string. But my issue is not
    with an url query string, it's with an actual URL, that is,
    the actual name of the directory. It
    can't be "ça alors: it's a déjà-vu". But I
    want to allow the user to name their directory like that
    if they want. So I need a way to encode this into characters
    that can be used for an actual
    directory on the server.
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

  • Problem using read from spreadsheet file and polar plotting

    Hi to all labview users,
    i am a beginner in labview and i am trying to do a polar plot.
    i read the polar plotting example in labview and it was straightforward.
    I used "write to spreadsheet file" to gather data.
    and they are in the following format
    13  10
    4  20
    8 30
    ....etc
    now. i tried using "read from spreadfile" to get the data into a array, then using "array to cluster" to convert the array into cluster, so i could connect it to the polar plot block
    however, it kept saying i couldnt connect that way, because polar plot uses 1-d array with cluster of 2 element and my source is a cluster of 9 elements....
    but doesnt the "read from spreadfile" block give me a 1-d array? and where does that 9 come from? i only have 3 rows and 2 columns in my data file....
    any guidance would be greatly appreciated.
    thx alot
    Happy guy
    ~ currently final year undergraduate in Electrical Engr. Graduating soon! Yes!
    ~ currently looking for jobs : any position related to engineering, labview, programming, tech support would be great.
    ~ humber learner of LabVIEW lvl: beginner-intermediate

    Helllo,
    I've made an example to try to help you  with that question.
    Notes:
     - the file must have values separeted by tab
     - reading the values from file as you mentioned using "read from spreadfile" you'll get a 2D array and not 1D;
    Software developer
    www.mcm-electronics.com
    PS: Don't forget to rate a good anwser ; )
    Currently using Labview 2011
    PORTUGAL
    Attachments:
    Read Table and plot polar graph.vi ‏26 KB
    teste.txt ‏1 KB

  • 3D Picture Control Using Solid Works VRML File and Moving Individual Components

    Hi, i am new to these forums and am looking for help concerning 3d picture control, i am a undergraduate student doing a second year project to control a 4DoF UAV.
    I'm trying to sort out the 3d simulation of it, i have made the solid works drawings and assembly then exported that to a single WRL file (in the correct format ie. ver. 97) however when trying to import that to Labview i am having difficulty setting the relationships so different parts rotate etc. in the assembly.
    i'll attach the corresponding example vi from labview and my solid work files.
    Any help is very much appreciated
    Thanks
    Tom
    Attachments:
    CDEx Draw Helicopter 3D Model.vi ‏21 KB
    WRL and solid work files.zip ‏4235 KB

    hi again,
    i've tried your suggestion with the naming however, i am using seperate VRML files for the different components and using the main vrml file to control the prent-child relationship etc. however when trying to access that file through labview it can't open it. this is the code within the vrml file
    #VRML V2.0 utf8
    DEF assembly Transform {
    Children [
    Inline {
    url [" Bottom Base.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Revolve Transform {
    Children [
    Inline {
    url [" Top Base.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Elevation Transform {
    Children [
    Inline {
    url [" Arm Pivot.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Connector Transform {
    Children [
    Inline {
    url [" Rod-Base Connector.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Rod Transform {
    Children [
    Inline {
    url [" Rod.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Roll Transform {
    Children [
    Inline {
    url [" Mount Connector.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Pitch Transform {
    Children [
    Inline {
    url [" Mount Pivot.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Mount Transform {
    Inline {
    url [" Arm Mount.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Chassis Transform {
    Inline {
    url [" Chassis.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Gearhead1 Transform {
    Inline {
    url [" i_gearhead.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Gearhead2 Transform {
    Inline {
    url [" i_gearhead-1.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Gearhead3 Transform {
    Inline {
    url [" i_gearhead-2.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Gearhead4 Transform {
    Inline {
    url [" i_gearhead-3.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Shaft1 Transform {
    Inline {
    url [" i_shaft.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Shaft2 Transform {
    Inline {
    url [" i_shaft-1.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Shaft2 Transform {
    Inline {
    url [" i_shaft-2.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Shaft3 Transform {
    Inline {
    url [" i_shaft-3.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Prop1 Transform {
    Inline {
    url [" Propeller.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Prop2 Transform {
    Inline {
    url [" Propeller-1.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Prop3 Transform {
    Inline {
    url [" Propeller-2.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Prop4 Transform {
    Inline {
    url [" Propeller-3.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Shell Transform {
    Inline {
    url [" Shell.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Dome Transform {
    Inline {
    url [" Dome.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000

  • Iphoto wont play movie files and wont double click for zoom or edit

    Hi i bought my first ever macbook a week ago,love everything on it,iphoto worked well but today i wanted to show someone a movie file on my camea which i have in my iphoto libray clicked on it and it usually opens,today nothing!!! this file has opened loads before because its a holiday movie, loads of people have seen it but now nothing.
    Also my double click to zoom or edit preference seems to do nothing whichever box you check in preffence nothing happens.
    Being new to mac i hope i can find some answers!!
    Chris

    Chris:
    Welcome to the Apple Discussions. First Control+click on the movie's thumbnail and select Show File from the contextual menu. When you get to the original movie file double click on it to see if you can open it in Quicktime. If not then it's more a QT issue. If it opens OK in QT go to the next procedure.
    Delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your User/Library/Preferences folder and try again. If iPhoto is still misbehaving log into another account and try the same operations in iPhoto there. If still not working you may have to reinstall iPhoto from the disk it came one. To do so you'll have to delete the current application and all files with "iPhoto" in the file name that reside in the HD/Library/Receipts folder. After you get iPhoto reinstalled run the latest update for it, 7.1.3 if needed.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.≤br>
    Note: There now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • Extracting an image data merge field using only an indesign file and not document.dataMergeProperties.dataMergeFields

    Hi,
    I have kind of a weird requirement but I hope you guys can help out.
    I need to extract all the custom fields used in an indesign file without referencing the dataMergeProperties of a document. Sorry if this is a weird request it is just what I've been told (our system needs to not crash when people upload a variety of in design documents to generate high resolution jpg preview documents).
    I can already get all the text custom fields by looking for "<<" and ">>" in the text frames of a document but I'm having a really hard time finding the image custom fields.
    I tried looking at the rectangles for a given page but that didn't seem to help (but maybe i'm missing some there). I also tried looking at the graphics and images collection of a document but this seemed to return only graphics that are hard coded on the in design document and not the custom image fields.
    Any help would be appreciated!

    Uggg....
    Found the answer after I realized I was looking at the wrong SDK (5.0 instead of 6.0)
    I'm using the doc.hyperlinkPageItemSources property to get these images. It also looks like you can get the image data merge fields from DataMergeImagePlaceholder (but rememeber I couldn't access this).

  • Use Automator to move files and folder structure to another folder, retaining destination contents

    I have been struggling trying to setup Automator to move files and folder structure to another folder, retaining the destination contents.  Basically, I need to add files at the destination, within the same folder structure that exists at the source.  Here's some details about the scenario:
    -I have PDF files that I create on a seperate computer than I my daily use machine
    -For security reasons, the source computer doesn't have access to any shares on the destination computer
    -The destination computer has access to shares on the source computer
    -I want to delete the original PDFs at the source after they are moved or copied
    I haven't been able to get Automator to move or copy the folder contents (files and subfolders) without dropping everything copied at the top level of the destination, resulting in many duplicate folders and a broken folder structure.
    So far I've only had luck getting this to work at the command line, but I'd really like to have this setup in Automator so that I could have either a service or application that I could use for any folder, prompting for the source and destination folders.  I'm a relatively new Mac user with limited Linux experience, so this is the command that I've cobbled together and currently accomplishes what I'm looking for:
    ditto /Volumes/SMB_Temp/SOURCE ~/Desktop/Documents/DESTINATION
    cd /Volumes/SMB_Temp/SOURCE
    find . -type f -name "*.pdf" -exec rm -f {} \;
    Thanks for any ideas!

    If you have a command-line syntax that works, why not just create an Automator workflow with a single 'Utilities -> Run Shell Script' action, where that action has your (working) shell commands?
    Seems way, way simpler to me than trying to reinvent the wheel and transcribe shell commands into individual Automator actions

  • JButton method use BOF(Begin Of File) and EOF(End Of File) like VB?

    hii all friends :)
    I use Oracle Jdeveloper 10G to design with JClient Method.
    i want design navigation button use JButton(swing) not use JUNavigationBar.
    but i don,t understand how can i check last record and fist record like in Visual basic use Method BOF(Begin Of File) and EOF(End Of File)? What method/syntax in java i use it?
    Can u(all friend in comunity forum) help and teach me how?..
    Befors, thanks alot :)
    regards
    Fok Shen

    Thank,s kanad.
    I already try it, but method "isBeforeFirst" and "isAfterLast" not found in javax.swing.Jbutton.
    i used Oracle Jdeveloper 10G or version 9.0.5.2 , choose swing/Jclient for ADF under the client tier node and then choose Empty Form Wizard to build an application based on the business components From Table.
    i use JMenuBar to create MDI Form.
    this is Master Application: JClientForm.java
    =============
    package JClientTemp.view;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import oracle.jbo.RowIterator;
    import oracle.jbo.Row;
    import oracle.jbo.common.DefLocaleContext;
    import oracle.jbo.uicli.mom.JUMetaObjectManager;
    import oracle.jbo.uicli.binding.*;
    import oracle.jbo.uicli.controls.*;
    import oracle.jbo.uicli.*;
    import oracle.jbo.common.JBOClass;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import oracle.adf.model.*;
    import oracle.adf.model.binding.*;
    import oracle.adf.model.generic.*;
    import java.util.HashMap;
    import java.util.ArrayList;
    import oracle.jbo.uicli.jui.*;
    import javax.swing.JMenuBar;
    import javax.swing.JMenu;
    import javax.swing.JMenuItem;
    import javax.swing.KeyStroke;
    import java.awt.event.KeyEvent;
    import java.awt.Event;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    public class JClientForm extends JFrame
    //public static TypeForm FormType(); // Syntax untuk Panggil form
    // form layout
    private GridLayout gridLayout = new GridLayout();
    private BorderLayout borderLayout = new BorderLayout();
    //private TypeForm FormType = new TypeForm();
    private TypeForm FormType; // Setting variable untuk call frame
    // panel definition used in design time
    private JUPanelBinding panelBinding = new JUPanelBinding("JClientFormUIModel");
    // Navigation bar
    // private JUNavigationBar navBar = new JUNavigationBar();
    // The status bar
    private JUStatusBar statusBar = new JUStatusBar();
    // The form's top panel
    private JPanel topPanel = new JPanel();
    private JPanel dataPanel = new JPanel();
    private JMenuBar menubarFrame = new JMenuBar();
    private JMenu menuFile = new JMenu();
    private JMenuItem itemFileCompList = new JMenuItem();
    private JMenuItem itemFileType = new JMenuItem();
    private JMenuItem itemFileInventory = new JMenuItem();
    private JMenuItem itemFileExit = new JMenuItem();
    //private JUNavigationBar hiddenNavBar = new JUNavigationBar();
    * the JbInit method
    public void jbInit() throws Exception
    // form layout
    dataPanel.setLayout(null);
    menuFile.setText("File");
    menuFile.setMnemonic('F');
    itemFileCompList.setText("Computer List");
    itemFileCompList.setMnemonic('C');
    itemFileType.setText("Type");
    itemFileType.setMnemonic('T');
    itemFileType.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F4, Event.ALT_MASK, false));
    itemFileType.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    itemFileType_actionPerformed(e);
    itemFileInventory.setText("Inventory");
    itemFileInventory.setMnemonic('I');
    itemFileExit.setText("Exit");
    itemFileExit.setMnemonic('X');
    itemFileExit.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F4, Event.ALT_MASK, false));
    itemFileExit.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    item_file_exit_action(e);
    this.getContentPane().setLayout(gridLayout);
    this.setTitle("Master Form");
    this.setJMenuBar(menubarFrame);
    topPanel.setLayout(borderLayout);
    this.getContentPane().add(topPanel);
    this.setSize(new Dimension(400, 300));
    //topPanel.add(navBar, BorderLayout.NORTH);
    topPanel.add(dataPanel, BorderLayout.CENTER);
    topPanel.add(statusBar, BorderLayout.SOUTH);
    menuFile.add(itemFileCompList);
    menuFile.add(itemFileType);
    menuFile.add(itemFileInventory);
    menuFile.addSeparator();
    menuFile.add(itemFileExit);
    menubarFrame.add(menuFile);
    //hiddenNavBar.setModel(JUNavigationBar.createPanelBinding(panelBinding, hiddenNavBar));
    //navBar.setModel(JUNavigationBar.createPanelBinding(panelBinding, navBar));
    statusBar.setModel(JUStatusBar.createPanelBinding(panelBinding, statusBar));
    public static void main(String [] args)
    try
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    catch(Exception exemp)
    exemp.printStackTrace();
    try
    // bootstrap application
    JUMetaObjectManager.setBaseErrorHandler(new JUErrorHandlerDlg());
    JUMetaObjectManager mgr = JUMetaObjectManager.getJUMom();
    mgr.setJClientDefFactory(null);
    BindingContext ctx = new BindingContext();
    ctx.put(DataControlFactory.APP_PARAM_ENV_INFO, new JUEnvInfoProvider());
    ctx.setLocaleContext(new DefLocaleContext(null));
    HashMap map = new HashMap(4);
    map.put(DataControlFactory.APP_PARAMS_BINDING_CONTEXT, ctx);
    mgr.loadCpx("DataBindings.cpx", map);
    JClientForm frame = new JClientForm();
    frame.setBindingContext(ctx);
    frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    Dimension frameSize = frame.getSize();
    // run this form
    if (frameSize.height > screenSize.height)
    frameSize.height = screenSize.height;
    if (frameSize.width > screenSize.width)
    frameSize.width = screenSize.width;
    frame.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);
    frame.setVisible(true);
    catch(Exception ex)
    JUMetaObjectManager.reportException(null, ex);
    System.exit(1);
    private int _popupTransactionDialog()
    if (panelBinding == null || panelBinding.getPanel() == null)
    return JOptionPane.NO_OPTION;
    if (panelBinding.isTransactionDirty())
    Object [] options = {"Commit", "Rollback"};
    int action = JOptionPane.showOptionDialog(JClientForm.this, "How do you want to close the transaction?", "Transaction open", JOptionPane.YES_NO_OPTION, JOptionPane.INFORMATION_MESSAGE, null, options, options[(0)]);
    switch (action)
    case JOptionPane.NO_OPTION:
    hiddenNavBar.doAction(JUNavigationBar.BUTTON_ROLLBACK);
    break;
    case JOptionPane.CLOSED_OPTION:
    break;
    case JOptionPane.YES_OPTION:
    default:
    hiddenNavBar.doAction(JUNavigationBar.BUTTON_COMMIT);
    break;
    return action;
    return JOptionPane.NO_OPTION;
    public JUPanelBinding getPanelBinding()
    return panelBinding;
    public void setPanelBinding(JUPanelBinding binding)
    if (binding.getPanel() == null)
    binding.setPanel(topPanel);
    if (panelBinding == null || panelBinding.getPanel() == null)
    try
    panelBinding = binding;
    jbInit();
    catch(Exception ex)
    panelBinding.reportException(ex);
    * The default constructor for form
    public JClientForm()
    addWindowListener(new WindowAdapter()
    public void windowClosing(WindowEvent e)
    //int action = _popupTransactionDialog();
    //if (action != JOptionPane.CLOSED_OPTION)
    panelBinding.releaseDataControl();
    setVisible(false);
    dispose();
    System.exit(0);
    public void setBindingContext(BindingContext bindCtx)
    if (panelBinding.getPanel() == null)
    panelBinding = panelBinding.setup(bindCtx, this);
    registerProjectGlobalVariables(bindCtx);
    panelBinding.refreshControl();
    try
    jbInit();
    panelBinding.refreshControl();
    catch(Exception ex)
    panelBinding.reportException(ex);
    private void registerProjectGlobalVariables(BindingContext bindCtx)
    JUUtil.registerNavigationBarInterface(panelBinding, bindCtx);
    private void unRegisterProjectGlobalVariables(BindingContext bindCtx)
    JUUtil.unRegisterNavigationBarInterface(panelBinding, bindCtx);
    private void item_file_exit_action(ActionEvent e)
    //int action = _popupTransactionDialog();
    //if (action != JOptionPane.CLOSED_OPTION)
    System.exit(0);
    private void itemFileType_actionPerformed(ActionEvent e)
    if (FormType==null)
    FormType.main2(null);
    else
    //FormType.setVisible(true);
    FormType.setVisible(true);
    ==========
    And Then that is Sub Application : TypeForm.java
    =================
    package JClientTemp.view;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Enumeration;
    import javax.swing.*;
    import javax.swing.event.*;
    import oracle.jbo.RowIterator;
    import oracle.jbo.Row;
    import oracle.jbo.common.DefLocaleContext;
    import oracle.jbo.uicli.mom.JUMetaObjectManager;
    import oracle.jbo.uicli.binding.*;
    import oracle.jbo.uicli.controls.*;
    import oracle.jbo.uicli.*;
    import oracle.jbo.common.JBOClass;
    import java.io.InputStream;
    import java.io.EOFException;
    import java.io.InputStreamReader;
    import oracle.adf.model.*;
    import oracle.adf.model.binding.*;
    import oracle.adf.model.generic.*;
    import java.util.HashMap;
    import java.util.ArrayList;
    import oracle.jbo.uicli.jui.*;
    import javax.swing.JTabbedPane;
    import java.awt.BorderLayout;
    import javax.swing.JPanel;
    import oracle.jbo.uicli.controls.JULabel;
    import java.awt.Rectangle;
    import oracle.jbo.uicli.jui.JULabelBinding;
    import javax.swing.JTextField;
    import javax.swing.text.Document;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.table.TableModel;
    import javax.swing.JButton;
    import javax.swing.ButtonModel;
    import java.awt.Font;
    import javax.swing.SwingConstants;
    import javax.swing.BorderFactory;
    import javax.swing.border.BevelBorder;
    import oracle.jbo.uicli.controls.JUNavigationBar;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import java.awt.Component;
    public class java.io.EOFException extends java.io.IOException
    // Constructors
    public EOFException();
    public EOFException(String s);
    //import javax.swing.table.TableColumnModel;
    //import javax.swing.table.JTableHeader;
    //public static TypeForm FormType();
    public class TypeForm extends JFrame
    // form layout
    private GridLayout gridLayout = new GridLayout();
    private BorderLayout borderLayout = new BorderLayout();
    // panel definition used in design time
    private JUPanelBinding panelBinding = new JUPanelBinding("TypeFormUIModel");
    // Navigation bar
    // private JUNavigationBar navBar = new JUNavigationBar();
    // The status bar
    private JUStatusBar statusBar = new JUStatusBar();
    // The form's top panel
    private JPanel topPanel = new JPanel();
    //private JUNavigationBar hiddenNavBar = new JUNavigationBar();
    private JTabbedPane mainTab = new JTabbedPane();
    private JPanel tabTypeBC = new JPanel();
    private JPanel tabTypeSC = new JPanel();
    private JPanel tabTypeHC = new JPanel();
    private JULabel LblTypeBC = new JULabel();
    private JULabel LblDecTBC = new JULabel();
    private JTextField TxtTypeBC = new JTextField();
    private JTextField TxtDecTBC = new JTextField();
    private JScrollPane TBCScrollPane = new JScrollPane();
    private JTable TypeBCTable = new JTable();
    private JULabel LblTypeSC = new JULabel();
    private JULabel LblDecSC = new JULabel();
    private JTextField TxtTypeSC = new JTextField();
    private JTextField TxtDecTSC = new JTextField();
    private JScrollPane TSCScrollPane = new JScrollPane();
    private JTable TypeSCTable = new JTable();
    private JULabel LblTypeHC = new JULabel();
    private JULabel LblDecTHC = new JULabel();
    private JTextField TxtTypeHC = new JTextField();
    private JTextField TxtDecTHC = new JTextField();
    private JScrollPane THCScrollPane = new JScrollPane();
    private JTable TypeHCTable = new JTable();
    private JButton BtFirst = new JButton();
    private JButton BtPrev = new JButton();
    private JButton BtNext = new JButton();
    private JButton BtLast = new JButton();
    private JButton BtAdd = new JButton();
    private JButton BtDel = new JButton();
    private JButton BtSearch = new JButton();
    private JButton BtSubmit = new JButton();
    private JButton BtCommit = new JButton();
    private JButton BtRollback = new JButton();
    private JButton BFist = new JButton();
    private JButton BPrev = new JButton();
    private JButton BNext = new JButton();
    private JButton BLast = new JButton();
    private JButton BAdd = new JButton();
    private JButton BDelete = new JButton();
    private JButton BSearch = new JButton();
    private JButton BSubmit = new JButton();
    private JButton BCommit = new JButton();
    private JButton BRollBack = new JButton();
    private JButton BtClose = new JButton();
    private JButton BClose = new JButton();
    private JButton BhFirst = new JButton();
    private JButton BhPrev = new JButton();
    private JButton BhNext = new JButton();
    private JButton BhLast = new JButton();
    private JButton BhAdd = new JButton();
    private JButton BhDelete = new JButton();
    private JButton BhSearch = new JButton();
    private JButton BhSubmit = new JButton();
    private JButton BhCommit = new JButton();
    private JButton BhRollback = new JButton();
    private JButton BhClose = new JButton();
    //private TableColumnModel tableColumnModel1 = new javax.swing.table.DefaultTableColumnModel();
    * the JbInit method
    public void jbInit() throws Exception
    // form layout
    this.getContentPane().setLayout(gridLayout);
    this.setTitle("Form Type");
    topPanel.setLayout(borderLayout);
    tabTypeBC.setLayout(null);
    //tabTypeBC.setToolTipText("null");
    tabTypeSC.setLayout(null);
    tabTypeHC.setLayout(null);
    LblTypeBC.setText("jULabel1");
    LblTypeBC.setBounds(new Rectangle(15, 45, 115, 15));
    LblDecTBC.setText("jULabel1");
    LblDecTBC.setBounds(new Rectangle(15, 70, 115, 15));
    TxtTypeBC.setBounds(new Rectangle(135, 45, 85, 20));
    TxtDecTBC.setBounds(new Rectangle(135, 70, 185, 20));
    TBCScrollPane.setBounds(new Rectangle(15, 105, 305, 110));
    TypeBCTable.setEnabled(false);
    TypeBCTable.setEditingColumn(-1);
    TypeBCTable.setEditingRow(-1);
    LblTypeSC.setText("jULabel1");
    LblTypeSC.setBounds(new Rectangle(10, 50, 140, 15));
    LblDecSC.setText("jULabel1");
    LblDecSC.setBounds(new Rectangle(10, 75, 140, 15));
    TxtTypeSC.setBounds(new Rectangle(155, 50, 85, 20));
    TxtDecTSC.setBounds(new Rectangle(155, 75, 155, 20));
    TSCScrollPane.setBounds(new Rectangle(10, 110, 300, 105));
    TypeSCTable.setEnabled(false);
    TypeSCTable.setEditingColumn(-1);
    TypeSCTable.setEditingRow(-1);
    LblTypeHC.setText("jULabel1");
    LblTypeHC.setBounds(new Rectangle(10, 50, 140, 15));
    LblDecTHC.setText("jULabel1");
    LblDecTHC.setBounds(new Rectangle(10, 75, 140, 15));
    LblDecTHC.setToolTipText("null");
    TxtTypeHC.setBounds(new Rectangle(150, 45, 100, 20));
    TxtDecTHC.setBounds(new Rectangle(150, 75, 160, 20));
    THCScrollPane.setBounds(new Rectangle(10, 105, 300, 115));
    TypeHCTable.setEnabled(false);
    TypeHCTable.setEditingColumn(-1);
    TypeHCTable.setEditingRow(-1);
    BtFirst.setText("<<");
    BtFirst.setBounds(new Rectangle(15, 10, 20, 25));
    BtFirst.setFont(new Font("Dialog", 1, 8));
    BtFirst.setToolTipText("Move First Record");
    BtFirst.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtPrev.setText("<");
    BtPrev.setBounds(new Rectangle(35, 10, 20, 25));
    BtPrev.setFont(new Font("Dialog", 1, 8));
    BtPrev.setToolTipText("Move Previous Record");
    BtPrev.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtPrev.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    BtPrev_actionPerformed(e);
    BtNext.setText(">");
    BtNext.setBounds(new Rectangle(55, 10, 20, 25));
    BtNext.setFont(new Font("Dialog", 1, 8));
    BtNext.setToolTipText("Move Next Record");
    BtNext.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtLast.setText(">>");
    BtLast.setBounds(new Rectangle(75, 10, 20, 25));
    BtLast.setFont(new Font("Dialog", 1, 8));
    BtLast.setToolTipText("Move Last Record");
    BtLast.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtAdd.setText("Add");
    BtAdd.setBounds(new Rectangle(95, 10, 25, 25));
    BtAdd.setFont(new Font("Dialog", 1, 10));
    BtAdd.setToolTipText("Add Record");
    BtAdd.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtDel.setText("Del");
    BtDel.setBounds(new Rectangle(120, 10, 25, 25));
    BtDel.setFont(new Font("Dialog", 1, 10));
    BtDel.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtDel.setToolTipText("Delete Record");
    BtSearch.setText("Search");
    BtSearch.setBounds(new Rectangle(145, 10, 40, 25));
    BtSearch.setFont(new Font("Dialog", 1, 10));
    BtSearch.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtSearch.setToolTipText("Search Record");
    BtSubmit.setText("Submit");
    BtSubmit.setBounds(new Rectangle(185, 10, 45, 25));
    BtSubmit.setFont(new Font("Dialog", 1, 10));
    BtSubmit.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtSubmit.setToolTipText("Submit Record");
    BtCommit.setText("Commit");
    BtCommit.setBounds(new Rectangle(230, 10, 45, 25));
    BtCommit.setFont(new Font("Dialog", 1, 10));
    BtCommit.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtCommit.setToolTipText("Commit Command");
    BtRollback.setText("Rollback");
    BtRollback.setBounds(new Rectangle(275, 10, 50, 25));
    BtRollback.setFont(new Font("Dialog", 1, 10));
    BtRollback.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtRollback.setToolTipText("RoolBack Command");
    BFist.setText("<<");
    BFist.setBounds(new Rectangle(10, 10, 20, 25));
    BFist.setFont(new Font("Dialog", 1, 8));
    BFist.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BFist.setToolTipText("Move First Record");
    BPrev.setText("<");
    BPrev.setBounds(new Rectangle(30, 10, 20, 25));
    BPrev.setFont(new Font("Dialog", 1, 8));
    BPrev.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BPrev.setToolTipText("Move Previous Record");
    BNext.setText(">");
    BNext.setBounds(new Rectangle(50, 10, 20, 25));
    BNext.setFont(new Font("Dialog", 1, 8));
    BNext.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BNext.setToolTipText("Move Next Record");
    BLast.setText(">>");
    BLast.setBounds(new Rectangle(70, 10, 20, 25));
    BLast.setFont(new Font("Dialog", 1, 8));
    BLast.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BLast.setToolTipText("Move Last Record");
    BAdd.setText("Add");
    BAdd.setBounds(new Rectangle(90, 10, 25, 25));
    BAdd.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BAdd.setFont(new Font("Dialog", 1, 10));
    BAdd.setToolTipText("Add Record");
    BDelete.setText("Del");
    BDelete.setBounds(new Rectangle(115, 10, 25, 25));
    BDelete.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BDelete.setFont(new Font("Dialog", 1, 10));
    BDelete.setToolTipText("Delete Record");
    BSearch.setText("Search");
    BSearch.setBounds(new Rectangle(140, 10, 40, 25));
    BSearch.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BSearch.setFont(new Font("Dialog", 1, 10));
    BSearch.setToolTipText("Search Record");
    BSubmit.setText("Submit");
    BSubmit.setBounds(new Rectangle(180, 10, 45, 25));
    BSubmit.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BSubmit.setFont(new Font("Dialog", 1, 10));
    BSubmit.setToolTipText("Submit Record");
    BCommit.setText("Commit");
    BCommit.setBounds(new Rectangle(225, 10, 45, 25));
    BCommit.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BCommit.setFont(new Font("Dialog", 1, 10));
    BCommit.setToolTipText("Commit Button");
    BRollBack.setText("Rollback");
    BRollBack.setBounds(new Rectangle(270, 10, 50, 25));
    BRollBack.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BRollBack.setFont(new Font("Dialog", 1, 10));
    BRollBack.setToolTipText("Rollback Button");
    BtClose.setText("Close");
    BtClose.setBounds(new Rectangle(325, 10, 35, 25));
    BtClose.setFont(new Font("Dialog", 1, 10));
    BtClose.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtClose.setToolTipText("Close Sub Program");
    BtClose.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    BtClose_actionPerformed(e);
    BClose.setText("Close");
    BClose.setBounds(new Rectangle(320, 10, 35, 25));
    BClose.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BClose.setFont(new Font("Dialog", 1, 10));
    BClose.setToolTipText("Close Sub Program");
    BClose.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    BClose_actionPerformed(e);
    BhFirst.setText("<<");
    BhFirst.setBounds(new Rectangle(10, 10, 20, 25));
    BhFirst.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhFirst.setFont(new Font("Dialog", 1, 8));
    BhFirst.setToolTipText("Move First Record");
    BhPrev.setText("<");
    BhPrev.setBounds(new Rectangle(30, 10, 20, 25));
    BhPrev.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhPrev.setFont(new Font("Dialog", 1, 8));
    BhPrev.setToolTipText("Move Previous Record");
    BhNext.setText(">");
    BhNext.setBounds(new Rectangle(50, 10, 20, 25));
    BhNext.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhNext.setFont(new Font("Dialog", 1, 8));
    BhNext.setToolTipText("Move Next Record");
    BhLast.setText(">>");
    BhLast.setBounds(new Rectangle(70, 10, 20, 25));
    BhLast.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhLast.setFont(new Font("Dialog", 1, 8));
    BhLast.setToolTipText("Move Last Record");
    BhAdd.setText("Add");
    BhAdd.setBounds(new Rectangle(90, 10, 25, 25));
    BhAdd.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhAdd.setFont(new Font("Dialog", 1, 10));
    BhAdd.setToolTipText("Add Record");
    BhDelete.setText("Del");
    BhDelete.setBounds(new Rectangle(115, 10, 25, 25));
    BhDelete.setFont(new Font("Dialog", 1, 10));
    BhDelete.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhDelete.setToolTipText("Delete Record");
    BhSearch.setText("Search");
    BhSearch.setBounds(new Rectangle(140, 10, 40, 25));
    BhSearch.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhSearch.setFont(new Font("Dialog", 1, 10));
    BhSearch.setToolTipText("Search Record");
    BhSubmit.setText("Submit");
    BhSubmit.setBounds(new Rectangle(180, 10, 45, 25));
    BhSubmit.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhSubmit.setFont(new Font("Dialog", 1, 10));
    BhSubmit.setToolTipText("Submit Record");
    BhCommit.setText("Commit");
    BhCommit.setBounds(new Rectangle(225, 10, 45, 25));
    BhCommit.setToolTipText("Commit Record");
    BhCommit.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhCommit.setFont(new Font("Dialog", 1, 10));
    BhRollback.setText("Rollback");
    BhRollback.setBounds(new Rectangle(270, 10, 50, 25));
    BhRollback.setFont(new Font("Dialog", 1, 10));
    BhRollback.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhRollback.setToolTipText("Rollback Record");
    BhClose.setText("Close");
    BhClose.setBounds(new Rectangle(320, 10, 35, 25));
    BhClose.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhClose.setFont(new Font("Dialog", 1, 10));
    BhClose.setToolTipText("Close Sub Program");
    BhClose.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    BhClose_actionPerformed(e);
    this.getContentPane().add(topPanel);
    this.setSize(new Dimension(400, 300));
    //topPanel.add(navBar, BorderLayout.NORTH);
    topPanel.add(statusBar, BorderLayout.SOUTH);
    TBCScrollPane.getViewport().add(TypeBCTable, null);
    tabTypeBC.add(BtClose, null);
    tabTypeBC.add(BtRollback, null);
    tabTypeBC.add(BtCommit, null);
    tabTypeBC.add(BtSubmit, null);
    tabTypeBC.add(BtSearch, null);
    tabTypeBC.add(BtDel, null);
    tabTypeBC.add(BtAdd, null);
    tabTypeBC.add(BtLast, null);
    tabTypeBC.add(BtNext, null);
    tabTypeBC.add(BtPrev, null);
    tabTypeBC.add(BtFirst, null);
    tabTypeBC.add(TBCScrollPane, null);
    tabTypeBC.add(TxtDecTBC, null);
    tabTypeBC.add(TxtTypeBC, null);
    tabTypeBC.add(LblDecTBC, null);
    tabTypeBC.add(LblTypeBC, null);
    mainTab.addTab("Type Book", tabTypeBC);
    TSCScrollPane.getViewport().add(TypeSCTable, null);
    tabTypeSC.add(BClose, null);
    tabTypeSC.add(BRollBack, null);
    tabTypeSC.add(BCommit, null);
    tabTypeSC.add(BSubmit, null);
    tabTypeSC.add(BSearch, null);
    tabTypeSC.add(BDelete, null);
    tabTypeSC.add(BAdd, null);
    tabTypeSC.add(BLast, null);
    tabTypeSC.add(BNext, null);
    tabTypeSC.add(BPrev, null);
    tabTypeSC.add(BFist, null);
    tabTypeSC.add(TSCScrollPane, null);
    tabTypeSC.add(TxtDecTSC, null);
    tabTypeSC.add(TxtTypeSC, null);
    tabTypeSC.add(LblDecSC, null);
    tabTypeSC.add(LblTypeSC, null);
    mainTab.addTab("Type SoftWare", tabTypeSC);
    mainTab.addTab("Type Hardware", tabTypeHC);
    THCScrollPane.getViewport().add(TypeHCTable, null);
    tabTypeHC.add(BhClose, null);
    tabTypeHC.add(BhRollback, null);
    tabTypeHC.add(BhCommit, null);
    tabTypeHC.add(BhSubmit, null);
    tabTypeHC.add(BhSearch, null);
    tabTypeHC.add(BhDelete, null);
    tabTypeHC.add(BhAdd, null);
    tabTypeHC.add(BhLast, null);
    tabTypeHC.add(BhNext, null);
    tabTypeHC.add(BhPrev, null);
    tabTypeHC.add(BhFirst, null);
    tabTypeHC.add(THCScrollPane, null);
    tabTypeHC.add(TxtDecTHC, null);
    tabTypeHC.add(TxtTypeHC, null);
    tabTypeHC.add(LblDecTHC, null);
    tabTypeHC.add(LblTypeHC, null);
    topPanel.add(mainTab, BorderLayout.CENTER);
    //hiddenNavBar.setModel(JUNavigationBar.createPanelBinding(panelBinding, hiddenNavBar));
    //navBar.setModel(JUNavigationBar.createPanelBinding(panelBinding, navBar));
    statusBar.setModel(JUStatusBar.createPanelBinding(panelBinding, statusBar));
    LblTypeBC.setText("Type Book Code :");
    LblDecTBC.setText("Description :");
    TxtTypeBC.setDocument((Document)panelBinding.bindUIControl("TypeBc1", TxtTypeBC));
    TxtDecTBC.setDocument((Document)panelBinding.bindUIControl("Description1", TxtDecTBC));
    TypeBCTable.setModel((TableModel)panelBinding.bindUIControl("TypeBookView1", TypeBCTable));
    LblTypeSC.setText("Type Software Code :");
    LblDecSC.setText("Description :");
    TxtTypeSC.setDocument((Document)panelBinding.bindUIControl("TypeSc1", TxtTypeSC));
    TxtDecTSC.setDocument((Document)panelBinding.bindUIControl("Description3", TxtDecTSC));
    TypeSCTable.setModel((TableModel)panelBinding.bindUIControl("TypeSoftwareView1", TypeSCTable));
    LblTypeHC.setText("Type Hardware Code :");
    LblDecTHC.setText("Description :");
    TxtTypeHC.setDocument((Document)panelBinding.bindUIControl("TypeHc1", TxtTypeHC));
    TxtDecTHC.setDocument((Document)panelBinding.bindUIControl("Description5", TxtDecTHC));
    TypeHCTable.setModel((TableModel)panelBinding.bindUIControl("TypeHardwareView1", TypeHCTable));
    BtFirst.setModel((ButtonModel)panelBinding.bindUIControl("First", BtFirst));
    BtFirst.setText("<<");
    BtPrev.setModel((ButtonModel)panelBinding.bindUIControl("Previous", BtPrev));
    BtPrev.setText("<");
    BtNext.setModel((ButtonModel)panelBinding.bindUIControl("Next", BtNext));
    BtNext.setText(">");
    BtLast.setModel((ButtonModel)panelBinding.bindUIControl("Last", BtLast));
    BtLast.setText(">>");
    BtAdd.setModel((ButtonModel)panelBinding.bindUIControl("Create", BtAdd));
    BtAdd.setText("Add");
    BtDel.setModel((ButtonModel)panelBinding.bindUIControl("Delete", BtDel));
    BtDel.setText("Del");
    BtSearch.setModel((ButtonModel)panelBinding.bindUIControl("Find", BtSearch));
    BtSearch.setText("Search");
    BtSubmit.setModel((ButtonModel)panelBinding.bindUIControl("Execute", BtSubmit));
    BtSubmit.setText("Submit");
    BtCommit.setModel((ButtonModel)panelBinding.bindUIControl("Commit", BtCommit));
    BtCommit.setText("Commit");
    BtRollback.setModel((ButtonModel)panelBinding.bindUIControl("Rollback", BtRollback));
    BtRollback.setText("Rollback");
    BFist.setModel((ButtonModel)panelBinding.bindUIControl("First1", BFist));
    BFist.setText("<<");
    BPrev.setModel((ButtonModel)panelBinding.bindUIControl("Previous1", BPrev));
    BPrev.setText("<");
    BNext.setModel((ButtonModel)panelBinding.bindUIControl("Next1", BNext));

  • Can I Use Time Machine Restore Files to a New Computer?

    I use Time Machine to backup my data to an external drive. Let's say that my computer crashes and I buy a new computer with Leopard installed.
    Two Questions:
    If I plug my Time Machine drive into the new computer, will I be able to recreate the old files and settings? Or does Time Machine only work to restore information on a specific computer?
    If Time Machine WILL restore the documents onto a new computer, what happens if the first computer is Power PC and the new one is Intel?
    Thanks!
    Message was edited by: Dan D\'Errico

    Dan D'Errico wrote:
    I use Time Machine to backup my data to an external drive. Let's say that my computer crashes and I buy a new computer with Leopard installed.
    Two Questions:
    If I plug my Time Machine drive into the new computer, will I be able to recreate the old files and settings?
    Yes - see my comments below regarding "Migrating User Data From One Mac to Another".
    Or does Time Machine only work to restore information on a specific computer?
    No
    If Time Machine WILL restore the documents onto a new computer, what happens if the first computer is Power PC and the new one is Intel?
    Then you should choose to Migrate your personal data over but NOT Applications. They may likely not be compatible with the new system.
    *_Migrating User Data From One Mac to Another_*
    *Firewire Disk Mode*
    If you have a FireWire cable, you can connect one Mac to the other via FireWire Disk Mode. Then use Migration Assistant to transfer all of your files and applications over from the older Mac. It should result in a virtually identical setup as your previous Mac. Follow the instructions in this KB article:
    “How to use FireWire target disk mode”
    http://support.apple.com/kb/HT1661
    *Using Time Machine Before Initial Launch of New Mac*
    Before starting the new Mac for the first time, attach the hard disk that contains the Time Machine backups from the old Mac.
    Start the new Mac and begin the setup process. At some point it will ask you if you would like to Migrate/Import user data from another computer or a Time Machine backup disk. Follow the prompts and select the date of the backup you would like to restore your user data from. Once the migration is complete use Disk Utility to repair any permissions issues.
    *Using Time Machine After Initial Launch of New Mac*
    If you have already created a User Account on the new Mac using a DIFFERENT Username and Password from the old Mac, then do the following:
    Attach the hard disk containing the previous Macs' Time Machine backups to the new computer.
    Go to Applications --> Utilities --> and launch Migration Assistant.
    At the welcome dialogue click "Continue." You may be required to enter your Admin password.
    For Migration Method chose "From a Time Machine backup or other disk".
    Select the hard disk containing the previous Time Machine backups. (Give Migration Assistant some time as it scans the disk for eligible data to migrate.)
    Now select which User Accounts you would like to migrate over.
    However, if you have already created a User Account on the new Mac using the SAME Username and Password as the old Mac, then you will need to do this:
    Create a new User Admin Account on the new Mac with a completely unique name.
    Now, delete the first User Account you created on the new Mac - The one that is identical to the old Mac. (Of course, backup any important files that were created using the new User Account before deleting it.)
    Finally, use Migration Assistant as described above to move the old User Account data over from the Time Machine backups.
    *Full Backup After Restore*
    Bear in mind that in all cases Time Machine will perform a full backup after a full restore. This is normal. Time Machine will resume incremental backups after the full backup has completed. To view previous backups, Control-click or right-click the Time Machine icon in your Dock or Option-click the Time Machine menu extra and Choose "Browse Other Time Machine Disks," then select your previous backup volume. You will enter Time Machine and be able to browse your previous back ups and restore files. (http://support.apple.com/kb/TS1338)
    Let us know if this was helpful.
    Cheers!

Maybe you are looking for