Any Session Pooling examples

I have seen Oracle talk about implementing session pooling for web service connections, but I have not seen any examples. Just their basic login/logoff example. Is there anything posted?

Hi,
We are also using BPEL to send data out to SIEBEL CRMOD.
I've created a proxy that deals with authentication and session management.
All you have to do is to deploy the proxy as a war file and refrence it as the end-point of your partner link.
Code is here:
http://another-soa-blog.blogspot.com/2010/02/oracle-siebel-on-demand-session-and.html
Regards,
Fred.

Similar Messages

  • 11g SOA Composite Rules Error - Rule session pool object does not exist

    Hi all,
    I'm hoping someone has experienced this and found a way through it. We're looking at exposing Oracle Rules DecisionFunctions via the automagically created web services in JDeveloper. We've tried several Rules examples, including the OrderApproval one available online, and are getting errors everytime we try and test the web service.
    Firstly we get this error:
    [2010-09-01T09:47:24.249+10:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IfAZ45P0FwI5yrDCiW1CV7Dc000AwY,0] [WEBSERVICE_PORT.name: IDecisionService_pt] [APP: soa-infra] [composite_name: CR] [component_name: OracleRules1] [component_instance_id: 04c3bc86-9452-4755-9bbf-51591f1c7fff] [J2EE_MODULE.name: fabric] [dcid: 761c1dbb0eb1dbdc:-33082b47:12ac627683f:-7ffd-0000000000002aae] [WEBSERVICE.name: OracleRules1_DecisionService_1_ep] [J2EE_APP.name: soa-infra] [composite_instance_id: 130022] <.> Error caching the Decision Services metadata.[[
    Error caching the decision services metadata for path default/CR!1.0*soa_f8581f86-106e-4f47-825f-89148db6663b/OracleRules1.
    Check the underlying exception and correct the error. This is most likely due to a rule modeling isssue. Validate the rule dictionary in rule designer and fix any errors and warnings. If the error persists, contact Oracle Support Services.
    Error caching the Decision Services metadata.
    Error caching the decision services metadata for path default/CR!1.0*soa_f8581f86-106e-4f47-825f-89148db6663b/OracleRules1.
    Check the underlying exception and correct the error. This is most likely due to a rule modeling isssue. Validate the rule dictionary in rule designer and fix any errors and warnings. If the error persists, contact Oracle Support Services.
         at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1211)
         at oracle.bpel.services.rules.impl.DecisionServiceCache.prepare(DecisionServiceCache.java:362)
         at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:221)
         at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:609)
         at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
         at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
         at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:155)
         at sun.reflect.GeneratedMethodAccessor1197.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy248.request(Unknown Source)
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1169)
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:768)
         at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1168)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:562)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
         at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:477)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         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.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         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: java.lang.NullPointerException
         at oracle.rules.sdk2.datamodel.DecisionFunction.getGlobalTypeIDs(DecisionFunction.java:860)
         at oracle.rules.sdk2.datamodel.DecisionFunction.validate(DecisionFunction.java:342)
         at oracle.rules.sdk2.dictionary.DictionaryComponentTable.validate(DictionaryComponentTable.java:221)
         at oracle.rules.sdk2.datamodel.DataModel.validate(DataModel.java:92)
         at oracle.rules.sdk2.dictionary.RuleDictionary.validate(RuleDictionary.java:1093)
         at oracle.rules.sdk2.dictionary.RuleDictionary.update(RuleDictionary.java:835)
         at oracle.rules.sdk2.datamodel.DataModel.generateFactClasses(DataModel.java:115)
         at oracle.rules.sdk2.dictionary.RuleDictionary.dataModelRL(RuleDictionary.java:1398)
         at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1141)
         ... 44 more
    And then we get the following error:
    [2010-09-01T09:47:24.390+10:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IfAZ45P0FwI5yrDCiW1CV7Dc000AwY,0] [WEBSERVICE_PORT.name: IDecisionService_pt] [APP: soa-infra] [composite_name: CR] [component_name: OracleRules1] [component_instance_id: 04c3bc86-9452-4755-9bbf-51591f1c7fff] [J2EE_MODULE.name: fabric] [dcid: 761c1dbb0eb1dbdc:-33082b47:12ac627683f:-7ffd-0000000000002aae] [WEBSERVICE.name: OracleRules1_DecisionService_1_ep] [J2EE_APP.name: soa-infra] [composite_instance_id: 130022] <.> [[
    oracle.fabric.common.BusinessFaultException
         at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1211)
         at oracle.bpel.services.rules.impl.DecisionServiceCache.prepare(DecisionServiceCache.java:362)
         at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:221)
         at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:609)
         at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
         at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
         at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:155)
         at sun.reflect.GeneratedMethodAccessor1197.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy248.request(Unknown Source)
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1169)
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:768)
         at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1168)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:562)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
         at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:477)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         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.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         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)
    And lastly this one:
    [2010-09-01T09:47:30.437+10:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IfAZ5iO0FwI5yrDCiW1CV7Dc000Awd,0] [WEBSERVICE_PORT.name: IDecisionService_pt] [APP: soa-infra] [composite_name: CR] [component_name: OracleRules1] [component_instance_id: 08f3eaa8-ce61-4ec9-a646-af821be06420] [J2EE_MODULE.name: fabric] [dcid: 761c1dbb0eb1dbdc:-33082b47:12ac627683f:-7ffd-0000000000002ab0] [WEBSERVICE.name: OracleRules1_DecisionService_1_ep] [J2EE_APP.name: soa-infra] [composite_instance_id: 130023] <.> Rule session pool object does not exist.[[
    The requested rule session pool object for path default/CR!1.0*soa_f8581f86-106e-4f47-825f-89148db6663b/OracleRules1 and key OracleRulesSDK$OracleRules1 does not exist.
    Check the underlying exception and correct the error. This is most likely due to a rules validation error. Validate the rule dictionary in Rule Designer and correct the validation error. If the error persists, contact Oracle Support Services.
    Rule session pool object does not exist.
    The requested rule session pool object for path default/CR!1.0*soa_f8581f86-106e-4f47-825f-89148db6663b/OracleRules1 and key OracleRulesSDK$OracleRules1 does not exist.
    Check the underlying exception and correct the error. This is most likely due to a rules validation error. Validate the rule dictionary in Rule Designer and correct the validation error. If the error persists, contact Oracle Support Services.
         at oracle.bpel.services.rules.rpi.oracle.RuleSessionPool.getSession(RuleSessionPool.java:528)
         at oracle.bpel.services.rules.rpi.oracle2.OracleRuleSession.execute(OracleRuleSession.java:260)
         at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:331)
         at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:634)
         at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
         at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
         at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:155)
         at sun.reflect.GeneratedMethodAccessor1197.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy248.request(Unknown Source)
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1169)
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:768)
         at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1168)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:562)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
         at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:477)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         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.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         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)
    Has anyone had any luck actually getting this to work? If so, how? It simply seems like this particular aspect of the product is broken!
    Your help would be VERY much appreciated!
    Regards,
    Rhian

    Hi SR,
    Thanks for your response. I attempted what you've suggested (1=1 - asset new fact in output), however nothing has changed.
    This is occurring across several Composite Rules projects, including the Oracle provided Chapter 5 Order Approval example. Unless someone can suggest a solution to this issues, it looks like we're going to have to shelf our plans to utilize the Business Rules component via the composite service.
    Very frustrating couple of days, that's for sure! :{
    Regards,
    Rhian

  • Session pooling and statement handles

    Hi there,
    I have a large multi-threaded application (perhaps >100 threads). Each thread is continuously processing events (very high volumes) which involves some manipulation and some database operations (from a fixed set of possible operations).
    I am using session pooling but what I want to know is, Should I:
    (a) Prepare my fixed set of statement handles up front at program start-up when I'm creating the session pool and then reuse the statement handles in each event processing thread (also, is this thread safe ? even if it is, all threads would be contending on the same statement handles)
    or
    (b) Prepare the statement handle for each event which presumably will exploit the statement cache on the session pool. This would also mean not having statement handles shared between threads thus removing any thread contention issues.
    I think (b) is the option for me, but does anyone have any thoughts ?

    With a), one would think it's OK, but I would hate to find out that it's not thread safe by accident.
    But anyway, with b) the cost of allocating private statement handles in each thread seems very low. The memory required for the statement handle plus its bind and define handles could very well be below 8k per statement. If you've got say, 5 statements * 100 threads, you're only looking at around 4MB overall.
    Finally, you might want to make sure that the session pool statement cache is working by checking the values for 'executions' and 'parse_calls' in V$SQL for your statements.

  • Core/examples/sessions/Broker example not working

    Guys
    I am trying the example with Oracle database instead of the HSQL database. I replaced the driver & url strings and put the classes12.jar in the classpath
    But I continue to get the following error. Can someone please tell me what I am missing.
    D:\toplink\examples\core\examples\sessions\broker>D:\JDev9i\jdk\bin\java.exe -classpath ""D:\JDev9i\jdk\lib\tools.jar";"d:\to
    plink\ant\lib\jaxp.jar";"d:\toplink\ant\lib\jakarta-ant-1.4.1-optional.jar";"d:\toplink\ant\lib\crimson.jar";"d:\toplink\ant\
    lib\ant.jar";.;d:\toplink\core\lib\toplink.jar;D:\JDev9i\jdbc\lib\classes12.jar;d:\toplink\core\lib\toplink.
    jar;D:\JDev9i\jdbc\lib\classes12.jar" -Dant.home=d:\toplink\ant -Dtl.home=d:\toplink -Dwls61.home= -Dwls70.home= -Dwas.home=
    -Doracle.home=D:\JDev9i\OC4J903 -Dexamples.home=d:\toplink\examples -Dtoplink.dir=d:\toplink\core\lib -Dtoplink.library=topli
    nk.jar,xerces.jar -Dtoplink.weblogic.path=d:\toplink\wls_cmp\lib\tl_wlsx.jar -Dtoplink.was.path=d:\toplink\was_cmp\lib\tl_wa
    sx.jar -Dhsql.path=d:\toplink\HSQL\lib\hsqldb.jar -DDEBUG=on org.apache.tools.ant.Main runExample -DtestClass=examples.sessions.broker.Demo
    Buildfile: build.xml
    init:
    verify.build.done:
    runExample:
    [java] 2003.05.19 03:54:35.625--DatabaseSession(11)--Thread[main,5,main]--Connection(12)--TopLink, version:TopLink - 9.0
    .3 (Build 423)
    [java] 2003.05.19 03:54:35.685--DatabaseSession(11)--Thread[main,5,main]--Connection(12)--connecting(DatabaseLogin(
    [java] platform => OraclePlatform
    [java] user name => "asdfbf"
    [java] datasource URL => "jdbc:oracle:thin:@localhost:fims"
    [java] ))
    [java] 2003.05.19 03:54:35.705--DatabaseSession(11)--Thread[main,5,main]--EXCEPTION [TOPLINK-4003] (TopLink - 9.0.3 (Bui
    ld 423)): oracle.toplink.exceptions.DatabaseException
    [java] EXCEPTION DESCRIPTION: Configuration error. Class [oracle.jdbc.driver.OracleDriver] not found.LOCAL EXCEPTION ST
    ACK:

    One more thing to add:
    I am not able to get any of the examples to work with Oracle database. Again the only thing I suppose I need to change are the folloowing lines in the EmployeeProject.java
         login.usePlatform(new oracle.toplink.internal.databaseaccess.OraclePlatform());
         login.setDriverClassName("oracle.jdbc.driver.OracleDriver");
         login.setConnectionString("jdbc:oracle:thin:@localhost:1522:fims");
         login.setUserName("kumarv");
         login.setEncryptedPassword("7AD96CD575D1A7FCAA504BA7E4FC");
    Also one line change in the sessions.xml file to use the OraclePlatform instead of the HSQLPlatform.
    Has any one got these to work with Oracle, Any help is really appreciated.
    classes12.jar is in the classpath so I don;t understand why I get the execption that:
    [java] EXCEPTION DESCRIPTION: Configuration error. Class [oracle.jdbc.driver.OracleDriver] not found.
    [java] oracle.toplink.exceptions.DatabaseException oracle.toplink.exceptions.DatabaseException.configurationErrorCla
    ssNotFound(java.lang.String)
    Thanks

  • Foreign JMS QCF and Weblogic Sever Session Pool

              Hi!
              We have Weblogic 6.1 SP2 installation.
              We are trying to use JMS Server session pool and connection consumer configuration
              with MQSeries QCF registered to weblogic JNDI via startup class.
              Upon server startup weblogic is throwing ClassCast exception for QueueConnection.
              It seems weblogic is expecting QueueConnection implementation by weblogic.
              Any suggestions or alternative way of doing it.
              Thanks
              Jay PArikh
              

    Hi Jay,
              Server session pools do not support foreign providers.
              The preferred way to integrate foreign providers is via MDBs or
              via the Messaging Bridge (bridge available in SP3). For a
              comprehensive write-up on integrating foreign providers with
              WL see the whitepaper "Using Foreign JMS Providers with
              WebLogic Server" on dev2dev.bea.com.
              Tom
              Jay Parikh wrote:
              > Hi!
              >
              > We have Weblogic 6.1 SP2 installation.
              >
              > We are trying to use JMS Server session pool and connection consumer configuration
              > with MQSeries QCF registered to weblogic JNDI via startup class.
              >
              > Upon server startup weblogic is throwing ClassCast exception for QueueConnection.
              > It seems weblogic is expecting QueueConnection implementation by weblogic.
              >
              > Any suggestions or alternative way of doing it.
              >
              > Thanks
              > Jay PArikh
              

  • Is there any session limit in operator?

    Hi,
    I am trying to run a loop thru a query, like " select col1 from table1", then in this loop I am trying to call a scenario, like : OdiStartScen -SCEN_NAME=TESTEXTRACT -LOG_LEVEL=5 -SYNC_MODE=1 "-project.var1=#col" , the query should return about 7000 rows, that means the scenario should run for about 7000 times, but the fact is in operator is only run about 60 times, and no new session produced, and the main loop is hanging there?
    Is there any session limit for the operator? or any other possible resovle method for this?
    Thanks

    Hi ,
    You can limit the number of session u can view in the Operator.
    In Operator--- &gt; File --- &gt; User parameters = In this you can see operator display limit. In tat you can set ....
    Hope this helps !
    Thanks
    Ananda

  • Any session scope form handler out of the box in atg commerce

    Is there any session scope form handler out of the box in atg commerce. Let me know if anyone is aware of such form handler.
    Thanks,
    Santosh

    Search based formhandlers are some that come to my mind
    CategorySearch (/atg/commerce/catalog/CategorySearch (DCS))
    CatalogSearch(/atg/commerce/catalog/CatalogSearch (DCS))
    ProductSearch(/atg/commerce/catalog/ProductSearch ((DCS))
    Incidentally i think all of them point to SearchFormHandler
    Few others i can this of are
    GiftListFormHandler
    CompareSkusFormHandler (deprecated i guess)
    CatalogSearchFormHandler (Extension of SearchFormHandler class)
    There could be many more , updates / additions will be nice
    adding
    AdvProductSearch
    ProductTextSearch
    Edited by: Sundar on Dec 4, 2012 3:42 AM

  • Don't put any Storage Pools on your Metadata & Journaling controller!

    I found out the hard way - many wasted hours of trying to figure out our performance problems - that putting any Storage Pools on the controller in an Xserve RAID that also houses the Metadata & Journal pool is a Big Mistake.
    We do full-blown 10-bit HD work here, and while capturing/writing wasn't a problem, playback was - in either Final Cut Pro or creating self-contained QuickTime movies and playing them back in QuickTime Player.
    Playing them back would result in missed frames, or even downright stop/start stuttering - completely unacceptable. Xsan Tuner was no help - it kept claiming I was getting 150-155 MB/sec, which I clearly wasn't.
    My co-workers were getting mad at me that I couldn't get it to work - every tuning thing I tried failed. (I'd originally set it up under Xsan 1.1, and had split the LUNs due to them being over 2 TB, so I had to completely rip it apart and do it all over from scratch under Xsan 1.3 to un-do the LUN slicing.)
    I finally stumbled upon the answer while trying lots of different tests - permutations/combinations, changing block size/stripe breadth, you name it. Nothing worked. Finally I tried building a simple Volume without the Storage Pool I'd created with the remaining 4+1 disks on the Metadata & Journaling controller ...
    Voila! All the performance problems went away magically, and now the videos play properly. Ever since then, with further testing, the only way I can "break" it again is to create a Volume with a 512 K (max) block size and stripe breadth of 2 - then it siezes up. (Which makes sense, if you think hard enough about it.) With block sizes between 16 to 64, no problems. (I eventually found out that 16 was the best size, according to my Bonnie benchmarking tests.)
    Anyway - maybe this is common knowledge, but here's some real-world data to back it up. Hopefully this posting will save someone in the future from making the same mistakes I did along the way ...

    In my discussions with Apple's consulting group, they always recommend this. Sorry you had to find it out the hard way :-/
    Xsan is easy "for a SAN," but it's a complicated product area, and if you want it to perform at its best, it's good to take training which gives an overview of what to do and more importantly what not to do. Also, the investment in consulting from people with experience is worth its weight in gold.

  • Is there any blog or examples to handle the errors without using ESB tool kit.

    Hello,
    I have been trying to work with error handling since last week but I dont understand how to construct the error message. Is there any blog or examples to explain handle the errors step by step from scratch without using ESB tool kit.Can anybody help me out.
    Thanks in advance.

    You can use option 3 to construct the error message inside orchestration.
    Before using a BizTalk XML Message inside an orchestration, it must first be constructed. In fact this is just populating the message with XML. If there is an attempt to use this message before it is constructed, the above error will come. Some messages
    come pre-constructed, such as messages that originate from a send port
    There are several ways to construct a message inside an orchestration:
    Create a new message from an existing message using BizTalk map
    Assign one message to other(i.e. creating a copy of an existing message)
    Creating a message with the help of a System.XML.XMLDocument variable
    We have to first declare an orchestration variable of type XmlDocument. Then in a message assignment shape, we need to do something like this:
    myxmlDoc = new XmlDocument();
    myxmlDoc.LoadXML("<somexmlhere></somexmlhere>")
    myMsgBeingConstructed = myxmlDoc;
    Abhijit Mahato - Microsoft Community Contributor 2011 - MCTS BizTalk Server blog: http://abhijitmahato.wordpress.com/ Please "Mark as Answer" if Post has Answered the Question

  • Logic Pro X automatically mutes and solo tracks in any session.  How do I fix this error?

    When using Logic Pro X, I am encountering a mute/solo error.  Any session or new session I open tracks will automatically mute or solo on their own.  I really need assistance with this error. 
    Thanks in advance,
    JussDaFacts

    Shut down your Mac... Unplug any external midi  keyboards and/or controllers...  and then restart your Mac
    Now test with Logic Pro and a new project and see if this behavior continues.. If not you know what the cause is... and you will need to check the settings for your external devices..
    You may need to delete Logic's CS prefs and re-add your external devices once more if you cannot solve the issue with your midi devices on the devices themselves...
    Quit Logic Pro
    In the Finder, choose Go to Folder from the Go menu.
    Type ~/Library/Preferences in the "Go to the folder" field.
    Press the Go button.
    Remove the com.apple.logic.pro.cs file from the preferences folder.
    Restart the computer.
    Note: If you cannot find this file you did not follow the steps exactly as described!
    Failing that, power down (not just put to sleep) any iOS devices you have and test with a new project in LPX again. If that resolves the issue then you have/had one or more midi/controller/remote apps running in the background of your iOS device.. Make sure you quit the apps, not just close them when you are finished using them....
    http://osxdaily.com/2013/09/28/quit-apps-in-ios-7/

  • Connection & Session Pooling

    Hi
    I am using JMS in a request/reply scenario.
    The following is the sequence of operations
    1. Get handle to Connection by JNDI lookup of QCF
    2. Get handle to RequestQueue by JNDI lookup of Request Queue
    3. Get handle to ResponseQueue by JNDI lookup of Response Queue
    4. Create a Session and Sender on the Connection/RequestQueue.
    5. Create a JMS message and send it with a correlation id on the Sender
    6. Create a Session and Reciever on the connection/ResponseQueue with "CorrelationID" as message selector.
    7. Receive the JMS message over the reciever.
    There are multiple threads trying to send and recieve messages. Now my questions are --
    1. What all things above can be re-used/pooled? Can I use only connection and create, say, for example 100 sessions and reuse them across 100 different threads?
    2. Or Can I reuse the Senders and recievers as well? In other words, can I create 100 senders (or receivers) and reuse them over 100 threads. (In other words can I create a "SenderPool" and use them)
    3. How many Sessions can be opened on one Connection?
    4. I heard about ServerSessionPool, but did not have any pointers on how to get a handle to a ServerSessionPool? Will this be useful in this scenario?
    Any help is highly appreciated,
    Thanks and regards,
    Rajs

    Did you get an answer for this? Could you please
    explain how you obtained a handle to
    ServerSessionPool? ServerSession, ServerSessionPool (plus ConnectionConsumer) are part of JMS spec, ch 8, and are called Application Server Facilities (ASF). As the name suggests, the purpose is to bind a JMS provider into an app server.
    You can, of course, use this facilities in a JMS client program, however, you have to provide the parts the app server has to provide. These are the impls for ServerSession and ServerSessionPool. Actually it's quite easy once you understand how it works, although, to understand how it works is not that easy. ;-)
    You might take a look on our JMS XA/ASF impl to get an impression how it works from the perspective of a JMS provider:
    http://www.swiftmq.com/products/kernel/jmsxaasf/index.html
    -- Andreas

  • Thread pool example

    Hi,
    I want to write a process that creates a pool of threads that
    all process records in the same oracle table.
    So, records are inserted by user action. The process will start
    threads that fetch a record from that table and transform the
    record to a message and the message is sent to another system.
    Because only one thread can't handle the amount of messages coming
    into the table I need more than one to speed up the handling of
    the records.
    I would use one main thread that is waiting on an alert so it knows
    that a record has been inserted into the table.
    What I don't know how to do is how to handle load balancing, etc....
    Does anybody have any examples of such a process?
    Thanks,
    Sven

    There are many samples of Java thread pooling on the Internet. Do a google (or search this site) and I'm sure you'll find something that suits.
    If not, the O'Reily Java Threads book has a good example.
    - K

  • Session Pooling for CRMoD - Web services.

    Hi,
    We have a Java application which fetches the Contact Data on the basis of the Phone Number in CRMoD, using web services. (it happens on a hyperlink click).
    Before fetching the contact data, we establish the session between our app and CRMoD using the URL - https://<pod>.crmondemand.com/Services/Integration?command=login.
    The jsessionId is retrieved and then used for subsequent interaction with the web services.
    However, everytime any user clicks on the hyper link...the entire process is executed right form the connection establishment to fetchng the contact data.
    This results in a lot of time for the entire process to execute (roughly around 6-7 seconds).
    We would like to reduce the time , possibly by implementing a connection pooling for the login.
    Can any one suggest how to implement a sesision pool for the JsessionId that is returned from CRMoD ?
    Regards,
    Bibin.

    You should definitely move to STATELESS web services for this and not STATEFUL. You also get a bit of scalability also.
    If you were to pass the SESSIONID around to multiple processes (or one that was threaded), you might still get RIP (ie, concurrency timeouts) errors. By using the STATELESS approach to web services, you get the built in connection pooling plus an automatic handler for concurrency/queueing.
    In the STATELESS, all of your processes just supply the USERID/PASSWORD in the call. CRMOD decides whether an existing POOLed connection is used. You actually have to do less in terms of management this way.
    We implemented an external facing web application for a client that used a single USERID/PASSWORD to "confirm" an Appointment that was established via STATELESS connections.
    Mychal Manie
    Hitachi Consulting - Oracle Practice

  • Sessions pooling

    Hi friends,
    We are facing a problem with one of our applications, that the session is pooling a number of sessions showing only 1 cursor and its not supposed to pool so many sessions from the application..
    All these sessions show the below as current statement..
    SELECT VALUE
    FROM SYS.nls_database_parameters
    WHERE parameter = 'NLS_NCHAR_CHARACTERSET'
    Please give me your suggestions.. Is there any setting like connection pooling that deals with this problem?
    Thank you

    Thanks. But this is not the case for all our applications.. Only from one of the programs, the sessions are pooling like this.. Also, we cannot really set any maximum time for the sessions because the true valid sessions timing may vary and can be valid for long..
    I'm not sure if it is Oracle problem that is creating a lot of these empty sessions?? The application is using Oracle ODBC drive to connect to the database..
    Thanks again
    Edited by: newbiegal on Sep 20, 2010 12:53 PM

  • Hi All,Can any provide an example for SAP MEMORY AND ABAP memory

    Hi All,
          Can any provide me an example for SAP MEMORY AND ABAP memory.
    thanks&regards.
    Bharat.

    HI Bharat
    A simple example of ABAP memory is using the EXPORT/IMPORT statements.
    Here in this program, I get the data, export it to memory,
    clear out the internal table in my progam, then reimport the data into it and write out the data.
    You probably wounldn't do this in a normal program,
    but this is how you can pass data from program a to program b when A Submits program B.
    report zxy_0002 .
    data: it001 type table of t001 with header line.
    select * into table it001 from t001.
    export it001 = it001 to memory id 'ZXY_TEST'.
    clear it001. refresh it001.
    import it001 = it001 from memory id 'ZXY_TEST'.
    loop at it001.
    write:/ it001-bukrs, it001-butxt.
    endloop.
    SAP Memory
    SAP memory is a memory area to which all main sessions within a SAPgui have access.
    You can use SAP memory either to pass data from one program to another within a session,
    or to pass data from one session to another.
    Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters).
    These parameters can be set either for a particular user
    or for a particular program using the SET PARAMETER statement.
    Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement.
    The most frequent use of SPA/GPA parameters is to fill input fields on screens
    ABAP/4 Memory
    ABAP memory is a memory area that all ABAP programs within the same internal session can access
    using the EXPORT and IMPORT statements.
    Data within this area remains intact during a whole sequence of program calls. To pass data
    to a program which you are calling,
    the data needs to be placed in ABAP memory before the call is made.
    The internal session of the called program then replaces that of the calling program.
    The program called can then read from the ABAP memory.
    If control is then returned to the program which made the initial call, the same process operates in reverse.
    SAP memory
    The SAP memory, otherwise known as the global memory,
    is available to a user during the entire duration of a terminal session.
    Its contents are retained across transaction boundaries as well as external and internal sessions.
    The SET PARAMETER and GET PARAMETER statements allow you to write to, or read from, the SAP memory.
    ABAP/4 memory
    The contents of the ABAP/4 memory are retained only during the lifetime of an external session
    (see also Organization of Modularization Units).
    You can retain or pass data across internal sessions.
    The EXPORT TO MEMORY and IMPORT FROM MEMORY statements allow you to write data to, or read data from, the ABAP memory.
    ABAP Memmory & SAP Memmory
    http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    Set
    http://www.geocities.com/SiliconValley/Campus/6345/set_para.htm
    GET
    http://www.geocities.com/SiliconValley/Campus/6345/get_para.htm
    EXPORT
    http://www.geocities.com/SiliconValley/Campus/6345/export01.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bc4358411d1829f0000e829fbfe/frameset.htm
    Other Imp Help
    http://www.geocities.com/SiliconValley/Campus/6345/abapindx.htm
    Regards Rk

Maybe you are looking for

  • IR: aggregation result in report footer

    Hello! This quote from "Beginning Oracle Application Express 4.2" at page 174 (about aggregation in IR): "The results are displayed at the end of the report." There is a simple method to print the results of aggregation to the report footer on each p

  • KDE Plasma 5 crashing at seemingly random times

    I've been having this problem for a while now and so far I've been unsuccessful in trying to troubleshoot it myself.  My computer will be working along fine, and then all of a sudden will freeze.  No mouse pointer movement, no keyboard input, trying

  • How to get the Domain Name of recipient Email ID when the recipient in the Address Book

    Hi All, I am new in Outlook Development and I have stuck in a situation, please find below the situation: I want to get the recipient domain address when someone is sending the email. Now, the thing is that I am facing the issues when the Email Id is

  • RFC RSPC_API_PROCESS_GET_JOBS - RFC_EXCEPTION  Error code: 2

    Hi All, I am very new to SAP , i am running the SAP Process chain by Control-M, when try to run the job i am getting error as shown below , can you explain m what it is , CONTROL-M/CM for SAP detected the following SAP error:      Error message: RFC

  • How can BI recognize business event into transactional environment?

    Dear colleagues: As I have been looking forward to figure out BW based BAM solutions, such as to implement BW to recognize business event into Transactional applications I just found the TechEd 2008 BPX Community winner proposal Operational BI-Embedd