.pck file (more than 5gb) not de-compressing to smspkgdriveletter$ on BDP

SCCM 2007 R2
.pck file (more than 5gb) not de-compressing to smspkgdriveletter$ on BDP
.pck file which is distributed to BDP is not decompressing to SMSPKG share folder.
.pck file is more than 5GB, i hear that this is a known issue but unfortunately i don't know the work around.:(
Please help!

The 'traditional' way the 32-bit virtual address space is split is 1 : 3GB (kernel : user). RHEL 3 hugemem kernel has a 4 : 4 GB split, recommended for >16GB RAM machines.
In the case of Oracle server on RHEL, the 'default' theoretical max is around 1.7GB for SGA, or 2.7GB with hugemem kernel. That is, if you configure things correctly. E.g. have you set the shm kernel parameters?
What is exactly the problem you run into?

Similar Messages

  • Lync powerpoint presentation error, not able to present ppt file more than 7mb

     Lync powerpoint presention error (either you've lost network connectivity or server is too busy to handle your request...) not able to do ppt file more than 7mb
    Small ppt files are working fine. Is there any settings we are missing?
    Thanks

    Hi Eric/ Edwin,
    I checked the parameters mentioned above every thing set to default.
    MaxContentStorageMb               
    : 500
    MaxUploadFileSizeMb               
    : 500
    MaxMemoryCacheSizeInMB           
    : 75  (This one we changed to 1024 now but still not working)
    CacheSizeInGB                    
    : 15
    PS C:\Users\xyz_lync2013> Get-OfficeWebAppsFarm
    FarmOU                           
    InternalURL                      
    : https://webappint.Int.net/
    ExternalURL                      
    : https://webappext.contoso.com/
    AllowHTTP                        
    : True
    SSLOffloaded                     
    : True
    CertificateName                  
    : web app cert
    EditingEnabled                   
    : False
    LogLocation                      
    : C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS
    LogRetentionInDays               
    : 7
    LogVerbosity                     
    Proxy                            
    CacheLocation                    
    : C:\ProgramData\Microsoft\OfficeWebApps\Working\d
    MaxMemoryCacheSizeInMB           
    : 75
    DocumentInfoCacheSize            
    : 5000
    CacheSizeInGB                    
    : 15
    ClipartEnabled                   
    : False
    TranslationEnabled               
    : False
    MaxTranslationCharacterCount     
    : 125000
    TranslationServiceAppId          
    TranslationServiceAddress        
    RenderingLocalCacheLocation      
    : C:\ProgramData\Microsoft\OfficeWebApps\Working\waccache
    RecycleActiveProcessCount        
    : 5
    AllowCEIP                        
    : False
    ExcelRequestDurationMax          
    : 300
    ExcelSessionTimeout              
    : 450
    ExcelWorkbookSizeMax             
    : 10
    ExcelPrivateBytesMax             
    : -1
    ExcelConnectionLifetime          
    : 1800
    ExcelExternalDataCacheLifetime   
    : 300
    ExcelAllowExternalData           
    : True
    ExcelWarnOnDataRefresh           
    : True
    OpenFromUrlEnabled               
    : False
    OpenFromUncEnabled               
    : True
    OpenFromUrlThrottlingEnabled     
    : True
    PicturePasteDisabled             
    : True
    RemovePersonalInformationFromLogs : False
    AllowHttpSecureStoreConnections  
    : False
    Machines                         
    : {XYZLYN208, XYZLYN209}
    PS C:\Users\xyz_lync2013> 
    Get-CsConferencingConfiguration
    Identity                          
    : Global
    MaxContentStorageMb               
    : 500
    MaxUploadFileSizeMb               
    : 500
    MaxBandwidthPerAppSharingServiceMb : 375
    ContentGracePeriod                
    : 15.00:00:00
    ClientMediaPortRangeEnabled       
    : True
    ClientMediaPort                   
    : 5350
    ClientMediaPortRange              
    : 40
    ClientAudioPort                   
    : 50000
    ClientAudioPortRange              
    : 499
    ClientVideoPort                   
    : 55000
    ClientVideoPortRange              
    : 2499
    ClientAppSharingPort              
    : 57500
    ClientAppSharingPortRange         
    : 2499
    ClientFileTransferPort            
    : 60000
    ClientFileTransferPortRange       
    : 1000
    ClientSipDynamicPort              
    : 7100
    ClientSipDynamicPortRange         
    : 3

  • Is Photoshop CS6 can't save a file more than 2gegabites?

    Is Photoshop CS6 can't save a file more than 2gegabites?

    It depends on the file format, many formats are limited to 2 or 4 Gigabytes.
    PSB (Large Document Format) is not so limited.

  • ORA-13207: incorrect use of the [More than 2D not supported] operator

    Oracle 8.1.7.4:
    The same query works in an Oracle DB on Linux and Windows, but in a Solaris it gives me the following error:
    cc_redes_met_coaxial@ORAG2> SELECT lot_f.lot_id id,
    ROUND(MDSYS.SDO_GEOM.SDO_DISTANCE(lot_geom.geometry, ped_geom.geometry, 0.5),2) dist
    FROM lot_f,
    pedestal_f,
    G_GEOMETRY_0 lot_geom,
    2 G_GEOMETRY_0 ped_geom
    WHERE lot_f.feat_num = lot_geom.feat_num
    3 AND pedestal_f.acc_point_id = 611
    AND pedestal_f.feat_num = ped_geom.feat_num
    4 AND lot_f.g_version+0 = 0
    AND (lot_f.g_next_version > 0 OR lot_f.g_next_version IS NULL)
    5 AND pedestal_f.g_version+0 = 0
    6 AND (pedestal_f.g_next_version > 0 OR pedestal_f.g_next_version IS NULL)
    AND MDSYS.SDO_WITHIN_DISTANCE(lot_geom.geometry, ped_geom.geometry,'distance = 100' ) = 'TRUE';
    7 8 9 10 11 12 13 14 SELECT lot_f.lot_id id,
    ERROR at line 1:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-13207: incorrect use of the [More than 2D not supported] operator
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 84
    ORA-06512: at line 1
    The data is in 3D. I took a look at the trace file but no useful information. It does not have to be 2d, right?
    I can use SDO_WITHIN_DISTANCE with data in 3d, can't I?
    Does anyone know what is going on? Maybe a bug?
    Regards,
    Alex

    Daniel,
    I created the spatial index in 2d, but if I collect stats on all tables the optimizer doesn't use the spatial index.
    I tried to influence the optimizer using hints, but it seems to ignore the hint clause. The query I did is above:
    SELECT /*+ INDEX(lot_geom G_GEOMETRY_0_SI) INDEX(ped_geom G_GEOMETRY_0_SI) */
         lot_f.lot_id id,
    ROUND(MDSYS.SDO_GEOM.SDO_DISTANCE(lot_geom.geometry, ped_geom.geometry, 0.5),2) dist
    FROM lot_f,
    pedestal_f,
    G_GEOMETRY_0 lot_geom,
    G_GEOMETRY_0 ped_geom
    WHERE lot_f.feat_num = lot_geom.feat_num
    AND pedestal_f.acc_point_id = 611
    AND pedestal_f.feat_num = ped_geom.feat_num
    AND lot_f.g_version+0 = 0
    AND (lot_f.g_next_version > 0 OR lot_f.g_next_version IS NULL)
    AND pedestal_f.g_version+0 = 0
    AND (pedestal_f.g_next_version > 0 OR pedestal_f.g_next_version IS NULL)
    AND MDSYS.SDO_WITHIN_DISTANCE(lot_geom.geometry, ped_geom.geometry,
    'distance = 100' ) = 'TRUE';
    So I "forced" a plan that uses the spatial indexes deleting the statistics from the tables that have geometry columns. The execution plan looks like this:
    Execution Plan
    0 SELECT STATEMENT Optimizer=CHOOSE (Cost=2652 Card=10182 Bytes=79969428)
    1 0 CONCATENATION
    2 1 NESTED LOOPS (Cost=876 Card=3428 Bytes=26923512)
    3 2 NESTED LOOPS (Cost=121 Card=1078 Bytes=8450442)
    4 3 NESTED LOOPS (Cost=4 Card=33 Bytes=129492)
    5 4 TABLE ACCESS (FULL) OF 'PEDESTAL_F' (Cost=1 Card=1 Bytes=16)
    6 4 TABLE ACCESS (BY INDEX ROWID) OF 'G_GEOMETRY_0' (Cost=3 Card=3268 Bytes=12771344)
    7 6 INDEX (RANGE SCAN) OF 'G_GEOMETRY_0_PRIMARY' (UNIQUE) (Cost=2 Card=3268)
    8 3 TABLE ACCESS (BY INDEX ROWID) OF 'G_GEOMETRY_0' (Cost=121 Card=3268 Bytes=12794220)
    9 8 DOMAIN INDEX OF 'G_GEOMETRY_0_SI' (Cost=51)
    10 2 TABLE ACCESS (BY INDEX ROWID) OF 'LOT_F' (Cost=1 Card=318 Bytes=4770)
    11 10 INDEX (RANGE SCAN) OF 'GI_LOT_F0_FEAT_NUM_0' (UNIQUE) (Cost=1 Card=318)
    12 1 NESTED LOOPS (Cost=876 Card=3428 Bytes=26923512)
    13 12 NESTED LOOPS (Cost=121 Card=1078 Bytes=8450442)
    14 13 NESTED LOOPS (Cost=4 Card=33 Bytes=129492)
    15 14 TABLE ACCESS (FULL) OF 'PEDESTAL_F' (Cost=1 Card=1 Bytes=16)
    16 14 TABLE ACCESS (BY INDEX ROWID) OF 'G_GEOMETRY_0' (Cost=3 Card=3268 Bytes=12771344)
    17 16 INDEX (RANGE SCAN) OF 'G_GEOMETRY_0_PRIMARY' (UNIQUE) (Cost=2 Card=3268)
    18 13 TABLE ACCESS (BY INDEX ROWID) OF 'G_GEOMETRY_0' (Cost=121 Card=3268 Bytes=12794220)
    19 18 DOMAIN INDEX OF 'G_GEOMETRY_0_SI' (Cost=51)
    20 12 TABLE ACCESS (BY INDEX ROWID) OF 'LOT_F' (Cost=1 Card=318 Bytes=4770)
    21 20 INDEX (RANGE SCAN) OF 'GI_LOT_F0_FEAT_NUM_0' (UNIQUE) (Cost=1 Card=318)
    But when I executed the query, I got:
    cc_redes_met_coaxial@ORAG2> /
    ROUND(MDSYS.SDO_GEOM.SDO_DISTANCE(lot_geom.geometry, ped_geom.geometry, 0.5),2) dist
    ERROR at line 2:
    ORA-03113: end-of-file on communication channel
    Collecting stats on geometry tables makes the query work only because it doesn't use the spatial index.
    I took a look the trace file, but I didn't see any interesting information. I can send you if you want.
    Do you have any clue?
    Regards,
    Alex

  • Loading files more than 7 mb

    Hello,
    I know that there is an issue in BPEL loading files more than 7 mb. By increasing the JVM memory (using the mx parameter) we can bypass that (and it works fine). The problem is we loose the execution trace of the BPEL process in the management console. Is there any workaround for that ?
    Thanks for you input / help on that issue.

    By the way, since it is very large XML files with a lot of children nodes, we cannot split the XML file... ;-)
    Message was edited by:
    emarcoux

  • Hang Form Builder 10.1.2.3 for fmb files more than 2MB at Windows VISTA& 7

    Hi
    When i open fmb files more than 2MB with Form Builder (10.1.2.3) at Windows 7 form builder Hange and Close.
    Please help me if have any configuration or patch for forms builder.
    Regards
    Adel

    hi
    i think thats the VGA card problem check for compitible Driver.
    sarah

  • My iPod classic 160gb don't copy more than 5gb , and when i try to add more ,it's delete every thing and told me to restore again !!

    hi
    my classic ipod 160 gb can't write more than 5gb , and after that it's go slowly and transfer the songs to much slow ,
    when i reject it, it delete every thing i put inside , and told me to restore the device !!
    and the loop start again ! 

    Hi!
    Make sure that you follow the steps you can find in this article: [[Where can I find my Firefox Sync Key?]]
    Your sync key should have the following format: x-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
    Avoid spaces or any additional character. Finally, make sure that in your work computer you are using the same username and passwords as the one at home, just to make sure that the Sync key corresponds to this account.

  • Can more than 1000 notes be uploaded...???

    I have the video iPod, but now I think it ***** couse I cant load more than 1000 notes.
    Can anyone tell me how to change that, and how can I suggest this to Apple....???

    there is a limited amount but i think if you download a form of thigy then you can download that form into the harddrive of th ipod and be able to carry more but the form is illegal and pirated so i wont give it out

  • Hello. Just got Garageband'11 for my ipad 2. Can´t seem to be able to play more than two notes at once on touch keyboard. Help!

    Hello. Just got Garageband'11 for my ipad 2. Can´t seem to be able to play more than two notes at once on touch keyboard. Help!

    Thank you for your response.
    I am trying to sync them both to the same computer (Windows), and with the 2nd ipod, it looks like everything is going to work out fine, until I go to add songs from my itunes music library...then, after a few seconds of me hoping it will work, I get a message that says "Attempting to copy to Lisa's disk failed. The disk could not be read from or written to."
    I thought it might have been my ipod. But then I tried to download songs from my sister's computer, and even my work computer (just to see if it would work), and it did. So I'm not sure what is going on here. Is it my computer, or is it the ipod? Or is it itunes?
    Also, my sister in-law said her issue is similar, in that her itunes doesn't recognize her ipod now that my brother's ipod has been used on their computer. She gets the same message as I do...thus she is unable to download any songs onto her ipod.
    If you have any helpful tips, it would be greatly appreciated.
    Thank you for your time and assistance.
    -- Lisa Soto

  • What phones have max jar file more than 300 kB?

    What phones have max jar file more than 300 kB? Model and max jar size, please.

    300k - thats really much.
    I'm pretty sure no phones support such big midlets when installed over-the-air.
    However, heres a link to the mobile database of Nokia:
    http://www.forum.nokia.com/main/0,6566,015-Band-GSM-9,00.html#matrix
    As you can see, it seems the Nokia6600 doen't have a max-midlet size...
    lg Linuxhippy

  • LP 10 support scala tuning files with more than 12 notes? Does it support octaves larger or smaller than 2/1?

    LP 9 limits the amount of notes in an octave to 12 and the octaves must be 2/1 as far as I know.
    This makes using exotic scales like 31tet or Wendy Carlos Alpha/Beta/Gamma scales impossible.
    The only reason I'd upgrade to LP 10 at this point is if they've fixed that... and the many bugs in LP 9.

    The main issue you are having is that you are using a 32 bit OS. The memory limitations for a 32 bit OS is 4G. If memory is serving me, the way linux allocates memory in a 4 GB system is that it divides it into 4 different chunks. 1G for the kernel, 1G for user processes (aka database instance), 1G for libaries, and the last G I can't remember right now. In essense you have 1G of memory to play with for user processes. You can relink the oracle executables to load lower into memory to give you more space for user apps, but I think the limit here is somewhere around 1.8G. To use more than 4G of memory you need to use either hugemem, or I believe there is another method. You would need to look at the RH doc on how to do this. Is it an option to use the 64bit version of RH? This would eliminate this problem altogether.

  • Help - I need more than 1000 Notes of 4000 characters

    The 4000 character limitation of Notes and the limitation of 1000 Notes and the length of time it takes to load in Notes make using iPod notes very limiting. I've experimented with a few other options which I explain below, BUT MY QUESTION IS does anyone have any other suggestions on how to work around the 4000 character limitation?
    Here is what I have found to be alternative options:
    Split your notes into 4000 character blocks using the split command (open Terminal and type "man split" to read about the command)
    Install Linux on the iPod. This worked with my older iPod but there isn't a Linux for the newer iPod yet.
    Using Contacts "note"
    Summary: Uses a manually created Contacts file to store text of up to 243,185 characters in length. If creating files manually requires special formatting for linebreaks. Compatible with music playback and iTunes sync.
    Contacts are stored on the iPod according to the vCard standard. vCard stores contact entries in vcf files. A single vcf file can contain any number of vCard entries. The iPod firmware looks for the vcf files in the iPod Contacts folder. The Contacts folder can contain any number of vcf files and will load all of them into memory when viewing contacts.
    Contacts synchronized with iTunes are stored in the iSync.vcf file.
    You can paste your text content into an Address Book entry and sync it to the iPod via iTunes. There may be limits in the Address Book application regarding the amount of text it will allow.
    Using any text editor you can create your own vcf files and place them into the Contacts folder as well. Using the org and note attributes in the vCard entry in a vcf file you can create a contact that can display up to 243185 characters of text. A sample vcf file with a single vCard entry would look like this:
    begin:vcard
    version:3.0
    org:Sample Note
    note:You can use Contact notes to get around the 4k limitation of iPod notes. Doing so requires some changes in the syntax of the text however because the vCard format is fairly restrictive.\nFor one thing any line breaks must be converted to a backslash followed by lower case n.\nFor another many symbolic characters must be escaped by preceding them with a backslash.
    end:vcard
    The "org" attribute names the contact, and the "note" attribute contains the text, up to 243,185 characters of text. While a vCard entry can only have a single note attribute, you can have any number of vCard entries in a single vcf file.
    One requirement of this approach is that the text must be edited to a format compatible with the vCard standard. That means that all linebreaks in the text must be converted to a backslash "\" followed by "n", and any symbolic characters should be preceded with backslash.
    The negatives of this approach are that linebreaks must be altered and the notes are mixed in with your contacts. But to the positive they are still viewable while music is playing, and they are left alone by the iTunes synchronization process.
    This method does not interfere with listening to a song. This method is independent of synchronizing with iTunes.
    Using the Calendar "description"
    Summary: Uses a manually created Calendar file or Calendar entries in iCal to store text of up to 20,600 characters in length per calendar event. If creating files manually requires special formatting for linebreaks. Compatible with music playback. NOT compatible with iTunes sync if using a manually created file.
    The iPod supports the vCal standard for displaying calendar information. Version 1.0 of this standard uses vcs files; and version 2.0 of this standard uses ics files. Most calendar programs can export either vcs or ics files and there is plenty of information available online for how to convert data from a calendar application into one of these formats.
    The iPod firmware will display the contents of vcs and ics fles that are located in the iPod Calendars folder.
    Calendar events defined in the vCal standard have a description attribute. The iPod firmware displays the description attribute when displaying the calendar event. It is possible to create a calendar specifically for the purpose of storing text in description attributes. You could create a calendar in a calendar program such as iCal and sync it with the iPod via iTunes, or you could create your own calendar file manually. Unfortunately if you sync calendars using iTunes then iTunes will delete all files in the Calendars folder that it does not directly control, so maintaining any kind of external calendar file is not compatible with syncing calendars using iTunes.
    The iPod can read both vcs and ics calendar files, but for creating your own you should use vcs because vcs doesn't have a line length limit while ics does and requires special line-wrapping. The iPod will display only the first 20600 characters of the event description.
    A simple vcs file with a single fake event would look like this:
    BEGIN:VCALENDAR
    VERSION:1.0
    X-WR-CALNAME:Notes Calendar
    BEGIN:VEVENT
    DTSTART:20070201T220000Z
    DTEND:20070201T230000Z
    SUMMARY:Sample note
    DESCRIPTION;ENCODING=QUOTED-PRINTABLE:=0D=0ALine breaks need to be converted to an equal sign followed by 0D followed by another equals sign followed by 0A. There is no line length limit, so the text can be as long as you need. There may be a reasonable limit imposed by the iPod calendar interface due to scrolling.
    END:VEVENT
    END:VCALENDAR
    Each Calendar in the file is demarcated by the BEGIN:VCALENDAR and END:VCALENDAR statements. The VERSION statement when set to 1.0 indicates a vcs file (2.0 should be used in an ics file). The X-WR-CALNAME statement can be used to indicate a name for the calendar. If no calendar name is specified the iPod uses "Other".
    Each Calendar event is demarcated by the BEGIN:VEVENT and END:VEVENT statements. Each event requires start and end times (DTSTART and DTEND, respectively), a SUMMARY which is the event title, and the DESCRIPTION which is the text you wish to read. Linebreaks in the description text must be converted to "=0D=0A".
    The negatives of this approach are that linebreaks must be altered and the notes are attached to specific dates in the calendar so to find them you would need to navigate to those dates. Of course you could put all notes on the same date, or use different dates or even different calendars (within the same vcs file or not) to organize them.
    This method does not interfere with listening to a song. This method is NOT compatible with syncing Calendars with iTunes if you are using a manually created file.
    Using Music Lyrics
    Summary: Uses the Lyrics section of fake songs to store text of up to 10,000 characters in length per song. Does not require special formatting of text. Incompatible with music playback. Requires the text to be stored in iTunes.
    iTunes allows the lyrics of a song to be attached to the ID3 tags of the song and viewed on the iPod while the song is playing. Technically lyrics can be up to 256 MB in length, but the iPod will only display the first 10000 characters.
    Using lyrics allows notes to be sorted into playlists just as songs are which could be helpful for organizing them. To attach lyrics though there must be a song as well. It is possible to create a very small MP3 that can be used just to attach lyrics to. The process for doing so is described in forum message 2331260, but the short story is:
    - In the iTunes main library window, select a track you want to chop up, and select "Get info". The track cannot be a protected AAC track such as those purchased from the Apple Music Store.
    - Go to the "Options" tab. Set "Start Time" and "Stop Time", corresponding to the start and finish of the chunk of song you want to chop out. Click "OK".
    - Right-click on the track again in the main library window and select "Convert selection to XXX". (The XXX will be whatever file format you happen to have set in your iTunes Importing preferences at the time.)
    - After a little while, iTunes will spit out a second, smaller copy of the track, containing just the music between the Start and Stop times you set in the original track. Rename the new track as you please. You can then use iTunes to paste the lyrics to this song clip.
    The negatives of this approach are that it requires synchronization with iTunes, requires storage of the text on your computer as well as your iPod, requires the creation of fake songs in your Library, and cannot be used while a song is playing (unless the song you are listening to is the song that has the text you want to read in its lyrics).
    Advantages are that this method does not require any editing of the text regarding linebreaks, and this method allows playlists to be used to organize the notes.
    While all of these methods work, none of them are completely ideal. If Contacts could be stored in hierarchical folders then that method would be pretty good.
    Are there any other alternatives that people have found to work well to work around this iPod limitation of 1000 max notes of 4000 max characters?
    Regards,
    Brendan

    The iPod shuffle is a music player. The iPods with screens have always been more than that. If the iPod didn't have a calendar, contacts, and notes I wouldn't have considered buying one. Music playing is nice, but I certainly didn't want to carry around multiple devices needlessly. The iPod and a simple cell phone are enough. When the iPhone comes out maybe I'll be down to one device.
    As for the Palm, having been a Newton user at the time I was never impressed with anything about Palm except its size. The same people who bought cheap PC's instead of Macs bought cheap Palms instead of Newtons. Quantity rather than quality won out.
    Apple learned from that and made the iPod a good size to begin with, otherwise it might have suffered a similar fate.
    The only PDA capability the iPod lacks is the ability to edit its content independently of the computer. That would be handy, but it turns out hasn't been a critical need for me. More often than not I need to look something up not change something while away from my office. There is a good side to this though, if I lost the iPod I would not have to worry a bit about losing any Contacts, Calendar events, or Music. Notes though, well that is a different matter, those I backup.
    I guess one person's music player is another person's PDA.
    Regards

  • Playing a sound file more than once in a row?

    OK, so I got the PlayWavFile code from the Internet, and I've modified it a bit so that it has a play method, but I'm trying to get it to play 5 times in a row. The thing is, I can't seem to get a for loop to work around it. Also, since I've never messed with sound before, I'm wondering: What is a line in reference to sound? I don't understand the comments.
    Here is the code I'm trying to execute (Note: I used skype-ringer.wav as an example, but any wav file will do):
    SSCCE Class
    package sscce;
    public class SSCCE
        public static void main(final String args[])
            final PlayWavFile wavFile = new PlayWavFile("skype-ringer.wav");
            for (int p = 0; p < 5; p++)
                wavFile.play();
    PlayWavFile Class
    package flashcards;
    import java.io.File;
    import javax.sound.sampled.AudioFormat;
    import javax.sound.sampled.AudioInputStream;
    import javax.sound.sampled.AudioSystem;
    import javax.sound.sampled.DataLine;
    import javax.sound.sampled.SourceDataLine;
    public class PlayWavFile
        AudioInputStream audioInputStream = null;
        SourceDataLine auline = null;
        AudioFormat format = null;
        DataLine.Info info = null;
        public PlayWavFile(final String soundFileName)
            final File soundFile = new File(soundFileName);
            if(!soundFile.exists())
                System.err.println("Wave file not found: " + soundFile);
                return;
            try
                audioInputStream = AudioSystem.getAudioInputStream(soundFile);
            catch(final Exception e)
                e.printStackTrace();
                return;
            format = audioInputStream.getFormat();
            info = new DataLine.Info(SourceDataLine.class,format);
            // Describe a desired line
        public void play()
            for (int i = 0; i < 5; i++)
                final int EXTERNAL_BUFFER_SIZE = 524288;
                final byte[] abData = new byte[EXTERNAL_BUFFER_SIZE];
                int nBytesRead = 0;
                try
                    auline = (SourceDataLine)AudioSystem.getLine(info);
                    auline.open(format); // Opens the line with the specified
                                            // format, causing the line to acquire
                                            // any required system resources and
                                            // become operational.
                catch(final Exception e)
                    e.printStackTrace();
                    return;
                auline.start(); // Allows a line to engage in data I/O
                try
                    while (nBytesRead != -1)
                        nBytesRead = audioInputStream.read(abData,0,abData.length);
                        if(nBytesRead >= 0)
                            auline.write(abData,0,nBytesRead); // Writes audio data
                                                                // to the mixer (an
                                                                // audio device with
                                                                // one or more
                                                                // lines) via this
                                                                // source data line
                    Thread.sleep(1000);
                catch(final Exception e)
                    e.printStackTrace();
                    return;
                finally
                    auline.drain(); // Drains queued data from the line by
                                    // continuing data I/O until the data line's
                                    // internal buffer has been emptied
                    auline.close(); // Closes the line, indicating that any system
                                    // resources in use by the line can be released
    }I've tried putting the for loop around the try block in the PlayWavFile.play method, but nothing works so far. What am I supposed to do if I want the file to play multiple times?

    I don't know if this will help. It's old - I haven't looked at it in at least five years - when I used to use hungarian notation
    What might help is using "m_SourceDataLine.isRunning()" in your for loop.
    private     SourceDataLine      m_SourceDataLine    = null;
    private     boolean             m_bOk;
    private     AudioInputStream    m_AudioInputStream     = null;
    private     int                 m_iBytesRead      = 0;
    private     byte []             m_bytesToWrite;
    if ( AudioSystem.isLineSupported( Port.Info.SPEAKER ) )
        String     strFile     = "SOUND528.WAV";
        File f = new File ( strFile );
        if ( f != null  &&  f.isFile() == true )
            m_AudioInputStream = AudioSystem    .getAudioInputStream    ( f );
            if ( m_AudioInputStream != null )
                //     more than enough to hold the complete file.
                m_bytesToWrite           = new byte[ 10000 ];
                //     Read the file and remember how many bytes were actually read.
                m_iBytesRead          = m_AudioInputStream     .read     ( m_bytesToWrite, 0, m_bytesToWrite.length );
                //     Now that you have read the file find out its format.
                AudioFormat          AF     = m_AudioInputStream     .getFormat     ();
                //     Clips don't allow pre-loading.  You must load it and play it at the same time.
                //DataLine.Info     info     = new DataLine               .Info           ( Clip.class, AF );
                //m_Clip                    = (Clip) AudioSystem     .getLine     ( info );                                   
                //m_Clip     .open          ( AIS );
                //     SourceDataLine's allow you to pre-read and play later.
                DataLine.Info     info     = new DataLine          .Info                ( SourceDataLine.class, AF );
                m_SourceDataLine          = (SourceDataLine)     AudioSystem          .getLine     ( info );
                //     The most important improvement is using open with the buffer size to use.
                //     Otherwise, if the buffer is too small the write function will block until
                //     the requested amount of data is written.  This then delays the video.
                m_SourceDataLine          .open     ( AF, m_iBytesRead );
                m_SourceDataLine          .start     ();
                //m_SourceDataLine     .write     ( m_bytesToWrite, 0, m_iBytesRead );
                //m_SourceDataLine     .isRunning()
    }

  • Unable to upload file more than 2 MB

    Hi I am trying to uplaod a file to Oracle DB using struts . The file is being stored as a blob datatype . When the file-size is more than 2 MB the file does not get uplaoded . The property mapped to the form attribute returns null . IBelow is part of the jsp code
    <html:form styleId="sponsorBio" action='<%=response.encodeURL("/sponsorBioUpdate.do")%>' method="POST" enctype="multipart/form-data" >
    <TR>
    <TD valign="top" class="txt_12_dblue">Attach Biography Document</TD>
    <TD valign="top" class="txt_12_dblue">:</TD>
    <TD><html:file name="biographyForm" property="biography.formFile" /></TD>
    </TR>
    The property biography.formFile is coming as null in the backend
    Can anyone pls help .

    2 megabytes or 2 gigabytes? I could see a limitation with the former (as this is the size of the absolute value of the max of a signed int). But 2mb seems more like some configuration option is fouling your upload. What and how are you using to parse the multi-part?
    - Saish

  • Redo Log Files - more than 12 per hour

    Hello @all,
    I have a problem with my redo log files. I get more than 12 switches per Hour. I have 3 Files with 5oM size. I increased the sitz to 15o M, but
    I still have 12 switches per hour.
    Do anyone know, what I did wrong?
    Database:
    Oracle 9i
    Thanks
    Martin

    user9528362 wrote:
    Hello @all,
    yes I know, that 3 switches per hour are perfekt, but I had increased the Size from 5o M to 15oM already and the amount from switches, are not reduced.
    So there must be something else, that causes the log switches.Martin,
    As I said somewhere above too, 150meg is a tiny size if you are managing a production db. I have already mentioned that make your log file size to at least 500meg and than check. As for the high redo activity, only you can confirm that whether this has been started from now only or was happening before too? In anycase, for an active oltp, 500 to 1gb of redo log file size should be okay.
    For the extra redo generation, you have been given link for mining log files using logminer. Try using it to see what is causing extra redo.
    HTH
    Aman....

Maybe you are looking for