Session sharing among different web application under Oracle AS

Hi,
I'm looking for some information on web application session information sharing under Oracle AS10.1.3.
any pointers are highly appreciated.
Thanks,
Narasimha.

Hello,
I see that you have duplicate your post in different forums, Session sharing among different web application under Oracle AS10.1.3.
Regards
Tugdual Grall

Similar Messages

  • Can shared components be shared among different applications within APEX

    Can shared components be shared among different applications within APEX ?
    -Louis Rosa
    Florida Center for Library Automation (FCLA)
    Gainesville,FL

    Not entirely true.
    Some like LOVs, Authorizations, Authentications can be shared amongst applications in the same workspace.
    Varad

  • Sharing object across 2 different web application

    Hello,
         I do not know if this is a right place to ask this kind of question...
         I have two different web applications running on 2 different tomcat servers.
         One of them creates one object ( say myComplexClassObject) which is serializable..
         and I want to share this object in another web applications.
         Both the apps are developed using JSP and servlets.
         Is there any way, I can make this object available in another application ?
         As the request object can not be used across 2 different contexts, I can not set it as attribute on request.
         I tried serializing myComplexClassObject in some test.dat. Problem going by this way is that
         how do I send this file to another application ?
         What I did is as follows....
         In the first app , I created the object and serialized it in one file test.dat. In the same app I read
         test.dat and send the content as query parameter to a JSP in another app. That JSP collects all the query parameters
         and constructs a big string out of it and then writes it to a file, test2.dat and tries to deserialize this.
         File sizes come out to be same. But it gives me StreamCorruptedException.
         Any idea, where I am doing wrong ? or any other way to share this object or to send the file to another app?
         I can not use FTP for some reasons. Size of the test.dat file is more than 10 KB.

    Some possible solutions:
    Use a webservice calls to pass the object,
    Use JAXB to convert the object to XML, pass the XMLover HTTP or a socket and use JAXB to convert the XML back into an object.
    Store the object as a blob in a database.
    Store the object in a Java aware database that can handle Java objects.
    Store the data in the object in a database.
    I am curious as to what information ot functionality is contained in this object that you feel the need to pass it between two servers.

  • How to share HttpSession between different web application ?

    I have two web application ( ie two different war files), I discovered that the jsp in the two war files are not able to share the HttpSession, may I know how to you share the HttpSession between two different web application ?

    From the api doc:
    "Session information is scoped only to the current web application (ServletContext), so information stored in one context will not be directly visible in another."
    You can not share a Session object between web apps. You can create your own sessions using a database, textfile or hashmap. Do a search on the O'Rielly web site for psuedo-sessions.

  • Deploying a custom Web Application in Oracle Apps 11.5.10..Urgent

    Hi,
    I need to develop and deploy a custom J2EE based Web Application in Oracle Apps (11.5.10).
    Is it mandatory to build it using OA framework?
    As an example, If I develop a "CD Library" J2EE application using JSPs(View),Servlet(Controller) and Utility classes(Model),will it be supported during upgrades in future.
    I have done the same in 11.5.9. (which doesn't have OA Framework support).
    I had deployed JSPs in $OA_HTML, Servlet and model classes in $OA_JAVA.
    I understand that the same is possible in 11.5.10.Can I follow the same approach for 11.5.10?What are the pros and cons?
    Basically, Why should I go for OA Framework to develop and deploy a custom J2EE WebApplication though I can do it as explained above.
    If you are aware of any article on this please share it with me.
    thanks,
    Gowtam.

    Hi,
    Thanks for the reply.
    To conclude my understanding,
    If I create a new J2EE web Application with
    - n number of JSPs
    - 1 servlet
    - and n number of Java model classes,
    I can deploy all these in $OA_HTML and $OA_JAVA and use it as custom application.
    I need few more clarifications
    My JSPs do not follow Oracle BLAF standards
    Java model classes are not BC4J objects
    The servlet is unique for the custom application and page flow does not include invoking OA.jsp.
    Stil, can i continue with my approach?
    Will it be supported during upgrade?
    Thanks,
    Gowtam

  • Pros & Cons of having multiple web applications under one EAR project

    Could anybody let me know what are the advantages and disadvantages of having multiple web applications under one single EAR project?

    Either this is homework, in which case, do it yourself, or you already think you have some pros for doing this. Share with us

  • Integrate Web application with Oracle BPM

    Hi,
    Can you guide me in achieving the following scenario:
    1. Integration web application with oracle BPM
    Say, I have a application where I need to trigger an event to call Oracle BPM. For ex: On click of submit button call the Oracle BPM workflow to do some process and then revert back to the same application with an alert or status message. Please let me know the steps to acheive this.
    Thanks
    ST

    Hi,
    I take from this description that you currently have your Web Application and you would possibly like to trigger or create an instance into an OBPM business process. If this is the case, you have several options available here:
    a) Use PAPI (Java API).
    b) Use PAPI-Ws (SOAP API).
    c) Use some sort of communication channel that the process is implemented to listen (for example a JMS Queue or Topic).
    For the first 2, you can try to take a look into the official Documentation page for OBPM through this link: http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/index.html (Check the For Developers section).
    If I have miss interpreted your question, please do not hesitate to provide more details.
    Cheers,
    eduardoc.

  • Problem: Sharing session between two different Web browser & Web Appn'

    I�m facing a strange scenario here and would appreciate any inputs which could resolve this issue.
    I have two webapplications (EAR�s) on two different machine and different WebSphere application server. I have �WebAppA� [on machine A, WAS A] which opens in parent window and expects to pass some info in the FORM submission with request parameter to �WebAppB� [on machine B, WAS B] which opens in a child window browser on clicking submit button from �WebAppA�.
    Now the WebAppA is required to wait till the response come from WebAppB after certain functionality and once the function of retrieval is over by WebAppB, it sent back the response data back to WebAppA FORM, which finally submits this form after getting the response data from WebAppB. Now the response to WebAppA [which is in machine A, WAS A] from WebAppB is a pure POST request on complete URL and set of request parameters with values.
    Now what is happening is that, when a User A fills the form on WebAppA and submits the data to WebAppB, on response it gets the data of some other User request, for example day of UserB or UserC.
    Now when I do the test on my development environment, where its just me or some other 2-3 users accessing it I don�t face any problem. I get the response for the request I have submitted�.PERFECT. On production I have issue where users are getting data as response of other users.
    I suspect since the response is submitted to the form page of WebAppA its unable to synchronize to which user it belongs to. May be that�s the reason when I test it on development with single or 2-3 users its behaving fine. I hope I could put my question properly to you. I don�t know what can resolve this or what is the actual cause? Is there a proper way to implement this? Please any suggestion or inputs are appreciated.

    Thanks Amittev,
    That's the problem for me. Actually this is a part of integration with third party application (which is loaded in child window - WebAppB). So as per the functionality there is no reference or trace of the user in the parent window at first instance. Anyone can come to parent window and initiatate a process. Its only when the data comes back from child window (which is the WebAppB), that parent window application (WebAppA) take the response and proceed further. Now here is what I'm facing problem. the user who initiated the process by clicking on the submit buttom of Parent window is not getting his response, but of some other user. This is not happening with every user and at all time. But were sparingly and rarely, but enough to bring headache to our department now.
    Now I suspect that, since there is a parent/child browser functionality here the session which is started by parent is not synced with child where the WebAppB is loaded and responds the response to WebAppA. The WebAppB makes a POST request submission to the WebAppA thru the child window and the session here is missing synchronization, I believe. I will appreciate some inputs and resolution to this problem. Thanks.

  • Deploying a J2EE web application in Oracle 10g

    Hi friends,
    <br>
    I had worked with Oracle9i 9.0.3 . But it's my first experience with Oracle 10g . I have installed Oracle 10g Infrastructure , Metadata Repository and one Middle tier - Forms and i hope i have followed The Oracle 10g installation guide Properly. Anyway installation is successful.
    The problem is a J2EE web application which is deployed properly on Oracle9i 9.0.3 doesn't get deployed in Oracle 10g. The following is the exception :
    <br>
    Deployment failed: Nested exception
    Root Cause: deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application Spom_Apps: Error loading package at file:/C:/Oracle/Ora9iASForms/j2ee/home/applications/Spom_Apps/JmsSubscriberMdb.jar, Error deploying file:/C:/Oracle/Ora9iASForms/j2ee/home/applications/Spom_Apps/JmsSubscriberMdb.jar homes: No location set for Topic resource MessageDrivenBean JmsReceiverMdb
    <br>
    <br>
    where JmsReceiverMdb is the deployment file containing the message driven beans.
    <br>
    Thanks in advance,
    paskal

    Hi,
    Thanks for responding . I am sending the file contents of ejb-jar.xml, orion-ejb-jar.xml, jms.xml.
    Could you also check whether dtds versions of 10g and 9i in these xmls are conflicting? If you can specify your email-id i can send these file as attachments.
    Hope you could strike the right spot.
    ejb-jar.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <session>
    <description>Session Bean ( Stateless )</description>
    <display-name>spomPmConfigSSB</display-name>
    <ejb-name>spomPmConfigSSB</ejb-name>
    <home>jnipackage.spomPmConfigSSBHome</home>
    <remote>jnipackage.spomPmConfigSSB</remote>
    <ejb-class>jnipackage.impl.spomPmConfigSSBBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    <message-driven>
    <description>Message Driven Bean</description>
    <display-name>JmsReceiverMdb</display-name>
    <ejb-name>JmsReceiverMdb</ejb-name>
    <ejb-class>jnipackage.impl.JmsReceiverMdbBean</ejb-class>
    <transaction-type>Container</transaction-type>
    <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
    <resource-ref>
    <res-ref-name>jms/alarmTopicConnectionFactory</res-ref-name>
    <res-type>javax.jms.TopicConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>jms/alarmTopic</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
    </resource-env-ref>
    </message-driven>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>JmsReceiverMdb</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <method>
    <ejb-name>spomPmConfigSSB</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Supports</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    Orion-ejb-jar.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
    <orion-ejb-jar>
    <enterprise-beans>
    <message-driven-deployment name="JmsReceiverMdb" max-instances="100" min-instances="0">
    <resource-ref-mapping name="jms/alarmTopicConnectionFactory"/>
    </message-driven-deployment>
    <session-deployment name="spomPmConfigSSB"/>
    </enterprise-beans>
    <assembly-descriptor>
    <default-method-access>
    <security-role-mapping impliesAll="true" name="&lt;default-ejb-caller-role>"/>
    </default-method-access>
    </assembly-descriptor>
    </orion-ejb-jar>
    jms.xml
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE jms-server PUBLIC "OC4J JMS server" "http://xmlns.oracle.com/ias/dtds/jms-server-9_04.dtd">
    <jms-server port="9127">
    <!-- Queue bindings, these queues will be bound to their respective
    JNDI path for later retrieval -->
    <queue name="Demo Queue" location="jms/demoQueue">
    <description>A dummy queue</description>
    </queue>
    <!-- Topic bindings, these topic will be bound to their respective
    JNDI path for later retrieval -->
    <topic name="Demo Topic" location="jms/demoTopic">
    <description>A dummy topic</description>
    </topic>
    <!-- Topic bindings, these topic will be bound to their respective
    JNDI path for later retrieval -->
    <topic name="AlarmQueue" location="jms/alarmTopic">
    <description>A topic</description>
    </topic>
    <topic name="FaultTextQueue" location="jms/faultTextTopic">
    <description>A topic</description>
    </topic>
    <topic name="FaultTopologyQueue" location="jms/faultTopologyTopic">
    <description>A topic</description>
    </topic>
    <!-- path to the log-file where JMS-events/errors are stored -->
    <log>
    <file path="../log/jms.log"/>
    <!-- Uncomment this if you want to use ODL logging capabilities
    <odl path="../log/jms/" max-file-size="1000" max-directory-size="10000"/>
    -->
    </log>
    <queue name="jms/OracleSyndicateQueue" location="jms/OracleSyndicateQueue">
    <description>Oracle Syndication Services Queue</description>
    </queue>
    <!--
    <queue-connection-factory name="jms/OracleSyndicateQueueConnectionFactory"
    location="jms/OracleSyndicateQueueConnectionFactory"/>
    -->
    <queue-connection-factory location="jms/OracleSyndicateQueueConnectionFactory"/>
    <queue name="jms/OracleUddiReplicationQueue"
    location="jms/OracleUddiReplicationQueue">
    <description>Queue for replication scheduler</description>
    </queue>
    <!--
    <queue-connection-factory
    name="jms/OracleUddiReplicationQueueConnectionFactory"
    location="jms/OracleUddiReplicationQueueConnectionFactory"/>
    -->
    <queue-connection-factory location="jms/OracleUddiReplicationQueueConnectionFactory"/>
    <queue name="jms/OracleWebClippingQueue"
    location="jms/OracleWebClippingQueue">
    <description>Queue for Web Clipping</description>
    </queue>
    <!--
    <queue-connection-factory
    name="jms/OracleWebClippingQueueConnectionFactory"
    location="jms/OracleWebClippingQueueConnectionFactory"/>
    -->
    <queue-connection-factory location="jms/OracleWebClippingQueueConnectionFactory"/>
    </jms-server>

  • Inactive status  - v$session  users list over WEB application

    Hi all
    When user connect through asp or asp.net, we create a connection in the session object. New sid gets created with each session.
    When user normally logs out the application, his sid gets finished in the v$session users list. But when he dees not logs out in the normal way as we can not force thousand of users over WEB to log out normally, what will happen to the v$session ?.
    1st - We wish to know to know that whether the list will run into thousands of inactive status users OR they automatically gets finished over time. We use the default profile as applicable to new user.
    2nd - If the list of inactive status users gets increased to thousands of users which can be possible for the WEB application , there must be some limit fixed by Oracle 8i/ 10g database OR there may be serious performance problems. This simultaneous connection of thousands of users over WEB is easily possible and when connection is created in session object , what could be the scenario. We avoid creating connection object in the application start event to improve performance for the given sesion.
    Any help is appreciated.
    Suresh bansal

    Thanks for prompt reply
    1st - Can u give some idea for create connection pools using asp.net environments. Further in the connection pool environment as to how much simultaneous running connections we should need to open and how.
    2nd - If we have pool of say 100 connections and there are more number of simultaneous WEB users, what will happen to the application as to whether it gets to hanging /waiting for the pool connection to be free or give error ?.
    Suresh Bansal

  • Session sharing among multiple WAR files inside an EAR file

    Hi all,
    Is there a way where I can share my session object among multiple WAR files which are inside an EAR file?
    Please suggest.

    r035198x wrote:
    Some application servers (like Weblogic) allow to configure session sharing when you deploy the application.Sidenote: which is completely against the servlet spec.

  • How to distribute html component between different web applications?

    Hello. I have a project which consists of several modules. Each module is a separate web-application which can be deployed on a separate application server. All modules must have one menu. The problem is how to implement the menu.
    It would be good to maintain it as a separate project and to distribute it between modules as a jar archive. I have an idea to create a custom tag library which will generate and insert html code where it is necessary. But modules can look different, they can use jsf, richfaces or jsp for the page rendering and the menu must suit the page. So I think that the data and the rendering mechanism should be separated somehow.
    Thanks.

    Starting with Servlet Spec 2.3 (I think) the push has been towards complete web applications; even if it means duplicate files in each (disc space is exponentially cheaper than it was a decade ago).
    The easiest way to manage duplicate files is to keep a single copy for development and use build tools like ANT, Maven, etc.. to assemble your web applications at build time.

  • Function authorize in packages for web applications in Oracle XE

    Hello,
    i have created a simple test package as follows:
    PACKAGE TEST IS
    function authorize return boolean;
    procedure test;
    END;
    PACKAGE BODY TEST is
    FUNCTION authorize return boolean is
    BEGIN
    if OWA_SEC.GET_USER_ID = 'test' then
    return true;
    else
    return false;
    end if;
    END;
    PROCEDURE test is
    BEGIN
    htp.prn('Hello World!');
    END;
    END;
    i have also cerated a DAD with this command:
    DBMS_EPG.CREATE_DAD (' test ', '/test/*');
    i want to run this link in my web browser: http://127.0.0.1:8080/test/test.test
    When i use a real database user then the function test works ok.
    But i want to make it work with the user name "test" throw the function authorize.
    In my opinion i am creating a DAD in a wrong way. Can anybody help me?
    Thanks in advance for your help.

    Hi,
    AFAIK, there is no official document which states that "Oracle Functional Testing for Web Applications" is certified with Oracle E-Business Suite 11i/R12. I assume it should work with Forms 10g but not with Forms 6i, so it should work (does not mean it is certified) with R12.
    I would suggest you log a SR and confirm this with Oracle Support.
    Regards,
    Hussein

  • Is there a PS sript to put different web applications in maintenance mode

    HI,
    I have 2007 R2 SCOM environment.Multiple Web applications is monitored. I got request to put together PS script which could put web application to maintenance mode so it wouldn't not alert while somebody working on it and puts it down. Is there possible
    way to do that.
    Thanks
    Balys

    Hi
    There are different ways to interpret "web applications" - if this is basic URL monitoring then this can be done as follows:
    http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/
    http://www.scom2k7.com/schedule-a-group-of-urls-into-maintenance-mode/
    I have done similar for process monitors here:
    https://systemcentersolutions.wordpress.com/2010/04/03/scheduled-maintenance-process-monitors/
    The idea behind all of these is that you'll need to find out the target class and then put that class into maintenance mode.
    Regards
    Graham

  • Can an Apple gift card be shared among different apple devices in the home?

    Can an apple gift card be shared among the different apple devices in the home?

    If you mean an iTunes gift card then it is redeemed onto an iTunes account, not a device, so it can be used to buy content from the stores (iTunes, ibookstore, app store, Mac App store) where you use that account - it can't be split onto multiple accounts.

