Mgt session in the Service of Proxy HTTP Oracle Service Bus

Hi all

Even if it is not advisable to keep the session in osb Service Proxy.

We need to keep it. If you are looking for the best option to do if there is.

My requirement is

When the user calls PingProxyService - we get the sessionid in the request (I am assumin I can retrieve http request... Qustion1-pls sugest exactly how I need to get this value http req)

and place this session id in DB with a session as primary key id and a flag indicating session is InProgress.

There is more a Proxy service that is the connection service

in this service I get UN/pw and session id of the request and I check with the session id existing in db if it matches I also authentiate the user with us / pw and if the success connection is seccussfull.

then user calss service - in this proxy executeProxy I again to retrieve the session ID and compare them with entry into DB. If it matches, and its flag is InProgress, I let go the reuest continuation of the procedure. If this is not avaialable or its flag is none other than InProgress I'll by mistake.

I finally axpose a proxy more for Logut.

LogoutProxy - when I get home I ask retive sessionid and chek the flag. If its InPrgress I update the indicator wiith Logout.

Please sugest if I can implement above in osb. I would like to know if there is any apporches do better in osb.

Thank you.

Published by: user13839798 on 8 August 2012 06:54

I'll risk to say that it is probably doable using the OSB... But my mind refuses to think he's further... IMHO, it's like to unscrew a screw tight using a table instead of the proper screwdriver knife... It will probably do the job, but it will take twice as long and it can eventually damage the knife and the screw a little...

Tags: Fusion Middleware

