FTP Put fails when there is no pre-existing file present in the directory
Hi All,
In our process we use the FTP adapter to write a file to a location. This operation fails when there is no preexisting file on the output directory.
So we placed a zero byte file on the directory and tested and the adapter was able to create the output file but when the files were deleted from the output directory the file transfer failed again.
We got the below error
Non Recoverable System Fault :
Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Invalid Output Directory. Invalid Output Directory. The value specified for the output (Physical/Logical)Directory interaction parameter or jca binding property has an invalid value "XXXXXXXXXXXXXXX" Ensure that the following conditions are satisfied for the output directory : 1) It exists and is a directory (not a file). and 2) It is writable (file write permissions). and 3) If using a logical name, then ensure that the mapping from logical name<->physical directory is correctly specified in the deployment descriptor. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
Kindly help us resolve the issue.
Thanks in advance.
Regards,
Balaji R
Balaji,
This operation fails when there is no preexisting file on the output directory I'm not sure I understood this declaration.
Why do you need to have preexisting file on the output directory?
If it fails, with the mentioned error, it means that something was not defined properly.
OR
Another option is permissions.
Check that your local system user (I guess orabi) has a write permission on the target directory (on the FTP host).
Arik
Similar Messages
-
Iwlist scan fails when there too many wireless networks
$ sudo iwlist wlan0 scan
print_scanning_info: Allocation failed
wicd uses iwlist to scan networks but iwlist fails when there are too many networks. This seems to be an old issue. Is there a fix for this?
Thanks.There's a fix yes. For wireless_tools-29 there's a patch somewhere. Or you install wireless_tools-30pre9
-
my iphone 4s well not change. I had a new battery put in. when i try and plug it comes up with the low batter siqn
thebee88 wrote:
I had a new battery put in.
Who did that? I'm assuming not Apple, correct? Take the phone back to whoever replaced the battery & have them fix things.
Be aware: Apple does not sell iPhone parts or batteries, thus there is no legitimate source for such. -
# Question
When the program gets terminated unexpectedly (power failure, UPS fails), when I reopen it, it usually does NOT return the previous pages, as I have checked in the 'options' box, but goes to some random collection of pages often from months ago. Very frustrating - can anything be done to COMMAND it to save current pages and re-open there? (As I said, I have this box checked in the options, but it does not work ..Very Important, how much Free Space is on your Hard Drive first of all? Click on the Macintosh HD on the Desktop, then do a Get Info on it.
Could be many things, we should start with this...
"Try Disk Utility
1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
*Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
3. Click the First Aid tab.
4. Select your Mac OS X volume.
5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
http://docs.info.apple.com/article.html?artnum=106214
Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
(Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
Do they launch OK while in Safe Mode? -
I have just downloaded Mac OS X 10.9 and Pages 5. When I open any pre-existing document in the new Pages the format is zoomed to 125%, the headers are out of position, the margins are changes, and inserted images are also relocated. What can I do?
Have you tried resetting the SMC ? > Resetting the System Management Controller (SMC)
-
Is there a way to upload files directly to the cloud from bridge cc?
Is there a way to upload files directly to the cloud from bridge cc? I use bridge to organize my files. It would be a lot easier if I didn't have to drag and drop files into the cc folder, I was hoping that there might be an easier way.
thanks,When you save them just make sure you save them to your Mac and not iCloud. For those that already exist, you can move them from iCloud by dragging and dropping them to somewhere else on your Mac. To see all the files in iCloud choose file > open in either pages or numbers.
-
When right mouse click on a file or folder the finder refreshes
Hi everybody!
I am having problems with the finder of my PowerBook G4. I have recently reinstalled Mac OS 10.4.8. I have installed Final Cut Studio and right now I am having problems with the finder. When I right click on a file or folder the finder seems to refresh itself and closes all the windows I have there.
It doesn´t happen all the time but I am getting worried about it. Please, help me.
Thank you in advance.
HermannCapricornio
This is the Finder crashing and relaunching. It's probably caused by a dodgy contextual menu module (CMM). I've noticed people complain that a Stuffit Module is causing this problem. CMM's are stored at HD/Library/Contextual Menu Items or Home/Library/Contextual Menu Items. Try removing them and logging out and back in again, a little trial an error will find the one causing the problem.
Regards
TD -
Fire up a copy thread when the new file added to the directory
Hello,
I am writing a thread to copy the files from a specific directory to the server. Since the files are sent to this directory by another group and I want to do the coping whenever the files are in the directory.
Could you tell me how I can monitor the files in the directory and fire up the copy thread when the files are there?
Thanks in advance!
DavidGuess you can use a thread to check the directory for any changes and, if found, do the copying. You can use the same thread you used to copy for checking as well.
-
Is there a way to keep files out of the iCloud?
Is there a way to keep files out of the iCloud?
When you save them just make sure you save them to your Mac and not iCloud. For those that already exist, you can move them from iCloud by dragging and dropping them to somewhere else on your Mac. To see all the files in iCloud choose file > open in either pages or numbers.
-
Hi I have downloaded Acrobat XI Pro and when I try to convert pdf file to word the message says 'error can't sign in'?
IrenedixHi Irenedix,
If you are using Acrobat you can try the suggestions mentioned above.
Are you using the Create PDF service from within Reader to create pdf?
If yes then please check if you are able to login to: https://cloud.acrobat.com/convertpdf with your Adobe ID and able to convert the document to pdf.
If yes then within Reader you can try the following:
Choose Edit > Preferences (Win)
Click 'Online Services' or 'Adobe Online Services' on the left-hand side
Sign out of your Adobe ID and sign back in.
Regards,
Rave -
when I'm trying to add files to media, the program is suddenly closed by windows and says that can not find solution to this problem...
Hello Wyodor,
thanks for your reply on my question.
You are wright the index file is 308 KB.
And offcourse that I delete my files and documents is not an Iweb problem, but because my English is not that good, that I thougt I try to tell the whole story, and hope people can read trough the lines.
Why I didn't use Iweb to upload to the server is because the server company recommanded to use file zilla. And I am a nobody with this kind of things, so I did exactly what they tell me to do.
No, i did not make a backup of Iweb and the domain file, but reading other messages on this forum showed me that I can maybe try to make empty the cashfile (?)
and otherwise I have bad luck and have to make my website again. Offcourse I have a lot of examples from all the pages (copied from the local map to my USB stick) and my website is aprox. 15 Mb, (not so big) so it will cost me a few nigths.
But I'm still hoping on a miracle :-)
greetings Lasource -
DB_GET_BOTH_RANGE fails when there is only one record for a key
Using the DB_GET_BOTH_RANGE flag doesn't seem to work when there is a
single record for a key.
Here's a sample Python program that illustrates the problem. If you
don't know Python, then consider this to be pseudo code. :)
from bsddb3 import db
import os
env = db.DBEnv()
os.mkdir('t')
env.open('t',
db.DB_INIT_LOCK | db.DB_INIT_LOG | db.DB_INIT_MPOOL |
db.DB_INIT_TXN | db.DB_RECOVER | db.DB_THREAD |
db.DB_CREATE | db.DB_AUTO_COMMIT)
data = db.DB(env)
data.set_flags(db.DB_DUPSORT)
data.open('data', dbtype=db.DB_HASH,
flags=(db.DB_CREATE | db.DB_THREAD | db.DB_AUTO_COMMIT |
db.DB_MULTIVERSION),
txn = env.txn_begin()
#data.put('0', '6ob 0 rev 6', txn)
data.put('0', '7ob 0 rev 7', txn)
#data.put('0', '8ob 0 rev 8', txn)
data.put('1', '9ob 1 rev 9', txn)
txn.commit()
cursor = data.cursor()
print cursor.get('0', '7', flags=db.DB_GET_BOTH_RANGE)
cursor.close()
data.close()
env.close()
This prints None, indicating that the record who's key is '0' and
who's data begins with '7' couldn't be found. If I uncomment wither of
the commented out puts, so that there is more than one record for the
key, then the get with DB_GET_BOTH_RANGE works.
Is this expected behavior? or a bug?You can use the DB_SET flag which will look for an exact key match. If
you use it with the DB_MULTIPLE_KEY flag, it will return multiple keys
after the point it gets a match. If you can post here how all your
LIKE QUERIES look, I may be able to provide you with the suited
combination of the flags you can use for them.I'm not doing like queries. I'm using BDB as a back end for an object
database. In the object database, I keep multiple versions of object
records tagged by timestamp. The most common query is to get the
current (most recent version) for an object, but sometimes I want the
version for a specific timestamp or the latest version before some
timestamp.
I'm leveraging duplicate keys to implement a nested mapping:
{oid -> {timestamp -> data}}
I'm using a hash access method for mapping object ids to a collection
of time stamps and data. The mapping of timestamps to data is
implemented as duplicate records for the oid key, where each record is
an 8-byte inverse timestamp concatenated with the data. The inverse
timestamps are constructed in such a way that they sort
lexicographically in inverse chronological order. So there are
basically 3 kinds of query:
A. Get the most recent data for an object id.
B. Get the data for an object id and timestamp.
C. Get the most recent data for an object id who's timestamp is before
a given timestamp.
For query A, I can use DB->get.
For query B, I want to do a prefix match on the values. This can be
thought of as a like query: "like <inverse-time-stamp>%", but it can
also be modelled as a range search: "get the smallest record that is >=
a given inverse time stamp". Of course, after such a range search,
I'd have to check whether the inverse time stamp matches.
For query C, I really want to do a range search on the inverse time
stamp prefixes. This cannot be modelled as a like query.
I could model this instead as {oid+timestamp -> data}, but then I'd
have to use the btree access method, and I don't expect that to scale
as I'll have hundreds of millions of objects.
We tried using BDB as a back end for our database (ZODB) several years
ago and it didn't scale well. I think there were 2 reasons for
this. First, we used the btree access method for all of our
databases. Second, we used too many tables. This time, I'm hoping that
the hash access method and a leaner design will provide better
scalability. We'll see. :)
If you want to start
on a key partial match you should use the DB_SET_RANGE flag instead of
the DB_SET flag.I don't want to do a key partial match.
Indeed, with DB_GET_BOTH_RANGE you can do partial
matches in the duplicate data set and this should be used only if you
look for duplicate data sets.I can't know ahead of time whether there will be duplicates for an
object. So, that means I have to potentially do the query 2 ways,
which is quite inconvenient.
As you saw, the flags you can use with cursor.get are described in
detailed here.But it wasn't at all clear from the documentation that
DB_GET_BOTH_RANGE wouldn't work unless there were duplicates. As I
mentioned earlier, I think if this was documented more clearly and
especially of there was an example of how one would work around the
behavior, someone would figure out that behavior wasn't very useful.
What you should know is that the usual piece of
information after which the flags are accessing the records, is the
key. What I advice you is to look over Secondary indexes and Foreign
key indexes, as you may need them in implementing your queries.I don't see how secondary indexes help in this situation.
BDB is
used as the storage engine underneath RDBMS. In fact, BDB was the
first "generic data storage library" implemented underneath MySQL. As
such, BDB has API calls and access methods that can support any RDBMS
query. However, since BDB is just a storage engine, your application
has to provide the code that accesses the data store with an
appropriate sequence of steps that will implement the behavior that
you want.Yup.
Sometimes you may find it unsatisfying, but it may be more
efficient than you think.Sure, I just think the notion that DB_GET_BOTH_RANGE should fail if
the number of records for a key is 1 is rather silly. It's hard for me
to imagine that it would be less efficient to handle the non duplicate
case. It is certainly less efficient to handle this at the application
level, as I'm likely to have to implement this with multiple database
queries. Hopefully, BDB's cache will mitigate this.
Thanks again for digging into this.
Jim -
PCmd- Parameters- Count fails when there's no parameter
Hello,
With ORAOLEDB 8.1.7, MDAC 2.5, IIS 4.0 and COM : we have problems with pCmd->Parameters->Count.
When my program raise an exception before i add parameters to my _CommandPtr object, I try to delete the parameters ( for security ) and the count property of the Parameters object fails.
Does anybody know why ?
Thanks.
Sample code :
try
// creation of the connection object
_ConnectionPtr pConn= NULL;
pConn.CreateInstance(__uuidof(Connection));
if ( pConn != NULL )
pConn.Open( strConnectionString, CHAINE_VIDE, CHAINE_VIDE, adConnectUnspecified);
if ( pConn->State == adStateOpen )
// creation of the command object
_CommandPtr pCmd = NULL;
pCmd.CreateInstance(__uuidof(Command));
pCmd->ActiveConnection = pConn;
pCmd->CommandType = adCmdText;
pCmd->CommandTimeout = 15;
pCmd->PutPrepared(true);
Funtion_who_fail( param1, param2 ); // raising of an exception
AppendParameter( pCmd, param3, adParamInput, adBSTR );
AppendParameter( pCmd, param4, adParamInput, adBSTR );
_RecordsetPtr pRst = pCmd->Execute( NULL, NULL, adCmdText );
DeleteParameters(pCmd);
catch(_com_error& oErr)
DeleteParameters(pCmd); // catch of the exception
catch(...)
DeleteParameters(pCmd);
void DeleteParameters( _CommandPtr& pCmd )
if ( pCmd != NULL )
while ( pCmd->Parameters->Count > 0 ) // count property fails.
pCmd->Parameters->Delete(long(0));Write your procedure like the following and it will work.
PROCEDURE mk_adr(klant NUMBER, receiver NUMBER) IS
BEGIN
INSERT INTO lea_adr (
oid, object, streetname,
housenumber, housealpha, ponumber,
postcode, cityname, locationdesc,
province, kind, country_id,
relation_id, offerrec_id,
h_trans_van,
h_geldig_van,
h_gebruiker
SELECT lea_adr_seq.NEXTVAL, lea_adr_seq.NEXTVAL, streetname,
housenumber, housealpha, ponumber,
postcode, cityname, locationdesc,
province, kind, country_id,
null, receiver,
To_Date('01-01-2000'),
To_Date('01-01-2000'),
'conv'
FROM lea_adr
WHERE relation_id = klant
EXCEPTION
WHEN Others THEN
conv_algemeen.debugMessage('mk_adr :: '||SQLERRM);
END;
Using the lea_adr_seq.NEXTVAL more then once in the SAME select will return the same value for both calls.
SQL> create sequence test
2 ;
Sequence created.
SQL> select test.nextval,test.nextval from dual;
NEXTVAL NEXTVAL
1 1
SQL> -
How can I verify my apple ID when there is no link to click on in the email
Hi,
I am sent an email to verify my account which says 'click the link below and sign in using your apple ID and password' verify now> but there is nothing to click on...the verify now does nothing. How else can this be done?
Thanksi have the same problem..
-
Config tool fails when trying to modify an existing Oracle EPM instance
I have a single server windows 2008 server environment with Foundation, prlanning, essbase , raframework, and EAL. I also have ODI installed in the same server. I was trying to add Strategic finance to the same envirnment . I downloaded the required files according to oracle install doc.
The installation was successful without any errors.
Problems started when I tried to configure it. AsI opened the config tool and chose
Modify an existing Oracle EPM instance ...
the config tool gave an error that
An unexpected error occurred and the application will have to be shut down . Review the error log , correct error condition and re-launch the application .
Kindly share your thoughts on this issue
Edited by: Saurav Sarkar on Apr 5, 2012 12:55 PMDid you examine the configtool log to see if it has more information on why the configurator shutdown, if you not sure where to find the logs have a look at http://docs.oracle.com/cd/E17236_01/epm.1112/epm_install_troubleshooting_11121/ch03s02s05.html
Cheers
John
http://john-goodwin.blogspot.com/
Maybe you are looking for
-
Dynamic where clause in my query
I am using a view select * from vw_pt_inv_customer My requirement is have a web page where users can search for customers by filling in a form which has the following feilds: - User can fill in the form with all the feilds or not. I want a dynamic wh
-
Reinstall Display Driver to enable 3D
Currently using Photoshop CS6 Extended on Windows XP. When I go to enable UGP in Preferences the message I get is "photoshop detected an error in your display driver. Update or reinstall the driver and check UGP to retry". Have reinstalled Phot
-
Best practices for large ADF projects?
I've heard mention (for example, ADF Large Projects of documentation about dealing with large ADF projects. Where exactly is this documentation? I'm interested in questions like whether Fusion web applications can have more than one ViewController pr
-
Hi, I need to write a file as tab delimited on the application server. I've tried the following two methods to achieve this: - data: tab_hex(2) type X Value '09'. ( Can't use this as the app server is using
-
Can I add a processor to my single 1.8 Ghz, making it a dual?
Can I add a processor to my single 1.8 Ghz, making it a dual? If so, where can I find installation instructions to do that? Thanks.