OSB File Transfer check file status
Hi,
I have to read a file from a directory using a proxy service (file protocol).
Sometimes the proxy takes the file before it is finalized. It can be very big and take a long time to complete its writing.
Is there any way to check the status of the file?
the process which generates the file should use an extension NOT polled by OSB while writing the file, and once completed it should rename the file to the extension polled by OSB
otherwise you can use a file trigger pattern, which is supported by the JCA File Adapter
http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10231/adptr_file.htm#CIAJCBGI
Similar Messages
-
How to check the status of file downloading?
I have to download the selected file by using "file download" dialogue box.
This "File Download" dialogue box provides options for "Open", "Save", "Cancel" or "More Info". It is similar to usual "File Downloading".
And i am required to do further processing only if , file is "Open" or "Save".
So how can i check the status of the option selected by the user?
Following is the code snippet:
res.setContentType("text/plain");
res.addHeader("Content-Disposition", "attachment; filename=" +value);
try
uFile= new File(fPath);
fSize=(int)uFile.length();
fis = new FileInputStream(uFile);
c=-1;
while ((c = fis.read()) != -1)
out.print((char)c);
fis.close();
out.flush();
out=null;
catch(Exception e)
out.println("Exception : " +e);
} I tried to generate a flag and inside a while loop, and then checking the status of that flag outside of loop.
But it doesn't work.
It reflects the value of flag even if user selects "Cancel" Option.
So, if there is any another way of checking the option selected by user from "Open","Save" or" Cancel", then please reply me.
Thanks in advance.Is there any solution for this or any web link for this...?
Thanks in advance,
Waiting for reply -
How to get "ShareWithMe" files with "check out" status?
Hello All,
I was working on try to get "ShareWithMe" documents via SharePoint 2103 Query APIS with CSOM and REST service.
Practically it works good using the "SharedWithUsersOWSUSER"
manage property from this way:
https://domain-my.sharepoint.com/_api/search/query?querytext='*'&querytemplate='SharedWithUsersOWSUser:"someone"
But, this search query is not working for files that has been set up to "check out", I
mean this scenary :
e.g
I upload a new file to my documents.
Check out the file.
Share this file with someone.
I could verify that "SharedWithUsersOWSUser" property has a empty value for check out files that has been shared with someone, and this it will be the reason for what the query displayed above is not working in this case.
an extra test that I did it was : change the file shared from "check out" to "check in" and then the query it worked as expected.
Is there some way to get also these files(with "check out" status) ? I can see that it works very well on OneDrive for business - "ShareWithMe" page, I mean all files that it were shared with the current user are listed there, without to
take into account if these files it were set up to check out or not. Please, some suggestion ?When the file is checked out and metadata is changed while it is checked out the search crawler will not pick up the change until it is checked in. When you make changes to a file while it is checked out they are considered temporary changes until they
are checked in.
Blog | SharePoint Field Notes Dev Tools |
SPFastDeploy | SPRemoteAPIExplorer -
File status remains "new version available"
Hello everyone,
We are a writing team of two people and some time ago a third person joined us. We are working with RoboHelp HTML 9 and use Robosource Control to share our project. This third person has been given access to the Robosource Control project and he has opened the project for the first time on his computer directly from RoboHelp. (File > Open > Open Project from Version Control > Follow the steps). This seemed to work perfectly, but after the project opened in RoboHelp, the File status pod indicated that all files had the status "New version available". This seemed a little odd, because it was the first time he opened the project. Obviously I tried to do a "Get latest version all", but this didn't solve anything. I decided to let this be and see if it would resolve itself when he started working in the project. Unfortunately, the files still have this status. Now that he (the third person) has finished editing his topics and has checked them in, I can see his files in my File status pod and they also have the "New version available" status and it remains there, whatever I try. I've tried opening RoboSource Control and "getting" them there, but it doesn't work.
Anyone have a clue what is going on? It's not a major issue, we can access the project and edit topics just fine, but I would prefer to see this fixed asap. We all know how messy Source Control can getIf the new RH user has got a 64-bit machine, he may need this fix: http://blogs.adobe.com/techcomm/2011/09/fix-for-using-adobe-robosource-control-on-64-bit-m achines.html.
-
Specify filename in OSB File Trasport Business Service
Hi All,
Is it possible to specify the complete filename in OSB File Transport Business Service?
the default behavior allows me to specify the prefix and suffix only, is it possible to override and specify the complete filename?
Thanks,
TalSpecifying the filename for outbound FTP transport in OSB the thread discusses with FTP BS and same would apply for File BS
Manoj -
How to display the file status in the status bar?
Hi all,
Can anyone tell me how to display the file status in the status bar?
The file status can consists: the type of the file, the size of the file etc..
thanx alot..class StatusBar extends JComponent {
JLabel l = new JLabel("ready");
public StatusBar() {
super();
setLayout(new BoxLayout(this, BoxLayout.X_AXIS));
add(l);
public void setText( String prompt ) {
l.setText(prompt);
setVisible( true );
public void paint(Graphics g) {
super.paint(g);
} -
In Aperture3 File Status - cannot find it in Filter as option?
Am trying to move all of my remaining masters located on my laptop to an external drive. 80% of them are already in a referenced library on an external drive. Trying to filter the pictures by using Command F (Find) and the Aperture 3 manual shows there should be an option just below Keywords, called File Status. File Status does not appear on my screen. I am using Aperture 3 v3.3.2. Does anyone know what I am doing wrong. Thanks your. Mark
Hi Mark. You have to add any Rules that are not listed. Click "Add Rule", upper right.
(Screenshot)
Message was edited by: Kirby Krieger -- totally rewritten. Sorry. -
Hello all,
When using brtools, the following error pops up. Appreciate if you could share some hints. thanks.
> brtools
BR0651I BRTOOLS 7.00 (43)
BR0252E Function stat() failed for '/oracle/QAA/102_64/rdbms/admin/log' at location BrFileStatGet-1
BR0253E errno 13: Permission denied
BR0273E Determination of file status for /oracle/QAA/102_64/rdbms/admin/log failed
BR0280I BRTOOLS time stamp: 2010-05-07 14.20.41
BR0654I BRTOOLS terminated with errors
Kind regards
Raymond>
Raymond Yuan wrote:
> BR0252E Function stat() failed for '/oracle/QAA/102_64/rdbms/admin/log' at location BrFileStatGet-1
> BR0253E errno 13: Permission denied
>
Hello,
now this message is pretty obvious. So the needed information would be:
ls -ld /oracle/QAA/102_64/rdbms/admin
ls -ld /oracle/QAA/102_64/rdbms/admin/log
ls -ld brtools
id
and then compare if the user executing brtools has appropiate rights.
Most likely you did not run saproot.sh so brtools might not be set suid to oraqaa
and you are executing as qaaadm.
Best regards
Volker -
What does the "Show file status badges" in Slideshow mean ?
Does anyone know what the "Show file status badges" in Slideshow mean ?
Presumably whether the image is online or offline.
-
How to display file status during importation?
Hi,
Can anyone tell me how to display import file status during file importation? The file status can consist of file name, type of file, size of file, % of complete during importation, ....
Thx in advanceHi
use these functions
RIGHT (Text, Number)
Return X characters from the right
RIGHT(“The Quick Brown Fox”, 5)
n
SEARCH(Text1, Text2, Num)
Returns the index of Text1 within Text2,starting the search at index Number
Formula should be
right([Name-column],search[".",[Name-column],1))
More info regarding calculated columns
http://junestime.wordpress.com/2013/02/12/sharepoint-calculated-column-formulas/
Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you. -
ORA-27037: unable to obtain file status
what is the solution of this error
skipping archive log file /u02/proddata/ARCH/1_1150_742566836.dbf; already backe
d up 1 time(s)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 02/24/2011 18:00:52
RMAN-06059: expected archived log not found, lost of archived log compromises re
coverability
ORA-19625: error identifying file /u02/proddata/ARCH/1_1152_742566836.dbf
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3It appears that an archivelog is missing.
You should perform the following:
CROSSCHECK ARCHIVELOG ALL;
DELETE EXPIRED ARCHIVELOG ALL; -
File status optimization.
I'm having a (relatively) large database (300 mb) with a low cache (4 mb), and when the database is getting slow, presumably due to cache shortage, i see the following stack trace most of the time:
java.io.UnixFileSystem.getBooleanAttributes0 (UnixFileSystem.java:-2)
java.io.UnixFileSystem.getBooleanAttributes (UnixFileSystem.java:228)
java.io.File.exists (File.java:702)
com.sleepycat.je.cleaner.UtilizationProfile.putFileSummary (UtilizationProfile.java:720)
com.sleepycat.je.cleaner.UtilizationProfile.flushFileSummary (UtilizationProfile.java:680)
com.sleepycat.je.cleaner.UtilizationTracker.evictMemory (UtilizationTracker.java:118)
com.sleepycat.je.evictor.Evictor.evictBatch (Evictor.java:302)
com.sleepycat.je.evictor.Evictor.doEvict (Evictor.java:246)
com.sleepycat.je.evictor.Evictor.doCriticalEviction (Evictor.java:271)
com.sleepycat.je.dbi.CursorImpl.close (CursorImpl.java:668)
com.sleepycat.je.Cursor.close (Cursor.java:252)
com.sleepycat.je.Database.deleteInternal (Database.java:519)
com.sleepycat.je.Database.delete (Database.java:405)
File.exists most probably uses the "stat" system call, and I happen to know from prior experience, that this is endeed a slow call, it might be two or three times slower than the "open" call.
Is it really necessary to poll the filesystem for file status information when the environment is already opened? Could it be an option perhaps, that Berkley should cache file existance?Artem:
In our next patch release, we have the following bug fix. Are you doing deletes, as the description says? If this might explain your problem, please contact me at linda dot q dot lee @ the expected if you would like to try a pre-release which includes this fix.
7. Fixed a bug which could degrade the performance of cache eviction. The problem can only be seen by applications which execute Database.delete(), Cursor.delete(), Environment.deleteDatabase() or Environment.truncateDatabase(), and is very timing dependent. The symptom is thread dumps which show that the application is frequently executing the java.io.File.exists() call with this stack trace:
at java.io.File.exists(File.java:733)
at com.sleepycat.je.cleaner.UtilizationProfile.putFileSummary(UtilizationProfile.java:747)
at com.sleepycat.je.cleaner.UtilizationTracker.evictMemory(UtilizationTracker.java:118)
at com.sleepycat.je.evictor.Evictor.evictBatch(Evictor.java:313)
at com.sleepycat.je.evictor.Evictor.doEvict(Evictor.java:253)
[#15512] -
File status "New version available" - UPDATED
RH11 | WebHelp
We've been using RoboSource Control successfully for the last 12 months, but recently we've noticed that on the File Status tab in RH a large number of files have a status of "New version available". In addition, we've noticed today that the link between our projects and RSC is no longer working. The strange thing is that my colleagues and I can still open projects that are in RSC, and get the latest versions, but it still thinks there are newer versions available and any changes we make aren't being reflected on the server, i.e. we can't see each other's changes. I've tried disconnecting one of our projects from RSC and re-adding it, but it makes no difference.
Has anyone encountered this behaviour before?
We've been upgraded to Windows 8 recently and we've also upgraded our projects from RH10 to RH11. Could this be a factor?
Any help would be much appreciated.
UPDATE: It looks like the changes are being updated on the server, as I can right-click a file in source control that I have changed, choose View, and see the amendments in the HTML. What's happening is the date and timestamp of the updated files are not being updated, so I'm guessing that because of this, source control doesn't recognise that files have changed. This means that when someone tries to get the latest version it doesn’t think there is one. Is it possible that a setting on the server could have changed to prevent the date and timestamp from being updated?
Thanks
Jonathan
Message was edited by: Jonathan SmithIf the new RH user has got a 64-bit machine, he may need this fix: http://blogs.adobe.com/techcomm/2011/09/fix-for-using-adobe-robosource-control-on-64-bit-m achines.html.
-
Error while checking the status of Oracle Cluster ware
Hi
I was trying to install the database using dbca after setting up the grid and database software on LINUX x86-64 RHEL 5.7 machine. The database software version is 11.2.0.3. It throwing the error regarding the connectivity of clusterware. So I checked the status of clusterware.
-bash-3.2$ ./crsctl stat res -t
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4000: Command Status failed, or completed with errors.
-bash-3.2$
But when I ran below one:
-bash-3.2$ ./crsctl stat res -t -init
NAME TARGET STATE SERVER STATE_DETAILS
Cluster Resources
ora.asm
1 ONLINE ONLINE sfv9699 Started
ora.cluster_interconnect.haip
1 ONLINE ONLINE sfv9699
ora.crf
1 ONLINE ONLINE sfv9699
ora.crsd
1 ONLINE OFFLINE
ora.cssd
1 ONLINE ONLINE sfv9699
ora.cssdmonitor
1 ONLINE ONLINE sfv9699
ora.ctssd
1 ONLINE ONLINE sfv9699 OBSERVER
ora.diskmon
1 OFFLINE OFFLINE
ora.drivers.acfs
1 ONLINE ONLINE sfv9699
ora.evmd
1 ONLINE INTERMEDIATE sfv9699
ora.gipcd
1 ONLINE ONLINE sfv9699
ora.gpnpd
1 ONLINE ONLINE sfv9699
ora.mdnsd
1 ONLINE ONLINE sfv9699
So i saw that the crsd having some issue. I checked the alert log and crsd log. Below are the output.
Alert <server_name>.log
2012-10-20 15:37:51.408
[ohasd(3694)]CRS-2765:Resource 'ora.crsd' has failed on server 'sfv9699'.
2012-10-20 15:37:52.968
[crsd(5188)]CRS-1013:The OCR location in an ASM disk group is inaccessible. Details in /oracle2/app/11.2.0/grid/log/sfv9699/crsd/crsd.log.
2012-10-20 15:37:52.984
[crsd(5188)]CRS-0804:Cluster Ready Service aborted due to Oracle Cluster Registry error [PROC-26: Error while accessing the physical storage
ORA-27140: attach to post/wait facility failed
ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
ORA-27301: OS failure message: Operation not permitted
ORA-27302: failure occurred at: skgpwinit6
ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
]. Details at (:CRSD00111:) in /oracle2/app/11.2.0/grid/log/sfv9699/crsd/crsd.log.
2012-10-20 15:37:53.471
[ohasd(3694)]CRS-2765:Resource 'ora.crsd' has failed on server 'sfv9699'.
2012-10-20 15:37:53.472
[ohasd(3694)]CRS-2771:Maximum restart attempts reached for resource 'ora.crsd'; will not restart.
CRSD.log
2012-10-20 15:37:52.456: [ CRSMAIN][3563381328] Checking the OCR device
2012-10-20 15:37:52.457: [ CRSMAIN][3563381328] Sync-up with OCR
2012-10-20 15:37:52.457: [ CRSMAIN][3563381328] Connecting to the CSS Daemon
2012-10-20 15:37:52.457: [ CRSMAIN][3563381328] Getting local node number
2012-10-20 15:37:52.459: [ CRSMAIN][3563381328] Initializing OCR
[ CLWAL][3563381328]clsw_Initialize: OLR initlevel [70000]
2012-10-20 15:37:52.897: [ OCRASM][3563381328]proprasmo: Error in open/create file in dg [DATA]
[ OCRASM][3563381328]SLOS : SLOS: cat=7, opn=kgfoAl06, dep=27140, loc=kgfokge
2012-10-20 15:37:52.898: [ OCRASM][3563381328]ASM Error Stack : ORA-27140: attach to post/wait facility failed
ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
ORA-27301: OS failure message: Operation not permitted
ORA-27302: failure occurred at: skgpwinit6
ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
2012-10-20 15:37:52.967: [ OCRASM][3563381328]proprasmo: kgfoCheckMount returned [7]
2012-10-20 15:37:52.967: [ OCRASM][3563381328]proprasmo: The ASM instance is down
2012-10-20 15:37:52.968: [ OCRRAW][3563381328]proprioo: Failed to open [+DATA]. Returned proprasmo() with [26]. Marking location as UNAVAILABLE.
2012-10-20 15:37:52.968: [ OCRRAW][3563381328]proprioo: No OCR/OLR devices are usable
2012-10-20 15:37:52.968: [ OCRASM][3563381328]proprasmcl: asmhandle is NULL
2012-10-20 15:37:52.969: [ GIPC][3563381328] gipcCheckInitialization: possible incompatible non-threaded init from [prom.c : 690], original from [clsss.c : 5326]
2012-10-20 15:37:52.975: [ default][3563381328]clsvactversion:4: Retrieving Active Version from local storage.
2012-10-20 15:37:52.978: [ CSSCLNT][3563381328]clssgsgrppubdata: group (ocr_SFV9699-cluster) not found
2012-10-20 15:37:52.978: [ OCRRAW][3563381328]proprio_repairconf: Failed to retrieve the group public data. CSS ret code [20]
2012-10-20 15:37:52.981: [ OCRRAW][3563381328]proprioo: Failed to auto repair the OCR configuration.
2012-10-20 15:37:52.981: [ OCRRAW][3563381328]proprinit: Could not open raw device
2012-10-20 15:37:52.981: [ OCRASM][3563381328]proprasmcl: asmhandle is NULL
2012-10-20 15:37:52.983: [ OCRAPI][3563381328]a_init:16!: Backend init unsuccessful : [26]
2012-10-20 15:37:52.984: [ CRSOCR][3563381328] OCR context init failure. Error: PROC-26: Error while accessing the physical storage
ORA-27140: attach to post/wait facility failed
ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
ORA-27301: OS failure message: Operation not permitted
ORA-27302: failure occurred at: skgpwinit6
ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
2012-10-20 15:37:52.984: [ CRSMAIN][3563381328] Created alert : (:CRSD00111:) : Could not init OCR, error: PROC-26: Error while accessing the physical storage
ORA-27140: attach to post/wait facility failed
ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
ORA-27301: OS failure message: Operation not permitted
ORA-27302: failure occurred at: skgpwinit6
ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
2012-10-20 15:37:52.984: [ CRSD][3563381328][PANIC] CRSD exiting: Could not init OCR, code: 26
2012-10-20 15:37:52.984: [ CRSD][3563381328] Done.
=======================
I see in the above log that saying ASM instance is down and failed to open +DATA .
But the asm instance up and running
SQL> select instance_name,status from v$instance;
INSTANCE_NAME STATUS
+ASM1 STARTED
And we havent created any disk named DATA before the installation. We have created only below two disks
SQL> select name,header_status from v$asm_disk;
NAME HEADER_STATUS
ASM_DATA MEMBER
FLASH_RECOVERY MEMBER
But I am seeing a diskgroup in the v$asm_diskgroup which we havent created.
SQL> select name,state from v$asm_diskgroup;
NAME STATE
DATA MOUNTED
Ya this is a second time installtion. In the first installtion we created the asmdisk as DATA. But later everything (RAW device ) was formatted and this new disks has been created and installtion again started
[root@SFV9699 bin]# oracleasm listdisks
ASM_DATA
FLASH_RECOVERY
Seems like its trying to read the old disk DATA.
we have done asmscanning too with oracleasm scan disks. but no use.
Where I can remove the old entry of DATA disk.
It would be a great if a quick response get.
Thanks
SHIYAS MThe permission looks fine. If it was permission issue then y it is trying to read the DATA disk which I havent created this time at all ( But created in the first installation).
2012-10-20 15:37:52.459: [ CRSMAIN][3563381328] Initializing OCR
[ CLWAL][3563381328]clsw_Initialize: OLR initlevel [70000]
2012-10-20 15:37:52.897: [ OCRASM][3563381328]proprasmo: *Error in open/create file in dg [DATA]*[ OCRASM][3563381328]SLOS : SLOS: cat=7, opn=kgfoAl06, dep=27140, loc=kgfokge
2012-10-20 15:37:52.898: [ OCRASM][3563381328]ASM Error Stack : ORA-27140: attach to post/wait facility failed
ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
ORA-27301: OS failure message: Operation not permitted
ORA-27302: failure occurred at: skgpwinit6
ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
2012-10-20 15:37:52.967: [ OCRASM][3563381328]proprasmo: kgfoCheckMount returned [7]
2012-10-20 15:37:52.967: [ OCRASM][3563381328]proprasmo: The ASM instance is down
2012-10-20 15:37:52.968: [ OCRRAW][3563381328]proprioo: *Failed to open [+DATA].* Returned proprasmo() with [26]. Marking location as UNAVAILABLE.
2012-10-20 15:37:52.968: [ OCRRAW][3563381328]proprioo: No OCR/OLR devices are usable
2012-10-20 15:37:52.968: [ OCRASM][3563381328]proprasmcl: asmhandle is NULL
The only disks created are
[root@SFV9699 dev]# oracleasm listdisks
ASM_DATA
FLASH_RECOVERY
And these disks are showing part of that group also.. Not quite sure how this happened..
what abt dropping this group.. will anything work. -
How to check the status of an IDoc in the Target system
Hi Experts,
we are using a self-made program to send Material and BOMs from Client A to Client B into the same ERP System.
How can I check the status of an IDoc in the Target Client B (like BD87 - ALE Monitor) ?
If you have some examples or Function, please give me the information.
Rewards if helpful.
Regards,
DavidHi David
As mentioned in the earlier reply you can check your status with tcodes:-BD87,WE02,WE05.What i guess from your querry is the staus of your idoc whether posted or not in target client B.Check in the target client for the message type which you are using (since its an program that means you must be using an customised idoc type or standard) .You might have maintained Basic type tcode:-WE30.Give in your messagetype,Basictype,Created at and executed using tcode :- BD87.The prerequisites are you need to create an Partner Profile(WE20) .For this you need to create to provide in your message type and Process code(we41,we42,we57).If you have to create an process code for customised one(se37) .You need to actuivate the idoc inbound processing .If you are using a file in your file make it sure the port is being maintained for the same to chek for unicode format in tcode :-WE21 (check or uncheck).
For standard BOM i recon you are using message type :-BOMMAT and Processing code as:-BOMM.Its always advisible that instead of using an whole abap program you need to have an ETL tool that would take care of the extraction of data provided your client do have existing Legacy system in its place since it would be much faster and easier.
Regards
Somnath
Maybe you are looking for
-
List of open PO in release strategy
Hello Experts, Where can we check the list of service PO's which are still in the release strategy. can you please give the the table and field for it. regards and thanks, YK
-
How to get last inserted id from database
Hello, In PHP Language, mysql_insert_id() gives the last inserted ID without writing any Queries in the code. Is there similar mechanism to do in Jsp page. I need to insert data in one table and in the meantime, with the last inserted ID i need to in
-
InDesign CS5 print crash on Windows 7
Howdy, occasionally some files in InDesign CS5 crash when I try to print them... The office has recently upgraded from CS2/Win XP to CS5/Win 7. Not sure if that has anything to do with the problem but usually persistence pays off and eventually InDes
-
How can i acess my serial number
How can i acess my serial number if my Iphone 5C is completly dead and the charger doesn't work.
-
How do I download legacy java 6.0 SE runtime?
How do I download legacy java 6.0 SE runtime?