Error in using file adapter valves

Hi,
I'm working on Oracle SOA Suite 11g (11.1.1.4). I'm doing an exercise on using adapter valves for encryption. I need to write an encrypted file using File adapter. I created pipeline.xml and also specified property in jca file. And added bpm-infra.jar file to classpath.
Also, I've compiled SimpleEncryptValve.java and created a jar file and placed it in lib directory of domain.
Pipeline.xml is as below :
<?xml version="1.0"?>
<pipeline xmlns="https://www.oracle.com/adapter/pipeline">
<valves>
<valve>valves.SimpleEncryptValve</valve>
</valves>
</pipeline>
writeFile_file.jca contents are as below :
<adapter-config name="writeFile" adapter="File Adapter" wsdlLocation="writeFile.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/FileAdapter"/>
<endpoint-interaction portType="Write_ptt" operation="Write">
<interaction-spec className="oracle.tip.adapter.file.outbound.FileInteractionSpec">
<property name="PhysicalDirectory" value="D:\PoC\FileAdapters"/>
<property name="Append" value="false"/>
<property name="FileNamingConvention" value="new_%SEQ%.txt"/>
<property name="NumberMessages" value="1"/>
<property name="PipelineFile" value="pipeline.xml"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>
Got below error while testing. What could be wrong in valve configuration ?
<Jun 6, 2011 7:29:25 PM IST> <Error> <oracle.soa.adapter> <BEA-000000> <File
pter Project2:writeFile [ Write_ptt::Write(body) ]
oracle.tip.pc.services.pipeline.PipelineException: Invalid configurations for valves
at oracle.tip.pc.services.pipeline.PipelineImpl.validate(PipelineImpl
va:237)
at oracle.tip.pc.services.pipeline.PipelineFactory.instantiateModel(P
lineFactory.java:198)
at oracle.tip.pc.services.pipeline.PipelineTemplate.newPipeline(Pipel
Template.java:39)
at oracle.tip.adapter.file.outbound.FileSender.getPipeline(FileSender
va:378)
at oracle.tip.adapter.file.outbound.FileSender.sendNonBatchedSerializ
late(FileSender.java:254)
at oracle.tip.adapter.file.outbound.FileInteraction.executeFileWrite(
eInteraction.java:623)
at oracle.tip.adapter.file.outbound.FileInteraction.execute(FileInter
ion.java:426)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteracti
nvoker.executeJcaInteraction(JCAInteractionInvoker.java:311)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteracti
nvoker.invokeJcaReference(JCAInteractionInvoker.java:548)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteracti
nvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:508)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointI
raction.performAsynchronousInteraction(JCAEndpointInteraction.java:491)
at oracle.integration.platform.blocks.adapter.AdapterReference.post(A
terReference.java:247)
at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler
Post(AsynchronousMessageHandler.java:142)
at oracle.integration.platform.blocks.mesh.MessageRouter.post(Message
ter.java:194)
at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.jav
15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingRefle
on(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invok
inpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proce
ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseE
tAspect.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proce
ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDyn
cAopProxy.java:204)
at $Proxy299.post(Unknown Source)
at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post2Mesh(
iatorServiceEngine.java:1120)
at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseA
onHandler.java:200)
at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseA
onHandler.java:94)
at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseA
onHandler.java:74)
at oracle.tip.mediator.service.OneWayActionHandler.process(OneWayActi
andler.java:47)
at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProces
.java:64)
at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(Message
patcher.java:137)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(
tialMessageDispatcher.java:503)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases
itialMessageDispatcher.java:401)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processNorma
ses(InitialMessageDispatcher.java:284)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases
itialMessageDispatcher.java:251)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(Ini
lMessageDispatcher.java:143)
at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(Me
torServiceEngine.java:848)
at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(Media
ServiceEngine.java:624)
at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler
Post(AsynchronousMessageHandler.java:142)
at oracle.integration.platform.blocks.mesh.MessageRouter.post(Message
ter.java:194)
at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.jav
15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingRefle
on(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invok
inpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proce
ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseE
tAspect.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proce
ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDyn
cAopProxy.java:204)
at $Proxy299.post(Unknown Source)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComp
nt.doMessageProcessing(WebServiceEntryBindingComponent.java:1271)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComp
nt.processIncomingMessage(WebServiceEntryBindingComponent.java:859)
at oracle.integration.platform.blocks.soap.FabricProvider.processMess
(FabricProvider.java:113)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcess
(ProviderProcessor.java:1187)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementa
n(WebServiceProcessor.java:1081)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessi
ProviderProcessor.java:581)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServic
ocessor.java:232)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProc
or.java:192)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.j
:459)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPo
FabricProviderServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.
(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSec
tyHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.
a:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl
va:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:1
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java
3)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatfor
il.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.
a:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.jav
61)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl
va:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java
6)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl
va:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAc
n.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAc
n.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authentic
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.ja
120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebA
ervletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServl
ontext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImp
ava:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
>

Hi Surfraz,
Did you go through this link?
http://docs.oracle.com/cd/E21764_01/integration.1111/e10231/adptr_file.htm#BABCFDGC
Regards,
Neeraj Sehgal

Similar Messages

  • Using file adapter, got "Sender Agreement not found" error

    I used file adapter in my CC and defined all the necessary objects. When I tried to test the configuration and I kept getting "Sender Agreement" error.
    Also the chache is cleared too, searched the forum already, couldn't find any clue
    Not sure what I did wrong

    Hi,
    First things first, ensure you have an agreement for each single Communication Channel you have
    and that they are correctly associated.
    If they are created and associated, you may try the cache refresh with the link:
    http://host:j2eeport/CPACache/refresh?mode=full
    Kind regards,
    Caio Cagnani

  • Error while trying to move file using File adapter

    Hi, I am trying one scenario to move file from one remote folder to other using file adapter as mentioned in heading 4.5.11.1 at http://download.oracle.com/docs/cd/E21764_01/integration.1111/e10231/adptr_file.htm#CHDGFAAB. But I am receiving the below error:
    <messages><input>
    <Invoke1_FileMove_InputVariable><part name="Empty" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><empty xmlns="http://xmlns.oracle.com/pcbpel/adapter/opaque/"/></part></Invoke1_FileMove_InputVariable></input><fault>
    <bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "*JCA Binding execute of Reference operation 'FileMove' failed due to: Exception occured when binding was invoked.*
    *Exception occured during invocation of JCA binding: "*Could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileReadInteractionSpec due to: Cannot set JCA WSDL Property.**
    **Error while setting JCA WSDL Property.**
    **Property setSourcePhysicalDirectory is not defined for oracle.tip.adapter.file.outbound.FileReadInteractionSpec**
    **Please verify the spelling of the property.**
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary></part><part name="detail"><detail>Cannot set JCA WSDL Property.
    Error while setting JCA WSDL Property.
    Property setSourcePhysicalDirectory is not defined for oracle.tip.adapter.file.outbound.FileReadInteractionSpec
    Please verify the spelling of the property.
    </detail></part><part name="code"><code>null</code></part></bindingFault></bpelFault></fault><faultType>
    <message>0</message></faultType></messages>
    Please provide any insight if someone have tried this.
    Thanks,
    rps

    Hi rps,
    Your interaction-spec className seems to be incorrect (FileReadInteractionSpec).
        <interaction-spec className="oracle.tip.adapter.file.outbound.FileIoInteractionSpec">
        </interaction-spec>Please try with the above interaction spec and let me know the outcome.
    Regards,
    Neeraj Sehgal

  • Got compilation error about 'create instance activity' using file adapter

    Hi,
    I am creating a very simple bpel process using file adapter. in my 'Receive' activity, I selected 'create instance' , as the tutorial says.
    I got this compilation error during deploying.
    'Error(31): [Error ORABPEL-10051]: multiple create instance activity [Description]: in line 31 of "D:\OraBPELPM_1\integration\jdev\jdev\mywork\BPELPractices\FileAdapterTest2\FileAdapterTest2.bpel", Conflicting createInstacne="yes". Instance is already created by another activity. [Potential fix]: Remove createInstance="yes" attribute from this activity. '
    Several people had the same problem in my team. I wonder if this is a common issue. how to fix it?
    Thanks,
    Kate

    You must be having another receive/pick activity within the same process that has "createInstance" set to yes.
    Thats why its complaining.

  • Error while using DB Adapter in BPEL process

    Hi All,
    I am getting error while using DB Adapter in BPEL process
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DevDBAdapter' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. DBAdapterDemo:DevDBAdapter [ DevDBAdapter_ptt::DevDBAdapter(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/Dev'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/Dev. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) 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:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:157) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1259) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DevDBAdapter' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. DBAdapterDemo:DevDBAdapter [ DevDBAdapter_ptt::DevDBAdapter(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/Dev'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/Dev. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:985) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:729) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569) ... 69 more Caused by: javax.xml.ws.soap.SOAPFaultException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DevDBAdapter' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. DBAdapterDemo:DevDBAdapter [ DevDBAdapter_ptt::DevDBAdapter(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/Dev'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/Dev. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:955) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:750) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:234) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:105) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256) ... 72 more
    I have created jndi from console which I have mentioned in DBAdapter and I have provided details of JNDI to DbAdapter in deployment.
    I am not able to solve this.
    Can you please let me know solution for this or provide me link for tutorial of DBAdapter for stored procdure call?

    did u deploy your dbadapter through console to the plan mentioned for deployment?

  • Not able to map contents of xml to output using file adapter

    Hi
    i m not able to map the output of file adapter to a variable when reading an xml. the data is coming in the file adapter output variable but it is not mapping to other variable in assign or transform activity.I m using jdeveloper 11.1.1.4.0.Can anbody help me plz.
    Regards
    Sourbh

    i am using file adapter as reference to synchronously read an xml file. i am able to see the flow trace in em console. the output variable of file adapter contains the data but when i m trying to assign the value to a variable i getting error. saying that some xpath is not returing any value.
    i tried with transform activity also but same case is there.

  • Error Handling in File Adapter

    I have been working on a requirement where the file adapter picks up the file and gives to the BPEL for processing the data.
    So, in order to do Error Handling for file adapter, i have been reading the Oracle documentation for technology adapters. In that, some of the
    points which i felt valuable for my error handling when using file adapter are the uniqueMessageSeparator property, fault-policies for rejected messages,
    and one of the action for rejected messages could be writing the payload to a file or invoking any other webservice.
    In my composite, i have configured the file adapter as a service for reading files, and i defined the xsd using the native format builder....If i put some data like 'aaaa' in the attribute of type integer , the .csv file is being picked up and its being passed to the BPEL without any error ? I believe there should be a translation error...right...
    But i am not getting the error, please tell me if anything is wrong in my xsd....
    Here is my xsd...
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    xmlns:tns="http://TargetNamespace.com/InboundService"
    targetNamespace="http://TargetNamespace.com/InboundService"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    nxsd:version="NXSD"
    nxsd:stream="chars"
    nxsd:encoding="US-ASCII"
    nxsd:hasHeader="true"
    nxsd:headerLines="1"
    nxsd:headerLinesTerminatedBy="${eol}"
    >
    <xsd:element name="names">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="name" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="FirstName" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," />
    <xsd:element name="LastName" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," />
    <xsd:element name="Number" type="xsd:integer" nxsd:style="terminated" nxsd:terminatedBy="${eol}" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    And for DB Adapter, there is a property called SchemaValidation, i think that is not there for File adapter, by default it will take care of validation i guess....In another composite, my file adapter is picking up the .xml file and if i put any wrong data over there, that is working fine, i am getting the translation error, but only here in the case of csv file, i am not getting the error. Experts, please help me in this regard...I am using SOA 11G
    Thanks,
    Naresh

    Hi Yatan,
    Thanks for the reply. I did the same way, where my composite is picking up an XML file and translation error is coming. Even the fault policies are working fine, like writing to a file and even invoking other web service. Its really good that you have achieved the same thing in csv files. But the same thing i am unable to achieve when my file adapter is picking up the csv file. I really cant understand where i am doing wrong.
    here is my XSD which i defined through my native builder format...
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    xmlns:tns="http://TargetNamespace.com/FileRecv"
    targetNamespace="http://TargetNamespace.com/FileRecv"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    nxsd:version="NXSD"
    nxsd:stream="chars"
    nxsd:encoding="US-ASCII"
    nxsd:hasHeader="true"
    nxsd:headerLines="1"
    nxsd:headerLinesTerminatedBy="${eol}"
    >
    <xsd:element name="Roots">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="FirstName" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="LastName" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="Number" type="xsd:integer" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    the jca file ..
    <adapter-config name="FileRecv" adapter="File Adapter" wsdlLocation="FileRecv.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/FileAdapter" UIincludeWildcard="n*.csv"/>
    <endpoint-activation portType="Read_ptt" operation="Read">
    <activation-spec className="oracle.tip.adapter.file.inbound.FileActivationSpec">
    <property name="DeleteFile" value="true"/>
    <property name="MinimumAge" value="0"/>
    <property name="PhysicalDirectory" value="C:\files"/>
    <property name="Recursive" value="false"/>
    <property name="PollingFrequency" value="5"/>
    <property name="IncludeFiles" value="n.*\.csv"/>
    <property name="UseHeaders" value="false"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>
    I told that the file will contain only 1 record while defining xsd and i kept a record whose values are John , Peter and akjdkjdskj.
    Now if the data is like above, the file is still getting picked up without any translation error and the BPEL is getting completed successfully...
    Is it possible for you to send your sample project and the csv file from which you have defined the xsd to me if you dont mind ?
    Thanks,
    Naresh

  • Error in Receiver File adapter - FCC

    Got error message as "File Adapter Receiver Channel CC_OB_REQ: Not initialized - cannot proceed: null"
    My requirement is to send IDOC to file which consists of 4 fields, My target message interface is
    MT_REQ
      FILE_STRUC
        FILE_OP
           AAA (Field1)
            BBB(Field2)
           CCC(Field3)
           DDD(Field4)
    Output file should contain the above 4 fields with fixed lengths 20,1,1,2
    So I declared FCC in File Adapter  as
    I tried many options
    RecordSet Structure: MT_REQ,FILE_STRUC,FILE_OP
    FILE_STRUC.fieldSeparator - 'nl'
    FILE_OP.fixedFieldLengths - 20,1,1,2
    FILE_OP.fieldSeparator - 'nl'
    FILE_OP.endSeparator - 'nl'.
    Please let me know where is the problem?
    Thanks in advance,
    Krishna

    Hi Ramakrishana,
    In FCC fixed length file format when your XML payload is goes to Adaptor engine, it should contain all fields in XML. Otherwise its throw error in FCC channel. Please check receiver payload at SXMB_MONI or message monitoring of Run time work bench. In that payload you will find that some of the fields is not generated in target payload.
    Field in receiver payload is not generated means from sender payload corresponding field is not coming. As per my past experience this generally happens in IDOC sender.
    solution:- In message mapping in every field from IDOC to file use mapWithDefault node function with null value. Due to this though if any field do not generates in IDOC, corresponding field will generate in File Payload and it will not throw error in FCC.
    Regards,
    Prashant

  • File Conversion error in Receiver File Adapter

    Hi ,
    I am facing the below error in  receiver file adapter .
    Conversion initialization failed: java.lang.Exception: java.lang.NumberFormatException: For input string: "4|8|10|2|10|4|10|4|40|40|40|1|20|2|20|8|40|0|12|12|12|1|12|4|4|8|40|8|8|8|8|12|40|8|10|10|10|10|10|1|10"
    Kindly suggest !
    Regards,
    Hemanthika

    Hi,
    Check it - File adapter is active ? try to Re-activate the same.
    Also do CPACache Refresh.
    Still problem, tyr out by restarting the Adapter Engine.
      I guess you're just trying to send all the data in your file record to a <data> element as a whole. If so, this blog will help you:
    Configuring Generic Sender File CC Adapter
    Under certain operating system platforms, such as Solaris, the APIs used by the Java Runtime (JRE) are not Unicode-aware. Consequently, the JRE needs to be configured to correctly interpret the character set it receives from the operating system.
    This is configured through the "file.encoding" system property as well as the "LANG" environment variable.
    Make sure you set "file.encoding" to a character set (such as ISO-8859-1) that supports the special characters you would like to process. This system property can be configured by appending "-Dfile.encoding=<encoding>" to the Java VM parameters section of the SAP J2EE Config Tool.
    Additionally, you need to set the "LANG" environment variable to a locale that supports more than 7 bits, such as "de.ISO8859-1". The encoding you specify in the LANG environment variable needs to match the encoding set via "file.encoding".
    You can persistently configure the environment variable by setting it in the profile $HOME/.sapenv_$HOSTNAME.csh of the <sid>adm user: setenv LANG de.ISO8859-1
    Refer this article
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10dd67dd-a42b-2a10-2785-91c40ee56c0b
    See below link
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Please refer this thread .
    File Adapter Not Initialized Error
    Cheers,
    Regards,
    Suryanarayana

  • Error while using  soap adapter in webservice to sap system scenario

    Hi everybody,
    i got the error while using saop adapter in scenario(sender webservice----->sap system)
    error is
    HTTP error:couldnot post file
    '/XISOAPAdapter/MessageServlet:Channel=:BS1:SPA.&amp;
    version+3.0&amp;sender.Service=BS1&amp;interface=http%3ASP%5OUTBOUND'on server 'XI03'(500)

    check with ur basis people

  • Posting XML using FILE adapter returns "HTTP_RESP_STATUS_CODE_NOT_OK"

    Hi,
    I am trying do very simple demo which reads a simple XML message from a ftp server and post that message directly to the same ftp server using FILE adapter.
    So, I add my xml message like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns:TxMessage xmlns:ns="http://bsa.sisl.com">
      <Name>Bibinu</Name>
      <Address>Kalyan</Address>
    </ns:TxMessage>
    but I get a error message back from the Integration Server as:
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>401</SAP:P1>
      <SAP:P2>Unauthorized</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;Error Report&lt;/title&gt; &lt;style&gt; td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;} A:link A:visited A:active &lt;/style&gt; &lt;/head&gt; &lt;body marginwidth=&quot;0&quot; marginheight=&quot;0&quot; leftmargin=&quot;0&quot; topmargin=&quot;0&quot; rightmargin=&quot;0&quot;&gt; &lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; align=&quot;left&quot; height=&quot;75&quot;&gt; &lt;tr bgcolor=&quot;#FFFFFF&quot;&gt; &lt;td align=&quot;left&quot; colspan=&quot;2&quot; height=&quot;48&quot;&gt;&lt;font face=&quot;Arial, Verdana, Helvetica&quot; size=&quot;4&quot; color=&quot;#666666&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;401 &amp;nbsp Unauthorized&lt;/b&gt;&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr bgcolor=&quot;#3F73A3&quot;&gt; &lt;td height=&quot;23&quot; width=&quot;84&quot;&gt;&lt;img width=1 height=1 border=0 alt=&quot;&quot;&gt;&lt;/td&gt; &lt;td height=&quot;23&quot;&gt;&lt;img width=1 height=1 border=0 alt=&quot;&quot;&gt;&lt;/td&gt; &lt;td align=&quot;right&quot; height=&quot;23&quot;&gt;&lt;font face=&quot;Arial, Verdana, Helvetica&quot; size=&quot;2&quot; color=&quot;#FFFFFF&quot;&gt;&lt;b&gt;SAP J2EE Engine/6.40&amp;nbsp;&lt;/b&gt;&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr bgcolor=&quot;#9DCDFD&quot;&gt; &lt;td height=&quot;4&quot; colspan=&quot;3&quot;&gt;&lt;img width=1 height=1 border=0 alt=&quot;&quot;&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt; &lt;p&gt;&lt;font face=&quot;Arial, Verdana, Helvetica&quot; size=&quot;3&quot; color=&quot;#000000&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;User is locked.&lt;/b&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face=&quot;Arial, Verdana, Helvetica&quot; size=&quot;2&quot; color=&quot;#000000&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;b&gt;&amp;nbsp;Details:&lt;/b&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;PRE&gt;No details available&lt;/PRE&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/font&gt;&lt;/p&gt; &lt;/body&gt; &lt;/html&gt;</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP response contains status code 401 with the description Unauthorized XML tag Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Seems like I am missing the Envelope. What does the Envelope supposed to look like or should contain so that the scenario should work?
    Thanks !

    Did you resolve the problem?? I have the same problem, and there's no informatin about it.
    Thanks!!

  • Reading .pdx file using File Adapter

    Hi,
    I have .pdx file in the input directory of my BPEL process .Also i have the DTD of the pdx file.Using file Adapter wizard i converted tht DTD to the XSD.Now when I run my BPEL process i am getting this error.
    Failed to translate file : {C:\OraBPELPM_1\integration\jdev\jdev\mywo
    rk\TestWs\readPDX\inputDr\agile_20070621_050222833.pdx}
    <2007-07-06 23:08:38,137> <INFO> <default.collaxa.cube.activation> <File Adapter
    ::Inbound> Sending message to Adapter Framework for rejection to user-configured
    rejection handlers : {
    file=C:\OraBPELPM_1\integration\jdev\jdev\mywork\TestWs\readPDX\inputDr\agile_2
    0070621_050222833.pdx, Exception=ORABPEL-11207
    IO Failure in translator.
    IO failure because the translator failed to SAX Parse InputStream .
    Check the error stack and fix the cause of the error. Contact oracle support if
    error is not fixable.
    <2007-07-06 23:08:38,138> <WARN> <default.collaxa.cube.activation> <AdapterFrame
    work::Inbound> [Read_ptt::Read(ProductDataeXchangePackage)] - onReject: The reso
    urce adapter 'File Adapter' requested handling of a malformed inbound message. H
    owever, the following bpel.xml activation property has not been defined: 'reject
    edMessageHandlers'. Please define it and redeploy the business process. Will use
    the default Rejection Directory file://C:\OraBPELPM_1\integration\orabpel\domai
    ns\default\archive\jca\readPDX\rejectedMessages for now.
    <2007-07-06 23:08:38,138> <WARN> <default.collaxa.cube.activation> <AdapterFrame
    work::Inbound> [Read_ptt::Read(ProductDataeXchangePackage)] - onReject: Sending
    invalid inbound message to Exception Handler:
    <2007-07-06 23:08:38,138> <INFO> <default.collaxa.cube.activation> <AdapterFrame
    work::Inbound> Handing rejected message to DEFAULT rejection handler: file://C:\
    OraBPELPM_1\integration\orabpel\domains\default\archive\jca\readPDX\rejectedMess
    ages since none of the configured rejection handlers [] succeeded.
    <2007-07-06 23:08:38,142> <INFO> <default.collaxa.cube.activation> <File Adapter
    ::Inbound> Deleting file : C:\OraBPELPM_1\integration\jdev\jdev\mywork\TestWs\re
    adPDX\inputDr\agile_20070621_050222833.pdx after processing.
    Can somebody help me to find how to rectify this?
    Thanks in Advance

    Hi Anirudh,
    Please have a look at the answers for ur questions:
    (1)Is it a .pdf file?
    its a .pdx file.This file is generated from Agile PLM side.It consists of DTD information and the actual xml.If i rename it to .xml then its working fine.But i would be getting this file in .pdx format
    (2)Its size?
    It can be 73 MB
    (3)Using a file adapter to pick the file?
    Yes
    (4)Picking from the local box or a remote one?
    For the time being i am picking it up from the local box.But going fwd it shld be from remote
    (5)Any firewall being used?
    No
    (6)Is the schema correct and confirming with right namespaces?
    Yes
    (7)BPEL version?
    10.1.2
    Thanks
    Cheers
    Anirudh Pucha

  • Issue with " " in file when using file adapter

    Hi,
    Iam using FIle adapter to load the data from file to a table.
    Every thing is working fine, but when ever the record in the file has " " in the data it fails.
    Eg:
    12|"LOG" logo|Y
    I am using file adapter with delimiter | and empty in enclosed by.
    When I intiate the process it throws saying expected delimited | but could not be found . But I am not using any enclosed by clause so it should not check for | after ".
    Any one have any ideas or face this kind of problem.
    Thanks

    Hi,
    Even i faced this issue before...the problem with file adapter is the attribute nxsd:quotedBy takes &quot; as default even if u dont mention it takes the same and now after the quotes it immediately expects | wch is not there in the data and it throws the error...now the fix for the problem is put some symbol for nxsd:quotedBy wch u never expect in the data some thing like less than or greater than symbol ....some thing like below
    <element name="FieldTwo" type="string" nxsd:style="terminated"
    nxsd:terminatedBy="|" nxsd:quotedBy="<"/>

  • Unable to read File using File Adapter

    Hi,
    I am using File adapter to read XML file.
    I able to write payload contents to file. but using same schema, path i am unable to read the file.
    receive process is not initiating.
    what could be the possible issue?
    Thanks

    Could you please give more info about the configuration, like the spring file entries? Do you see any errors in the server log? Thanks.

  • Polling xml file using file adapter

    Hi,
    when i am polling xml file using file adapter, xml file received properly.
    After receiving activity i am using assign activity to copy values to another variables, here i am getting error the values are not updated.
    My xml comes with out namespace, when we put namespace then only values are updated.
    What i need to do to update values.
    Regards,
    eeswar.

    after configuring the file adapter, define the interface of the BPEL using "based on the WSDL " option and select the wsdl of the file adapter , see whether it helps...

Maybe you are looking for

  • Please help! iPod won't sync: "Disk could not be read from or written to."

    I am at the end of my rope with the endless problems I've been having with iTunes and my iPod ever since the iTunes update which included Gapless Playback (a feature which now invariably crashes my entire computer unless I disable it quickly enough).

  • HP5520 Connection Error 403

    HP5520 Connection Error 403 when attempt to scan even though it shows I am connected to WiFi.

  • Problems with the installation of game

    I want to know what devices supports the Game Api! thanh you

  • Stuff Won't Fit

    I just got my Mini 4G back after having a new battery installed. The disk was blank, so I tried to sync only the checked songs. This music fit on the disk previously, but now I get a message saying there's not enough room. What gives? I can manually

  • Multiple drop down menus in a row

    I am trying to create a bid sheet for my interior design business. For example in my first column(A) i would like to have a drop down menu with Demo, Plumbing, Electric, etc.... and if i would select Pluming in that drop down menu, next to it in colu