Jca Activation Agent error

Hi,
I am trying to deploy a process to the BPEL server which uses a FTPAdapter to get a file from a server, and bring it into the BPEL process. I have defined my "eis" entry in the oc4j-ra.xml file in the application-deployments/default/FtpAdapter folder. I have restarted the server after this configuration change. The process deploys from Designer without giving any errors in Designer, but when I view the deployed process in PM, it is flagged with an error. The error message it gives is:
The following exception occured while loading this Process: 
Exception Name:
Could not initialize activation agent
Exception Description:
BPEL container could not initialize activation agent class "oracle.tip.adapter.fw.agent.jca.JCAActivationAgent". The reason is Unable to obtain Locator handle. The Adapter Framework Message Listener was unable to obtain BPEL Process Locator handle: Authentication failed. Failed to authenticate credentials. Please examine the log file to determine the problem. .
Suggested Fix:
Please ensure that the activation class "oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" is configured correctly in the bpel deployment descriptor (bpel.xml).
Context:
Stack Trace: Does anyone have any ideas as to why this is happening?
Thanks

Could you please send me [[email protected]] your bpel.xml and oc4j-ra.xml for investigation.
It seems to me that there are some mismatch between them.
Thanks,
Rakesh

Similar Messages

  • Unable to start Java Function Activity Agent

    When I try to start the Java Function Activity Agent
    I get the following message:
    Workflow JAVA Execution Agent
    Oracle Workflow 2.6.0 JAVA Function Activity Agent
    Error in parameters
    Is there any way to tell what parameters it is referring to?
    Thanks, Tom

    Just to clarify:
    The Oracle Workflow Java Function Activity Agent is supported by Oracle for the Database and Application Server releases. It was not certified for Oracle E-Business Suite customers, as we thought it better to focus our efforts on the Oracle Workflow J2EE Engine. In the next standalone releases, we will be provinding better system management for the Java Function Activity Agent, on demand processes, that sort of thing.
    We did a lot of work to make sure that messages do not get lost ie. if an unexpected error is encountered, the transaction will get rolled back and the message will go back on the queue. If you are finding messages get lost, there are 2 possibilities: a bug in your code (ie. the transaction was committed in your code, so roll back would not help), or a bug in our code (a reproducible test case would be helpful).
    Cheers
    Mark

  • Error attempting to instantiate the activation agent class "oracle.tip.adap

    I am trying to run the JMS and AQ tutorials and experiencing class problems. The BPEL process I am looking at is Queue2Topic.
    When I go to the BPEL console, I have a yellow exclamation mark against the process Queue2Topic, and when I click on the process receive the following error message :-
    Exception Name:
    Error while creating activation job
    Exception Description:
    An error occurred while attempting to instantiate the activation agent class "oracle.tip.adapter.fw.agent.jca.JCAActivationAgent". The exception reported was: "javax/resource/spi/work/WorkManager".
    Suggested Fix:
    Please fix the error and redeploy the class to the server.
    Context:
    Stack Trace:

    all is fixed!!
    discovered a similar problem in the forum.
    Solution was to copy
    {orabpel-home}/lib/connector15.jar
    to
    {j2ee-home}/lib/connector.jar

  • Error while initializing activation agent for DBAdapter MasterDetail Demo.

    God day,
    following precisely the steps in Master Detail -Database Adapter sample.
    - configured adapter and deployed project and everything looked fine.
    - when start the Process Manager, always get:
    ( Error while initializing an activation agent for process "DB_MaterDetail"
    PLease ensure that the activation agents are configured correctly in bpel depolyment descripto bpel.xml. oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException.
    Failed to handel dispatch message ... ORABPEL 05002)
    my bpel.xml is:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BPELSuitcase>
    <BPELProcess id="DB_MasterDetail" src="DB_MasterDetail.bpel">
    <partnerLinkBindings>
    <partnerLinkBinding name="DBAdapterInbound">
    <property name="wsdlLocation">DBInbound.wsdl</property>
    </partnerLinkBinding>
    <partnerLinkBinding name="DBAdapterOutbound">
    <property name="wsdlLocation">DBOutbound.wsdl</property>
    </partnerLinkBinding>
    </partnerLinkBindings>
    <activationAgents>
    <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="DBAdapterInbound">
    <property name="portType">DBInbound_ptt</property>
    </activationAgent>
    </activationAgents>
    </BPELProcess>
    </BPELSuitcase>
    and entry in ...\j2ee\home\application-deployments\default\DbAdapteroc4j-ra.xml (which i never chaanged)= is
    <connector-factory location="eis/DB/BPELSamples" connector-name="Database Adapter">
              <config-property name="driverClassName" value="oracle.lite.poljdbc.POLJDBCDriver"/>
              <config-property name="connectionString" value="jdbc:polite4@localhost:100:orabpel"/>
              <config-property name="userName" value="system"/>
              <config-property name="password" value="any"/>
              <config-property name="minConnections" value="1"/>
              <config-property name="maxConnections" value="5"/>
              <config-property name="minReadConnections" value="1"/>
              <config-property name="maxReadConnections" value="5"/>
              <config-property name="usesExternalConnectionPooling" value="false"/>
              <config-property name="dataSourceName" value=""/>
              <config-property name="usesExternalTransactionController" value="false"/>
              <config-property name="platformClassName" value="oracle.toplink.internal.databaseaccess.OraclePlatform"/>
              <config-property name="usesNativeSequencing" value="true"/>
              <config-property name="sequencePreallocationSize" value="50"/>
              <config-property name="tableQualifier" value=""/>
         </connector-factory>

    i forgot to mention that i defined a
    CLASSPATH=D:\OraBPELPM_1\integration\orabpel\lib\connector15.jar;D:\OraBPELPM_1\integration\orabpel\lib\olite40.jar
    and added the following to Path:
    D:\OraBPELPM_1\integration\orabpel\bin;D:\OraBPELPM_1\jdk\jre\bin\server
    but it did not help.

  • TNS Connect String Error When Starting Workflow Activity Agent Listener

    I'm trying to start the Workflow 2.6.0 Activity Agent on Windows 2000 but it Unable to connect to 'TNS_connect_string' although the normal Connect to db using SQL*Plus as user/password@alias works.

    Mohamed,
    The usage of the wfjvlsnt.bat file is as follows:
    wfjvlsnr.bat wf263/wf263@522db oci8
    Hope this helps
    Raja

  • Could not initialize activation agent.

    Hi All,
    I am getting the following error while deploying a bpel process,with a AQ Adapter for dequeuing operations.
    BUILD FAILED
    A problem occured while connecting to server "10.209.123.25" using port "80": bpel_ReceiveProcess_1.0.jar failed to deploy. Exception message is: ORABPEL-09903
    Could not initialize activation agent.
    An error occured while initializing an activation agent for process "ReceiveProcess", revision "1.0".
    Please ensure that the activation agents are configured correctly in the bpel deployment descriptor (bpel.xml).
    oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException
    at com.collaxa.cube.engine.core.BaseCubeProcess.startAllActivationAgents(BaseCubeProcess.java:370)
    at com.collaxa.cube.engine.deployment.DeploymentManager.activateDefaultRevision(DeploymentManager.java:1577)
    at com.collaxa.cube.engine.deployment.DeploymentManager.setDefaultRevision(DeploymentManager.java:1536)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:886)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:728)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:319)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Can somebody throw some light this.
    Regards
    Ashwini

    Hi,
    Issue Resolved.
    I recreated the whole process,its working fine now.
    Regards
    Ashwini

  • Unable to connect to activation agent

    Hi..I am using soa suite 10.1.3.1.0 and oracle data base 10g. I am practicing the ADT example in AQ adapter tutorial came with 10.1.3.1 installation
    The purpose of this tutoril is to dequeue the message from customer_in_queue and to enqueue to the table customer_out_queue in Scott database.
    I changed the oc4j-ra.xml file in the path
    C:\product\10.1.3.1\OracleAS_2\j2ee\oc4j_soa\application-deployments\default\AqAdapter
    and added the few configuration lines given in tutorial to data-sources.xml file in the path
    C:\product\10.1.3.1\OracleAS_2\j2ee\home\config
    I got the following error
    [deployProcess] Deploying process C:\jdevstudio10131\jdev\mywork\Application1\AQADapterADT\output\bpel_AQADapterADT_1.0.jar
    BUILD FAILED
    C:\jdevstudio10131\jdev\mywork\Application1\AQADapterADT\build.xml:79: A problem occured while connecting to server "localhost" using port "80": bpel_AQADapterADT_1.0.jar failed to deploy. Exception message is: ORABPEL-09903
    Could not initialize activation agent.
    An error occured while initializing an activation agent for process "AQADapterADT", revision "1.0".
    Please ensure that the activation agents are configured correctly in the bpel deployment descriptor (bpel.xml).
    oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException
    at com.collaxa.cube.engine.core.BaseCubeProcess.startAllActivationAgents(BaseCubeProcess.java:354)
    at com.collaxa.cube.engine.deployment.DeploymentManager.activateDefaultRevision(DeploymentManager.java:1446)
    at com.collaxa.cube.engine.deployment.DeploymentManager.setDefaultRevision(DeploymentManager.java:1405)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:821)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:670)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:317)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:339)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    I don't know what should I do to activate the activation agents.
    Help is appreciated....
    Thanks,
    Dan.

    Sorry I also forgot to mention that you need to check your databse and AQ connection pools.
    Login to Enterprise Manager
    home -> administration -> jdbc resources -> data sources
    make sure there is a an entry for your scott database. Make sure you take note of the jdbc name.
    Now you need to check the AQ connection pool. This is found
    home -> Then I think there is a drop down list for resource adapters. Choose this -> AQ Adapter
    create a new entry something like
    eis/AQ/xxxx
    point to the database data source created above.
    Now you need to make sure that in your AQ partner link that it is pointing to the connection pool made above.
    cheers
    James

  • Problem calling a EJB Java Client from Java Activity Agent

    Hi,
    We have a wrapper java class that calls to an EJB through a JNDI lookup. The wrapper class is called from a workflow. The problem is that the call fail with the following message error:
    Error : getRemoteHome Lugar: ServiceLocator NamingException Mensaje Error: Receive timed out
    Mon Jan 09 15:32:13 EST 2006 Enqueuing VIC/97513 com.tallion.tax.workflow.assessment.Update
    F_FN_ERROR (MODULE=com.tallion.tax.workflow.assessment.Update) (ITEMTYPE=VIC) (ITEMKEY=97513) (ACTID=10617) (FUNCMODE=RUN) (ERRMESSAGE=getRemoteHome Lugar: ServiceLocator NamingException Mensaje Erro
    The wrapper class has in their classpath a jndi.properties as follows:
    java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
    java.naming.provider.url=69.0.137.120:1099
    java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
    The call just works fine when we restart the Java Activity Agent and then, after a while it fails again with the same error.
    Any ideas/workaround?
    Thanks.

    I have a situation that is a bit similar. I have successfully used beans for storing methods used in JSPs and used by other methods in the same class as was suggested above. Now I would like to break some methods into another (utility) class since they are lower level and can be used by lots of things. They are for database operations (given a String query and String dbname, it queries and returns ResultSet for example). I want to have them in a separate class for reusability and OOP.
    I am having problems calling those public static methods in the public class from my bean that communicates with the JSP. I can't compile the class that calls the method in the database ops class. I get an error like :
    loginHelper.java:45: cannot find symbol
    symbol : variable sqlHelper
    location: class dbHelperBean.loginHelper
    and when I include the package name in the call I get
    loginHelper.java:45: cannot find symbol
    symbol : class sqlHelper
    location: package dbHelperBean
    That's strange since the package of both classes is dbHelperBean and the class is indeed called sqlHelper. I tried to compile it in the same directory as sqlHelper as well. What am I doing wrong?
    Thanks for any help.

  • Multi Mapping - BPM -  Block 1 ( No Agent )  Error  --  Help Please  ?

    I am trying the the BPM scenario using Integration Process
    BpmPatternCollectTime
    from SAP BASIS ® SAP BASIS 7.00 in
    the namespace http://sap.com/xi/XI/System/Patterns
    I have done the scenario like the above . I have followed all the Steps which are used in above scenario.
    I am using a File Sender Adapter and Receiver Adapter .
    It is Successfully picked up the File but nothing is happening after that .
    I am using two receiver Determination one from Ob to IP and other from IP to FIleReceiver ( IB) .
    But, I am Getting error as Block1 (No agent) Error in the PE graphical diagram
    I have checked in SWWL my Integration Process Return code is "0"
    Can you please tell tell me how to solve this ?
    Can you please tell me this scenario is like Multiple Purchase Order Items to One Purchase Order
    Here they have given ID adn OverAllNumber . For ex. In one xml file I am sending
    ID as A100
    OverAllNumber as 120
    next 5 minutes putting the another file with contents
    ID as A100
    OverAllNumber as 130
    My Question is
    Will TWO files wiil come as Output in File Receiver or one file merged as like follows ?  
    ID as A100
    OverAllNumber as 120
      ID as A100
    OverAllNumber as 130
    I am not  Clear in this please give some suggestions .
    Best Regards.,
    V.Rangarajan

    Hi Raj,
              Thanks for ur reply.
    While defining the receiver determination, sender agreement, receiver agreeement , Interface determination which Interfaces areu using?
                       Yes
    + by the way which pattern u are following the basis component , is it BpmPatternCollectMessage?+
                  No  . I have taken example as 
    BpmPatternCollectTime
    from SAP BASIS ® SAP BASIS 7.00
    in the namespace http://sap.com/xi/XI/System/Patterns
    I have done the scenario like the above . I have followed all the Steps which are used in above scenario.
    The steps Which i have followed in BPM are
    1. Block with Deadlkine branch and Exception handler( as TimeOut Exception)
    Block Start and Block End as New Transaction
    2. Inside Block infinite Loop which contains Receive step ( Actives the Correlation ) and Multiline Container element which appends the Messages with CollectMessage
    3. Transformation Step
    It creates the New Transaction and Interface Maping from CollectMessage List to New Mesage
    4. Send Step
                   It sends the New Message . It creates the New Transaction .
    Best Regards .,
    V.Rangarajan

  • TimestampOffset in FTP Adapter activation agent properties

    Hi all,
    I am having an issue using the "timestampOffset" FTP Adapter activation agent property on an SOA Suite 10.1.3.4/MLR#9 (Linux) system.
    I have a BPEL process that is being launched via the FTP Adapter when a particular file appears on a remote SFTP server. I am polling for this file every 5 mins, and don't want to retrieve it unless it is at least 15 minutes old. The SFTP server from which I am retrieving this file is configured with a different timezone than the SOA Suite server on which the BPEL process is running; the SOA Suite server has a timezone of MST (GMT-7) and the SFTP server has a timezone of GMT. Here is the relevant section from the WSDL for this PartnerLink:
    <jca:operation
    FileType="binary"
    LogicalDirectory="TriggerDirectory"
    ActivationSpec="oracle.tip.adapter.ftp.inbound.FTPActivationSpec"
    DeleteFile="true"
    IncludeFiles="external_ids_trigger\.txt"
    PollingFrequency="300"
    MinimumAge="900"
    ModificationTimeFormatOld="43,54,MMM dd yyyy"
    FileModificationTime="DirListing"
    ModificationTimeFormat="43,54,MMM dd HH:mm"
    OpaqueSchema="true" >
    </jca:operation>
    I attempted to compensate for this by adding the "timestampOffset" property to the activation agent in bpel.xml (also included in the jdev_files.zip attachment); this is detailed in the document "Oracle Application Server Adapters for Files, FTP, Databases, and Enterprise Messaging User’s Guide 10g Release 3 (10.1.3.1.0) B28994-01". Here is the activationAgents section from the bpel.xml file:
    <activationAgents>
    <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="PollForTriggerFile">
    <property name="TriggerDirectory" type="LogicalDirectory">/uazsa/uazsaprd/integration/output</property>
    <property name="portType">Get_ptt</property>
    <property name="timestampOffset">25200000</property>
    </activationAgent>
    </activationAgents>
    When deploying this BPEL project to the server, it shows the "timestampOffset" property for the JCA adapter in the log, as follows:
    <2010-01-17 11:23:39,619> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::initiateInboundJcaEndpoint - Creating and initializing inbound JCA endpoint for:
    process='bpel://localhost/default/External_System_ID_Sync~1.0/'
    domain='default'
    WSDL location='PollForTriggerFile.wsdl'
    portType='Get_ptt'
    operation='Get'
    activation properties={TriggerDirectory=/uazsa/uazsaprd/integration/output, timestampOffset=25200000, portType=Get_ptt}
    However, this setting appears to have no effect, as when the adapter polls for the file, it finds it, but does not process it. I have turned up logging on default.collaxa.cube.activation to DEBUG, and I see the following when it polls for the file:
    <2010-01-17 12:18:40,342> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Opening sftp channel
    <2010-01-17 12:18:40,342> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Opening an SFTPChannel
    <2010-01-17 12:18:40,357> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Opened sftp channel
    <2010-01-17 12:18:40,357> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Getting list of files in directory: /uazsa/uazsaprd/integration/output
    <2010-01-17 12:18:40,386> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Obtaining attributes for file: /uazsa/uazsaprd/integration/output/emplids_nouaid.txt
    <2010-01-17 12:18:40,386> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Obtaining attributes for file: /uazsa/uazsaprd/integration/output/external_ids_trigger.txt
    <2010-01-17 12:18:40,386> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Timestamp from fileInfo=[1263770351000]
    <2010-01-17 12:18:40,386> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Current System Time : 02010.January.17 12:18:40:386
    <2010-01-17 12:18:40,386> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> File Modification Time : 02010.January.17 16:19:11:00
    <2010-01-17 12:18:40,386> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> The file : /uazsa/uazsaprd/integration/output/external_ids_trigger.txt is being ignored as its minimum age period is still valid for -> 15330614 milliseconds.
    <2010-01-17 12:18:40,386> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Obtained a list files
    <2010-01-17 12:18:40,386> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Closing sftp channel
    <2010-01-17 12:18:40,386> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Closing SFTP Channel oracle.tip.adapter.ftp.SshImpl.SFTPChannelImpl@f1c9c6
    <2010-01-17 12:18:40,387> <DEBUG> <default.collaxa.cube.activation> <FTP Adapter::Inbound> Closed sftp channel
    What needs to be done to have the timestampOffset property in bpel.xml honored by the activation agent? Any help is greatly appreciated! I have opened up an SR with Oracle on this as well, but sometimes the forums prove to be a quicker path to problem resolution. :)
    Thanks,
    --Gary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Thanks for the reply, Anirudh.
    Can you elaborate? The last part of section A.3.3. in the URL you posted is exactly what I did...I specified the "timestampOffset" property to the activation agent properties in bpel.xml. I specified the offset as the time difference (in milliseconds): 7 hrs = 7*60*60*1000 = 25200000. The value they provide in that example is puzzling: 2592000000 would be an offset of 720 hours! Maybe I'm misunderstanding something about this property?
    Thanks,
    --Gary
    Edited by: user2088227 on Jan 17, 2010 8:25 PM

  • Oracle Workflow Java Activity Agent not starting up

    Hi,
    I am trying to start the Java Activity agent of Oracle workflow.
    As specified in the installation and setup guid I am running the following script (for NT):
    wfjvlsnr user/password@connectString
    The activiy agent does start up but then I get a NullPointerException in the main thread of the Java Activity Agent class.
    Appreciate you help.
    thanks.
    Here is the dump.
    E:\Ora9idb\wf\admin>rem ******************************************************
    E:\Ora9idb\wf\admin>rem $Header: wfjvlsnr.bat 26.5 2001/07/02 09:13:06 smayze
    ship $
    E:\Ora9idb\wf\admin>rem USAGE:
    E:\Ora9idb\wf\admin>rem 1) Workflow Schema User/Password@Database
    E:\Ora9idb\wf\admin>rem 2> "Workflow Schema User Password Database [protocol
    [charset]
    E:\Ora9idb\wf\admin>rem To disable output, use the jrew command instead of jre
    E:\Ora9idb\wf\admin>rem ******************************************************
    E:\Ora9idb\wf\admin>set WF_UN=workflow/workflow@workflow
    E:\Ora9idb\wf\admin>set WF_CHARSET=
    E:\Ora9idb\wf\admin>IF "" NEQ "" set WF_CHARSET=-DCHARSET=
    E:\Ora9idb\wf\admin>set WF_CLASSPATH=;e:\Ora9idb\wf\java;C:\PROGRA~1\Oracle\jr
    1.1.8\lib\rt.jar;e:\Ora9idb\wf\java;e:\Ora9idb\jlib\wfjava.jar;e:\Ora9idb\wf\x
    \java\lib\xmlparserv2.jar;e:\Ora9idb\jlib\wfapi.jar;e:\Ora9idb\jdbc\lib\classe
    11.zip;e:\Ora9idb\jlib\share.jar;e:\Ora9idb\jlib\ewt3.jar;e:\Ora9idb\jlib\ewt3
    ls.jar;e:\Ora9idb\jlib\swingall-1_1_1.jar;
    E:\Ora9idb\wf\admin>"C:\PROGRA~1\Oracle\jre\1.1.8\bin\jre" -classpath ";e:\Ora
    db\wf\java;C:\PROGRA~1\Oracle\jre\1.1.8\lib\rt.jar;e:\Ora9idb\wf\java;e:\Ora9i
    \jlib\wfjava.jar;e:\Ora9idb\wf\xml\java\lib\xmlparserv2.jar;e:\Ora9idb\jlib\wf
    i.jar;e:\Ora9idb\jdbc\lib\classes111.zip;e:\Ora9idb\jlib\share.jar;e:\Ora9idb\
    ib\ewt3.jar;e:\Ora9idb\jlib\ewt3-nls.jar;e:\Ora9idb\jlib\swingall-1_1_1.jar;"
    nojit oracle.apps.fnd.wf.WFFALsnr workflow/workflow@workflow
    Oracle Workflow 2.6.0 JAVA Function Activity Agent
    Connected to workflow@workflow with character set UTF8
    Listening...
    Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/9996 test.SelectApprover
    PUT APPROVER_NAME=CDOUGLAS
    Wed Aug 28 12:14:11 GMT+05:30 2002 Enqueuing TEST_REQ/9996 test.SelectApprover
    Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/9997 test.SelectApprover
    PUT APPROVER_NAME=CDOUGLAS
    Wed Aug 28 12:14:11 GMT+05:30 2002 Enqueuing TEST_REQ/9997 test.SelectApprover
    Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/9998 test.SelectApprover
    PUT APPROVER_NAME=CDOUGLAS
    Wed Aug 28 12:14:11 GMT+05:30 2002 Enqueuing TEST_REQ/9998 test.SelectApprover
    Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/9999 test.SelectApprover
    PUT APPROVER_NAME=CDOUGLAS
    Wed Aug 28 12:14:11 GMT+05:30 2002 Enqueuing TEST_REQ/9999 test.SelectApprover
    Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/99910 test.SelectApprove
    PUT APPROVER_NAME=CDOUGLAS
    Wed Aug 28 12:14:12 GMT+05:30 2002 Enqueuing TEST_REQ/99910 test.SelectApprove
    T
    Wed Aug 28 12:14:12 GMT+05:30 2002 Executing WFEVDEME/PO3435 oracle.apps.fnd.w
    XMLGetTagValue
    GET ATTR=REQUESTOR
    GET EVENT=EVENTMESSAGE
    GET TAG=/ORDER/REQUESTOR
    PUT REQUESTOR=BLEWIS
    Wed Aug 28 12:14:12 GMT+05:30 2002 Enqueuing WFEVDEME/PO3435 oracle.apps.fnd.w
    XMLGetTagValue
    Wed Aug 28 12:14:12 GMT+05:30 2002 Executing TEAC_IT1/SYSADMIN JayTestFunction
    PUT TEST_RESULT=JAVA
    Wed Aug 28 12:14:12 GMT+05:30 2002 Enqueuing TEAC_IT1/SYSADMIN JayTestFunction
    Wed Aug 28 12:14:12 GMT+05:30 2002 Executing TEST_REQ/9996 test.ApproveRequisi
    on
    PUT TEST_ATTRIBUTE=This value was set in the Approve Requisition Activity
    Wed Aug 28 12:14:12 GMT+05:30 2002 Enqueuing TEST_REQ/9996 test.ApproveRequisi
    on
    Exception in thread "main" java.lang.NullPointerException:
    at oracle.apps.fnd.wf.WFFALsnr.listen(WFFALsnr.java)
    at oracle.apps.fnd.wf.WFFALsnr.main(WFFALsnr.java)
    E:\Ora9idb\wf\admin>

    Hi,
    I tried to run the same without entering password,but still i am getting error.
    The error description is:
    Oracle Workflow 2.6.3 JAVA Function Activity Agent
    Please Enter Database Password :
    ORA-06401: NETCMN: invalid driver designator
    Unable to connect to nn0734.nucleussoftware.com:1521:asdb
    Accepted arguments:
    java <program> <user> <conStr> [oci8]
    java <program> <user> <conStr> thin
    Where <conStr> is in the form of <host>:<port>:<sid> for thin
    and DB Service name for oci8
    Please Help. Is there any problem with my tnsnames.ora or something else.
    Thanx in advance,
    Sarab

  • Manual enabling and disabling of activation agent in active-active topology

    For Active-Active Topology for Adapters we can deploy and run Oracle BPEL Process Manager and business processes on all nodes but only one adapter service is running at any given time. In case of failover we need to manually disable the Activation Agent on the failed node & enable the activation agent on another node.
    One customer has the below queries. Could anyone help.
    a)Is there any way to automate the process of enabling and disabling of activation agent in active active topology ie failover is auto-detected and enabling & disabling happens automatically?
    b)What is the suggested clustering topology for BPEL from oracle
    Regards,
    Senthil
    Message was edited by:
    user554076

    Customer tried the configuration given in the doc http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b31005/life_cycle.htm#CIABHCFE
    But after applying the changes they are getting the following error message: "Invalid activation parameter.Activation parameter Physical/Logical Directory has invalid value. Check the error stack and fix the cause of the error."
    1. Why this error coming?
    2. Also the doc said If the BPEL PM servers (JVMs) in the cluster are located across TCP/IP subnet boundaries, then it is necessary to add the attribute clusterAcrossSubnet=true. Can I have more details on parameter "clusterAcrossSubnet=true" (with an example preferred)
    Regards,
    Senthil

  • ORABPEL-09903: Could not initialize activation agent

    Hi,
    I have installed SOA suite 10.1.3.1.0
    I am trying to deploy a BPEL process which does a Dequeue operation using Oracle AQ adapter. The deployment is giving me following error.
    BUILD FAILED
    C:\SampleWS\BPELApplication\SubscribeOrderForOracle\build.xml:79: A problem occured while connecting to server "10.48.233.135" using port "8888": bpel_SubscribeOrderForOracle_1.0.jar failed to deploy. Exception message is: ORABPEL-09903
    Could not initialize activation agent.
    An error occured while initializing an activation agent for process "SubscribeOrderForOracle", revision "1.0".
    Has any one came across this error. I tried reading through few topics in this forum related to this error but could not get any resolution.
    Any help is appreciated.
    Thanks & Regards,
    Vikas

    Hi And thanks for your reply.
    Well I have recently installed SOA suite 10.1.3.1 release-3. Earlier I was working on 10.1.2.1.0 PM server and looks like there are lots of changes that have happened in the new release.
    On the newly installed SOA suite I created a BPEL process (EnqueueOrder) and instructed in the Reference guide and I was able to queue a message to Oracle AQ on Oracle 9i database.
    For dequeing I created another empty BPEL process (DequeueOrder) and instantiated the process with a Receive activity which inturn dequeus message from the above said queue and writes the message to a file using File Adapter.
    I was trying to deploy DequeueOrder process and few a times it got deployed successfully but on testing it from the BPEL Console the receive activity was not responding with any message. It only showed a message saying "Received "Receive_1_Dequeue_InputVariable" call from partner "SiebelOrderSubscriber"" on the BPEL console.
    Now again it has started giving the same error while deployment, saying ORABPEL-09903: Could not initialize activation agent. Anu clues.....?
    I have one more question....Do I need to create a seperate jndi and DataSource in oc4j to point to my local 9i database and refer it in the AQ Adapter configuration wizard?
    Thanks & Regards.
    Vikas

  • Java Function Activity Agent not starting

    Hi,
    I am facing some problem in starting Java Function Activity Agent on Windows XP.
    I hav modified WF_CLASSPATH of wfjavlsnr.bat script to include classes12.jar, ojdbc14.jar & my custom jar files.
    But when I run this script from command prompt using following syntax
    wfjvlsnr.bat owf_mgr/password@host:portid:sid or
    wfjvlsnr.bat owf_mgr/password@sidfollowing messge is thrown...
    Oracle Workflow 2.6.0 JAVA Function Activity Agent
    t2cCreateState
    Connected to owf_mgr@dbserver:1521:ORA10G with character set
    UTF8
    Unable to connect to dbserver:1521:ORA10G
    Can anybody please point out what could be the problem....?
    what is this t2cCreateState? I have never see this "t2cCreateState" when we run JFAA in unix box.
    Any points will be appreciated..
    Regards,
    Nitin

    Hi,
    I tried to run the same without entering password,but still i am getting error.
    The error description is:
    Oracle Workflow 2.6.3 JAVA Function Activity Agent
    Please Enter Database Password :
    ORA-06401: NETCMN: invalid driver designator
    Unable to connect to nn0734.nucleussoftware.com:1521:asdb
    Accepted arguments:
    java <program> <user> <conStr> [oci8]
    java <program> <user> <conStr> thin
    Where <conStr> is in the form of <host>:<port>:<sid> for thin
    and DB Service name for oci8
    Please Help. Is there any problem with my tnsnames.ora or something else.
    Thanx in advance,
    Sarab

  • Activation agent trouble

    When i am deploying bpel process which connect to SybaseDb i have
    An error occured while initializing an activation agent for process "Test", revision "1.0".
    Please ensure that the activation agents are configured correctly in the bpel deployment descriptor (bpel.xml).
    Once this problem was solved editing adpter.wsdl
    mcf.PlatformClassName="oracle.toplink.platform.database.DatabasePlatform"
    changed to
    mcf.PlatformClassName="oracle.toplink.platform.database.SybasePlatform"
    Everything works well, but now i have the same problem and this trick doesn't help
    Any ideas
    Best regards

    I would turn on logging to a higher level:
    Configuration->Logging-->domain.collaxa.cube.activation
    and see the domain.log for the cause of the error.
    You should see a line - shutting off Activation Agent or something like that. It will give you a direction, or at least some more information to log an SR.
    Thanks
    Neil.

Maybe you are looking for

  • No sound from the headphone jack

    MacBook Intel, purchased Jun 2007, Leopard 10.5.1 here. The problem - about two weeks ago headphones stopped to work. The effect is: I plug them into the headphone jack, the preferences show that sound output changes to headphones, the sound comes ou

  • Can anybody help me, a layman in Apple, to input Chinese with iPad?

    I notice there are a few options in keyboard setup...I chose Pinyin keyboard, but after that nothing happened. I typed pinyin through my keyboard but no Chinese charaters showed. What should I do next? or, Did I do something wrong?

  • Making JDeveloper use JDK 1.6

    Where do I set this in JDeveloper? Is it in the Project Properties dialog | Compiler? Seems like it should be but I don't see any place to set it. Thanks.

  • Is there a simple way to create a custom item list for a List Picker field?

    I have created a List picker field and added it to my customized version of the Incident Management form. I need to populate this List Picker with custom items (Departments) and everything I am reading about how to do that is that I have to write a b

  • Music library from Mini (windows formatted) to Intel Mac Book

    My daughter's windows computer crashed hard the other day. She has all her music on her mini and we want to transfer the music from the mini to the Intel MacBook. I've been unable to find any software that does this transfer. There are lots that will