Maybe you are looking for

  • Making a photo book from multiple albums

    Hello. I recently returned from week long trip and have created photo albums for each individual day (9 albums) I now want to bring them all into 1 photo book but cannot seem to figure out how to do it. Do I have to just copy everything into one huge

  • Block Material in PO

    Dear SAP, scenario, We have 2 vendor that supplying ITEM ABC. In SAP we created 2 info record for ITEM ABC with have different vendor. Now, i wanted to block ITEM ABC in PO if the user use Vendor B. How can i do that ? ....

  • No launch of iPhoto 11

    Hi, after installing Mac OS X (10.6.3) I also installed Life 11. Since I can't launch iPhoto. Anybody has an idea why? Thanks

  • Captivate 7 Web Interaction and HTML5 (Mobile Devices)

    Hi All Does anyone know if the Web Interaction widget introduced in Captivate 7 will work in HTML5? I try testing it in HTML5 from Captivate, and it does not work. Only the border and the loading animation show up, the website never actually loads. I

  • Adobe Livecycle Form Printing Error for One Form

    Only for this particular form, I am receiving the following error; all other forms are printing fine. Please assist us in understanding the error? <br /><br /><Sep 16, 2008 2:26:16 PM EDT> <Info> <WebService> <BEA-220024> <Handler weblogic.webservice