Similar Questions

  • Try SAML sender - guarantor, standalone Java client call to the service bus.

    I built a stand-alone Java using Jax - ws client. It produces a header WSSE containing a SAMLAttribute and SAMLAuthentication instruction in option.
    I tried to configure a proxy service on the servicebus (10gR 3) using ws-policy (weblogic version, not ws-1, 2), set up a SAMLIdentityAsserter (v2), a partner of identity provider and a SAMLIdentityNameMapper.

    [I get the message weblogic.xml.crypto.wss.SecurityTokenValidateResult@ca32f2[status: false] [the msg SAML token is not valid.]
    sending the SAML assertions which seems valid to me.

    If you see something missing or invalid in the language SAML, something missing in the config or something else, I would be really happy.

    All the examples use a SAMLCredentialmapper, but I'm building a stand-alone client, so a weblogic SAMLCredentialMapper is out of the question (?).

    the request header:
    < S:Header >
    < xmlns:wsse wsse: Security = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" S:mustUnderstand = "1" >
    < saml:Assertion SAML = "urn: oasis: names: tc: SAML:1.0:assertion" xmlns:ds = "http://www.w3.org/2000/09/xmldsig#" xmlns:exc14n = "http://www.w3.org/2001/10/xml-exc-c14n#" xmlns: XS = 'http://www.w3.org/2001/XMLSchema' AssertionID = IssueInstant "1246342701761" = "" 2009-06 - 30 T 06: 18:21.683Z "issuer ="http://openuri.org/service/customer/contact/contactInformationService"MajorVersion ="1"MinorVersion ="1">"
    < saml:Conditions = NotBefore "" 2009-06 - 30 T 06: 17:21.683Z ' NotOnOrAfter = "2009-06 - 30 T 07: 18:21.683Z" / > "
    < saml:AuthenticationStatement AuthenticationInstant = "" 2009-06 - 30 T 06: 18:21.683Z ' AuthenticationMethod = "urn: oasis: names: tc: SAML:1.0:am: unspecified" > "
    < saml:Subject >
    < saml:NameIdentifier Format = "" urn: oasis: names: tc: SAML:1.1:nameid - format: X509SubjectName "NameQualifier ="sb1sk"> uid = vsb, OU = smn < / saml:NameIdentifier >"
    < saml:SubjectConfirmation >
    < saml:ConfirmationMethod > urn: oasis: names: tc: SAML:1.0:cm:sender - vouches < / saml:ConfirmationMethod >
    < / saml:SubjectConfirmation >
    < / saml:Subject >
    < / saml:AuthenticationStatement >
    < / saml:Assertion >
    < / wsse: Security >

    answer:
    < env:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:env >
    < env:Header / >
    < env:Body >
    < env:Fault xmlns:wsse = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" >
    WSSE:InvalidSecurityToken < faultcode > < / faultcode >
    < faultstring > token security failed to validate. [weblogic.xml.crypto.wss.SecurityTokenValidateResult@1061c5e[status: false] [the msg SAML token is not valid] < / faultstring >
    < / env:Fault >
    < / env:Body >
    < / env:Envelope >

    If the customer leaves out the element, wsse: Security in the header, the service complains
    header < faultstring > Security No. message but required by the policy. < / faultstring >

    The name of SAMLIdentity Mapper is never loaded at all (checked by logging into the class loading)


    The configuration in the identity provider partner:
    the URI of the audience: target: *: /.
    sender URI: / service/customer/contact/contactInformationService (also tried with a single string equal to what the client sends)
    virtual user: enabled
    confirmation method: vouches for the sender

    I do not use certificates (tried with and without)


    Policy in use for the proxy service:

    <? XML version = "1.0"? >

    < wsp
    xmlns:WSP = "http://schemas.xmlsoap.org/ws/2004/09/policy".
    xmlns:WSSP = "http://www.bea.com/wls90/security/policy".
    xmlns:WSU = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd".
    xmlns:WLS = "http://www.bea.com/wls90/security/policy/wsee#part".
    WSU: ID = "samlSV".
    >

    < wssp:Identity >
    < wssp:SupportedTokens >
    < wssp:SecurityToken TokenType = "http://docs.oasis-open.org/wss/2004/01/oasis-2004-01-saml-token-profile-1.0#SAMLAssertionID" >
    < wssp:Claims >
    < wssp:ConfirmationMethod > sender - vouches < / wssp:ConfirmationMethod >
    < / wssp:Claims >
    < / wssp:SecurityToken >
    < / wssp:SupportedTokens >
    < / wssp:Identity >


    < / wsp >


    StackTrace:
    weblogic.xml.crypto.wss.WSSecurityException: validate failure of security token. weblogic.xml.crypto.wss.SecurityTokenVal
    [idateResult@a4fc20[status: false] [the msg SAML token is not valid.]
    at weblogic.xml.crypto.wss.SecurityImpl.unmarshalAndProcessSecurityToken(SecurityImpl.java:630)
    at weblogic.xml.crypto.wss.SecurityImpl.unmarshalChildren(SecurityImpl.java:556)
    at weblogic.xml.crypto.wss.SecurityImpl.unmarshalInternal(SecurityImpl.java:448)
    at weblogic.xml.crypto.wss.SecurityImpl.unmarshal(SecurityImpl.java:416)
    at weblogic.xml.crypto.wss.api.WSSecurityFactory.unmarshalAndProcessSecurity(WSSecurityFactory.java:66)
    at weblogic.wsee.security.WssServerHandler.processRequest(WssServerHandler.java:35)
    at weblogic.wsee.security.WssHandler.handleRequest(WssHandler.java:74)
    at com.bea.wli.sb.security.wss.WssInboundHandler.processRequest(WssInboundHandler.java:116)
    at com.bea.wli.sb.security.wss.WssHandlerImpl.doInboundRequest(WssHandlerImpl.java:201)
    at com.bea.wli.sb.context.BindingLayerImpl.addRequest(BindingLayerImpl.java:257)
    at com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:66)
    to com.bea.wli.sb.pipeline.RouterManager$ 1.run(RouterManager.java:508)
    to com.bea.wli.sb.pipeline.RouterManager$ 1.run(RouterManager.java:506)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs (unknown Source)

    Published by: user6080617 on June 29, 2009 23:39

    You have configured a SAML2 identity Asserter, which is not a v2 SAML identity Asserter!

    Replace this line of and try again.

  • Remove the service from dba_services

    Hello

    I have my Production database running on 11.1.0.7 running on Oracle Enterprise Linux 64-bit environment.
    Please help me to clarify doubts about database services
    SQL > select name from dba_services;
    
    NAME
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    SYS$BACKGROUND
    SYS$USERS
    seeddataXDB
    seeddata
    MYCSMR.example.com
    CONSUM
    CONSUM_SEARCH
    MYCSMA.example.com
    QUICKSURVEY
    QUICKSURVEY.example.com
    
    10 rows selected.
    
    SQL > sho parameter service
    
    NAME                                 TYPE                              VALUE
    ------------------------------------ --------------------------------- ------------------------------
    service_names                        string                            CONSUM, CONSUM_SEARCH, MYCSMA.
                                                                           example.com, QUICKSURVEY
    I see additional services of 2 vue-est-a-dire dba_services > MYCSMR.example.com & QUICKSURVEY.example.com
    Guidance for how I remove it from the view of dba_services?

    Thank you!

    Hello

    You can check session $ v and see if any session uses the services exploited where SERVICE_NAME clause. Here's the script for rac 3-node check the name of the service and the number of sessions to come to their use

    prompt Total Sessions by Service
    select service_name "Service",
           count(*) "Total Sessions",
           sum(decode(se.inst_id,1,1,0)) "Inst 1",
           sum(decode(se.inst_id,2,1,0)) "Inst 2",
           sum(decode(se.inst_id,3,1,0)) "Inst 3"
    from gv$session se
    group by service_name
    order by service_name;
    

    You can also check ACTIVE_SERVICES $ V and V$ active_session_history and also to join, then using the SERVICE_HASH and NAME_HASH columns.

    Anand

  • Can I use other databases such as Storage Service Bus for Windows Server 1.0 beta?

    I tried the Service Bus for Windows Server 1.0 beta, everything works fine, but I want to know:

    Can I use a custom database provider to store messages and settings?
    or the windows server team plans on providing this functionality?
    Thank you.

    Hi zhengwb,

    I would suggest to repost your question among our professional audience of COMPUTING in Windows Server TechNet forums:

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

    Thank you!

  • Could create us some accounts connection service bus Web console?

    Hi all

    When we create a weblogic for OSB domain, we must provide an account (username and password) to access the service bus and weblogic Web console (example: username weblogic). And if we have three developers use this connection bus service account Web console, they can use Create/Active Session in the center of change to work. And they may encounter some conflicts when it is active a task, then could create us three account for these developers to access the bus service Web console?

    Kind regards

    Going to happen because of the cache of the browser. Try to connect with a user in a browser (let's say firefox) and with another user with a browser (IE) different or better yet, try to connect to different machines using different users. You shouldn't face this question then.

  • Message access control in the OSB proxy service when the Service Type is the Any SOAP Service

    Hello

    We have a proxy OSB service where the Service Type is 'no matter what SOAP Service'. We use Auth.xml to authenticate messages to achieve this proxy service.

    It is, ca we apply Message this proxy access control so that only user A is allowed to sent message has and only user B is allowed to message sent B?

    Us know if the proxy OSB service is based on a wsdl, then we can apply access control message for each operation in the Security tab - and thus specify which user can access the operation. But unfortunately, we have not a wsdl, because this service proxy is a proxy gateway and must accept any SOAP message reaches.

    For example, if the user name in the SOAP header is msgAUser, get is accepted.

    "< soapenv:Envelope xmlns:soapenv ="http://schemas.xmlsoap.org/soap/envelope/">"

    < soapenv:Header >

    "< xmlns:wsse wsse: Security ="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">."

    < wsse: UsernameToken >

    < wsse:Username >msgAUser< / wsse:Username >

    < wsse:Password >msgApwd< / wsse:Password >

    < / wsse: UsernameToken >

    < / wsse: Security >

    < / soapenv:Header >

    < soapenv:Body >

    <Get>

    ...

    < /Get>

    < / soapenv:Body >

    < / soapenv:Envelope >

    If the user name in the SOAP header is msgBUser, then MessageB is accepted.

    "< soapenv:Envelope xmlns:soapenv ="http://schemas.xmlsoap.org/soap/envelope/">"

    < soapenv:Header >

    "< xmlns:wsse wsse: Security ="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">."

    < wsse: UsernameToken >

    < wsse:Username >msgBUser< / wsse:Username >

    < wsse:Password >msgBpwd< / wsse:Password >

    < / wsse: UsernameToken >

    < / wsse: Security >

    < / soapenv:Header >

    < soapenv:Body >

    <MessageB>

    ...

    < /MessageB>

    < / soapenv:Body >

    < / soapenv:Envelope >

    Any suggestions please?

    Understood.

    My current client, we have faced the same problem and implemented a similar design which nevertheless has important benefits.

    The problem with proxy input all SOAP is not only in the complexities of authentication. Most important, resources fine grain (thread) management becomes impossible: proxy entry has a workmanager, one constraint of son max. If any single service behind entered proxy knows an influx of requests (because of a peak or a misconfigured customer), he eats the workmanager dry and the rest of the services become too inadmissible.

    In this spirit, we have implemented the following diagram. It's a little more complicated, but it serves us well for a few years already:

    EntryProxy 1-> Interceptor entering Proxy-> Proxy 1

    EntryProxy 2-> Interceptor entering Proxy-> Proxy 2

    ...

    Enter proxy doesn't do Nothing but shall forward the request for interception of incoming traffic. Power of Attorney of the entry, however, has its own WSDL, authentication and the workmanager which allows precise control.

    Another important aspect of a proxy of the entry, it is that it passes a custom header containing the name of the destination of the interceptor, e.g. TargetURI = "ProxyService/Paypal/Paypal.

    Incoming Interceptor Proxy performs all recording, the error handling and other common tasks.

    Then, according to the last header, the proxy of the interceptor makes a dynamic call to route to the specified destination.

    Yes, this design has an additional moving part - a proxy entry - but he a) works b) guard control all in our hands. The entry proxy is a very small point; When I need to make a new one, I just copy an existing one and replace the WSDL file and the value of the TargetURI - 30 seconds of work.

    Hope that helps.

    Vlad

    http://vladimirdyuzhev.com

  • Expose the service as a Web service proxy using the sb Protocol

    Hello world.

    My team and I worked on a project of integration between multiple applications. So we created all the OSB projects necessary to connect applications and now I'm working on a web application that reads several newspapers who leave these integrations in the database in order to watch what happens when they are executed. Right now, I need my web application to be able to reprocess or retry messages that present a problem or are in an error state.

    To this end, we have developed a proxy with a sb protocol that allow us to communicate with other services dynamic proxy just in him passing the name of the proxy, its functioning and the message of the body. And finally, here's my question for you guys.

    How do I expose this last proxy (with the sb Protocol) as a web service so I can consume it for action to reprocess/try again?

    Thank you.

    Don't think that you need a Proxy service with SB Protocol at all. As I understand it, your process will be like this:

    1 web app bed DB logs to see what documents need to be submitted again

    2. web App must call OSB to resubmit the log message to correct the proxy.

    What you can do is create a WSDL based proxy HTTP to OSB for a new presentation, Web application must call this proxy and passes the body, the name of the target (full path) service, target service type HTTP (Proxy or Business), target the operation name (optional, like e-mail or type XML services everything will not associated with surgery). You can add a dynamic routing node in the HTTP proxy that calls the proxy target based on information coming from the Web App.

    SB Protocol should be used in a Proxy service if you want to call a Proxy deployed in a single domain of OSB on another area of OSB or composites Oracle SOA. Here, the consumer will be the Web application, so it needs to be a HTTP proxy and not SB.

    P.S.: You should also consider sending transport/custom headers as well, not only the body for your new design be more reusable.

  • How to get the hostname of proxy OSB service

    I would like to get the hostname within a service proxy so that I can build a url replyTo generically.
    For example, I have a proxy service that publishes on an external web service that meets another proxy on the OSB service. I can code hard the host in the url for the replyTo, but when I install the OSB project on another platform, I would need to change the proxy service for the hostname of the new platform. I'd rather build the replyTo url using the host name of the installed platform so that when I left the thisHost to thatHost project, I don't have to do any additional configuration. So, is there a way to obtain the host name of the platform within a proxy service? Thank you.

    Here we did it with a Custom XPath returning System.getProperty ("weblogic. Name")
    a legend of Java can also be used, citing the same code.

    Alternatively, you can call JMX (look at the HyperCard methog here):
    http://www.javamonamour.org/2012/08/WebLogic-finding-health-state-through.html)
    but it's much more complicated.

  • Error with the WSDL URL to point to the Proxy in Oracle Service Bus

    Hi all

    First, I present the context and then I explain my problem. I hope that this will be clear enough.

    I am trying to learn SOASuite. I'm trying to follow a tutorial from the following book: "getting started with Oracle SOA Suite 11 g R1: a tutorial".

    I installed the SOA Suite 11.1.1.6 on Windows XP.

    Here, there is a link to the page of the book: http://www.oracle.com/technetwork/middleware/soasuite/11gthebook-101473.html. On this page there is a link to a zip containing the used book sources. In the "solutions" folder, there is only one folder by chapter with the proposed solution for this chapter.

    I made the tutorial until Chapter 10, and I have a problem with the end of the chapter 11 dealing with the OSB. Thus, all work until Chapter 10 (inclusive).

    The application that the tutorial 'Création' is a purchase order processing application. The following link gives access to the book in google books: http://books.google.be/books?id=ZP9PClWesncC & printsec = frontcover & dq = Getting + Started + With + Oracle + SOA + Suite + 11 g + R1 + % E2% 80% 93 + A + hands-on + Tutorial & source = bl & to ots = gr8rTsRfHv & to GIS = Dcnu6pfY4JrEjuDrLYcgHwW - H4 & hl = en & to her = X & ei = AzcuUPX5C42KhQfgxIGQBQ & to ved = 0CD0Q6AEwAQ #v = onepage & to q = Getting % 20Started % 20With % 20Oracle % 20SOA % 20Suite % 2011 g % 20R1% 20% E2% 80% 93% 20 A % 20Hands - we % 20Tutorial & f = false

    The tutorial scenario is explained in Chapter 3, and there is an overview of the tutorial chapters.



    Now, I'll explain my problem. At some point in my application, I have to call my POProcessing application validation of credit service (using OSB). To do this in Oracle Business Bus, I joined the validation service of credit cards as a Business Service. Then, I created a Proxy Service. Not until then, no problem.

    The project is called 'Credit Services', the proxy file 'ProxyServices' and the name of the service is "ValidateCredit" type "Service WSDL. I imported a WSDL with name of the resource 'ValidateCredit-wsdl. This WSDL is here connected with the ValidateCredit service.

    Once the configuration (business service, proxy service, mail flow) and after having tested this configuration, the next step is to change the reference link to the function 'getCreditCardStatus' in jDeveloper, to invoke the virtualized service OSB. getCreditCardStatus is the name of the web service in the "composite.xml" that is related to the release of the credit function.

    Thus, in JDeveloper, I open the "composite.xml" file in the POProcessing project and I have change the reference of the getCreditCardStatus by giving the new url of WSDL (Proxy).

    The problem is the URL of the WSDL.
    In the configuration of the Proxy Service, the URI of enlightened endpoint is: / Credit_Services/ProxyServices/ValidateCredit
    The OSB server is on localhost, port 7001.

    When I enter the following WSDL URL: http://localhost:7001 / Credit_Services/ProxyServices/ValidateCredit? WSDL, jdevelopper complains: "error reading wsdl file http://localhost:7001 / Credit_Services/ProxyServices/ValidateCredit? WSDL. Exception: WSDLException: faultcode = OTHER_ERROR: cannot read the WSDL for http://localhost:7001 / Credit_Services/ProxyServices/ValidateCredit? "WSDL: WSDL not found."

    When I enter the same link in my browser, I get a ' error 404 - not found "...


    Could you help me please? Any idea is welcome.

    I tried to restart the servers, to slightly change the url, to remove the space in the name of 'credit Services '... When I do the test in OSB, all right, and the URI parameter is always/Credit_Services/ProxyServices/ValidateCredit.

    I also noticed in console (WebLogic domain) Administration, in Web Deployment/Monitoring/applications, there is a single line with context root "/ Credit_Services/ProxyServices/ValidateCredit" but the State is empty (as opposed to others with a status of 'Active'). Despite this, the 'State' in 'Settings' of the Proxy Service in the console of the OSB is checked.

    In addition, the URL of the WSDL I provided when I imported the WSDL in OSB, is correct (and works in a browser). When I look at the console of the OSB, the WSDL is imported goods and everything seems well configured.

    once more, any idea is welcomed :)

    Thanks in advance,

    Sophie

    Published by: 953383 on August 17, 2012 06:18

    Hope that you would like to have checked, but there is no harm to recheck the information below.

    Connect on weblogic admin url on your left under the structure of the domainwindow, click on Server, on your right, see what is the listen port configured for the server of the OSB.
    Try with this port number, if you have not tried before to try now.

    Hope your proxy OSB is basic SOAP, if your OSB is restful service so you won't be able to get how you try.
    To access the service restful, we follow a different approach.

    Thank you
    Vijay

  • problem in the oracle service bus proxy service osb message flow

    I want to create a master service proxy that take 4 paramaeters as follows
    -Master of business
    1 - username password-2 3 - phonunumber 4-vouchernumber

    so I need the card to open business session
    It will take 1-2-Word past the same previous input user name

    then recharge business service will take 1-phone number 2-exhibit of the main service and session of the open session object

    then call to business closesession that will take the output of the opensession session and send the "State" of the output of the masterproxy :)

    can someone help me out here? its urgent

    Published by: user13027256 on November 29, 2011 12:53 AM

    Hello

    If you need to call several Business Service and use the legend of Service actions and at the end, use action road. If he's single legend in proxy service using only course of Action.

    I'm not clear what you mean! Please develop...

    And in the Action of the road... > you can use request action replace action to replace the application payload content (Business Service).
    Replace the Action:
    Leave the empty Xpath in variable body with Expression [request payload structure] and use the content of the node replace!

    Afonso

  • How can I configure Mozilla to accept connections on port "The World Wide Web (HTTP) service"?

    When you try to embed a video in PowerPoint 2013, the "Sorry we are having some problems of temporary service" message.

    In research on the problem to Microsoft. com, the following message is received: Mozilla is not configured to accept connections on port "The World Wide Web (HTTP) service."

    Hmm... PowerPoint must use Windows to connect to the internet and not Firefox.

    What method do you use?

    (1) insert > video > video online

    Apparently, there was an update this month that allows this, as described in this message of support (see the top of page answer right after the question): embedding video in powerpoint 2013 - Microsoft YouTube community online

    Here's how it should work after the update: Insert or link to a video on YouTube - PowerPoint

    (2) developer > control > Shockwave Flash Object

    As documented on other sites, such as: https://www2.palomar.edu/pages/atrc/2013/09/17/how-to-embed-youtube-video-in-powerpoint-2013/

  • ERROR during the generation of Proxy for BWS and Service Web BWSUtil files

    I'm trying to configure web service for BlackBery 10 infrastructure.

    I followed the steps in http://docs.blackberry.com/en/admin/deliverables/49270/dme1348595223038.jsp

    When I run the command as shown in the doc, I got the below error. Let me know, what went wrong. Thank you.

    ERROR:

    WSDLToJava error: org.apache.cxf.wsdl11.WSDLRuntimeException: unable to create the wsdl definition of: https://bes101.blrresearch.com:38443 / business/admin/ws? wsdl
    Caused by: WSDLException: faultCode = PARSER_ERROR: the analysis of problem 'https://bes101.blrresearch.com:38443 / business/admin/ws? wsdl ".: javax.net.ssl.SSLHandshakeE"
    Xception: sun.security.validator.ValidatorException: building way PKIX failed:
    sun.security.provider.certpath.SunCertPathBuilderException: could not find valid
    path to certification for target asked

    Thank you

    It was instead of update of wsdl2java.bat, I've updated wadl2Java.bat.

  • GemFire Http Module Session using the Client/Server mode

    Hello

    I have a server of GemFire autonomous 2 and 1 GemFire running separately in the ports index: Locator: 13489, GF-Server1: 13490 and GF - Server2:13491

    and below cache.xml in Server GemFire, which also has the configured session area

    <?xml version="1.0"?>
    <!DOCTYPE cache PUBLIC 
         "-//GemStone Systems, Inc.//GemFire Declarative Caching 7.0//EN"
         "http://www.gemstone.com/dtd/cache7_0.dtd">
    
    <cache lock-lease="120" lock-timeout="60" search-timeout="300" is-server="true" copy-on-read="false">
         <cache-server bind-address="${address}" port="${port}"></cache-server>
         <disk-store name="insuranceOFDS" allow-force-compaction="true" auto-compact="true" 
                        compaction-threshold="40" max-oplog-size="2048" queue-size="1000" time-interval="1000" write-buffer-size="65536">
              <disk-dirs>
                   <disk-dir dir-size="3072">${GF_SERVER_DS_FOLDER}\insurance_ds</disk-dir>
              </disk-dirs>
         </disk-store>
         <disk-store name="httpSessionDS" allow-force-compaction="true" auto-compact="true" 
                        compaction-threshold="40" max-oplog-size="2048" queue-size="1000" time-interval="1000" write-buffer-size="65536">
              <disk-dirs>
                   <disk-dir dir-size="3072">${GF_SERVER_DS_FOLDER}\httpSession_ds</disk-dir>
              </disk-dirs>
         </disk-store>
         <region-attributes id="defaultRegionAttr" refid="PARTITION_REDUNDANT_OVERFLOW" data-policy="partition" statistics-enabled="true" multicast-enabled="false" disk-store-name="insuranceOFDS" disk-synchronous="false">
              <entry-time-to-live>
                   <expiration-attributes timeout="900" action="destroy"/>
              </entry-time-to-live>
              <partition-attributes redundant-copies="1" recovery-delay="10000" startup-recovery-delay="5000" total-num-buckets="113"></partition-attributes>
              <subscription-attributes interest-policy="cache-content"/>
              <eviction-attributes>
                   <lru-memory-size maximum="100" action="overflow-to-disk"/>
              </eviction-attributes>
         </region-attributes>
    
          <region-attributes id="sessionAttr" refid="PARTITION_REDUNDANT_OVERFLOW" data-policy="partition" statistics-enabled="true" 
              multicast-enabled="false" disk-store-name="httpSessionDS" disk-synchronous="false">
              <entry-time-to-live>
                   <expiration-attributes timeout="1800" action="destroy">
                        <custom-expiry>
                             <class-name>com.gemstone.gemfire.modules.util.SessionCustomExpiry</class-name>
                        </custom-expiry>
                   </expiration-attributes>
              </entry-time-to-live>
              <partition-attributes redundant-copies="1" recovery-delay="10000" startup-recovery-delay="5000" total-num-buckets="113"></partition-attributes>
              <subscription-attributes interest-policy="cache-content"/>
              <eviction-attributes>
                   <lru-memory-size maximum="100" action="overflow-to-disk"/>
              </eviction-attributes>
         </region-attributes>
    
         <!-- Customer region -->
         <region name="customers" refid="defaultRegionAttr"/>
         
            <!-- Policy region  -->
         <region name="policies" refid="defaultRegionAttr"/>
         
            <!-- Claims region  -->
         <region name="claims" refid="defaultRegionAttr"/>
         
            <!-- Payment region  -->
         <region name="payments" refid="defaultRegionAttr"/>
         
            <!-- http session object distributed region -->
         <region name="gemfire_modules_sessions" refid="sessionAttr"/>
         <resource-manager critical-heap-percentage="90" eviction-heap-percentage="80"/>
    </cache>     
    
     
    
    

    and I created an instance of tcServer with module gemfire-cs:

    tcruntime-instance.bat create Server4 --version 6.0.35.A.RELEASE --layout separate 
    --property base.shutdown.port=-1 --property base.jmx.port=6972 --property bio.http.port=8087 --property bio.https.port=8446 
    --template base --template gemfire-cs --interactive
    
    Catalina.properties, I have disabled local cache
    ------------------------------------------------
    gemfire-cs.enable.debug.listener=false
    gemfire-cs.enable.gateway.replication=false
    gemfire-cs.enable.local.cache=false
    gemfire-cs.region.attributes.id=sessionAttr
    gemfire-cs.region.name=gemfire_modules_sessions
    gemfire-cs.cache.configuration.file=cache-client.xml
    gemfire-cs.critical.heap.percentage=0.0
    gemfire-cs.eviction.heap.percentage=80.0
    gemfire-cs.log.file=gemfire_modules.log
    gemfire-cs.statistic.archive.file=gemfire_modules.gfs
    gemfire-cs.statistic.sampling.enabled=false
    

    and in CONF\client - cache.xml inside CATALINA_BASE, I have below the syntax pointing to standalone locator

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE client-cache PUBLIC
    "-//GemStone Systems, Inc.//GemFire Declarative Caching 7.0//EN"
    "http://www.gemstone.com/dtd/cache7_0.dtd">
    <client-cache>
         <pool name="sessions" subscription-enabled="true">
              <locator host="localhost" port="13489"/>
         </pool>
    </client-cache>
    

    I started locator both gemfire server and when I run tcServer, tcServer throws an error that "'gemfire_modules_sessions ' region cannot be found. "

    I believed that tcServer will connect to standalone GemFire locator and search for the session to the server area. I understand OK if not, can someone explain how gemfire-cs module, code examples if we can post will also be useful for everyone.


    Hi Mathieu,

    Glad you got things sorted. Here are some answers to your questions:

    1 were the same for the ClientCacheFactoryBean and the pool defined in client - cache.xml the names of your pool?

    2 - if all your host names are resolvable on all systems in your cluster so you should not use IP addresses.

    4 - this property snuck in the config that I sent you. It is no longer valid to go to 7.0.0.2. Previously, we have defined a valve optional commit in context.xml. This valve valid changes of the session at the end of the request/response http instead immediately when each session attribute is changed. It is allowed to improve performance. Since version 7.0.0.2 definition of the valve is removed from context.xml is configured programmatically and is enabled using this property.

    -Jens

  • Deployment of the Service Proxy in OSB

    Hello

    I have a requirement where I want to deploy the same Proxy services with deferential versions. I won't be reflected in the name of my service. So what I do is
    creating folders deferential as v1, v2 and deploy the same service in the records of thse bothe having selected URI endpoint in v1, v2.

    I'm just curious to know if there is any impact to run time instances proxy as bothe of them are the same. I just want to confirm before hand that there are no conflicts in the runtime behavior of the Proxy service.

    all suggestions and answers appreciated.

    Thanks in advance
    m.

    Hi Sir,

    I don't think you'll be able to do this in the same instance of the OSB, although I could be wrong. If both proxy services have the same name, then OSB will try to export the two of them with the same name and there is no way to distinguish between them. The interface is the same between versions? What do you expect the behavior must be, that is, what service is called when Tuxedo calls the service?

    Kind regards
    Todd little
    Chief Architect of Oracle Tuxedo

  • How the proxy service can get the client certificate in Oracle Service Bus

    Hello everyone, now I'm confused in how can get service proxy client certificate in Oracle Service Bus. I have configured bidirectional SSL in Weblogic, the client sends its cerficate to Weblogic and Weblogic checks this cerficate if have access permissions Weblogic, but my proxy service cannot obtain this certificate to do more work, who can help me?
    And my proxy service service type is the messaging service.

    Thank you!!!
    Sea

    Hi, if you have configured for client certificate authentication, weblogic maps an attribute in the DN of the client certificate to a user of weblogic security realm. The attribute is controlled by the default configuration to map the user in the default identity asserter in the WLS Console--> security--> kingdoms--> suppliers--> default identity Asserter. Generally, the CN attribute is selected for this purpose. You must also create a user in the security field, with the value of this attribute in the client certificate for authentication to succeed. Once the authentication is successful, the user is used as the authenticated user. So if you want to set permissions for authorization on the proxy, you can do it based on this user. For this you need not the certificate of the client. In the pipeline of message, I guess you can get the authenticated user of $inbound, which in turn corresponds to an attribute in the DN of the client certificate.

