File Input Area ---- Thumbnail

Hi,
I have file input area of a form that users use to upload
pictures. I would like it to have an area beneath to show a
thumbnail of the picture they've just selected.
Does anyone know how I would accomplish this?
Thanks!

Try reading in a String rather than a Label from the ObjectsInputStream
printAll() is printing the components - an InputStream is NOT a visible object it is a pipe through which you receive data into your application
try something like
bb= new FileInputStream("c:\\atest.txt");
cc=new ObjectInputStream(bb);
text.setText((String)cc.readObject());
This is of course assuming that a String is the Object type that has been stored in your file
It might be worth looking at a BufferedReader rather than an ObjectInputStream
Hope this helps

Similar Messages

  • Iphoto 9.5.1 shows mpeg-4 files as a thumbnail, but will only show as a black screen when you double click on it, other video files are able to be played and are viewable.  Why?

    iphoto 9.5.1 shows mpeg-4 video files as a thumbnail, but will not play the video.  When try to play video it shows as a black screen.  Other video files play ok- (mpeg, .mov).  What do I have to do to view them?   If I use imovie they will play, but I sometime like to view them in iphoto.  It worked before I upgraded to 9.5.1 and 19.9.2 of the operationg system.

    Select the thrumbnail of one of the videos and use the File ➙ Reveal in Finder ➙ Original menu option.  That should take you to the original mpeg4 file. 
    If it does then try the following:
    1 - launch iPhoto with the Command+Option keys held down and rebuild the library.
    2 - Run Option #4, Rebuild Database, followed by Option #1 if needed.
    OT

  • How-to use Excel for the XML file input?

    Hello all,
    Following our discussion with Gerhard Steinhuber on the very nice tutorial from Horst Schaude , "How to upload mass data via XML File Input" , I am starting this new discussion.
    In the comments section of this previous cited tutorial, Rufat Gadirov explains how to use a generated XML from Eclipse instead of your XSD file as your source in Excel.
    However, in spite of all the instructions, I am still facing the same issue in Excel when I try to save my file as XML : "The XML maps in this workbook are not exportable".
    What I try to do is to create one or more Sales Orders with multiple Items in it from a XML File Input, using excel to enter data.
    The part with the File input is working (if I directly upload my file to the webDAV, it creates a sales order instance with multiple items).
    The only missing part is the Excel data input that I cannot make work. Any help on this matter would be greatly appreciated.
    Here is my XML file that I try to use as a source in Excel before inputing data from Excel:
    <?xml version="1.0" encoding="UTF-8"?>
    <p:MySalesOrderUploadedIntegrationInputRequest xmlns:p="http://001365xxx-one-off.sap.com/YUUD0G3OY_" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <MessageHeader>
        <CreationDateTime>2015-03-02T12:00:00.000Z</CreationDateTime>
    </MessageHeader>
        <List actionCode="01" listCompleteTransmissionIndicator="true" reconciliationPeriodCounterValue="0">
            <MySalesOrderUploaded>
              <MySalesOrderUploadedID>idvalue0</MySalesOrderUploadedID>
              <MyBuyerID schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeID="token">token</MyBuyerID>
              <MyDateTime>2015-03-02T12:00:00.000Z</MyDateTime>
              <MyName languageCode="EN">MyName</MyName>
              <MyBillToParty schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyBillToParty>
              <MyDateToBeDelivered>2001-01-01</MyDateToBeDelivered>
              <MyEmployeeResponsible schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyEmployeeResponsible>
              <MySalesUnit schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MySalesUnit>
                <MyItem>
                    <MyItemID>token</MyItemID>
                    <MyItemProductID schemeAgencyID="token" schemeID="token">token</MyItemProductID>
                    <MyItemDescription languageCode="EN">MyItemDescription</MyItemDescription>
                    <MyProductTypeCode>token</MyProductTypeCode>
                    <MyRequestedQuantity unitCode="token">0.0</MyRequestedQuantity>
                    <MyConfirmedQuantity unitCode="token">0.0</MyConfirmedQuantity>
                    <MyNetAmount currencyCode="token">0.0</MyNetAmount>
                </MyItem>
            </MySalesOrderUploaded>
            <MySalesOrderUploaded>
              <MySalesOrderUploadedID>idvalue0</MySalesOrderUploadedID>
              <MyBuyerID schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeID="token">token</MyBuyerID>
              <MyDateTime>2015-03-02T12:00:00.000Z</MyDateTime>
              <MyName languageCode="EN">MyName</MyName>
              <MyBillToParty schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyBillToParty>
              <MyDateToBeDelivered>2001-01-01</MyDateToBeDelivered>
              <MyEmployeeResponsible schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyEmployeeResponsible>
              <MySalesUnit schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MySalesUnit>
                <MyItem>
                    <MyItemID>token</MyItemID>
                    <MyItemProductID schemeAgencyID="token" schemeID="token">token</MyItemProductID>
                    <MyItemDescription languageCode="EN">MyItemDescription</MyItemDescription>
                    <MyProductTypeCode>token</MyProductTypeCode>
                    <MyRequestedQuantity unitCode="token">0.0</MyRequestedQuantity>
                    <MyConfirmedQuantity unitCode="token">0.0</MyConfirmedQuantity>
                    <MyNetAmount currencyCode="token">0.0</MyNetAmount>
                </MyItem>
            </MySalesOrderUploaded>
        </List>
    </p:MySalesOrderUploadedIntegrationInputRequest>
    Thank you all for your attention.
    Best regards.
    Jacques-Antoine Ollier

    Hello Jacques-Antoine,
    I suppose that as you have tried to construct a map from the schema, you have taken the elements from the List level down. In this case I also can't export the map.
    But if you take the elements from the level MySalesOrderUploaded down, you'll get the exportable map (screenshots)
    Best regards,
    Leonid Granatstein

  • Adobe MEdia Encoder Crashes with big files inputed

    Hello,
    There isn't a forum for the Adobe Media Encoder, so I thought this would be a good spot. I am an after effects and Premiere user who likes the idea Adobe seems to have of using the media encoder to cover all my encoding needs.
    My typical workflow, especially since these days I'm doing more shorter form animations, is to render out to a Quicktime Animation codec file as my main archive file. From there, output all the various different web versions, flv, etc from that core archive file. Since my projects usually aren't running more than 5 minutes, this leaves me with a nice 3 - 7gig file.
    Problem: I'm running CS4 and the media encoder crashes when I input files that are in this file size range. The program locks up when I push start que, and then eventually crashes. Works fine with smaller size files that are about under a gig.
    I can run a render out of after effects, which seems to be more stable. But I'd love to be able to use this great new tool.
    Here's my machine specs if it helps:
    PC
    Intel Quad Core Q9550 @ 2.83 ghz
    4gB RAM
    Windows Vista 64 bit ultimate
    All updates current for CS4 apps as of 01/30/08
    Running Adobe Media Encoder V 4.01.078
    Hard drives are nothing special. 7200 rpm western digital internal and external. I've tried all sorts of hard drive configurations, where the input is coming from, where it's going, etc. No difference.
    I have been experimenting with using Lossless AVI's as my "uncompressed" archive file. Works well, but same crashing with the Media Encoder.
    Also tried experimenting with frame size alterations during encoding, no difference there. Also, whatever the output codec is, be it FLV, H264, etc. no difference.
    Anyone have any thoughts or have experienced similar issues? I hope all my MAC friends aren't right, seems like all my attempts to streamline my workflow with this CS4 and beefy PC combo are crashing and burning.
    Anyone else feeling this pain, or have recommendations?
    Thanks,

    Thomas, thanks for your suggestions on Vista optimization. That Sheer Codec looks nice, but hard justify the cost when I've been working for years with essentially uncompressed codecs that work well. Will play more though to see if the cost would actually pay off in the long run though.
    In general I made a decision that it was too early to throw in the towel on my old uncompressed codecs. The Quicktime animation codec has always been for me the safest, most universally accepted, and most reliable "uncompressed" codec. It's always worked in the past, not gonna give up just cuz media Encoder CS4 has troubles.
    Mylenium, thanks for the reminder about the silly platform wars. I've always felt the same as you, but when I'm stressing sometimes the silly propaganda can get to me. Makes me forget that no matter what system ya got, it never works perfect!
    Here's an update. I have trying my best to learn more about the bug and have come to some interesting realizations. The AME does work with larger files, just not the larger files that I had been using at the current moment. Older files of mine as big as 20GB can be inputed into AME with fine results.
    This being said, it scratches out most of the RAM overload thoughts with AME.
    The difference with my current files that were causing AME crashes: larger than a few GB, came from AE, had the 1.21 pixel aspect ratio metadata.
    When I re-interpreted the file in AE into a square pixel aspect ratio, exported it, it was then successfully inputed into AME.
    I have read just now that there were changes in After Effects widescreen pixel aspect ratio interpretation in CS4. Can this change be causing problems in my AME. Not positive, but I'm now thinking after many days of testing that the bug could have its roots somewhere in this ball park.
    If anyone from Adobe is reading this, I would love any ideas you might have on this issue. In general, there is really no support for the Adobe Media Encoder itself. This is not good, considering how it is so necessary for AE and Premiere users like myself.
    Thanks,

  • Warning when trying to launch application over mapped drive "We can't verify who created this file. Are you sure you want to run this file?"

    We have 2 load balanced application servers that map drives with programs on them for users from a central server that are giving the warning "We can't verify who created this file. Are you sure you want to run this file?". Basically how it works
    is a user logs in to one or the other application servers (for example, 10.0.0.1 or 10.0.0.2) and runs a log on script that maps an L:\ drive to the users folder on the central storage server (10.0.0.100). When the user goes to launch the .exe from the L:\
    drive it presents that warning.
    I've looked around and have seen recommendations that you need to add the site to the local intranet zone for IE, but when I try to add L:\ it tells me that I have entered an invalid sequence. It appears that you can only put network shares in that location,
    which is not how we're mapping the drive.
    Has anyone run in to this before and knows how to resolve it?
    Thanks!

    Hi,
    A mapped drive letter is not supported so please try to input \\server or \\server\folder to see if it will help. 
    If you have any feedback on our support, please send to [email protected]

  • Java.sql.SQLException: File input/output error: File input/output error: re

    Hi,
    We are using JCAPS 512. We use oracle eway to connect to Oracle 10g database. But sometimes we are getting the following exception
    and suddenly all jcds stop processing. If we restart the server again job continue processing, otherwise server hangs and nothing get processed.
    Exception is as follows
    java.sql.SQLException: File input/output error: File input/output error: reading: java.io.EOFException in statement [SET TABLE EVENT_STORE INDEX '11183416 55935']
         at org.hsqldb.Trace.getError(Unknown Source)
         at org.hsqldb.Log.runScript(Unknown Source)
         at org.hsqldb.Log.open(Unknown Source)
         at org.hsqldb.Database$Logger.openLog(Unknown Source)
         at org.hsqldb.Database.open(Unknown Source)
         at org.hsqldb.Database.<init>(Unknown Source)
         at org.hsqldb.jdbcConnection.openStandalone(Unknown Source)
         at org.hsqldb.jdbcConnection.<init>(Unknown Source)
         at org.hsqldb.jdbcDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at com.stc.eventmanagement.impl.DBEventStore$EventStoreDB.addNewConnection(DBEventStore.java:359)
         at com.stc.eventmanagement.impl.DBEventStore$EventStoreDB.getConnection(DBEventStore.java:444)
         at com.stc.eventmanagement.impl.DBEventStore$EventStoreDB.executeParameterizedQuery(DBEventStore.java:777)
         at com.stc.eventmanagement.impl.DBEventStore$EventStoreDB.access$000(DBEventStore.java:250)
         at com.stc.eventmanagement.impl.DBEventStore.getEventIDsList(DBEventStore.java:133)
         at com.stc.eventmanagement.impl.DBEventStore.getEventIDsList(DBEventStore.java:115)
         at com.stc.eventmanagement.impl.EventForwarderMBean.cachePersistedEvents(EventForwarderMBean.java:728)
         at com.stc.eventmanagement.impl.EventForwarderMBean.setup(EventForwarderMBean.java:334)
         at com.stc.eventmanagement.impl.EventForwarderMBean.invoke(EventForwarderMBean.java:565)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at com.stc.eventmanagement.impl.EventManagementService.setupEventForwarderMbean(EventManagementService.java:270)
         at com.stc.eventmanagement.impl.EventManagementService.registerMBean(EventManagementService.java:147)
         at com.stc.eventmanagement.impl.EventManagementService.startService(EventManagementService.java:96)
         at com.stc.eventmanagement.impl.EventManagementResourceAdapter.start(EventManagementResourceAdapter.java:75)
         at com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:94)
         at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:74)
         at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:269)
         at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:372)
         at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:204)
         at com.sun.enterprise.server.ConnectorModuleLoader.load(ConnectorModuleLoader.java:87)
         at com.sun.enterprise.server.ConnectorModuleLoader.load(ConnectorModuleLoader.java:108)
         at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:216)
         at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:106)
         at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:183)
         at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:295)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:238)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:186)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(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.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    |#]
    Please provide some suggestions to overcome this  error
    Regards
    Venkatesh.S

    Delete the EventStoreDb.data file (its somewhere in your logical host) and restart the logical host.

  • How to get file input stream from the client machine by JSF Fileupload API?

    Dear Friends,
    How to get the file input stream from the client machine by JSF HtmlFileupload or fileupload API. At present, if i execute the file upload code in the client machine, it is able to get the local path of the file and looking for the file in server machine. So i am getting FileNotFoundException.
    E.g., If a file is located at client machine at following location means "C:\Test\Test.txt",
    uploadClass.getFileuploadComponent().getFilename().toString() returns "C:\Test\Test.txt". But it is looking for that file in server and throwing FileNotFoundException.
    Please post your replies soon.
    Thanks,
    JP

    Depends on which version of JSF you're using. If JSF 1.2, I wouldn't even bother trying to hack this into JSF itself unless you can use something like Seam 2 or richfaces.
    http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_fileUpload.html
    http://docs.jboss.org/seam/2.2.1.CR3/reference/en-US/html/controls.html#d0e29259 (look for s:fileUpload)
    But if I were you, a simple non-jsf form with a servlet works best for taking file uploads.
    As for JSF 2.0, there are other ways of getting it done.
    http://balusc.blogspot.com/2009/12/uploading-files-with-jsf-20-and-servlet.html

  • I have nine, 1-page PDF files that are accessible and need to combine into 1 PDF file.  I have tried appending, adding and the combine PDFs process. The file created is not keeping my changes. The created file is partially accessible but I have to re-fix

    I have nine, 1-page PDF files that are accessible and need to combine into 1 PDF file.  I have tried appending, adding and the combine PDFs process. The file created is not keeping my changes. The created file is partially accessible but I have to re-fix issues I had fixed in the single files. I need suggestions on what else can be done if any. Using Acrobat pro XI.

    Out of habit, I tend to combine PDF files in the Page Thumbnails pane by right-click then "Insert Pages" -> "From File". For me, this preserves the tags from both documents, although the tags may have to be moved into the right location (if I recall correctly the tags for the inserted pages get put at the end of the tag structure, regardless of where the pages are inserted), If I first put the tags for the document to be inserted inside a container tag like Section, it makes the process easier. Moving that set of tags to the right place is the only re-fixing that I recall having to do. What behavior are you experiencing?
    a 'C' student

  • Why can I see the contents of a pages file in the thumbnail but it is blank when I open it? I am using a MacBook running MacOSX 10.7.3 and Pages 4.1 (09)

    My daughter has a MacBook with locked software provided by her school. All week she has been working on her homework in Pages but today when she goes to open the files they are all blank, although the thumbnails show the content and the bottom of the screen shows the number of
    Ages and words. We justcan't see them. Can anyone help her please?

    That crash appears to be casued by the Facebook plug-in.
    Create a new account (systempreferences -> accounts or Users & Groups on 10.7 and 10.8), make a new Library in that account, import some shots  and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account.

  • Files and extensions thumbnails

    Hello Experts,
    I installed fresh copy of yosemite, and after the installation I  have changed the default app for files but the thumbnail of the old app sticked on the files, so how i can make the new app appear on thumbnail?
    I know the procedure of using ctrl + I on the files and change the icon, but i want to do it for all files of the same extensions at once.
    Thx for your help.

    Patrick,
    All I can recommend for CM purposes is what was done at a previous job of mine.
    1. First you need to keep all of the installed Oracle products to include all patches you installed. Our CMs made an Oracle_817 staging area and had sub-directories for the install CD and all patches. An ls might look like this:
    Disk_1
    Patch_1234567
    Patch_1327654NOTE: The patch numbers are made up and for an example only.
    2. If you have a create_db script, you will need to place that in CM. I don't have access to a unix system right now, do a find for create and you should be able to locate the scritp
    3. I would put tnsnames.ora into CM as well. It can be in two places /$ORACLE_HOME/network/admin or /etc
    4. I would put listener.ora file into CM. It is usually found in /$ORACLE_HOME/network/admin
    5. I would put the init<SIS>.ora file into CM. It should be in /$ORACLE_HOME/dbs
    6. Finally, search /etc for all files owned by Oracle and place them into CM
    These are all of the files I can think of. If anyone else knows of other files, please feel free to add them.
    If you are placing these items into CM to help build another DB at a later time, the service name for the new DB should be changed. If you are doing this as a means of recovery, I can tell you from experience that this will take hours to days to recover the database. Get with the sysadmin and make sure you have a good backup and recovery plan and that it works.

  • File Input Adapter - Dynamic Mode

    Hi,
    I want to use dynamicFile and dynamicPath together for file input adapter but I am getting error when I write both of them in DynamicMode parameter. Is it possible somehow?
    Let me explain my scneario. A server is generating logs and I need to read them from ESP. The server writes logs in a file and when size of the file reaches 100MB, logs are started to be written a new log file. So, I need to read each newly coming data from a single log file and also get entries from a new file if previous log file reaches its maximum size.
    How can I handle this kind of request?
    Thanks and regards,
    Bulut

    Hi Alice,
    To be able to use wildcard in the File Parameter, I should choose dynamicPath in dynamicMode paramater. But when I choose dynamicPath, adaptor didn’t read newly written entries (incremental data) in log files.
    Vice versa, to able to get incremental data from a log file I should choose dynamicFile in dynamicMode. This time, I could not use wildcard (*) and I should specify a certain file in File Parameter.
    you can see my adapter codes below:
         1- DynamicFile
    CREATE INPUT WINDOW InputWindow1 SCHEMA (
           Column1 string ,
           Column2 string ) PRIMARY KEY ( Column1 ) ;
    ATTACH INPUT ADAPTER File_Hadoop_CSV_Input1 TYPE toolkit_file_csv_input TO InputWindow1 PROPERTIES csvExpectStreamNameOpcode = FALSE ,
           dir = 'E:/gg/t' ,
           file = 'new2.txt' ,
           dynamicMode = 'dynamicFile' ,
           removeAfterProcess = FALSE ,
           csvDelimiter = ',' ,
           csvDateFormat = '' ,
           csvTimestampFormat = '' ,
           csvHasHeader = FALSE ,
           pollingPeriod = 5 ,
    scanDepth = 0 ;
         2-  DynamicPath
    CREATE INPUT WINDOW InputWindow1 SCHEMA (
           Column1 string ,
           Column2 string ) PRIMARY KEY ( Column1 ) ;
    ATTACH INPUT ADAPTER File_Hadoop_CSV_Input1 TYPE toolkit_file_csv_input TO InputWindow1 PROPERTIES csvExpectStreamNameOpcode = FALSE ,
           dir = 'E:/gg/t' ,
           file = '*' ,
           dynamicMode = 'dynamicPath' ,
           removeAfterProcess = FALSE ,
           csvDelimiter = ',' ,
           csvDateFormat = '' ,
           csvTimestampFormat = '' ,
           csvHasHeader = FALSE ,
           pollingPeriod = 5 ,
    scanDepth = 0 ;
    My new2.txt file includes:
    A,A
    B,B
    C,C
    D,D,
    I could not find a way to handle this situation. Do you have any idea? How can I use both dynamicFile and dynamicPath options together?
    Regards,
    Bulut

  • Firefox is not sending file inputs through iframe

    i know this ain't a programming forum, but i'm having problems with firefox while trying to send file inputs through iframes.
    this is my code
    <pre><nowiki><form id="popup_form_archivo" method="post" action="'subir_imagen.php" target="wk_iframe" enctype="multipart/form-data">
    <input name="accion" value="subirImagen" type="hidden" />
    <input name="wkimg" type="file" id="popup_prompt_archivo" />
    </form>
    <iframe name="wk_iframe" id="wk_iframe" src="about:blank"></iframe></nowiki></pre>
    i send the form inputs to the iframe called wk_iframe, i get the data from the hidden input but not the file input..
    I dont know why is this happening?, because it used to work.
    Works good in safarin, Opera, Chrome, But not with Firefox
    I must say i love firefox and that's what i'm here..
    Please help me..

    I notice a single quote in action="'subir_imagen.php". Is that quote necessary?
    *https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form
    *https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
    This should still be working as the docs indicate.
    Any errors showing in the Web Console (Firefox/Tools > Web Developer;Ctrl+Shift+K) or Browser Console?
    A good place to ask advice about web development is at the mozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the mozillaZine forum site in order to post at that forum.

  • Full bkp currently running, what are the files that are already backed up?

    DB Version:10.2.0.4
    OS : Solaris 10
    Full backup of a huge database (1.5 TB with 540 datafiles) is currently underway. We are getting messages like
    input datafile fno=00021 name=+DGDATA1/fn_lmdata.dbf
    input datafile fno=00052 name=+DGDATA1/fn_675.dbf
    input datafile fno=00059 name=+DGDATA1/fn_binc.dbf
    input datafile fno=00160 name=+DGDATA1/fn_mbi.dbf
    channel s2: starting piece 1 at 27-DEC-10
    channel s1: finished piece 1 at 27-DEC-10
    piece handle=/rmanbkp/opnli_stm0jhlr_1_1.rmbk tag=TAG20101227T063256 comment=NONE
    channel s1: backup set complete, elapsed time: 02:16:18
    channel s1: starting full datafile backupset
    channel s1: specifying datafile(s) in backupset
    input datafile fno=00095 name=+DGDATA1/cti_87.dbf
    input datafile fno=00062 name=+DGDATA1/fn_ws_test.dbf
    input datafile fno=00326 name=+DGDATA1/fn_tr_test.dbf
    input datafile fno=00213 name=+DGDATA1/harp_934.dbf
    input datafile fno=00188 name=+DGDATA1/fn_test_demo2.dbf
    .The files are not backed up alphabetically. We would like to know what are the db files that are already backed up? Is there a command i could run from another RMAN to get the already backed up files.

    I think you can query your catalog for this information.
    Or use
    LIST BACKUP; (in RMAN)
    Or
    alter session set nls_date_format='dd/mm/yy hh24:mi:ss';
    select SID, START_TIME,TOTALWORK, sofar, (sofar/totalwork) * 100 done,
    sysdate + TIME_REMAINING/3600/24 end_at
    from v$session_longops
    where totalwork > sofar
    AND opname NOT LIKE '%aggregate%'
    AND opname like 'RMAN%';
    Or
    -- Datafiles Backed up during past 24 Hours
    SELECT dbfiles||' from '||numfiles "Datafiles backed up",
    cfiles "Control Files backed up", spfiles "SPFiles backed up"
    FROM (select count(*) numfiles from sys.v_$datafile),
    (select count(*) dbfiles
    from sys.v_$backup_datafile a, sys.v_$datafile b
    where a.file# = b.file#
    and a.completion_time > sysdate - 1),
    (select count(*) cfiles from sys.v_$backup_datafile
    where file# = 0 and completion_time > sysdate - 1),
    (select count(*) spfiles from sys.v_$backup_spfile
    where completion_time > sysdate - 1)

  • Spotlight still can't find files that are right in front of me

    Sigh. I'm noticing that Spotlight still cant find files correctly. Maybe I'm the stupid one here, but when I do a search on "This Mac" for a "File Name", and the "Kind" is set to "Folders", and I set the word "Wonder" as the search parameter, how come it results in no items, yet I'm LOOKING at a folder called "The Wonder Stuff" in my music library? All the Spotlight file types are checked "on" and nothing is being excluded or is set to private.
    God, I long for the System 9 find. I really do. Almost every day.

    Hi,
    When you say "Spotlight," are you using the text-input box that displays when you click the magnifying glass at the upper right-corner of the menubar? Or are you pressing command-F in the Finder and using a Finder window?
    When I type "Aimee" in the Spotlight text input box mentioned above, it returns/finds the "Aimee Mann" folder that is in my Music folder.
    Have you checked out EasyFind? It might meet your needs.
    Hope this helps!

  • Parameters used for file input

    Hi,
    PARAMETERS : P_FNAME LIKE RLGRAP-FILENAME OBLIGATORY
    PARAMETERS : P_FNAME LIKE IBIPPARMS-PATH OBLIGATORY
    PARAMETERS : P_HFILE LIKE FILENAME-FILEINTERN OBLIGATORY
    PARAMETERS : P_NAME TYPE APQI-GROUPID.
    The above are the various ways of decalring the parameters for file input... can u tell me what is the difference between them & the situations or condition when, which one has to be used ??
    Regards,
    - Hello SAP

    Hi,
    I am assuming you are using the parameters to upload/download a file.
    Here is what they will do for you. Let us see the following file name parameter.
    <i>PARAMETERS : P_FNAME LIKE RLGRAP-FILENAME OBLIGATORY</i>
    Defining the parameter this way will help you in using the obsolete function modules of WS_DOWNLOAD, WS_UPLOAD as their interface requires the filename to be defined this way. But the new replacement for them GUI_DOWNLOAD and GUI_DOWNLOAD defined the filename as a string. Also F4 function modules used for browsing through desktop directories for a file like KD_GET_FILENAME_ON_F4 also use the parameter of this type.
    So, if you are using a function module like the ones above, then you are better of with this parameter.
    Let us see this definition.
    <i>PARAMETERS : P_FNAME LIKE IBIPPARMS-PATH OBLIGATORY</i>
    This is no different from the one above, so it makes no difference.
    Next.
    <i>PARAMETERS : P_HFILE LIKE FILENAME-FILEINTERN OBLIGATORY</i>
    This is typically used for a logical file name, not a physical filename and path. What a logical filename does is that it allows you to define logically define filenames and use them in your programs at the same time giving you(or your network team) the flexibility to change the directory structure. When they change the directory structure, all you have to do is to change your logical path definition, rather than changing every single program that uses the path. FILE is the tcode for this area. Length of this is just 60 and so it may not be sufficient for the filename and path. But if you are using it as a logical file name, then it is useful when using function modules like FILE_GET_NAME which will read in a logical file name and give you the string containing the physical path and file name.
    Now the last one.
    <i>PARAMETERS : P_NAME TYPE APQI-GROUPID.</i>
    This is not at relevant for files. This is used in batch input and this is the name of the batch input session. It is 12 characters long.
    Hope this helps, if not please let us know.
    Srinivas

Maybe you are looking for