How to set file permission using Oracle FTP Adapter
Hi,
I am using Oracle SOA Suite 11.1.1.4. I am trying to put a file using Oracle FTP adapter on unix box. The file that gets written to target system has file permission as RW/R/R. But this is a legacy system, and for them to consume this file - they expect the file permission to be RW/RW/R.
They have set the .profile with the required permissions for the ftp user account that we are using. But still when my BPEL process writes a file to unix box through ftp adapter, the file permission is RW/R/R.
Is there any way to control file permissions while writing files using ftp adapter? Any help would be highly appreciated.
907597 wrote:
But these setting needs to be done on unix server. Yes, that's the way to go... There's no config for that on FtpAdapter as far as I know...
This setting will enable the same configurations for all other ftp accounts on the server, which doesnt sound correct. Any other way of doing this? Or can this be done only for one ftp account?You have to check if your ftp server is capable of having different umask for different ftp users... I believe most do not...
http://h30499.www3.hp.com/t5/System-Administration/Setting-FTP-umask-per-user/td-p/2590101#.UMZ0TeEe7ng
Cheers,
Vlad
Similar Messages
-
How to find the File name using the FTP Adapter
hi all,
how to find the File name using the FTP Adapter with BPEL.
RegardsFound the solution for this.
First In the mediator's routing rule use assign property $in.property.jca.file.FileName to $out.property.jca.file.FileName
In the BPEL's receive activity go to the properties tab and get the property to a BPEL variable. That should do it.
Thanks for the posts -
BPEL Process with multiple file types using one FTP adapter is not working
i created a bpel process which will fetch the files from remote location using FTP adapter.
Now the process works for only one format or file type like *.xls.
How can i use more than one file format in one FTP adapter.
OR
is there any other way to do it.
file type assignation is 5th step in FTP adapter configuration.
i have tried *.xls,*.csv and *.xls;*.csv and *.xls:*.csv by seperating with comman, colon, space... still not working.
i read the documentation *.* will not work.. for one file format it's working fine.
looking forward for reply as soon as possible.Are you positive that it is not working? I'm not sure how you can use one FTP adapter for multiple file types unless the underlying data is exactly the same format or you are processing it as opaque data. Sometimes when a FTP adapter chokes on a file with a bad structure it doesn't create a BPEL instance, it simply moves the bad file to a separate folder.
So I assume you are using opaque as the data type instead of using an XSD element?
That said, I don't think you can put two separate file types in the filter. Is it possible for you to do something like: CommonFileName*.* or do you have similar files with other extensions?
I know the above probably isn't of much help, but I had so many problems with the FTP adapter and its lack of features that I am writing my own. Unfortunately that is a large undertaking and there isn't any good documentation of JCA resource adapter / BPEL PM integration. -
Garbage name of the Archive File while using the FTP adapter
Hello All
I am using Oralcle FTP adapter to poll a file ,after polling I am deleting the file from the current directory and
archiving it into another directory.
Problem is after archiving the file into the another dirctory name of the is fine changed as follows :
d2wXEgGZrfypNsGa15uzOA==_20081015_082233_0015
I want same name for the archived file as orginal file with timestamp
Please help to solve this problem.
Thanks
Satendra PareYou cannot change the file name in the save dialog, it always uses the originally file name of the form.
But you can use scripting to save a form under another name.
Sample.
http://thelivecycle.blogspot.com/search/label/Save -
Dynamic File selection using sender FTP adapter
HI
I have a FTP> SOAP scenario. In source i want to pick files based on date.
File names would be like *****date.csv
Is there any way i can pick only files for current date?Hi ,
You may use run operation system command before message processing option and write a script to rename the file which are of current date and specify that new filename in the sender channel.
Regards,
Beena. -
How to set the permission of RMAN in Linux?
I have installed oracle XE in Centos, however, when I try to access to RMAN by
rman target /
it shows the error message
[root@localhost bin]# rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Wed Oct 11 17:50:34 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN-00571: ================================================
RMAN-00569: ========== ERROR MESSAGE STACK FOLLOWS ========
RMAN-00571: ================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-09925: Unable to create audit trail file
Linux Error: 13: Permission denied
Additional information: 9925
ORA-01031: insufficient privileges
I would like to ask how to set the permission for root to use rman ?
Thank you very much ~!!Check first if the directory where you save the auditing information is owned by oracle:dba.
Regards
Aron -
How to set proxy authentication using java properties at run time
Hi All,
How to set proxy authentication using java properties on the command line, or in Netbeans (Project => Properties
=> Run => Arguments). Below is a simple URL data extract program which works in absence of firewall:
import java.io.*;
import java.net.*;
public class DnldURLWithoutUsingProxy {
public static void main (String[] args) {
URL u;
InputStream is = null;
DataInputStream dis;
String s;
try {
u = new URL("http://www.yahoo.com.au/index.html");
is = u.openStream(); // throws an IOException
dis = new DataInputStream(new BufferedInputStream(is));
BufferedReader br = new BufferedReader(new InputStreamReader(dis));
String strLine;
//Read File Line By Line
while ((strLine = br.readLine()) != null) {
// Print the content on the console
System.out.println (strLine);
//Close the input stream
dis.close();
} catch (MalformedURLException mue) {
System.out.println("Ouch - a MalformedURLException happened.");
mue.printStackTrace();
System.exit(1);
} catch (IOException ioe) {
System.out.println("Oops- an IOException happened.");
ioe.printStackTrace();
System.exit(1);
} finally {
try {
is.close();
} catch (IOException ioe) {
}However, it generated the following message when run behind the firewall:
cd C:\Documents and Settings\abc\DnldURL\build\classes
java -cp . DnldURLWithoutUsingProxy
Oops- an IOException happened.
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
at sun.net.www.http.HttpClient.New(HttpClient.java:339)
at sun.net.www.http.HttpClient.New(HttpClient.java:320)
at sun.net.www.http.HttpClient.New(HttpClient.java:315)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:510)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:487)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:615) at java.net.URL.openStream(URL.java:913) at DnldURLWithoutUsingProxy.main(DnldURLWithoutUsingProxy.java:17)
I have also tried the command without much luck either:
java -cp . -Dhttp.proxyHost=wwwproxy -Dhttp.proxyPort=80 DnldURLWithoutUsingProxy
Oops- an IOException happened.
java.io.IOException: Server returned HTTP response code: 407 for URL: http://www.yahoo.com.au/index.html
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1245) at java.net.URL.openStream(URL.java:1009) at DnldURLWithoutUsingProxy.main(DnldURLWithoutUsingProxy.java:17)
All outgoing traffic needs to use the proxy wwwproxy (alias to http://proxypac/proxy.pac) on port 80, where it will prompt for valid authentication before allowing to get through.
There is no problem pinging www.yahoo.com from this system.
I am running jdk1.6.0_03, Netbeans 6.0 on Windows XP platform.
I have tried Greg Sporar's Blog on setting the JVM option in Sun Java System Application Server (GlassFish) and
Java Control Panel - Use browser settings without success.
Thanks,
GeorgeHi All,
How to set proxy authentication using java properties on the command line, or in Netbeans (Project => Properties
=> Run => Arguments). Below is a simple URL data extract program which works in absence of firewall:
import java.io.*;
import java.net.*;
public class DnldURLWithoutUsingProxy {
public static void main (String[] args) {
URL u;
InputStream is = null;
DataInputStream dis;
String s;
try {
u = new URL("http://www.yahoo.com.au/index.html");
is = u.openStream(); // throws an IOException
dis = new DataInputStream(new BufferedInputStream(is));
BufferedReader br = new BufferedReader(new InputStreamReader(dis));
String strLine;
//Read File Line By Line
while ((strLine = br.readLine()) != null) {
// Print the content on the console
System.out.println (strLine);
//Close the input stream
dis.close();
} catch (MalformedURLException mue) {
System.out.println("Ouch - a MalformedURLException happened.");
mue.printStackTrace();
System.exit(1);
} catch (IOException ioe) {
System.out.println("Oops- an IOException happened.");
ioe.printStackTrace();
System.exit(1);
} finally {
try {
is.close();
} catch (IOException ioe) {
}However, it generated the following message when run behind the firewall:
cd C:\Documents and Settings\abc\DnldURL\build\classes
java -cp . DnldURLWithoutUsingProxy
Oops- an IOException happened.
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
at sun.net.www.http.HttpClient.New(HttpClient.java:339)
at sun.net.www.http.HttpClient.New(HttpClient.java:320)
at sun.net.www.http.HttpClient.New(HttpClient.java:315)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:510)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:487)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:615) at java.net.URL.openStream(URL.java:913) at DnldURLWithoutUsingProxy.main(DnldURLWithoutUsingProxy.java:17)
I have also tried the command without much luck either:
java -cp . -Dhttp.proxyHost=wwwproxy -Dhttp.proxyPort=80 DnldURLWithoutUsingProxy
Oops- an IOException happened.
java.io.IOException: Server returned HTTP response code: 407 for URL: http://www.yahoo.com.au/index.html
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1245) at java.net.URL.openStream(URL.java:1009) at DnldURLWithoutUsingProxy.main(DnldURLWithoutUsingProxy.java:17)
All outgoing traffic needs to use the proxy wwwproxy (alias to http://proxypac/proxy.pac) on port 80, where it will prompt for valid authentication before allowing to get through.
There is no problem pinging www.yahoo.com from this system.
I am running jdk1.6.0_03, Netbeans 6.0 on Windows XP platform.
I have tried Greg Sporar's Blog on setting the JVM option in Sun Java System Application Server (GlassFish) and
Java Control Panel - Use browser settings without success.
Thanks,
George -
How to pass Username dynamically in Oracle Apps Adapter .jca file
My BPEL process uses Oracle Applications Adapter. The following is the .jca file for the Adapter. The Username is initialized statically to "sysadmin" when I created the Adapter. How can I change this to be passed dynamically at runtime? Can I use an EL Expression or an XPath variable. If so how to do and what the correct syntax is?
Is it possible to pass in the username from the OWSM Security policy for the username value below? If so how to do? I appreciate your response.
<adapter-config name="EBSAdapter" adapter="Apps" wsdlLocation="../WSDLs/EBSAdapter.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory UIConnectionName="EBS1" location="eis/Apps/EBS1" UIConcurrentPgmName="" UIOracleAppType="DBOBJECT"/>
<endpoint-interaction portType="EBSAdapter_ptt" operation="EBSAdapter">
<interaction-spec className="oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec">
<property name="SchemaName" value="APPS"/>
<property name="PackageName" value="INTG"/>
<property name="ProcedureName" value="GET_USER_PROFILE1"/>
<property name="IRepInternalName" value="PLSQL:INTG:WEBCENTER_GET_USER_PROFILE1"/>
<property name="Username" value="sysadmin"/>
<property name="Responsibility" value="System Administrator"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>1. Go to Invoke activity
2. Click on Properties tab.
3. click Add
4. Add this property "jca.apps.Username" and map it with either variable or expression.
5. Populate variable defined at previous step with some valid username value at runtime.
hope this helps.
Regards,
Karan
Oracle Fusion Middleware Blog -
I want to know how to set file watcher for my sql database using java.
my doubt is i am running an web application in a web server.
the user information are stored one databse.
i want that user details in other databases.
it will do automatically.
when ever new values are stored one database then automatically that value transfered in other data base.
i want urgent.
please help me
thanksIt seems like the most natural way to do that would be with database triggers, if your DB allows its triggers to interact with the world outside the DB--e.g. invoking Java code, invoking some other process, opening a socket, etc.
-
How to set-up and use FAMILY Sharing
Can someone please explain to me in detail how to set-up and use FAMILY Sharing, none of the information I have so far found in the documentation helps at all, in fact it puts you in a constant loop giving the same information over and over again
We have quite a few devices from ipads, iphones and ipods and I need to set-up Family Sharing.
We have our main Apple ID which is linked to our Payment method, I have now got my son a new iPad, I have created his Apple ID and set-up a link via FAMILY Sharing to our main Apple ID.
From what I read we should be able to share our purchased Apps between family members.
So I figured I would be able to get the Apps now via iTunes that are part of the FAMILY Sharing, however when I go into ITunes (latest version downloaded yesterday) I can only see the Home sharing menu item not FAMILY Sharing, so I cannot work out in Itunes how to get Apps that are FAMILY shared. So ok I will try and get Apps directly via the Ipad using the App Store. To test it is working I look for a known paid for App, I then go to download it and it is now asking me to pay for it again.
Can someone please explain to me in detail how FAMILY Sharing is supposed to work and how I get it to work please.
Thanks for your help
GregHey GregWr,
Thanks for the question. The following resources provides some of the best information regarding Family Sharing. Included, you’ll find information on making sure the accounts are set to "Share my purchases”, as well as information on downloading Family Member purchases from the iTunes Purchased section. Please note that some applications are not shareable.
Sharing purchased content with Family Sharing - Apple Support
http://support.apple.com/en-us/HT201085
Which purchased content can I share using Family Sharing - Apple Support
http://support.apple.com/en-us/HT203046
If you don't see your family's shared content - Apple Support
http://support.apple.com/en-us/HT201454
Thanks,
Matt M. -
How to set up shared use of "Contacts" data w/ 2 individual user accounts?
How to set up shared use of application "Contacts" data for two individual user accounts?
Link the contacts in one user account to a online cloud based system like Google or apples iCloud and then link the second user to that same online account. This could cause some slight problems if both people maintain their own online account to either of those systems on a phone or pad.
-
How to set up and use AirPlay
Welcome to the Apple Community.
AirPlay; When watching suitable content on the iPad, tap the screen to bring up the controls, tap the AirPlay icon and select the Apple TV. The content will then stream to the Apple TV.
Mirroring; Double tap the home screen button, swipe the application panel to the right, tap the AirPlay icon and choose the Apple TV. The iPad screen will then be streamed to the Apple TV. -
There is IMP utility which provides me data as graphical way. But i need extract data in such a way so that i could able to use in my application.
thanks,
mohanHi,
EdStevens
Actually I was using SQL Developer. Sorry for the wrong define question. Now the real problem is:
I want to read or extract data in a txt file from Oracle Dump (.dmp) file without using Oracle sqlPlus or Oracle Database.
No need to say that i am able to extract dump data using sqlPlus. But for that, there is a little burden to install oracle database
or sql Developer.
I also listen about Oracle Loader a little bit. Is it a tool for providing extraction of data from Oracle dump file.
Thanks for your previous reply,
And now waiting for your suggestion.
thanks,
mohan -
How to set userlevel permission for GFS and NFS
hi
how to set userlevel permission for GFS and NFS?
regardshi
http://www.redhat.com/docs/manuals/enterprise/
AND
http://en.tldp.org/
probably your best bet.
regards -
How to set unequal columns using master pages in InDesign CS3?
How to set unequal columns using master pages in InDesign CS3?
I don't have CS3 anymore but I don't think this has substantially changed in the last few versions of InDesign.
Choose View > Grids & Guides > uncheck Lock Column Guides. Then drag the column guides to the position you want.
Maybe you are looking for
-
Getting error in goods receipt purchase order
I am getting the error when running the goods receipt purchase order.. "Account determination for entry 1000 (COA) BSX 1200 ( Co Code) -- CAR1 ( raw material )not possible" Can some one suggest me for above error.. Praveen
-
JSR 82 problem with RemoteDevice constructor
Hi, I am currently developing a Bluetooth PC/side application that i want to use to connect to a specific BD_ADDR (a smartphone). I am using Blue Cove SDK at the moment. I inherited the class RemoteDevice to construct a remote device object based on
-
How to set TimeOut period in Portal
Hi, I am running a report in the portal which is taking more than 1 min to display the results. After this one min the page is getting timedout. Can any one please let me know how to administrate the timeout interval. I found this link http://help.sa
-
Printing from CS3 since Raw 4.5
Since installing Camera Raw 4.5 printing from CS3 with an icc profile has improved greatly - but, when printing using custom size the sizes come out wrong. The windows all look fine - including the preview window, but the the print comes out with onl
-
Trouble with Lightbox widget in Muse CC
I drag the lightbox image onto my page. When I insert an image into the thumbnail, no full size image appears in the lightbox, and there isn't one of the flowery stock images to replace, either. I thought maybe the newest update got rid of the large