Maybe you are looking for

  • "Error code: 80070002 0 x ' OR"0 x 80070003"Windows updates failed?

    " Error code: 80070002 0 x ' OR"0 x 80070003"Windows updates failed? Regds, 'a journey of a thousand miles begins with a first step."

  • HP 4515 PRINTER A DESKJET DOESN'T SCAN NOT WHILE

    I HAVE : WINDOWS OS 8.1 32-BIT PRINTER: HP PRINTER 4515 A DESKJET WHILE DURING THE LAST FEW DAYS MY PRINTER STOPPED SCANNING DOCUMENTS THE MESSAGE 'ANALYSIS NOW' KEEP COMING EARLIER, IT IS THE DIGITIZATION OF DOCUMENTS BUT NOW IT STOPPED MAKING ALL S

  • Can not find the device adapter Inspiron 1515

    Thanks in advance. I reformatted my computer a virus. Now, I can't connect to the Internet... "Windowns can't find any network." When I try to install the Mini PCI card half Dell Wireless WLAN 1515, the process fails and a popup indicating that the 1

  • Turning off blackBerry bold 9900 touchscreen Smartphones

    Hi, when on a call to the touch screen to my ear keeps put the call on hold and numbering of another person. 5 times over 10 companies today ask so not professional. I'm afraid I'm going to jump the next time. Please tell me how to disable the touch

  • Add ' ns1: "to a tag xml in a PLSQL

    Hi friends,in the xml belowI use DomNode approach to create the XML Coreand use the below querySELECT XMLSERIALIZE (DOCUMENT xmlroot((XMLELEMENT)"ns1:DeriveCoverageRequest,"XmlAttributes)"urn: xyz:ccw:config:common: data ' AS 'xmlns '.("urn: xyz:ccw: