Sharing a single FTP session in BPEL.

Hi All,
I have a BPEL process which uses a FTP Adapter, we pool FTP server (OFO) to read files every 60 sec.(pooling frequency), so every time before pooling to read a file, it required to log in and once it reads the file it logs out. The number of login and logout are huge so there a concern at server. so *Is there any way where I can log in once and keep the FTP session alive and at the end of the day log out after the work done.
Note: I tried setting up 'pooling frequency parameters for the get file operation' in "Adapter Configuration Wizard" with 4 hours but still this will not help us because we do not know when the files will be available in xyz directory structure of FTP server(i.e. we need to pick the files as soon as it received in the xyz directory structure of FTP server)
Appreciate your help!
Thanks --Raju                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

I have tried ftp connection pools ? but it did work. is there any other solution for this?

Similar Messages

  • Sharing a single session among multiple portlets for single application (e.g. wInsight)

    Does anyone know the best practices way for sharing a single Session for an application (running on a single Porlet server) among multiple portlets on a page?
    For example, the application wInsight uses 3 frames (navigation, search results - tabular, search results - chart) which need to communicate via the application's session scope. It is not just that we do not want for a single user to be running multiple sessions, but they really do share variable parameters this way.
    So far I can only think of trying to build a one true portlet and two empty containers on page load. I would use the portlet to establish the session with the Portlet server and then transfer the session information to the other two empty containers to instantiate their respective portlets. I haven't tried this yet, but will do so soon...
    Any help and feedback would be greatly appreciated.

    Karen,
    You can easiliy create several portlets out of a Struts application. For detailed instructions, refer to the Struts section of the Portal Developer's Guide.
    Good luck,
    Peter

  • TS2167 iWeb: publish by ftp to GoDaddy webhosting service - get "publish error" at end of ftp session - always 1-2 files not successfully transferred - Why?

    Why do I get message "Publish error There was an error communicating with the server.  Try again later, or check with your service provider" when i publish websites to webhosting service (GoDaddy.com) from iWeb 3.0.4  even though most webpages have been transferred and are marked blue?   There are always a few pages marked red after each ftp transfer?   It seems that the ftp session is terminated by web hosting service too fast for iWeb 3.0.4. to register that files have been transferred successfully.  When I check pages marked red in iWeb with browser, they are often available and functioning.     I have to add many extra webpages (which I do not want) to get iWeb to register all my pages as transferred (marked blue).  If I do not do this, all pages on website are marked "red" after I close iWeb and restart it.   This means that everytime i make one little change to one page on a website of 8-10 Gigabytes,  I often have to republish the entire site!  
    I think (without understanding enough/anything about ftp protocolls and termination negotiations) that iWeb is not getting enough time at end of each ftp session to register that all the pages have in fact been transferred successfully.   Could this be the explanation?  If so, how do I "slow down" the termination of ftp session by my web hosting service GoDaddy so that iWeb 3.0.4 can see that all files have been successfully transferred and therefore should be marked blue?

    You're rather prone to problems, aren't you. It's not the first time.
    2 months ago :
    https://discussions.apple.com/thread/3822198
    5 month ago :
    https://discussions.apple.com/thread/3664339
    Which is the culprit site :
         http://www.melissaveres.com
         http://www.mveres-engraver.com
    And since you do not use iWeb's ftp, but publish to a folder, iWeb's job is done.
    You are now 100 percent responsible for your actions.
    Upload the files properly. And if you're not blind visually challenged, you can see for yourself where the files are on the server. No need for GoDaddy eyes.
    And why not use iWeb's FTP. Then at least you eliminate the human error.
    And no, GoDaddy won't have to help you with iWeb, because there's nothing to fix.
    And practice FTP first on your computer :
    http://www.wyodor.net/Tutorials/iWebDemo/sFTP.html
    Good luck.

  • How to chroot a single ftp user in solaris 10

    Hi,
    I need to lock down a single ftp user so they cannot see outside of their home directory. Any advice or guides on the best way to do this?
    Thanks,

    Then you have to create a file /etc/shells (if it does not exist yet) where you have to put in every login shell with which "ftp" is allowed (i.e. if the user with the restricted shell is the only ftp user then the only entry is: /usr/lib/rsh. If you have another user with the Korn shell as login shell and this user should be able to "ftp" then you have to add the Korn shell as well).

  • Single Database Session Per User in ADF/BC Application

    Hi, I am using ADF with BC (JDeveloper 11.1.1.1). My application contains multiple application modules, each connected to the same JDBC data source. On the app server, I have configured the data source to use Identity Based Connection Pooling.
    My current configuration is resulting in numerous database sessions for each user. I have a requirement to use only a single database session per user HTTP session. Is there any way to configure the application modules to achieve this?
    Thanks,
    Brad

    Hi,
    use a single root Am module and make sure the others are used as nested modules. This will create a single connection
    Frank

  • I login in ftp server, but my session will be closed very soon, can i change the ftp session time in mozila?

    I login in my ftp server by use of Mozila browser, but my session will be closed very soon, can i change the ftp session time in mozila?

    Do you mean you browse the FTP server in a tab? That usually works for anonymous FTP downloading, but if your server requires a login, it might not work well because Firefox doesn't do anything special to keep the session alive.
    Would you consider using an add-on such as FireFTP? It's a traditional FTP client that runs in a tab.
    https://addons.mozilla.org/firefox/addon/fireftp/

  • Erroneous FTP session.

    Hi there. I have a thin client Java application that is talking to a remote FTP server. The client has been working fine on many locations until today and it remains working in many locations except one. My colleague has had his lap top rebuilt as it needed it. Now that it is rebuilt, it is having problems using the Java client to do FTP sessions. He is generally getting error code 426 - transfer aborted. One error message I am getting is:
    I/O error while setting up a ServerSocket on the client machine!java.net.SocketTimeoutException: Accept timed out
    The client machine that is having the problem has the following details:
    JRE 1.4.1_02
    Windows 2000 5.00.2195 Service Pack 4
    I have tried different JRE with the same problem.
    When I use Internet Explorer to do an FTP session to the remote server, everyhting seems fine. When I use a simple VB tool developed in house to do an FTP session to the remote server, it has the same problem - it falls over when trying to send files.
    When the FTP session is attmepted, the connection seems to go fine, but fails after that.
    Can anyone shed some light on what has happened to this particular client machine to prevent it from doing FTP sessions fomr the thin Java client.??
    Many thanks for any help.
    Kenny

    Hi,
    To me it sound like the server can't connect back to the client. Could it be that?
    I'm not sure now, but I think an ftp connection is set up like this.
    Client connects to the server and says, connect back to me at port x. But the server will not be able to connect back to the client if it is protected by a firewall that blocks it. That is why most servers support passive mode. In passive mode the connection established by the client machine is used to send data.
    Could that be the problem? Have you tried passive mode?
    /Kaj

  • How to get session in BPEL constructs?

    Hi ,
    I want to create and manage weblogic session in BPEL process. Can we get the session inside BPEL activity or components. If Yes, how? What are the steps to create and handle Session in BPEL process?
    Thanks & Regards
    Yogendra Rishishwar
    Ambah, Morena
    9867927087

    Hi Sridhar,
    My process is running on clustered environment where we have more than one machines(Node) . Since we are not managing transaction in Bpel it is not following serilazation property. We want set some attribute in session that should be available on all nodes and every instance should check the the value of these attribute and then take appropriate action. How I casn access the session variable similar to JSP or Servlet.
    Thanks & regards
    Yogendra

  • Idle ftp sessions

    Is there a way to disconnect an ftp session after a certain period of time? My host allows 8 open sessions at one time. when working with DW I receive an error message that there are too many sessions open and I have to manually go into the server control panel and disconnect some sessions so that I can continue working.?

    Interesting dilemma, and I can't find an option to override.  What I suspect is happening is that you are transferring files at a very fast rate and the host is not closing connections fast enough for you.  I had this happen to me when I was on a 25/25 FIOS connection and DW, despite introducing simultaenous transfer in CS6 ( http://blogs.adobe.com/dreamweaver/2012/06/ftp-improvement-in-dreamweaver-cs6.html ), doesn't have a way to override this.  Basically from the article, you can transfer by default, 3 files at a time.  This means 3 connections are open.  But for some reason you are transferring files too fast and getting shut down.
    In the DW Preferences you can click on Site and then change the idle time of the FTP connection, but I suspect your connection has more to do with the rate you are transferring and the amount you are transferring rather than the idle time of the connection.  Because if the connection is idle and restarted it should still be like the same connection(s) is open.  Might be worth a feature request to control the maximum amount of files to be transferred simultaneously for faster connections.

  • Two Solution Engines Sharing a single, common Self Signed Cert

    Does anyone know if it possible to have 2 solution Engines sharing a single, common self signed certificate generated by one of the Solution Engines? I have a certificate, actually two, that are about to expire. I am trying simplify the distribution and management by having just one certificate.

    This is the process to share SSL certs:
    http://forums.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Security&topic=AAA&topicID=.ee6e1fe&fromOutline=&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.2cc0c933
    But why do you want to do this anyway? They are self-signed certs anyway, you can generate them for as long as you like. Are you using it for some sort of end-user security like Wireless Encryption, NAC etc.?
    Regards
    Farrukh

  • FTP adapter on BPEL

    I am using Oracle AS 10.1.3.1 on windows. My FTP server is also on Windows. But during invoke of outbound FTP adapter i am getting following error
    I am able to do FTP from AS machine to FTP server (Window) through command prompt and it is working fine.
    Error message
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>550</code>
    </part><part name="summary"><summary>file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_ProfileProcesTest_1.3_42d6d84ceee8de6430d37dfbfaa14936.tmp/FTP_To_OUT.wsdl Put_ptt::Put(Root-Element) - WSIF JCA Execute of operation 'Put' failed due to: Error sending file to FTP Server.
    Unable to send file to server.
    ; nested exception is:
    ORABPEL-11429
    Error sending file to FTP Server.
    Unable to send file to server.
    Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.
    </summary>
    </part><part name="detail"><detail>550 /FTPFolders/CUST_081210184025.txt: The system cannot find the path specified. </detail>
    </part></bindingFault>
    Defination of FTP Adapter is
    <definitions
    name="FTP_To_OUT"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/FTP_To_OUT/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/ftp/FTP_To_OUT/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:imp1="http://TargetNamespace.com/Read"
    xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/ftp/"
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/" location="ftpAdapterOutboundHeader.wsdl"/>
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" >
    <import namespace="http://TargetNamespace.com/Read" schemaLocation="CUST_2007330181610_1.xsd" />
    </schema>
    </types>
    <message name="Root-Element_msg">
    <part name="Root-Element" element="imp1:Root-Element"/>
    </message>
    <portType name="Put_ptt">
    <operation name="Put">
    <input message="tns:Root-Element_msg"/>
    </operation>
    </portType>
    <binding name="Put_binding" type="tns:Put_ptt">
    <jca:binding />
    <operation name="Put">
    <jca:operation
    FileType="binary"
    PhysicalDirectory="FTPFolders"
    InteractionSpec="oracle.tip.adapter.ftp.outbound.FTPInteractionSpec"
    FileNamingConvention="CUST_%yyMMddHHmmss%.txt"
    NumberMessages="1"
    OpaqueSchema="false" >
    </jca:operation>
    <input>
    <jca:header message="hdr:OutboundHeader_msg" part="outboundHeader"/>
    </input>
    </operation>
    </binding>
    <service name="FTP_To_OUT">
    <port name="Put_pt" binding="tns:Put_binding">
    <jca:address location="eis/Ftp/FtpAdapter" />
    </port>
    </service>
    <plt:partnerLinkType name="Put_plt" >
    <plt:role name="Put_role" >
    <plt:portType name="tns:Put_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    </definitions>
    Defination of OC4j-ra.xml is
    <?xml version="1.0"?>
    <oc4j-connector-factories xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.oracle.com/technology/oracleas/schema/oc4j-connector-factories-10_0.xsd" schema-major-version="10" schema-minor-version="0" >
    <imported-shared-libraries>
    <import-shared-library name="oracle.bpel.common"/>
    <import-shared-library name="oracle.xml"/>
    </imported-shared-libraries>
    <connector-factory location="eis/Ftp/FtpAdapter" connector-name="Ftp Adapter">
    <config-property name="host" value="10.zzz.yy.xxx"/>
    <config-property name="port" value="21"/>
    <config-property name="username" value="xxx"/>
    <config-property name="password" value="yyy"/>
    <config-property name="keepConnections" value="true"/>
    <config-property name="serverType" value="win"/>
    <config-property name="serverLocaleLanguage" value=""/>
    <config-property name="serverLocaleCountry" value=""/>
    <config-property name="serverLocaleVariant" value=""/>
    <config-property name="serverEncoding" value=""/>
    <config-property name="useFtps" value="false"/>
    <config-property name="walletLocation" value="C:\wallet\ewallet.p12"/>
    <config-property name="walletPassword" value="welcome1"/>
    <config-property name="channelMask" value="both"/>
    <config-property name="securePort" value="990"/>
    <config-property name="keyStoreProviderName" value=""/>
    <config-property name="keystoreType" value=""/>
    <config-property name="keystoreAlgorithm" value=""/>
    <config-property name="enableCipherSuits" value=""/>
    <config-property name="proxyHost" value=""/>
    <config-property name="proxyPort" value=""/>
    <config-property name="proxyUsername" value=""/>
    <config-property name="proxyPassword" value=""/>
    <config-property name="proxyType" value=""/>
    <config-property name="proxyDefinitionFile" value=""/>
    <config-property name="useProxy" value="false"/>
    <config-property name="useSftp" value="false"/>
    <config-property name="authenticationType" value="password"/>
    <config-property name="preferredKeyExchangeAlgorithm" value="diffie-hellman-group1-sha1"/>
    <config-property name="preferredCompressionAlgorithm" value="none"/>
    <config-property name="preferredDataIntegrityAlgorithm" value="hmac-md5"/>
    <config-property name="preferredPKIAlgorithm" value="ssh-rsa"/>
    <config-property name="privateKeyFile" value=""/>
    <config-property name="preferredCipherSuite" value="blowfish-cbc"/>
    <config-property name="transportProvider" value="socket"/>
    <connection-pooling use="none">
    </connection-pooling>
    <security-config use="none">
    </security-config>
    </connector-factory>
    </oc4j-connector-factories
    Edited by: user6408601 on Dec 10, 2008 6:03 AM

    Probably the Windows FTP server chokes on the path "/FTPFolders/CUST_081210184025.txt" as it uses Unix separators. You may need to use "\FTPFolders\CUST_081210184025.txt". I can't see the properties in the XML you have given, but when you configure the FTP adapter in the application server console there should be one field for the separator and one for the root folder. Both should be "\" rather than "/" on Windows. The default is "/".
    Good luck!

  • Different weblogic JNDI Connections sharing the same dbms session

    Hi,
    we have setup JDBC Datasource on the weblogic server. Creating connection using JNDI lookup is sharing the same session across different connections, which is causing invalid data generation in global temp tables. The data in the global temp table is accessed accross db sessions.
    I have created a test case, using JDBC connection, the global temp table data is not accessible across session (this is correct behavior).
    where as using JNDI connection the data from the temp table is accessed across different connections. (This is not expected behavior)
    I tried setting statement cache = 0, Remove Infected Connections Enabled = true / false but no use.
    is there any other setup in the weblogic to avoid db session sharing across connections??
    Thank you,
    Ranga

    I am using a single thread, This can be easily reproducible on any machines.
    @ Sequence to follow
    @ public static void main(String[] args) {
    @ for (int i =0; i < 3; i++)
    @ try{
    @ conn = getJNDIConnection();
    @ printSessionDetials();
    @ insertValuesToTempTable();
    @ QueryRecordsFromTempTable();
    @ }finally
    @ conn.close();
    @ Test Results:
    @ JNDI connection found: jdbc/xdo120DBDS
    @ V$Session Details....
    @ SessionId:299:serial#:909:Seq#:31:dbmsSessionId:012B038D0001
    @ Number of Records:1
    @ connection is closed.....
    @ =====================================
    @ JNDI connection found: jdbc/xdo120DBDS
    @ V$Session Details....
    @ SessionId:299:serial#:909:Seq#:38:dbmsSessionId:012B038D0001
    @ Number of Records:2
    @ connection is closed.....
    @ =====================================
    @ JNDI connection found: jdbc/xdo120DBDS
    @ V$Session Details....
    @ SessionId:299:serial#:909:Seq#:45:dbmsSessionId:012B038D0001
    @ Number of Records:3
    @ connection is closed.....
    @ Process exited with exit code 0.

  • Getting filename in FTP Adapter in BPEL

    How to retrieve the filename read by the FTP adapter in ora-bpel?

    Just figured out how to do this.
    1. Create a variable of type 'InboundHeader_msg' defined in 'ftpAdapterInboundHeader.wsdl'.
    2. Reference this in the 'Adapters' tab of the FTP adapter receive activity.

  • Problem with multiple users sharing a single library

    We have a family iMac. I am the only one with Admin privileges. I want to share my iTunes music folder with the other users so we don't end up replicating all the MP3 files. I put the music folder in my Public directory and the other users can see it fine. However, when my daughter bought a song from the iTunes store, we got a "insufficient privileges" error message. I checked and confirmed that she has Read/Write access to my public folder, and to the iTunes Music folder under it - I even tried "Applying to All Enclosed Items". It appears that despite this, she is blcoked from creating a new file or directory in my Public folder. When I changed the setting on her iTunes to point to a directory in her User space, the iTunes purchase went through fine. But now her library is split between what's in my Public folder and what's in her Music/iTunes folder.
    Is there a way to fix this so we can continue to use a single shared location for all MPS files? Someone suggested that I use my Shared folder instead; I don't know if that's a better or worse option.
    Thanks for any suggestions.
    Message was edited by: Peter O'Riordan

    can you share across two computers and both access the same iTunes library and listen to music from that library at the same time?

  • Sharing a single itunes library between two computers - must be possible!

    Hi there,
    This is probably a commonly asked question, but I cannot find a step by step guide to doing it (if indeed it is possible).
    I have got a copy of itunes running on my media computer/server in my living room. What I want is to connect my laptop over the network and share this library - the effect being that it is like I am using the original computer.
    In essence I want to be able to add muscic, edit tracks, update my ipod from either computer and the changes be made in respect of both computers. I suspect that this is done by making sure that the laptop uses the same database information as that created by my main computer but am not really sure where to start.
    Could anyone perhaps give me a step by step guide as to how to do this - a single database that can be used by two computers each running itunes. One thing I am pretty sure is not possible is to for two people to be using itunes at the same time, so I would ahve to avoid this.
    Thanks very much.

    Ah. Sorry about that, I guess I skimmed over the add music part. Correct, in that the home sharing wouldn't allow you to add music to the media server library. The only thing that I can think of that would give you what you want is to use a shared folder on the network and then map both of the iTunes to that folder. At least that way music would go into the same folder. The only question is about the library on the other computer, if it would get updated when you use the other to add music.

Maybe you are looking for