Checking status of a file
Hi Guys,
How do I know if a file is still open? Thanks..
Hi guys,
Need help for this problem. Is there a way in java to know the status of the file? Here is the scenario of my problem. My program doesn�t need to allow the user to open a file if the file is still on writing process. Thanks... just let me know if you don't understand my question. Thanks in advance.
Similar Messages
-
I am running a late 2007 13" MacBook and when I check status of storage it is showing 88Gb of files but on Finder in Movies I cannot find more than 12-15 Gb where are the rest of the files?
I thought a screen dump of the sttus may help picture what I am looking at.Mike,
That article did seem to confirm that it is not as straight forward as it might seem. Since then I have deleted some of the TV episodes I downloaded on iTunes and the available storage has increased, so I can only assume that when reviewing in finder the files for iTunes are not shown and it would appear one has to go into iTunes to delete them.
I guess I may need to set up an external hard drive to store TV series etc as long as it is easy to transfer between the external drive and the MAC and subsequently my iPad as well, but that is for another discussion. -
Post install checks failed for DBC file - Oracle App11.5.10.2 Linux 5.3
Hi everybody,
I tried Installing Oracle E-Business Suite 11.5.10.2 on Red Hat Enterprise Linux Server release 5.3
The Post install checks failed for DBC file, HTTP, JSP and PHP. Apparently the DBC hadn’t been created. I had verified the log file, while executing adgendbc.sh, it throwing below error.
Generating /jith/d01/oracle/appl/visappl/fnd/11.5.0/secure/prithvi.bangalore.bedford.local_vis.dbc
DBC generation failed with exit code 127
Generating /jith/d01/oracle/appl/visappl/fnd/11.5.0/secure/prithvi_vis.dbc
DBC generation failed with exit code 127
Updating Server Security Authentication
Updating Server Security Authentication failed with exit code 127
adgendbc.sh exiting with status 127
ERRORCODE = 127 ERRORCODE_END
.end std out.
touch: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
sqlplus: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
mkdir: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/jith/d01/oracle/appl/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
cp: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/jith/d01/oracle/appl/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
cp: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/jith/d01/oracle/appl/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
cp: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/jith/d01/oracle/appl/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
/jith/d01/oracle/appl/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
.end err out.
Thanks in advance.
sreejithWelcome to the forums !
Pl post EBS related question in the EBS forums at http://forums.oracle.com/forums/category.jspa?categoryID=3
HTH
Srini -
Why does RCS prompt me to check out the .XPJ file when I open RoboHelp HTML?
We just upgraded from X3 to X5 and began using RoboSource
Control. We currently have a dedicated server machine and 1 client
machine (we'll be adding 3 more client machines once I resolve all
issues with this one). I have working folders set up on each
machine so I can open the Help projects with RoboHelp HTML.
The issue here is that I often receive the following prompt
in a dialog box when I open a Help project in RH HTML:
"To add version control information to this project, the
files in the list below need to be checked out from version
control. Do you want to check out these files?" (The only file
listed is the .XPJ file.)
I only seem to receive this message after I have opened that
particular Help project on the other PC. E.g., I open Help project
A on the Server. If I close it, I can re-open the Help project on
that machine multiple times without receiving the message. However,
if I then open Help project A on the client machine, I'll get the
prompt to check out the XPJ file. If I check it out, I can then
re-open the Help project on that machine multiple times without
receiving the message. Of course, if check in the XPJ file from the
client machine, I'll get the prompt on the Server machine to check
it out the next time I go to open it up from there.
Thoughts?Dirk,
Thanks for the suggestions. I was prompted to check out the
XPJ for one of our Help projects this morning. I clicked
No (to NOT check out the XPJ file from the database), then
selected the
File Status tab, right-clicked on the XPJ file, selected
Show Differences... and discovered that the XPJ file in the
database had the following version control related text, whereas
the XPJ file in the working folder on my SERVER machine did not
(the working folder copy on my CLIENT machine matched the file in
the database):
Note: This code appears between a <miscproperties> line
and a <CompileOptions> line (both XPJ files had these two
lines). -
How I can check status of a database link in runtime?
I need check status of a database link from my application in runtime.
There are any view or table where I can find this information?
Any function or package?
Thanks!!SQL> create view test_view as select dummy from [email protected]
2 ;
View created.
SQL> select dummy from test_view;
D
X
Execution Plan
0 SELECT STATEMENT (REMOTE) Optimizer=CHOOSE
1 0 TABLE ACCESS (FULL) OF 'DUAL' FIRST9.XXXX.COM
Statistics
7 recursive calls
4 db block gets
2 consistent gets
0 physical reads
212 redo size
363 bytes sent via SQL*Net to client
425 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1 rows processed
NOW WE PULL OUT THE NETWORK CABLE connecting the two servers.
SQL> select dummy from test_view;
select dummy from test_view
ERROR at line 1:
ORA-02068: following severe error from FIRST9.XXXX.COM
ORA-03113: end-of-file on communication channel
So all you have to do is to test for the communications error. -
I could not download books from Overdrive Media Console from my iMac desktop. I realized if I turned off iTunes Match in my iphone, it fixed the problem. On your iphone...Go to "Setting", scroll down to "Music" and turn off iTunes Match. i Tunes match is a music subscription service that I had purchased a few weeks ago. I could not figure out when I tried to download audiobooks from Overdrive I got the following message "iTunes is not responding, bring iTunes to the front and check status". Problem solved. I hope this helps others who are experiencing the same problem!
I'm assuming you are talking about audiobooks and if so, just download all the parts in overdrive media console then locate them in your finder. Go into Itunes and go File > Add new files to Library. Go select all the mp3s and upload them onto your library. Sync your iPhone with it and that is what has worked for me Hope this helps!
-
How to check if a specific file exist and which exit code to use ?
Hi, First I'm not a scripting guy and I know almost nothing about VB scripting.
I have a deployment of 6 tasks and I want to make sure that step # 2 will not be process if it failed in step #1, and so on for the 6 task.
To do this, i have to run a vb script before installation or uninstalltion on each steps
I'm trying to use a script (not from me) that i have modified for pre-uninstallation of software and also post-installation of the software.
Pre-uninstallation: The script will look if the specified "exe" exist on the server and if so, than it will run the msiuninstall "application_name".
If the uninstallation is successful, the post-installation script will check if the "exe" file exist again on the server, and it shouldn't find it (because it was deleted from the uninstallation), than it will return an exit code of successful
to run the next process.
Here an example:
Step 1: Uninstall "Software#1" with msiuninstall Software#1.exe command
Step 2: Uninstall "Software#2" with msiuninstall Software#2.exe command
Step 3: Install "Software #3"with an .exe extension
Step 4: Re install "Software #2" with an .msi extension
Step 5: Re install "Software #1" with a .msi extension.
Step 6: Send email to confirm the deployment is successful
So i need to validate that step #2 will not process step #3 if it failled on # 2. It need to validate if the file exist before and after.
At the end, Step 6 should send an email to confirm that the 6 steps of the deployment was completed without errors.
Any idea how to do it ?
Many many thanks for all the help !
A desperate guy :)
This is what i have
'This script will look if an .exe file exist for a specific application.
'=============================================================================================
path = WScript.Arguments.Item(0)
set objFSO = CreateObject("Scripting.FileSystemObject")
If objFSO.FileExists(C:\Inetpub\wwwroot\Enterprise\EnterpriseWS\web.config) = true then
exitCode = 0
else
exitCode = 1
End If
Wscript.Quit exitCodeSince you are not a scripting guy here is a very good place to start:
http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx
¯\_(ツ)_/¯ -
I am using Outlook 2010 and I also use a Iphone 4s. I use Outlook to correct all my contacts and them it sync with my phone BUT I get different variations of the contacts. Almost as if there is another file it is going to. Can I check to see which file it is reading from??
This may be helpful.
http://itconflict.com/2012/01/08/troubleshooting-icloud-sync-with-outlook/ -
SRM 7.0 Modify POWL for shopping cart check status screen
HI Experts,
The standard settings in check status for SC in SRM 7.0 is to display the sc with item level. This causes the SC number to be repeated (for no. of items in SC) and all links open the same SC in a new window.
We want to display only the header of SC and no item data should be displayed in check status.
I tried
SRM Server->Cross-Application Basic Settings->POWL and Advance Search->Adjust POWL Layout,search criteria and push buttons----choose feeder type SAPSRM_FEEDER_SC -double click field catalog-choose ITEM_DESCR, ITEM_NO, ITEM_STATUS---CHOOSE display and select HIDDEN COLUMN radio button.
This hides the corresponding columns but duplicate records are still showing.
Can some one please help?
Thanks,
AnubhavHi NM,
After performing the steps in first post for hiding item relevant fields you can filter the data displayed in the result by using the BADI /SAPSRM/BD_POWL_CHNG_SEL_RSLT .
In the BADI Delete the records from result internal table where SC num is repeated so that thers only one entry for each SC.
Let me know if it works for you or not.
BR,
Anubhav -
Changing the dropdown values for one of the fields in CHECK STATUS query
Hi,
We are on SRM 7.1.
In the CHECK STATUS transaction,in the selection screen(QUERY),there is a field called "ROLE" which has teh dropdown values of "APPROVE BY ME","REJECTED BY ME" and "GOODS/SERVICES DELIVERED TO ME".Is there any way some of these drowpdown values can be removed?
Please advise.hi nmsrm1234
i have a document for this issue.
but i don´t find this document in internet. it is called : CUSTOMER-SPECIFIC UI ADJUSTMENTS IN SRM 7.0 WEBDYNRPO ENVIROMENT / META DATA HANDLING CONCEPT.
if you can find it, you will get an idea to resolve this issue, if you will no have luck, please get me your mail, and i will send you the document.
regards. -
Function module to check if a given file/folder path is valid or not?
Hi,
I am using function modules GUI_DOWNLOAD and GUI_UPLOAD.
Is there any function module to check if a given file/folder path is valid or not?
Thanks.Hi Kumar ,
REPORT zdir_test.
TYPE-POOLS: abap.
DATA: v_dir TYPE string.
DATA: v_bol TYPE abap_bool.
v_dir = 'c:\sap\'.
CALL METHOD cl_gui_frontend_services=>directory_exist
EXPORTING
directory = v_dir
RECEIVING
result = v_bol
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
wrong_parameter = 3
not_supported_by_gui = 4
OTHERS = 5.IF NOT v_bol IS INITIAL.
WRITE:/ 'Directory exists.'.
ELSE.
WRITE:/ 'Directory does not exist.'.
ENDIF.
Regards,
Sachin M M -
Change the input parameter in Check Status screen
Hi,
I have a requirment to change the input parameter option in the check status screen. Currently when we search the SC using the date and staus from the extended search it picks the SC created date and displays the SC, my requirement is to make the date as the approved date insted of SC created date with the status as aprpoved.
Please suggest if this is possible with the help of any Badi.
Regards
GGLI managed to find the solution myself. If anyone is interested, just follow those steps here:
http://apple.stackexchange.com/questions/44913/make-a-custom-keyboard-layout-the -system-default-even-for-the-login-screen
(terminal skills required tho) -
I keep getting the message: "what should Firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!
cor-el,
Thanks for your prompt reply. However, the sources you gave do not seem to apply exactly to my situation. I have attached some screenshots that show what the dialogue box looks like for a pdf download, and what my settings in the Apps panel of Options are. You will note in the first screenshot that I have checked the box to handle this file type automatically; however, the next time I try to download a file of that type, the same dialogue box appears looking exactly like the one shown, so checking the "automatic" option appears to do nothing. The files to be downloaded from my Gmail messages are not generic or altered file types - they are shown as pdf, doc, docx, etc. So while your intent was good, your post did not help. Thanks anyway. -
Unable to check status of Warranty Return
) Hi, I recently organised a return for my Zen x-fi 32gb (around 3 weeks ago) Since then I haven't heard anything, so I've tried on numerous occasions to input my RMA number in the 'check status' page but it always tells me it isn't an RMA number, even though I know it is. I was wondering if any of the mods here could help me out with this? I tried again today and the page doesn't even seem to be working at all at the moment - very annoying!
Please check your PM.
-
Modify the Overall credit check status in Sales order
Dear all,
Good morning/afternoon/evening!
I have a question that how to modify the Overall credit check status (VBUK-CMGST) in sales order when the order saved?
I try to do this in USEREXIT_SAVE_DOCUMENT_PREPARE, but it does not works.
Maybe I need to do this in USEREXIT_SET_STATUS_VBUK ? But i also face the problem ........
Anybody who can give me a sufficient solution? I promise reward to you!!!
regards,
Brian LiuHi,
user function 1 in credit management by using
LVKMPFZ1 (FORM USER_CREDIT_CHECK1). If you branch into function module SD_ORDER_CREDIT_CHECK you can use the coding of FORM OLDEST_OPEN_ITEM_CHECK.
<b>Reward points</b>
Regards
Maybe you are looking for
-
In creation of function module
hi, i created one rfc enabled function module to update the database table agr_define. but, is it possible to create custom function module in updating the any database table by using one function module only by giving the table name and fil
-
My iPad keeps on flashing on recovery mode and nothing will work. PLEASE HELP.
So I was on my iPad and all of a sudden it turned black then blue, it would take snapshots of the iPad but not fully open. If I hold any buttons down, the logo for iTunes and charger shows up but flashes repeadlty. If you know a solution please help
-
Where do I complain about a Verizon Wireless Store?
I recently purchased a new ipad mini with retina display, 16g, for my family for Christmas. I purchased the ipad at the full retail price, instead of adding a line and getting the priced reduced by $100 since I had a line to put it on. He charged
-
[SOLVED] Linux 3.10.6 and brcmsmac: kernel panic
Hi! I'm using latest linux kernel 3.10.6, on my laptop. I have a broadcom wifi card. Cutting long story short, as soon as I start *anything* that uses my connection (opening chromium or issuing a "pacman -Syu"), i have a kernel panic. The camera shot
-
Hi, I am using safari and whenever I click onto the download links such as the one in the downloads page of apple.com, it just loads a blank page and does not download the file. It never pops up the save as menu asking where to save. Anyone know how