ORABPEL-11622 <; detail >; oracle.tip.adapter.db.DBConnectionFactory <; / details >;
Hi all!I set JNDI in ra.xml - oc4j as file:
[xml]
< location connector-factory = "jdbc/SSNDbDS" connector-name = "Adapter database" >
< config-property name = "xADataSourceName" value = "jdbc/SSNDbDS" / >
< config-property name = "dataSourceName" value = "" / >
< config-property name = "platformClassName" value="oracle.toplink.platform.database.Oracle9Platform"/ >
< config-property name = "usesNativeSequencing" value = "true" / >
< config-property name = "sequencePreallocationSize" value = "50" / >
< config-property name = "defaultNChar" value = "false" / >
< config-property name = "usesBatchWriting" value = "false" / >
< connection pooling using 'none' = >
< / connection pooling >
< use security-config 'none' = >
< / security-config >
< / connector-factory >
[xml]
I have two instances on ACE: welcome and SSNProd and ' jdbc/SSNDbDS' is defined in the SSNProd instance while processes are deployed at home. So I copy-pasted pool of connections and definition of SSNProd - sources.xml in-home instance data connection. I thougt it might be the problem but it didn't solve it. The problem I have is: when I try to open a trial with adapter DB with:
[xml]
< service name = "MSRefIDNextVal" >
< name of port = "MSRefIDNextVal_pt" binding = "tns:MSRefIDNextVal_binding" >
<!-your connection TIME is declared in
J2EE_HOME/application-Deployments/default/DbAdapter/OC4J-RA. XML
These properties of mcf here come your design-time connection and
you don't have to change this file, and then restart the application server
If missing jdbc/SSNDbDS.
These properties of mcf are safe to remove.-->
< jca:address location = "jdbc/SSNDbDS.
ManagedConnectionFactory="oracle.tip.adapter.db.DBManagedConnectionFactory"/ >
< / port >
< / service >
[xml]
I get the next exception (I put logger level to debug and here is the log file records):
< 2008-10-27 12:13:02, 264 > < INFO > < default.collaxa.cube.ws > < database Adapter::Outbound > < oracle.tip.adapter.db.TopLinkLogger Journal > connection (DatabaseLogin)
platform = > Oracle9Platform
username = > «»
Connector = > data source name JNDIConnector = > jdbc/SSNDbDS
))
< 2008-10-27 12:13:02, 264 > < ERROR > < default.collaxa.cube.ws > < database Adapter::Outbound > < oracle.tip.adapter.db.DBManagedConnectionFactory acquireSession > cannot generate the TopLink Session
< 2008-10-27 12:13:02, 264 > < DEBUG > < default.collaxa.cube.ws > < database Adapter::Outbound > < oracle.tip.adapter.db.DBManagedConnectionFactory acquireSession > oracle.tip.adapter.db.DBConnectionFactory
< 2008-10-27 12:13:02, 264 > < ERROR > < default.collaxa.cube.ws > < AdapterFramework::Outbound > file:/C:/Oracle/OracleAS/bpel/domains/default/tmp/.bpel_MyNotification_1.0_e83588e1ecab6f4899d99f7f74afd076.tmp/MSRefIDNextVal.wsdl [MSRefIDNextVal_ptt::MSRefIDNextVal(MSRefIDNextValInput_msg,MSRefIDNextValOutputCollection)] - could not invoke operation "MSRefIDNextVal" against the "data adapter" due to:
ORABPEL-11622
Could not create/access the TopLink Session.
This session is used to connect to the data store.
See the first exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml), and then restart the server. Caused by java.lang.ClassCastException: oracle.tip.adapter.db.DBConnectionFactory.
at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:469)
at oracle.tip.adapter.db.exceptions.DBResourceException.couldNotCreateTopLinkSessionException(DBResourceException.java:212)
at oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:642)
at oracle.tip.adapter.db.transaction.DBTransaction.getSession(DBTransaction.java:451)
at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:222)
at oracle.tip.adapter.db.DBInteraction.executePureSQL(DBInteraction.java:1053)
at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:239)
at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:485)
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:435)
at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:443)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:251)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:727)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:366)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3672)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1650)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:276)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5658)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1082)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:535)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
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)
to com.evermind.server.ejb.interceptor.system.JAASInterceptor$ 1.run(JAASInterceptor.java:31)
at java.security.AccessController.doPrivileged (Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
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 CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke (unknown Source)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at sun.reflect.GeneratedMethodAccessor93.invoke (unknown Source)
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.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
at WorkerBean_EndPointProxy_4bin6i8.onMessage (unknown Source)
at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: oracle.tip.adapter.db.DBConnectionFactory
at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:94)
at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:147)
at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:228)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:220)
at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:304)
at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:82)
at oracle.toplink.threetier.ExternalConnectionPool.startUp(ExternalConnectionPool.java:98)
at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:435)
at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:504)
at oracle.tip.adapter.db.DBManagedConnectionFactory.createServerSession(DBManagedConnectionFactory.java:1019)
at oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:408)
... more than 63
< 2008-10-27 12:13:02, 264 > < ERROR > < default.collaxa.cube.ws > < AdapterFramework::Outbound > file:/C:/Oracle/OracleAS/bpel/domains/default/tmp/.bpel_MyNotification_1.0_e83588e1ecab6f4899d99f7f74afd076.tmp/MSRefIDNextVal.wsdl [MSRefIDNextVal_ptt::MSRefIDNextVal (MSRefIDNextValInput_msg, MSRefIDNextValOutputCollection)] - backward JCA LocalTransaction
< 2008-10-27 12:13:02, 264 > < DEBUG > < default.collaxa.cube.ws > < AdapterFramework::Outbound > WSIFCache: closing the connection of CCI
< 2008-10-27 12:13:02, 264 > < DEBUG > < default.collaxa.cube.ws > < WSIFInvocationHandler::invoke > fault has happened: file:/C:/Oracle/OracleAS/bpel/domains/default/tmp/.bpel_MyNotification_1.0_e83588e1ecab6f4899d99f7f74afd076.tmp/MSRefIDNextVal.wsdl [MSRefIDNextVal_ptt::MSRefIDNextVal (MSRefIDNextValInput_msg, MSRefIDNextValOutputCollection)] - SISM JCA Execute of 'MSRefIDNextVal' failed due to the operation: could not create/access the TopLink Session.
This session is used to connect to the data store.
; nested exception is:
ORABPEL-11622
Could not create/access the TopLink Session.
This session is used to connect to the data store.
See the first exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml), and then restart the server. Caused by java.lang.ClassCastException: oracle.tip.adapter.db.DBConnectionFactory.
Anyone know the problem. Retail oracle.tip.adapter.db.DBConnectionFactory tells me a lot, maybe java.lang.ClassCastException production tell someone my error?
The connection and the connection pool are defined in the data source as:
[xml]
"< data source managed connection-pool-name="jdev-connection-pool-SSNDb ' jndi name = "jdbc/SSNDbDS" name = "jdev-connection-managed-SSNDb" / >
< connection-pool name = "jdev-connection-pool-SSNDb" >
< connection-factory factory-class = "oracle.jdbc.pool.OracleDataSource" user = "< password >" password = '< base >' url = "< MY_URL >" / >
< / connection pool >
[xml]
Thank you
Kind regards!
BB
You use a XAdatasource, is it necessary? Try:
Marc
http://orasoa.blogspot.com
Tags: Fusion Middleware
Similar Questions
-
Hello
I get the following error message on the OSB newspapers whenever a proxy service tries to run a DB procedure:
< 2 February 2011 15:10:49 AM this > < error > < JCATransport > < BEA-381967 > < check call JCA failed with the application error >
< 2 February 2011 15:10:49 AM this > < error > < JCA_FRAMEWORK_AND_ADAPTER > < BEA-000000 > < servicebus: / WSDL/CRN_CommonServices/SaveTransactionBSV2 [SaveTransactionBSV2_ptt::SaveTransactionBSV2(InputParameters,OutputParameters)] - could not invoke operation "SaveTransactionBSV2" against the "null" due to:
oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: could not instantiate InteractionSpec oracle.tip.adapter.db.DBStoredProcedureInteractionSpec due to: oracle.tip.adapter.db.DBStoredProcedureInteractionSpec; nested exception is:
java.lang.ClassNotFoundException: oracle.tip.adapter.db.DBStoredProcedureInteractionSpec >
Can you please help me solve this problem.
Thanks in advance,
Sumit
Published by: 788884 on February 4, 2011 01:21Can you switch to the deployment section in the Weblogic administration Console and make sure "DBAdapter" is in the State "active"? Try the dbadapter "Update" and see if you get an error in the server log.
Kind regards
Anuj -
Oracle.Tip.adapter.B2B.transportTrace
Hi all
I activated oracle.tip.adapter.b2b.transportTrace in tip.properties, but I never see the defined file.
My setup.
Oracle.Tip.adapter.B2B.transportTrace = /oracle/b2bdevmt/product/as10.1.2/ip/log/transport.trc
But transport.trc is not generated in /oracle/b2bdevmt/product/as10.1.2/ip/log/
Any idea?
Kind regards
KerrHi Kerr,
Newspapers of transport files will be created in the same directory in which
B2B log file is created-$ORACLE_HOME/ip/journal/b2bB2b_idc_transport.log of delivery channel for internal
To provide external channel b2b_dc_transport.log
Kind regards
Anuj -
Safe to remove mcf for Oracle Application Adapter Properties?
Hi all
I want to delete properties from mcf in my application adapter Oracle (to connect to a business event), but I can't deploy the process more.
Can anyone help?
Jdev: 10.1.3.4.0.4270
SOA Suite: 10.1.3.4 on AIX 5.3
->
<! - these mcf properties are safe to remove. - >
< jca:address location = "jdbc/fmis' UIConnectionName = 'FMIS" UIOracleAppType = "WFBES" UIWfEventName = "xx.oracle.apps.ap.event.xmlRemit"
ManagedConnectionFactory = "oracle.tip.adapter.apps.AppsManagedConnectionFactory"
MCF. ConnectionString="jdbc:oracle:thin:@server1.test.com.au:1524:B2B1".
MCF. UserName = "apps".
MCF. Password = "7CC4D295E4DDDA919427B6716C0BDD1D" / >
-> to
< jca:address location = "jdbc/fmis' UIConnectionName = 'FMIS" UIOracleAppType = "WFBES" UIWfEventName = "xx.oracle.apps.ap.event.xmlRemit"
ManagedConnectionFactory = "oracle.tip.adapter.apps.AppsManagedConnectionFactory" / > "
-> Error message
BUILD FAILED
C:\projects\eProcurement\PAEBSToB2B\build.XML:78: A problem occurred when connecting to the server "server1.test.com.au" using the '7783' port: bpel_PAEBSToB2B_1.0.jar failed to deploy. Exception message is: ORABPEL-09903
Could not initialize the agent of activation.
An error occurred during initialization of a process enabling agent 'PAEBSToB2B', version "1.0".
Please ensure that the agents of activation are configured correctly in the bpel (bpel.xml) deployment descriptor.
oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: ORABPEL-12517
AdapterFrameworkImpl::endpointActivation - Activation of endpoint error.
Resources adapter Oracle Applications adapter could not activate oracle.tip.adapter.apps.AppsWFBesQueueDequeueActivationSpec endpoint: {OpaqueSchema = false, DatabaseSchema = APPS, QueueName = WF_BPEL_Q, consumer = ORA_6os32h1m84r38di684rj2c1k61, MessageSelectorRule = tab.user_data.event_name = "xx.oracle.apps.ap.event.xmlRemit", AppsEventSchema = NO_SCHEMA} for the following reason: ORABPEL-00000
Error in creating the managed connection pool. Invalid connection Cache name. Must be a valid string and a single
Please correct the reported problem and redeploy the BPEL process.
at com.collaxa.cube.engine.core.BaseCubeProcess.startAllActivationAgents(BaseCubeProcess.java:428)
at com.collaxa.cube.engine.deployment.DeploymentManager.activateDefaultRevision(DeploymentManager.java:1733)
at com.collaxa.cube.engine.deployment.DeploymentManager.setDefaultRevision(DeploymentManager.java:1691)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:950)
at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:792)
at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:455)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
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)
to com.evermind.server.ejb.interceptor.system.JAASInterceptor$ 1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
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:64)
to oracle.security.jazn.oc4j.JAZNFilter$ 1.run(JAZNFilter.java:400)
at java.security.AccessController.doPrivileged(AccessController.java:279)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:727)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
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:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:810)
Total time: 40 seconds
Kind regards
KerrMcf properties should be withdrawn as a best practice, regardless of the environment. Development is probably the environment more important to revome such that it will be this object that gets migrated as part of the lifecycle developmentn. As much as I know I've never seen a dependency on these parameters in JDev, so they can be dismissed at pleasure.
The question in dispute. Looking at your it looks that you have correctly entered your JNDI name in
You specified jdbc/fmis. This seems to be more than one data source name is not a jndi name. I expect to see something like eis/Apps/fmis.
This must be entered in your connection pool.
In EM-> oc4j_soa-> applications-> default-> Apps adapter.
This must match your JDeveloper entry. If you establish as common naming method, it should be no problem with the transfer between the developers code.
see you soon
James -
How to pass the user name dynamically in file .jca Oracle Apps adapter
My BPEL process using Oracle Applications adapter. Here is the file .jca for the adapter. The user name is statically initialized to "sysadmin" when I created the adapter. How can I change this to move dynamically during execution? Can I use an EL Expression or a variable of XPath. If yes how and what is the correct syntax?
Is it possible to pass the user name of the security policy of OWSM for the value of username below? If yes how? I appreciate your response.
" < name of the adapter-config = adapter 'EBSAdapter' = 'Apps' wsdlLocation =".. / WSDLs/EBSAdapter.wsdl "xmlns =" http://platform.integration.Oracle/blocks/adapter/FW/metadata « >
< UIConnectionName factory connections = "EBS1" location = ' ist/Apps/EBS1"UIConcurrentPgmName =" "UIOracleAppType = 'DBOBJECT' / >"
< endpoint-interaction portType = operation "EBSAdapter_ptt" = "EBSAdapter" >
< className = "oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec interaction-spec" >
< property name = "SchemaName" value = "APPS" / >
< property name = "PackageName" value = "JAN" / >
< property name = "Procedurename" value = "GET_USER_PROFILE1" / >
< property name = "IRepInternalName" value = "PLSQL:INTG:WEBCENTER_GET_USER_PROFILE1" / >
< property name = value "Username" = "sysadmin" / >
< property name = value of 'Responsibility' = "system administrator" / >
< / interaction-spec >
< / interaction of endpoint >
< / adapter-config >
1. go on the Invoke activity
2. click on the Properties tab.
3. click on add
4 Add this 'jca.apps.Username' property and map with variable or expression.
5. fill the variable defined in the previous step with valid username values during execution.
I hope this helps.
Kind regards
Karan
-
Oracle Application adapt several details with the XMLPayload only
Hello
We gradually the Oracle application in Peoplesoft using Oracle application adapter.
In our XML sales order load several details in a load of XML.
BUR our details only one sales order of the system target.
is any possibility to split the load XML.
You can help me pls.
Payload of samples
< sales >
< order >
< > 1200 orderno < / orderno >
< ordered details > test < / ordered details >
< / order >
< order >
< > 1201 orderno < / orderno >
used2 < y details > < / ordered details >
< / order >
< / sales order >
I need to send two of the transaction in BSE.
Example, I get 10 order details, that I need to split into 10 different on the target system.
You can a ple help me.
Thank you
RahulMultiple sales in individual sales division is to do before sending it to the Oracle application adapter in BEPL/BSE/OSB. As far as I know Oracle Application adaptation for Peoplesoft has no option available.
Transformation of splitting can be easily done in BSE/OSB/BPEL.
Thank you
Maury -
Call the concomitant BPEL with Oracle Apps adapter Custom program
Hello
Can anyone help to call custom program simultaneous BPEL using oracle apps adapter
Currently, I'll call you my personalized using fnd_request.submit_request API program successfully, but I won't use it
I can directly call the "GLLEZL" program, but it is a program of stadnard
Please let me know how to call custom program concureent of BPEL using OA.
Thanks and greetings
606686Your approach seems to be okay.
It would be better to wrap it in the api plsql and call for SOA.Prasanna-
-
Legend jar Oracle b2b - oracle.tip.b2b.callout
Where can I get b2b legend jar (oracle.tip.b2b.callout) to compile java classes mentioned in the docs.
http://docs.Oracle.com/CD/E28389_01/user.1111/e10229/CallOuts.htmHello
B2B.jar in $BEA_HOME\Oracle_SOA1\soa\modules\oracle.soa.b2b_11.1.1
See you soon,.
Vlad -
Salesforce Oracle integration adapter in SOA 11.7
I've set up a scenario given in Chapter 5 of this pdf
http://www.Oracle.com/technetwork/middleware/adapters/documentation/UG-sfdcadapter-PS6-2104970.PDF
I am facing a problem when calling adapter for Salesforce. My composite has a bpel process that invokes the adapter sales force.
I configured the adapter following the pdf file. I am trying to create an account.
< bindingFault >
< name of part = "summary" >
< Summary > Exception occurred when the link was invoked. Exception occurred during invocation of the JCA binding: "liaison JCA perform operations of reference 'create' has no reason of: error sending bytes: unknown exception while transforming the request message." The called JCA adapter threw an exception of resource. Please review the error message above carefully to determine a resolution. < / Summary >
< / part >
< name of party 'detail' = >
< Detail >unknown exception while transforming request message. < / details >
< / part >
< name of part = "code" >
value null < code > < code >
< / part >
< / bindingFault >
Hello
Users who connect to salesforce using weblogic will be one of the
Next:
1 turn off the host name verification.
2. go to Weblogic + 10.3.6 and use the auditor "with characters generic host name.
http://docs.Oracle.com/CD/E23943_01/Web.1111/e13707/SSL.htm#CHDIEIEE
3. configure a custom host name checker:
I hope this helps.
see you soon,
Praveen
-
Oracle FTP adapter - possibility of using the public key and the password
Hi all
One needs to connect to a target SFTP server using the public key and password using the Oracle's FTP adapter. Is it possible and feasible?
I think it's usually one of them that would be used (the password or public key).
Could someone help me with this please?
Thank you
Kind regards
Nanan
Hi all
We checked it with Oracle and it happens that this feature is not available in the product. It is probably considered to be an improvement.
Hope that this update would be useful at all.
Thank you
Kind regards
Nanan
-
I am developing a custom Manager to deliver the change Oracle logs.
When errors have occurred, normally, I can throw RuntimeException or return Status.ABEND. Then OGG would be the error in the log and stop the process.
The following code works fine when operationAdded() failed (extraction process will report abend, and when extraction of restarting after errors, the operations in the transaction failure would be referred to the Manager).
@Override
public Status operationAdded(DsEvent e, DsTransaction tx,
DsOperation dsOperation) {
Status status = super.operationAdded(e, tx, dsOperation);
...
//throw new RuntimeException("op add runtime error");
return status;
}However, when the error occurred in the function transactionCommit(), OGG does work as expected. Throw RuntimeException or return only Status.Abend can stop the extract. Just OGG continue to work like nothing happened. (Code below)
@Override
public Status transactionCommit(DsEvent e, DsTransaction tx) {
super.transactionCommit(e, tx);
Status status = sendEvents();
handlerProperties.totalTxns++;
//throw new RuntimeException("tx ci runtime error");
return Status.ABEND;
}I tried to kill and restart the extraction process. The transaction that failed were not referred to the Manager. It seems that all the transaction data that failed were lost!
Here are the logs of return Status.ABEND in transactionCommit():
...
DEBUG [main] (AbstractHandler.java:509) - Event: handler=ggdatahub, transactionCommit ( Commit transaction ) DsTransaction [ops=1, buffered=1, state=BEGIN, start=2015-08-21 20:04:25.842275, end=2015-08-21 20:04:25.842275]
WARN [main] (DsEventManager.java:231) - Error sending event to handler: status=ABEND, event=Commit transaction, handler=ggdatahub
Exception in thread "main" com.goldengate.atg.util.GGException: Unable to commit transaction, STATUS=ABEND
at com.goldengate.atg.datasource.UserExitDataSource.commitActiveTransaction(UserExitDataSource.java:1392)
at com.goldengate.atg.datasource.UserExitDataSource.commitTx(UserExitDataSource.java:1326)
Error occured in javawriter.c[752]:
***********************************************************************
Exception received committing transaction: com.goldengate.atg.util.GGException: Unable to commit transaction, STATUS=ABEND
DEBUG [main] (UserExitDataSource.java:504) - (JNI) C-user-exit checkpoint event
DEBUG [main] (UserExitDataSource.java:1364) - UserExitDataSource.CommitActiveTransaction: Same transaction committed more than once (possibly due to commit-on-checkpoint).
DEBUG [main] (UserExitDataSource.java:516) - UserExitDataSource.userExitCheckpoint: incrementing the flush counter
DEBUG [main] (PendingOpGroup.java:315) - now ready to checkpoint? false (was ready? false): {pendingOps=1, groupSize=0, timer=0:00:00.000 [total = 0 ms ]}
DEBUG [main] (UserExitDataSource.java:504) - (JNI) C-user-exit checkpoint event
DEBUG [main] (UserExitDataSource.java:1364) - UserExitDataSource.CommitActiveTransaction: Same transaction committed more than once (possibly due to commit-on-checkpoint).
DEBUG [main] (UserExitDataSource.java:516) - UserExitDataSource.userExitCheckpoint: incrementing the flush counter
DEBUG [pool-1-thread-1] (AbstractDataSource.java:737) - [2] getStatusReport: Mon Aug 24 10:51:14 CST 2015
DEBUG [Thread-1] (UserExitDataSource.java:1601) - UserExitDataSource closing, #1 of class="UserExitDataSource"
DEBUG [main] (PendingOpGroup.java:315) - now ready to checkpoint? false (was ready? false): {pendingOps=3, groupSize=0, timer=0:00:00.000 [total = 0 ms ]}
DEBUG [Thread-1] (UserExitDataSource.java:1608) - Shutting down data source; attempting a final checkpoint.
INFO [pool-1-thread-1] (AbstractDataSource.java:730) - Memory at Status : Max: 455.00 MB, Total: 60.50 MB, Free: 27.54 MB, Used: 32.96 MB
DEBUG [pool-1-thread-1] (UserExitDataSource.java:1637) - time spent checkpointing: 0:00:00.000 [total = 0 ms ]
DEBUG [Thread-1] (UserExitDataSource.java:1668) - doCheckpoint() called
INFO [pool-1-thread-1] (AbstractDataSource.java:980) - Status report: Mon Aug 24 10:51:14 CST 2015
*************************************************
Status Report for UserExit
*************************************************
Total elapsed time: 2 days 14:47:06.139 [total = 226026 sec = 3767 min = 62 hr ] => Total time since first event
Event processing time: 0:00:12.692 [total = 12 sec ] => Time spent sending msgs (max: 4795 ms)
Metadata process time: 0:00:02.159 [total = 2 sec ] => Time spent receiving metadata (1 tables, 3 columns)
Operations Received/Sent: 3 / 3
Rate (overall): 0 op/s (peak: 0 op/s)
(per event): 0 op/s
Transactions Received/Sent: 2 / 0
Rate (overall): 0 tx/s (peak: 0 tx/s)
(per event): 0 tx/s
3 records processed as of Mon Aug 24 10:51:14 CST 2015 (rate 0/sec, delta 3)
*************************************************Someone knows how to fix this? Thanks in advance!
For others who may encounter this problem:
It turns out be a bug...
I switch to Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230 Version 12.1.2.1.4 OGGCORE_12.1.2.1.0OGGBP_PLATFORMS_150303.1209 20470586 . Everything works fine now.
-
Oracle Cloud adapter for Salesforce design time error
Hi gurus of SOA,.
I am trying to use the Cloud Salesforce on SOA suite adapter 11.1.1.7. I was able to install the patch Jdeveloper and can see the map of Salesforce.
However, when I try to create a service, I get the WSDL (of Java Null pointer Exception) write error. Pls see below for steps to reproduce.
https://drive.Google.com/file/d/0B8E4JtTUuzitX3ZxOTRIUjk2bHM/edit?USP=sharing
Grateful if someone could provide guidance on how to solve this problem.
Concerning
Emilienne
It seems you are trying to use partner WSDL and not yet certified. Please download enterprise WSDL for Salesforce instance you and then try to use the same card with enterprise WSDL. If you face any question whether the time of design or execution, please let us know.
-
How to create untapped in the DB adapter connection details
Hello
User Guide to adapt the technology tells how to create unmanaged connection details.
Note: Unhandled connection details are not created in the
DBAdapter.jca files when you start Oracle JDeveloper is in the
in normal mode. However, unmanaged connection details are created
in .jca DBAdapter files when you start Oracle JDeveloper
the preview mode.
Guide 9-98 oracle Fusion Middleware for technology adapters
I can't understand this.
Can someone explain this?
Thank you
Maryse
xmlns = "http://platform.integration.oracle/blocks/adapter/fw/metadata" >
adapterRef ="" >
<>
managedConnectionFactoryClassName = "oracle.tip.adapter.aq.AQManagedConnectionFactor
y « >
value="JDBC:Oracle:thin:@stadd14.us.Oracle.com:1522:ORCL"/ >
<>
className = "oracle.tip.adapter.aq.inbound.AQDequeueActivationSpec" > "
These entries are correct. However according to Jay earlier for the time of execution, you create a connection for the jca adapter factory, using the Weblogic administration console. The JNDI name ' ist/QA/aqSample' as an example from above should be listed in the factory connections. Unused receipts are collect information from their jdeveloper design, and they cannot be used at run time. This is not supported in 11g.
-
m getting this error orabpel 12537
I invoke the adapter of Scripture. When I called I get this error.plz help
error is:
receiveInput
[2008-11-05 15:26:01] Received 'variableentree' call over partner 'customer '...
View the xml document
AssignFileWritein
[2008-11-05 15:26:01] Updated more variable 'InvokeFileOut_Write_InputVariable '...
-< InvokeFileOut_Write_InputVariable >
-< part xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" name = "POAcknowledge" >
< POAcknowledge xmlns = "http://www.thiscompany.com/ns/sales" / >
< / part >
< / InvokeFileOut_Write_InputVariable >
InvokeFileOut (defective)
[2008-11-05 15:26:01] Error when calling operation 'write' the provider 'Filewrite"over-consumption
-< message >
-< input >
-< InvokeFileOut_Write_InputVariable >
-< part xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" name = "POAcknowledge" >
< POAcknowledge xmlns = "http://www.thiscompany.com/ns/sales" / >
< / part >
< / InvokeFileOut_Write_InputVariable >
< / Entry >
-< fault >
-< bindingFault xmlns = "http://schemas.oracle.com/bpel/extension" >
-part name = "summary" >
< Summary >
file:/D:/product/10.1.3.1/OracleAS_8/BPEL/domains/default/tmp/.bpel_POAcknowledge_1.0_9cb86657d04e99ccb06091467c82f390.tmp/FileWrite.WSDL [Write_ptt::Write (POAcknowledge)] - SISM JCA Execute of 'Write' failure due to operation: failed to instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileInteractionSpec due to: problem loading XSD.
Cannot load translation patterns of for http://www.thiscompany.com/ns/sales due to: XSD location problem.
Found no XSD (XML schema) for the input element and namespace target POAcknowledge http://www.thiscompany.com/ns/sales
Please make sure that the WSDL message points to a valid type.
Please make sure all XML schemas that are used are imported/included correctly.
; nested exception is:
ORABPEL-12537
Problem loading XSD.
Cannot load translation patterns of for http://www.thiscompany.com/ns/sales due to: XSD location problem.
Found no XSD (XML schema) for the input element and namespace target POAcknowledge http://www.thiscompany.com/ns/sales
Please make sure that the WSDL message points to a valid type.
Please make sure all XML schemas that are used are imported/included correctly.
; nested exception is:
org.collaxa.thirdparty.apache.wsif.WSIFException: could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileInteractionSpec due to: problem loading XSD.
Cannot load translation patterns of for http://www.thiscompany.com/ns/sales due to: XSD location problem.
Found no XSD (XML schema) for the input element and namespace target POAcknowledge http://www.thiscompany.com/ns/sales
Please make sure that the WSDL message points to a valid type.
Please make sure all XML schemas that are used are imported/included correctly.
; nested exception is:
ORABPEL-12537
Problem loading XSD.
Cannot load translation patterns of for http://www.thiscompany.com/ns/sales due to: XSD location problem.
Found no XSD (XML schema) for the input element and namespace target POAcknowledge http://www.thiscompany.com/ns/sales
Please make sure that the WSDL message points to a valid type.
Please make sure all XML schemas that are used are imported/included correctly.
< / Summary >
< / part >
-< part name = "detail" >
< detail >
org.collaxa.thirdparty.apache.wsif.WSIFException: could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileInteractionSpec due to: problem loading XSD.
Cannot load translation patterns of for http://www.thiscompany.com/ns/sales due to: XSD location problem.
Found no XSD (XML schema) for the input element and namespace target POAcknowledge http://www.thiscompany.com/ns/sales
Please make sure that the WSDL message points to a valid type.
Please make sure all XML schemas that are used are imported/included correctly.
; nested exception is:
ORABPEL-12537
Problem loading XSD.
Cannot load translation patterns of for http://www.thiscompany.com/ns/sales due to: XSD location problem.
Found no XSD (XML schema) for the input element and namespace target POAcknowledge http://www.thiscompany.com/ns/sales
Please make sure that the WSDL message points to a valid type.
Please make sure all XML schemas that are used are imported/included correctly.
< / details >
< / part >
< / bindingFault >
< / failures >
< / messages >
[2008-11-05 15:26:01] "{http://schemas.oracle.com/bpel/extension} bindingFault ' was lifted. More...
-< bindingFault xmlns = "http://schemas.oracle.com/bpel/extension" >
-part name = "summary" >
< Summary >
file:/D:/product/10.1.3.1/OracleAS_8/BPEL/domains/default/tmp/.bpel_POAcknowledge_1.0_9cb86657d04e99ccb06091467c82f390.tmp/FileWrite.WSDL [Write_ptt::Write (POAcknowledge)] - SISM JCA Execute of 'Write' failure due to operation: failed to instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileInteractionSpec due to: problem loading XSD.
Cannot load translation patterns of for http://www.thiscompany.com/ns/sales due to: XSD location problem.
Found no XSD (XML schema) for the input element and namespace target POAcknowledge http://www.thiscompany.com/ns/sales
Please make sure that the WSDL message points to a valid type.
Please make sure all XML schemas that are used are imported/included correctly.
; nested exception is:
ORABPEL-12537
Problem loading XSD.
Cannot load translation patterns of for http://www.thiscompany.com/ns/sales due to: XSD location problem.
Found no XSD (XML schema) for the input element and namespace target POAcknowledge http://www.thiscompany.com/ns/sales
Please make sure that the WSDL message points to a valid type.
Please make sure all XML schemas that are used are imported/included correctly.
; nested exception is:
org.collaxa.thirdparty.apache.wsif.WSIFException: could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileInteractionSpec due to: problem loading XSD.
Cannot load translation patterns of for http://www.thiscompany.com/ns/sales due to: XSD location problem.
Found no XSD (XML schema) for the input element and namespace target POAcknowledge http://www.thiscompany.com/ns/sales
Please make sure that the WSDL message points to a valid type.
Please make sure all XML schemas that are used are imported/included correctly.
; nested exception is:
ORABPEL-12537
Problem loading XSD.
Cannot load translation patterns of for http://www.thiscompany.com/ns/sales due to: XSD location problem.
Found no XSD (XML schema) for the input element and namespace target POAcknowledge http://www.thiscompany.com/ns/sales
Please make sure that the WSDL message points to a valid type.
Please make sure all XML schemas that are used are imported/included correctly.
< / Summary >
< / part >
-< part name = "detail" >
< detail >
org.collaxa.thirdparty.apache.wsif.WSIFException: could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileInteractionSpec due to: problem loading XSD.
Cannot load translation patterns of for http://www.thiscompany.com/ns/sales due to: XSD location problem.
Found no XSD (XML schema) for the input element and namespace target POAcknowledge http://www.thiscompany.com/ns/sales
Please make sure that the WSDL message points to a valid type.
Please make sure all XML schemas that are used are imported/included correctly.
; nested exception is:
ORABPEL-12537
Problem loading XSD.
Cannot load translation patterns of for http://www.thiscompany.com/ns/sales due to: XSD location problem.
Found no XSD (XML schema) for the input element and namespace target POAcknowledge http://www.thiscompany.com/ns/sales
Please make sure that the WSDL message points to a valid type.
Please make sure all XML schemas that are used are imported/included correctly.
< / details >
< / part >
< / bindingFault >
< / sequence >
[2008-11-05 15:26:01] "BPELFault" has not caught by a catch block.
[2008-11-05 15:26:01] BPEL process instance "500001' cancelledThere is an incompatibility of your namespaces. He trieus to read the file from XSD with the namespace: http://www.thiscompany.com/ns/sales, but it can not find/use because of an XSD issue. Is there a conflict in the naming namespace?
Marc
-
Hi all
I gave below the jca connection factory details. I'm creating Dynamics ftp using jca.jndi and I would also replace the IncludeFiles property dynamically. When running, I'll choose what kind of files I need from the list (xml, txt, etc.).
< connection-factory location = ' ist/ftp/FTP"UIincludeWildcard =" *. " * "/ >"
< endpoint-interaction portType operation "FileListing_ptt" = "FileListing" = >
< className = "oracle.tip.adapter.ftp.outbound.FTPListInteractionSpec interaction-spec" >
< property name = "PhysicalDirectory' value = ' / Input/test" / >
< property name = "Recursive" value = "true" / >
< property name = "IncludeFiles" value = "" / > "
< / interaction-spec >
< / interaction of endpoint >
In bpel while invoking the ftp adapter I'm giving
< bpelx:inputProperty name = "jca.jndi" variable = "jndivar" / > "
< bpelx:inputProperty name = "jca.ftp.IncludeFiles" expression="string('.*\.txt)" / >
The first property works as expected, but the IncludeFiles property does not work. Kindly share your ideas.
Thank you
Maanik
Patch applied which oracle has suggested and the issue resolved. Now I can pass values to jca.ftp.IncludeFiles dynamically.
Thank you
Maanik
Maybe you are looking for
-
WiFi problems since 9.3.4 updated
Hi everyone having problems connecting wifi since 9.3.4 is updated, I installed the update recently, then only on vacation (vacation in the United Kingdom and I live in the United Kingdom), the wifi was nice while away from break but since my iPad ai
-
Stuck on Al Capitan Setup.
Started the installation, after installation restart does not, but I cannot restart the mac without installing trying to fill again. I just want you boot the computer with the current operating system without directly continue the installation.
-
NB 100 battery - Ubuntu Remix OS
I noticed that my battery of the NB 100 running the operating system Ubuntu Remix discharges even if the netbook is stopped, that is to say the evening when I stop the netbook of the battery indicator in Ubuntu brand 100% full. When I turn it on the
-
Spectrum 13 ultrabook: the keys are warm to the touch
the keys of the Board of Directors are hot! When I type, they feel warm to the touch. becomes unbearable any relay, comments or suggestions as to why this is happening? Thank you!
-
The right click "rotation" clock or function in a clockwise direction counter on my images does not workThere is a range of adjustment that may be messed up?