Failed to check existed of file (urgent)

Hi,
I tried to check existed of image file like below :-
        File file = new File("http://203.115.214.234/spVending/PREVIEW/THM/GIF-256-45X56-THM-P/48529/48529-GIF-256-45X56-THM-P.gif");
        boolean result = file.exists();The value returned is false even the image file is exist. Can anyone pls help me on this.
Thanks a lot

Use URL.openConnection() and check the response code (404 = Not Found).

Similar Messages

  • ITunes failing to reconize existing MP3 files.

    Ok this has happened to me more than once, but now it has gotten really sevre and to the point I'm just not willing to fix it the way I have in the past.
    Before my iTunes library approx 1600songs; 128 albums, was working fine. Every single song, from every single album was in iTunes properly, and all the tags were correct as I've spent a while meticulously sorting them out. I take great pride in the cleanliness and organization of my library.
    However now my iTunes wants to be a jerk to me and refuse to play certain albums, and sometimes 1 or 2 songs from an album while the rest will work. Where the album art used to be proudly displayed, there is now ugly text that just tells me "Album art unmodifiable" and will not play the song when double clicked, or the play button is pressed.
    I figured it might just be some wierd problem, so I deleted the albums in question from the library and tried to re-add them by dragging and dropping them into the iTunes window; to no avail, as iTunes fails to reconize that I have added it at all.
    I decided to re-install iTunes, and delete the iTunes library folder in My Music and try again. It still will not reconize these albums, and I have no idea why.
    Before it's done this with maybe say one album at a time, which I can live with as I would just gain another copy of the album, either by downloading or ripping from CD to mp3. An answer telling me to rip directly to iTunes won't do, because some of the CD's I own are currently not in my posession, and exist solely on my harddrive at the moment. What I'm looking to do is re-add the existing files back into iTunes without re-ripping, or re-downloading, as the ones I have already on my computer have completely correct tags, aswell as album artwork.
    So right now iTunes seems to hate me and it's decided to do this with upwards of 10 albums out of nowhere. All my songs have had thier ID3 tags updated to the newest version via iTunes so the artwork and tags edited in iTunes would be displayed on my player (archos, at the time I don't own an iPod but this may change as killed my archos during an "operation" to fix the battery)
    So I've been reading stickies and other posts but none seem to directly provide an answer to my seemingly unique case of iTunes difficulty.
    Any help at all would be greatly appreciated as this has happened many times: too many to be considered funny.
    I've read on the forum that burning to an audio CD and the using that to import into iTunes may work, HOWEVER so many full albums are doing this that it is not practical to burn so many CD's just to put them back onto my PC.
    Is that an alternate solution where one does not have to use about 10-20 CDs?

    Yeah, what stubchain said. If they play in WMP, then you've run into the bug where iTUnes can't read the MP3 tags.
    iTunes has problems with v2.4 ID3 tags.
    http://www.id3.org/iTunes
    iTunes also has a problem with v2.2 tags and artwork/beats per minutes tags on the same song.
    Try setting them to v1 in another program and then see if iTunes can read them.
    Then once iTnues can read tehm, I would convert them to v2.3 tags, which seem to be the most stable & have the best features.

  • Oracle UCM fails to check in text/xml files

    We have an Oracle UCM server that is failing to check in xml files over a certain size - I haven't narrowed down the size limit yet, but a <100kb file will work 100% of the time, while 300+ Kb xml files fail almost all the time, though there has been some success. Image files and zip file succeed on new check ins 100% of the time as well. We have tried with the SOAP API and the UCM new check in form - in both cases we get an empty repsonse from the server. In firefox we get the "The connection was reset" page. I'm at a loss as to explain why, but I have almost no experience with Oracle UCM. This particular server has been running for over a year happily accepting xml files of all sizes, then one day just stopped - as far as I am aware, nobody changed any
    settings/upgraded anything/changed network topology.
    When I look in the server output, I don't really see any indication of failure or find any mention of the file name or content title like I do when a file successfully checks in.
    I have already asked the DBA to drop and rebuild the database index, started the Collection rebuild cycle (it finished successfully) and turned on the webless file store option on the defaultfilestore provider.
    UCS Version : 10.1.3.3.3 (080807) (Build:7.2.2.188)
    Database : Microsoft SQL Server 09.00.4035 currently using DATABASE.METADATA though I think it was at one point using Full text search, but the database was not.
    Java Version:1.6.0
    Please ask if there is any other information you need, but I do not have physical access to the machine, and I may not be able to reveal certain info due to privacy/security concerns.

    Hello,
    I think you should open an SR with support to help out. Be that as it may, here's some observations/suggestions...
    * You are running a 4-year old content server. There have been numerous fixes since then. Your system may have grown to a point where it's hit one of the older issues.
    * Is it possible the XML encoding may have changed? i.e. that whatever generates the XML files is now generating them slightly differently and therefore the encoding is different so check-in doesn't follow the same rules? I'd look at the first line of older files versus the new files which fail. If there's a difference, refer to KM note 978689.1 in our knowledge base.
    * You say there doesn't appear to be anything in the logs, so let's increase them:
    - Login to UCM as Administrator. Go to Administration->System Audit Information. Switch on the Full Verbose Tracing checkbox. In the Active Sections field, put in:
    systemdatabase - this will show you what queries and inserts are made to the database and should show whether there's a problem at that level.
    requestaudit - this shows you the requests as they come in, as well as a roundup of all requests every 2 minutes. If you see large amounts of time being taken on requests, your server could be creaking because of resources.
    publish - tells you about publishing related issues, most XML file check-ins are related to this.
    - Try to check in a file which should fail.
    - Switch off verbose logging (see above) to reduce overhead.
    If the OS is Windows then the <install>/config.cfg file needs to have UseRedirectedOutput=true in order to generate a log file for this tracing. On Windows the file is the <install>/bin/IdcServerNT.log file. (if the above config is set)
    On *nix it is in the <install>/etc/log file (notice that there is no file extension on the file)
    If none of the logs helps you, an SR is probably in order.
    Regards,
    Frank.

  • Check for updated file in physical drive and if exists then call procedure?

    hi
    i want to check on local drive in 1 folder if upated file is there and then start my batch process which will load data from that file.
    so how to check if that file is present in location and its upated one
    is there any utiliy in oracle ????
    Reply ASAP

    Use UTL_FILE.FOPEN function with 'r' mode (read text mode). If it fails, then the file does not exist.

  • Excel Source - Opening a rowset for "EFT$" failed. Check that the object exists in the database.

    Why oh why do I sometimes get this error when defining my Excel Source and then sometimes I do not?
    Am I doing something wrong here???
    The error is...
    Exception from HRESULT: 0xC02020E8
    Error at Data Flow Task [[Excel Source[27]]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
    Error at Data Flow Task [Excel Source [27}}: Opening a rowset for "EFT$" failed. Check that the object exists in the database.
    I know the Worksheet "EFT" exists because I defined this previously for the same Excel spreadsheet.
    Thanks for your review and am hopeful for a reply.
    PSULionRP

    A reply from CozyRoc must be hitting the nail on the head
    sheet name contains $
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/ce0fbff5-f5f1-4a4a-9c29-6adc32b0fd79/using-excel-file-as-source-in-data-flow-task-of-ssis-bi-2005-need-example-of-sheetnamecellrange?forum=sqlintegrationservices
    Arthur My Blog

  • WARNING: Failed to check if shared library {0} exists.

    Hello
    I see this warning when I deploy to a WAR file that bundles ADF Library Jar files. Could anyone point me in the right direction ?
    oracle.webcenter.dt.config.ear.util.WeblogicAppUtil weblogicAppNodeExists
    WARNING: Failed to check if shared library {0} exists.
    java.lang.NullPointerException
    at oracle.webcenter.internal.dt.config.ConfigUtils.newURL(ConfigUtils.java:101)
    at oracle.webcenter.dt.config.ear.util.WeblogicAppUtil.weblogicAppNodeExists(WeblogicAppUtil.java:258)
    at oracle.webcenter.dt.config.ear.util.WeblogicAppUtil.sharedLibExists(WeblogicAppUtil.java:175)
    at oracle.webcenter.dt.config.ear.util.WeblogicAppUtil.webCenterSharedLibExists(WeblogicAppUtil.java:475)
    at oracle.webcenter.internal.dt.packaging.WebCenterDeploymentListener.isWebcenterApp(WebCenterDeploymentListener.java:128)
    at oracle.webcenter.internal.dt.packaging.WebCenterDeploymentListener.willDeploy(WebCenterDeploymentListener.java:102)
    at oracle.jdevimpl.deploy.fwk.ListenerSupport.fireWillDeploy(ListenerSupport.java:198)
    at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:88)
    at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:442)
    at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
    at oracle.jdevimpl.deploy.BuildSystemFacade.deploy(BuildSystemFacade.java:46)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildDepProfile(UnifiedBuildSystem.java:847)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProject(UnifiedBuildSystem.java:883)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildAll(UnifiedBuildSystem.java:945)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.run(UnifiedBuildSystem.java:1234)
    Dec 16, 2009 12:50:25 PM oracle.webcenter.dt.config.ear.util.WeblogicAppUtil weblogicAppNodeExists
    user515719

    Bump

  • ORA-01122: database file 8 failed verification check

    trc file: "dev_w0", trc level: 1, release: "700"
    *  ACTIVE TRACE LEVEL           1
    *  ACTIVE TRACE COMPONENTS      all, MJ

    B Tue Apr 29 17:57:51 2014
    B  create_con (con_name=R/3)
    B  Loading DB library 'D:\usr\sap\DEV\DVEBMGS00\exe\dboraslib.dll' ...
    B  Library 'D:\usr\sap\DEV\DVEBMGS00\exe\dboraslib.dll' loaded
    B  Version of 'D:\usr\sap\DEV\DVEBMGS00\exe\dboraslib.dll' is "700.08", patchlevel (0.73)
    B  New connection 0 created
    M sysno      00
    M sid        DEV
    M systemid   560 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    75
    M intno      20050900
    M make:      multithreaded, Unicode, optimized
    M pid        2816
    M
    M  kernel runs with dp version 217000(ext=109000) (@(#) DPLIB-INT-VERSION-217000-UC)
    M  length of sys_adm_ext is 572 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 2816) [dpxxdisp.c   1299]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is active
    M  DpShMCreate: sizeof(wp_adm) 18304 (1408)
    M  DpShMCreate: sizeof(tm_adm) 3994272 (19872)
    M  DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
    M  DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    M  DpShMCreate: sizeof(comm_adm) 528064 (1048)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=2600/8/208056/208064
    M  DpShMCreate: sizeof(file_adm) 208064 (72)
    M  DpShMCreate: sizeof(vmc_adm) 18720 (1440)
    M  DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
    M  DpShMCreate: sizeof(gw_adm) 48
    M  DpShMCreate: SHM_DP_ADM_KEY (addr: 08750040, size: 4880152)
    M  DpShMCreate: allocated sys_adm at 08750040
    M  DpShMCreate: allocated wp_adm at 08751E40
    M  DpShMCreate: allocated tm_adm_list at 087565C0
    M  DpShMCreate: allocated tm_adm at 087565F0
    M  DpShMCreate: allocated wp_ca_adm at 08B25890
    M  DpShMCreate: allocated appc_ca_adm at 08B2B650
    M  DpShMCreate: allocated comm_adm at 08B2D590
    M  DpShMCreate: allocated file_adm at 08BAE450
    M  DpShMCreate: allocated vmc_adm_list at 08BE1110
    M  DpShMCreate: allocated gw_adm at 08BE1150
    M  DpShMCreate: allocated vmc_adm at 08BE1180
    M  DpShMCreate: allocated ca_info at 08BE5AA0
    M  DpShMCreate: allocated wall_adm at 08BE5AA8
    M  DpSesCreateTable: attached session table at 06440040 (len=138424)
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0

    X Tue Apr 29 17:57:52 2014
    X  <ES> client 0 initializing ....
    X  Using implementation flat
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    M  DpVmcInit2: o.k.

    M Tue Apr 29 17:57:53 2014
    M  ThInit: running on host sapecc6

    M Tue Apr 29 17:57:54 2014
    M  calling db_connect ...
    C  Prepending D:\usr\sap\DEV\DVEBMGS00\exe to Path.
    C  Oracle Client Version: '10.2.0.1.0'
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPSR3's password
    C  Connecting as /@DEV on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1   06C34308   06C398A4   06C3912C
    C  Attaching to DB Server DEV (con_hdl=0,svchp=06C39078,svrhp=06C4A944)
    C  Starting user session (con_hdl=0,svchp=06C39078,srvhp=06C4A944,usrhp=06C979A8)

    C Tue Apr 29 17:57:55 2014
    C  Now '/@DEV' is connected (con_hdl 0, nls_hdl 0).
    C  Got SAPSR3's password from OPS$-user
    C  Disconnecting from connection 0 ...
    C  Closing user session (con_hdl=0,svchp=06C39078,usrhp=06C979A8)
    C  Now I'm disconnected from ORACLE
    C  Connecting as SAPSR3/<pwd>@DEV on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1   06C34308   06C398A4   06C3912C
    C  Starting user session (con_hdl=0,svchp=06C39078,srvhp=06C4A944,usrhp=06C979A8)
    C  Now 'SAPSR3/<pwd>@DEV' is connected (con_hdl 0, nls_hdl 0).
    C  Database NLS settings: AMERICAN_AMERICA.UTF8
    C  Database instance DEV is running on SAPECC6 with ORACLE version 10.2.0.2.0 since 20140429
    B  Connection 0 opened (DBSL handle 0)
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost         
    B  000 000 R/3              000000000 ACTIVE       NO  YES NO  000 255 255 20140429 175754 SAPECC6        
    M  db_connect o.k.
    M  ICT: exclude compression: *.zip,*.cs,*.rar,*.arj,*.z,*.gz,*.tar,*.lzh,*.cab,*.hqx,*.ace,*.jar,*.ear,*.war,*.css,*.pdf,*.js,*.gzip,*.uue,*.bz2,*.iso,*.sda,*.sar,*.gif
    M  ThVmcSetParam: switch vmcj/vm_auto_restart 0 -> 0 sec

    J Tue Apr 29 17:57:57 2014
    J  extMemCheck is set to disp+work.ThVmcMemCheck(thxxvmemu.c:2756)
    J  extGcMemReserve is set to disp+work.ThVmcGcMemReserve(thxxvmemu.c:2587)
    J  extGcMemCommit is set to disp+work.ThVmcGcMemCommit(thxxvmemu.c:2624)
    J  extGcMemFree is set to disp+work.ThVmcGcMemFree(thxxvmemu.c:2643)
    J  extCreateSharedCodeCache is set to disp+work.ThVmcSharedCodeCacheCreate(thxxvmemu.c:1941)
    J  extSetSharedCodeCachePerm is set to disp+work.ThVmcSharedCodeCacheSetPerm(thxxvmemu.c:2019)
    J  extMalloc is set to disp+work.ThVmcMallocDispatcher(thxxvmemu.c:2070)
    J  extCalloc is set to disp+work.ThVmcCallocDispatcher(thxxvmemu.c:2097)
    J  extRealloc is set to disp+work.ThVmcReallocDispatcher(thxxvmemu.c:2124)
    J  extFree is set to disp+work.ThVmcFreeDispatcher(thxxvmemu.c:2149)
    J  extAddResourceToHeap is set to disp+work.ThVmcAddResourceToHeap(thxxvmemu.c:2662)
    J  extRemoveResourceFromHeap is set to disp+work.ThVmcRemoveResourceFromHeap(thxxvmemu.c:2688)
    J  extGetLocalMemory is set to disp+work.ThJGetLocalMemory(thxxvmemu.c:2833)
    J  extGetLocalMemoryPeak is set to disp+work.ThJGetLocalMemoryPeak(thxxvmemu.c:2845)
    J  extGetLocalAllocatedMemory is set to disp+work.ThJGetLocalAllocatedMemory(thxxvmemu.c:2857)
    J  extGetGlobalMemory is set to disp+work.ThJGetGlobalMemory(thxxvmemu.c:2902)
    J  extGetGlobalMemoryPeak is set to disp+work.ThJGetGlobalMemoryPeak(thxxvmemu.c:2914)
    J  extGetGlobalAllocatedMemory is set to disp+work.ThJGetGlobalAllocatedMemory(thxxvmemu.c:2926)
    J  extGetUsedBytes is set to disp+work.ThVmcGetUsedBytes(thxxvmemu.c:2710)
    J  extGetGuardInfo is set to disp+work.ThVmcGetGuardInfo(thxxvmemu.c:1410)
    J  extWriteMemoryDump is set to disp+work.ThJWriteMemoryDump(thxxvmemu.c:1437)
    J  extGetPid is set to disp+work.ThJGetPid(thxxjava.c:7663)
    J  extRegPtr is set to disp+work.ThJRegPtr(thxxvmemu.c:1178)
    J  extGetPtr is set to disp+work.ThJGetPtr(thxxvmemu.c:1190)
    J  extDeregPtr is set to disp+work.ThJDeregPtr(thxxvmemu.c:1202)
    J  extAbort is set to disp+work.ThVmcJAbortHandler(thxxjava.c:6095)
    J  extExit is set to disp+work.ThVmcJExitHandler(thxxjava.c:5994)
    J  extSaveExit is set to disp+work.ThVmcJExitHandler(thxxjava.c:5994)
    J  extSaveErrTxt is set to disp+work.ThVmcJSetVmErrTxt(thxxjava.c:6065)
    J  extSemLock is set to disp+work.ThJSemLock(thxxvmemu.c:545)
    J  extSemUnlock is set to disp+work.ThJSemUnlock(thxxvmemu.c:551)
    J  extMtxOpen is set to disp+work.ThJMtxOpen(thxxvmemu.c:641)
    J  extMtxClose is set to disp+work.ThJMtxClose(thxxvmemu.c:665)
    J  extMtxLock is set to disp+work.ThJMtxLock(thxxvmemu.c:685)
    J  extMtxTrylock is set to disp+work.ThJMtxTrylock(thxxvmemu.c:780)
    J  extMtxUnlock is set to disp+work.ThJMtxUnlock(thxxvmemu.c:853)
    J  extMtxForceUnlock is set to disp+work.ThJMtxForceUnlock(thxxvmemu.c:928)
    J  extMtxLockCount is set to disp+work.ThJMtxLockCount(thxxvmemu.c:975)
    J  extMtxLocked is set to disp+work.ThJMtxLocked(thxxvmemu.c:981)
    J  extMtxLocking is set to disp+work.ThJMtxLocking(thxxvmemu.c:1013)
    J  extMtxWaitingVms is set to disp+work.ThJMtxWaitingVms(thxxvmemu.c:1046)
    J  extMtxIAmOwner is set to disp+work.ThJMtxIAmOwner(thxxvmemu.c:1101)
    J  extOpen is set to disp+work.ThIoJavaOpen(thxxfile.c:381)
    J  extReopen is set to disp+work.ThIoJavaReopen(thxxfile.c:535)
    J  extClose is set to disp+work.ThIoJavaClose(thxxfile.c:665)
    J  extSeek is set to disp+work.ThIoJavaSeek(thxxfile.c:750)
    J  extSetLength is set to disp+work.ThIoJavaSetLength(thxxfile.c:882)
    J  extSync is set to disp+work.ThIoJavaSync(thxxfile.c:910)
    J  extIoAvailable is set to disp+work.ThIoJavaAvailable(thxxfile.c:937)
    J  extFileSizeFd is set to disp+work.ThIoJavaFileSizeFD(thxxfile.c:965)
    J  extPread is set to disp+work.ThIoJavaPRead(thxxfile.c:1074)
    J  extPwrite is set to disp+work.ThIoJavaPWrite(thxxfile.c:1111)
    J  extReadv is set to disp+work.ThIoJavaReadV(thxxfile.c:994)
    J  extWritev is set to disp+work.ThIoJavaWriteV(thxxfile.c:1038)
    J  extFDataSync is set to disp+work.ThIoJavaDataSync(thxxfile.c:1145)
    J  extFixVmToProcess is set to disp+work.ThIoFixVmToWp(thxxfile.c:1230)
    J  extReleaseVmFromProcess is set to disp+work.ThIoRelVmFromWp(thxxfile.c:1239)
    J  extGetOSDescriptor is set to disp+work.ThIoJavaGetOsFd(thxxfile.c:1249)
    J  extDetachIo is set to disp+work.ThIoJavaDetach(thxxfile.c:1273)
    J  extSocket is set to disp+work.ThSoSocketVmc(thxxsock.c:798)
    J  extRecvMsg is set to disp+work.ThSoRecvmsg(thxxsock.c:1147)
    J  extSendMsg is set to disp+work.ThSoSendmsg(thxxsock.c:1569)
    J  extCloseSocket is set to disp+work.ThSoCloseSocket(thxxsock.c:985)
    J  extConnect is set to disp+work.ThSoConnect(thxxsock.c:809)
    J  extBind is set to disp+work.ThSoBind(thxxsock.c:1804)
    J  extAccept is set to disp+work.ThSoAccept(thxxsock.c:1985)
    J  extListen is set to disp+work.ThSoListen(thxxsock.c:2230)
    J  extPoll is set to disp+work.ThSoPoll(thxxsock.c:2381)
    J  extShutdown is set to disp+work.ThSoShutdown(thxxsock.c:2633)
    J  extGetSockOpt is set to disp+work.ThSoGetsockopt(thxxsock.c:2787)
    J  extSetSockOpt is set to disp+work.ThSoSetsockopt(thxxsock.c:2963)
    J  extGetSockName is set to disp+work.ThSoGetsockname(thxxsock.c:3122)
    J  extGetRecvLength is set to disp+work.ThSoGetrecvlength(thxxsock.c:3305)
    J  extSetNonBlocking is set to disp+work.ThSoSetnonblocking(thxxsock.c:3464)
    J  extCreateControlArea is set to disp+work.ThJCreateControlArea(thxxvmemu.c:3099)
    J  extGetControlArea is set to disp+work.ThJGetControlArea(thxxvmemu.c:3113)
    J  extNotifyAboutControlFlagChange is set to disp+work.ThJControlFlagChange(thxxjava.c:6147)
    J  extVmRunningInWp is set to disp+work.ThJVmRunningInWp(thxxjava.c:7500)
    J  extVmRunningOnJavaStack is set to disp+work.ThJVmRunningOnJavaStack(thxxjava.c:7508)
    J  extGetJavaMainStack is set to disp+work.ThJGetJavaMainStack(thxxjava.c:7513)
    J  extAlarm is set to disp+work.ThJAlarm(thxxjava.c:6215)
    J  setGlobalsHook is set to disp+work.ThJSetGlobals(thxxjava.c:6386)
    J  getGlobalsHook is set to disp+work.ThJGetGlobals(thxxjava.c:6374)
    J  getWpIdHook is set to disp+work.ThGetWpId(thxxtool.c:2002)
    J  getWpNoHook is set to disp+work.DpWpAdmEntry(dpxxtool.c:3215)
    J  getVmCount is set to disp+work.ThJGetVmcCount(thxxjava.c:3154)
    J  getEvtConnHdl is set to disp+work.ThJGetEvtConnHdl(thxxjava.c:1099)
    J  selNextHdl is set to disp+work.ThVmcSelNextHdl(thxxvmio.c:335)
    J  rollOut is set to disp+work.ThJRollOut(thxxjava.c:5737)
    J  sleepFunc is set to disp+work.ThJSleep(thxxjava.c:6901)
    J  selTimeout is set to disp+work.ThJSelTimeout(thxxjava.c:7292)
    J  proxyWakeup is set to disp+work.ThJHandleProxyWakeup(thxxjava.c:7610)
    J  extGetProxyActivatedHook is set to disp+work.ThJGetSapProxyActivated(thxxjava.c:7423)
    J  getVmcFlavour is set to disp+work.ThJGetVmcFlavour(thxxjava.c:7675)
    J  getVmType is set to disp+work.ThJGetVmType(thxxjava.c:7687)
    J  getVmMaxNo is set to disp+work.ThJGetVmMaxNo(thxxvmemu.c:3049)
    J  getVmId is set to disp+work.ThJGetActVmc(thxxjava.c:9681)
    J  isValidVmId is set to disp+work.ThJisValidVmId(thxxvmemu.c:3075)
    J  getVmUuid is set to disp+work.ThJGetVmUuid(thxxvmemu.c:3059)
    J  createUniqueId is set to disp+work.ThJCreateUniqueId(thxxvmemu.c:3084)
    J  statisticActive is set to disp+work.ThJStatisticsActive(thxxjava.c:7830)
    J  openStatInterval is set to disp+work.ThJOpenStatInterval(thxxjava.c:7852)
    J  closeStatInterval is set to disp+work.ThJCloseStatInterval(thxxjava.c:7868)
    J  intervalStatActive is set to disp+work.ThJIntervalStatActive(thxxjava.c:7885)
    J  extTrace is set to disp+work.ThJTrace(thxxvmemu.c:3129)
    J  extGetBuiltinLibs is set to disp+work.ThJGetBuiltinLibs(thxxjava.c:6250)
    J  extFindNative is set to disp+work.ThJFindNative(thxxvmemu.c:3150)
    J  extPreloadNativeOpen is set to disp+work.ThJPreloadNativeOpen(thxxjava.c:6264)
    J  extPreloadNativeSym is set to disp+work.ThJPreloadNativeSym(thxxjava.c:6276)
    J  extGetDebugFlags is set to disp+work.ThVmcGetBitmasks(thxxvmc.c:2500)
    J  extStartExternalTimer is set to disp+work.ThJStartExternalTimer(thxxjava.c:6288)
    J  extStopExternalTimer is set to disp+work.ThJStopExternalTimer(thxxjava.c:6309)
    J  extCheckForCleanup is set to <null>
    J  extJvmxInit2 is set to <null>
    J  extJvmxCleanup is set to <null>
    M  ThVmcInitWaitForVm: th_maxWaitForVmTime=30

    I Tue Apr 29 17:58:05 2014
    I  MtxInit: 0 0 0
    M  SHM_PRES_BUF (addr: 0BD30040, size: 4400000)
    M  SHM_ROLL_AREA (addr: 59250040, size: 61440000)
    M  SHM_PAGING_AREA (addr: 0C7D0040, size: 32768000)
    M  SHM_ROLL_ADM (addr: 0C170040, size: 615040)
    M  SHM_PAGING_ADM (addr: 0C210040, size: 525344)
    M  ThCreateNoBuffer allocated 544152 bytes for 1000 entries at 0C2A0040
    M  ThCreateNoBuffer index size: 3000 elems
    M  ThCreateVBAdm allocated 12160 bytes (50 server) at 0C330040
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation flat
    X  ES initialized.

    C Tue Apr 29 17:58:06 2014
    C  *** ERROR => ORA-376 occurred when executing SQL statement (parse error offset=0)
    [dbsloci.c    12548]
    C  sc_p=06198094,no=1,idc_p=06B97F38,con=0,act=1,slen=66,smax=256,#vars=0,stmt=06C5E6B8,table=DDNTT                        
    C  SELECT COUNT(*) FROM DDNTT WHERE TABFORM <> 'J' AND TABFORM <> 'V';
    C  sc_p=06198094,no=1,idc_p=06B97F38,con=0,act=1,slen=66,smax=256,#vars=0,stmt=06C5E6B8,table=DDNTT                        
    C  prep=0,lit=0,nsql=0,lobret=0,#exec=1,dbcnt=0,upsh_p=00000000,ocistmth_p=06C51FC0
    C  IN : cols=0,rmax=0,xcnt=0,rpc=0,rowi=0,rtot=0,upto=-1,rsize=0,vmax=0,bound=0,iobuf_p=00000000,vda_p=00000000
    C       lobs=0,lmax=0,lpcnt=0,larr=00000000,lcurr_p=00000000,rret=0
    C  OUT: cols=1,rmax=1,xcnt=1,rpc=0,rowi=0,rtot=0,upto=-1,rsize=4,vmax=32,bound=1,iobuf_p=05637578,vda_p=06C5DB68
    C       lobs=0,lmax=0,lpcnt=0,larr=00000000,lcurr_p=00000000,rret=0
    C  SELECT COUNT(*) FROM DDNTT WHERE TABFORM <> 'J' AND TABFORM <> 'V';
    B  ***LOG BYL=> DBQ action required because of database error            [dbsh#2 @ 1100] [dbsh    1100 ]
    B  SQL code: 376, SQL text: ORA-00376: file 8 cannot be read at this time
    B  ORA-01110: data file 8: 'D:\ORACLE\DEV\SAPDATA1\SR3_5\SR3.DATA5'
    B  ***LOG BY4=> sql error 376    performing SEL on table DDNTT      [dbstat#4 @ 693] [dbstat  0693 ]
    B  ***LOG BY0=> ORA-00376: file 8 cannot be read at this time
    ORA-01110: data file 8: 'D:\ORACLE\DEV\SAPDATA1\SR3_5\SR3.DATA5' [dbstat#4 @ 693] [dbstat  0693 ]
    B  init: Got no entries from DDNTT !
    B  init failed
    B  db_stinit failed
    M  *** ERROR => ThCallHooks: event handler db_init for event CREATE_SHM failed [thxxtool3.c  260]
    M  *** ERROR => ThIPCInit: hook failed [thxxhead.c   2047]
    M  ***LOG R19=> ThInit, ThIPCInit ( TSKH-IPC-000001) [thxxhead.c   1494]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: ThIPCInit (step 1, th_errno 17, action 3, level 1) [thxxhead.c   10156]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    vm = V-1

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server sapecc6_DEV_00 on host sapecc6 (wp 0)
    M  *  ERROR       ThInit: ThIPCInit
    M  *
    M  *  TIME        Tue Apr 29 17:58:06 2014
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          17
    M  *  MODULE      thxxhead.c
    M  *  LINE        10354
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   720]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  260]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 2816) [dpnttool.c   327]
    sql>select status from v$datafile;
    status
    One of my datafile status is 'RECOVER'
    SQL>recover datafile 8;
    ora_00283 recover session cancelled due to errors
    ora_01110:datafile 8:'d:\oracle\sid\sapdata1\sr3_5\sr3.data5'
    ora_01122:database file 8 failed cerification check
    ora_01110:datafile 8:d:\oracle\sid\sapdata1\sr3_5\sr3.data5'
    ora_01251:unknown file header version read for file number 8
      Please give me the suggestion..
    Best regards
    nani

    Hi K Nani,
    From your error message
    ora_01122:database file 8 failed cerification check
    ora_01110:datafile 8:d:\oracle\sid\sapdata1\sr3_5\sr3.data5'
    ora_01251:unknown file header version read for file number 8
    Looks like Data file is corrupted.
    You may refer SAP note 696141 - Composite SAP Note: ORA-01122
    10. ORA-01251: Unknown File Header Version read for file number <file_id>
    Reason: The file header cannot be correctly read.
    Solution: If you use Oracle 9.2 on WINDOWS and if you already installed the database with Oracle 7.2 or lower, see Note 636466.
               Otherwise: Restore/recovery
    Only solution here is restore the database from backup.
    Alternate solution If it is a non-production system.
    If the file is corrupted, then take the datafile offline and open the database.
    Hope this helps
    Regards,
    Deepak Kori

  • How to check if a file (picture) exists into a war?

    Hello, I have made a Java/J2EE project using countries in the world and I have at my disposition a folder of flags icons.
    Some countries don't have any flag icon for any reason and in my application, I'll be able to add new ones.
    In my code, I want to do display the flag of the current country if available else display a default icon.
    Here is what I am currently doing:
    String contextPath = facesContext.getExternalContext().getRequestContextPath();
    String flagUrl = contextPath + "/images/flags/"+ name.trim().toLowerCase() + ".png";
    boolean exists = (new File(flagUrl)).exists();The issue is exists is always set to true no matter the existence of the flag.
    Here is what my variable nammed flagUrl looks like : /images/flags/ca.png
    How do you check the existence of a file into a war? Thank you
    Edited by: cotede3 on Mar 11, 2010 5:32 AM

    Unfortunately I cannot call getRealPath on application.
    application in my code is :
    BBrApplication application = null;
              // Searchs entity class icon
              FacesContext facesContext = FacesContext.getCurrentInstance();
              if (facesContext != null)
                   application = BBrApplication.getInstance(facesContext);So I tried
    String realFilePath = application.getContextRoot();but I end up with
    realFilePath = /DFP/.
    so It is not the absolute path displayed...
    How can I do ?

  • Error : Opening a rowset for "Sheet$" failed. Check that the object exists in the database.

    Hi,
    i am trying to load the data from excel sheet using For each loop container in ssis 2005.
    But it gave me the below error:
    Error: Opening a rowset for "Sheet1$" failed. Check that the object exists in the database.
    [DTS.Pipeline] Error: "component "failed validation and returned validation status "VS_ISBROKEN".
    Error: There were errors during task validation.
    Could you please let me know the solution
    Regards
    Sqlstud

    That message usually means validation has failed;
    Have any of the underlying tables changed?  Data types, lengths, maybe even column ordering, etc...?
    try this..
    Right-click on the Data Flow Task and select Properties. Then set DelayValidation =TRUE.
    Let us TRY this |
    My Blog :: http://quest4gen.blogspot.com/
    Thanks ETL.
    Everything is fine..(Datatypes,length,orderings etc)
    Already i have set
    DelayValidation =TRUE.
    IS there any other problem?
    Regards
    Sqlstud

  • [JS CS3] Check if a file exists

    hello everyone,
    is there a way to check if a file on the local hard drive exists by using javascript?
    thanks a lot,
    jonas

    if (myFile.exists)
    //then do something
    Peter

  • Check for a file to exist

    Hi all, I have a script which returns the path for a file in this way:
    set outfile to (choose file name with prompt "Choose output file." default name "out.iso")'s POSIX path
    the path is then passed to the shell. Now, I want the script to check whether that file exists and if it does, the script needs to be stopped.
    I tried some ways I found on the web but none seems to work.
    Any help would be appreciated.
    Thank you!
    Lorenzo

    Try using:
    set outfile to (choose file name with prompt "Choose output file." default name "out.iso")'s POSIX path
    set thefile to POSIX file outfile
    tell application "Finder"
    if exists thefile then
    return --or other commands to stop script
    end if
    end tell
    (57077)

  • Checking file exist using file exist operator

    Hi all,
    My environment is owb 9i. DB is oracle 9.2.0.8
    My business requirement is,
    If file exists in the landing directory the next instant my mapping should start execution other wise it should wait untill the file arrives there.
    How could i achive this functionality???
    For this i am utilizing the file exist operator in process flow.
    When the file exists in the specified directory i am able to execute the process flow quite fine but when the file doesnt exist in the specified directory the file exist operator is in wait state and even after when the file is placed into the directory, still the process flow remains in the wait state.
    please suggest me a way.
    thanks in advance.
    ram.

    Hi Ram,
    The problem you are hitting here is that there is no wait activity and no loop activity (yet) in the process flow editor. So it is hard to model this logically.
    Would it be a good idea to write shell script that does similar things? You could check for a file, pauze and check again. Then error out or succeed...
    In the 10gR2 release of OWB you can completely model this using waits and loops.
    Thanks,
    Jean-Pierre

  • How to check if the file already exists in the client directory

    Hi all.
    I'm on devsuite 10g. I'm using webutil to download files from DB using webutil function db_to_client.
    What I need is to check if the file already exists in the client directory and if yes to display a message to ask the user if he wants to overwrite or no. How can I make this???
    Here is the code that I'm using to download the file.
    Thanks all for the collaboration.
    Fabrizio
    declare
    file_path varchar2(2000) := null;
    BEGIN
    /** I ask where saving the file on the client machine **/
    file_path:= webutil_file.file_selection_dialog
    (directory_name => null,
    file_name => :bin_docs.name,
    file_filter => '',
    title => 'Saving file',
    dialog_type => save_file, --save_file
    select_file => TRUE);
    /** I download the file from DB to client **/
    if webutil_file_transfer.DB_To_Client_With_Progress
    ( file_path ,
    'BIN_DOCS',
    'DOC' ,
    'doc_id = '||:bin_docs.doc_id,
    'Downloading file',
    ' '||:bin_docs.name) then
    msg_alert('Download del file avvenuto con successo','I',false);
    else
    msg_alert('Si è verificato il seguente errore in fase di download '||SQLERRM,'I',false);
    end if;
    end;

    How about something like the below:
    Note: I have a yes/no alert to asking if they want to over-write the existing file.
    DECLARE
    file_path VARCHAR2(2000) := null;
    over_write BOOLEAN := TRUE;
    BEGIN
    /** I ask where saving the file on the client machine **/
    file_path:= webutil_file.file_selection_dialog
    (directory_name => null,
    file_name => :bin_docs.name,
    file_filter => '',
    title => 'Saving file',
    dialog_type => save_file, --save_file
    select_file => TRUE);
    IF webutil.file_exists(file_path) THEN
    /** check a file by the same name exists in the selected directory **/
    IF show_alert('Ask_overright') != alert_button1 THEN
    /** If we say no then set over_write value to false **/
    over_write := FALSE;
    END IF;
    END IF;
    IF over_write THEN
    /** I download the file from DB to client **/
    IF webutil_file_transfer.DB_To_Client_With_Progress
    ( file_path ,
    'BIN_DOCS',
    'DOC' ,
    'doc_id = '||:bin_docs.doc_id,
    'Downloading file',
    ' '||:bin_docs.name) then
    msg_alert('Download del file avvenuto con successo','I',false);
    ELSE
    msg_alert('Si è verificato il seguente errore in fase di'
    ||' download '||SQLERRM,'I',false);
    END IF
    END IF;
    END;
    cheers
    Q

  • Error:server return code 0x8002000E: file failed crc check

    Hi Experts,
                         I am trying to connect to repository in MDM through MDM ABAP API after all the configuration settings in MDMAPIC on execution of the report it gives the error   server return code 0x8002000E: file failed crc check, can anyone provide some helpfull in puts on this problem.
    Thanks,
    Vinay Yadav

    hi,
    follow this link:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=4119
    hope this may help you,
    Regards,
    srinivas

  • How to check if the file already exists in the application server directory

    Hi all. I'm on devsuite 10g.
    I transfer file from local machine to application server using webutil function webutil_file_transfer.client_to_as and I want to check if the file I'm transfering already exists on the server directory.
    How can I make this?
    Thanks all,
    Fabrizio

    use the text_io package and open the file in read-mode.
    like this
    declare
    xFileType text_io.file_type;
    begin
    xFileType := text_io.fopen('c:\temp\test.txt','R'); --file on the middle tier
    -- file exists;
    text_io.fclose(xFileType);
    exception
    when others then
    --file doesn't exist
    end;
    regards
    Christian

Maybe you are looking for

  • HT5299 What kind of cable should I use for movies on my macbook pro if I want to watch it on my 60 inch tv?

    What kind of cable for my macbook pro, do I use to watch movies on my 60 inch tv ?

  • How to set directory for preview files?

    I have my Media Cache folders set to an external hard drive, but Premiere Pro still continues to create hundreds of rendered preview files in the default location of Users/username/Documents/Adobe/Premiere Pro/8.0/Adobe Premiere Preview Files, fillin

  • Import Hotmail emails to Apple's Mail

    I use Apple's Mail program for my primary email but I also have a Hotmail account, but I get so much spam that I want to close it. However, before closing it I would like to import all email from this Hotmail account into Mail but Mail's import featu

  • JOINING local table and DB Link table performance

    Hellou everybody, can somebody tell me how it is work in Oracle DB when you want to join some local table and DB Link table for example: Select a.col1, b.col2 from local_table a , remote_table@dblink b where a.key = b.key; and when I use DRIVING_SITE

  • CIN configurations - Reg

    I am having some doubts in the area of CIN before that let me explain the scnario, As such in our company there is no manufacturing activity so there is no ED. Now, due to some exigencies we need to supply some materials to our sister concern which i