Web application session state in Oracle

In .Net 2.0, it is possible to store session states of web applications in other databases than SQL Server. Does any one have stored session state in Oracle? What should be done?
Thanks

For best results, try posting this to the ODP.NET discussion forum.

Similar Messages

  • J2ee Web application exploded format in oracle 10g

    Hi,
    I am trying to develop a simple j2ee application in Exploded Format
    in oracle 10g AS. i have created a new OC4J instance called
    TestOC4j for this. A .war file works fine in this instance.
    I have placed the application under applications directory of TestOC4j.
    I have made entries in server.xml, oc4j_mod.conf,
    default-web-site.xml,http-web-site.xml and application.xml in META-INF
    of the application.
    The application get deployed with no errors.gets created in
    application-deployments too.
    But the url http://server-ipaddress:7778/test_app is not working.
    Please help.
    The folder struture is as follows:
    test_app
    --META-INF
    -----application.xml
    --test_web
    -----pages
    -------welcome.jsp
    -----WEB-INF
    -------web.xml
    -------lib
    -------src
    The entries in server.xml is as follows:
    <application name="test_app" path="../applications/test_app" auto-start="true" />
    <web-site path="./http-web-site.xml" />
    The entries in application.xml is as follows :
    <module>
    <web>
    <web-uri>test_web</web-uri>
    <context-root>/test_app</context-root>
    </web>
    </module>
    The entries in default-web-site.xml is as follows:
    <web-app application="test_app" name="test_web" load-on-startup="true" root="/test_app" />
    The entries in http-web-site.xml is as follows:
    <web-app application="test_app" name="test_web" load-on-startup="true" root="/test_app" />
    The entries in oc4j_mod.conf is as follows:
    Oc4jMount /test_app TestOC4j
    Oc4jMount /test_app/* TestOC4j
    Regards,
    Roopa

    Roopa, it looks like there is no problem with the deployment of your application in exploded format. Have you accessed http://server-ipaddress:7778/test_app/pages/welcome.jsp? Any problem access http://server-ipaddress:7778/j2ee/, the default home page of the default-web-app ?
    When you say the url http://server-ipaddress:7778/test_app is not working, what is the error message if any on the browser, on server console, in the server.log and http-web-access.log of ORACLE_HOME/j2ee/home/log/, ORACLE_HOME/j2ee/home/application-deployments/test_app/application.log?

  • 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

  • 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

  • Oracle Functional Testing for Web Applications for Oracle Apps

    I am trying to test Oracle Application 11i and R12 using Oracle Functional Testing for Web Applications.
    In 11i:
    If i open any forms then then the Application is getting crashed whereas it's recording the html events.
    In R12:
    If i open any forms then the Form is getting opened but it's not recording the events happening on the forms
    whereas it's recording the html events.
    Please let me know whether Oracle Functional Testing for Web Applications supports can be used to test Oracle Apps 11i/R12 including the Forms.
    Regards,
    Arun

    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

  • PHP/Oracle Web Application Framework

    Hi,
    for people hopping on the Oracle/PHP bandwagon, there's a PHP object oriented Web Application framework that supports Oracle 8.0.5, Oracle 8i, 9i and 10G.
    It's called 'Achievo ATK' and can be found on http://www.achievo.org/atk
    It makes developing a webinterface to an existing Oracle database pretty easy. It boils down to creating PHP classes around the tables, defining the relationships, and an application to manipulate the data (crud) is generated dynamically by the framework.
    To give an example, a complete employee administration application for the 'emp/dept' tables from the scott schema is as much code as:
    <?php
      userelation("atkmanytoonerelation");
      class employee extends atkNode
        function employee()
          $this->atkNode("employee");
          $this->add(new atkAttribute("empno", AF_AUTOKEY));
          $this->add(new atkAttribute("ename",
                                        AF_SEARCHABLE));
          $this->add(new atkManyToOneRelation("deptno",
                             "scott.department",
                             AF_SEARCHABLE));
          $this->setTable("emp");
    ?>
    <?php
      class department extends atkNode
        function department()
          $this->atkNode("department");
          $this->add(new atkAttribute("deptno", AF_AUTOKEY));
          $this->add(new atkAttribute("dname",
                                    AF_SEARCHABLE));
        function descriptor_def()
          return "[dname]";
    ?>The demo application that can be downloaded contains basic emp/dept examples, including the ability to edit a departments employees etc. A slightly different version (including manager link etc.) of the dept/emp example can be found on http://www.achievo.org/atk/demo, lesson 2 in the demo's menu.

    Thanks for letting us know.
    -- CJ

  • Oracle C# ODBC and Web Applications

    I need some web applications that access an oracle server (database) with odbc connection using C#.If anyone can help me or give me any suggestions on where to begin this I would so appreciate it. It has been a while since I have used Oracle. I have been using ASP.NET C# and Sql. Please email me if you have any answers or ideas.
    my email is [email protected] or [email protected]
    With Much Appreciation .
    Mathieu

    DO you have, or did you ever have, any other Oracle product or Oracle OBDC driver on the system?
    Also - please provide the complete DSN definition. (If you are using 'orcl', change it to 'XE')

  • Oracle C# and Web Applications

    I need some web applications that access an oracle server (database) with odbc connection using C#.If anyone can help me or give me any suggestions on where to begin this I would so appreciate it. It has been a while since I have used Oracle. I have been using ASP.NET C# and Sql. Please email me if you have any answers or ideas.
    my email is [email protected] or [email protected]
    With Much Appreciation .
    Mathieu

    David,
    For network encryption take a look at ASO/ANO (advanced networking/security option). With Aso/Ano you can encrypt your sql*net traffic. But I don't think you need to encrypt the traffic between your database and application servers. They are probably on a own network where only authorized (sysad's and dba's) can come. The use of ssl between your application server and browsers seems enough to me.
    kind regards,
    Ivan
    We have an Oracle 9i database.
    We develop web applications using Microsoft C# and
    ASP.Net.
    The web servers talk to the database servers using
    the Oracle Data Provider for .Net which I think uses
    the standard Oracle Client.
    The problem is that the database calls appear on the
    network in plain text form. So if someone were
    sniffing the network, they might be able to see the
    queries and results.
    How do we prevent that?
    I have read about the Obfuscator, but I don't want to
    encrypt the data in each field in the database. That
    is a huge amount of work. I want something that works
    like SSL works between browser and web server, where
    the entire conversation is encrypted.
    I have seen brief postings about SSL with Oracle and
    that sounds like the thing, maybe. But I can't find
    any documentation that makes it clear whether that is
    really the solution to my problem, and if so, how to
    configure it. The Oracle marketing literature seems
    too brief and vague. Nor can I find details in the
    online manuals.
    If someone can provide a business-level overview here
    and point me to the online references for the
    detailed "How To...", that would be great!
    One more thing: Is my desire to encrypt traffic
    between the application and database servers
    excessive?
    We require all our web applications to use SSL to
    prevent sniffers from seeing private data. It seems
    only right that we require the same from our
    connections to the database server.
    At least we use network switches rather than hubs, so
    there is much less exposure to a sniffer.
    thanks
    David Kreth Allen
    Minneapolis, MN

  • Connection problems in a Web Application

    hi everybody.
    I'm developing a struts-based Web Application to investigate an Oracle 9.2 DB, using Exadel Studio / Eclipse and Tomcat 5.0.
    Here is the problem: I've made a class to test data-displaying, which simply connects to db using oci8 and returns a resultset, using the base procedure:
    // load driver
    Class.forName("oracle.jdbc.driver.OracleDriver");
    // open connection
    Connection conn=DriverManager.getConnection(...);
    Statement st = conn.createStatement();
    rs = st.executeQuery(sql);Now, everytime I call this method from my Action, to get back the resultset and display it in my jsp, I get a ClassNotFoundException on the Class.forName instruction.
    Note that classes12.jar is correctly mounted, in fact if I run stand-alone the class containing this method, it connects without problems and returns the expected results. The exception is raised ONLY when the entire web application is running and the method is triggered by the struts Action.
    Can anyone help me please?
    Thank you in advance, I'm crushing my head on this for 2 weeks!
    Emanuele

    This means that your driver jar is unavailable to your web application; I'm pretty sure that Tomcat overrides the classpath set by your IDE. You can add application jars to the WEB-INF/lib of your web application. You can also set a container classpath that points to the jars...
    here's some instructions for add the jars for cactus to Tomcat; just substitute your driver jars in these instructions.
    http://jakarta.apache.org/cactus/integration/howto_tomcat.html
    Also, classes12.jar is for Java 1.2 and Java 1.3 Since you are using Struts, I suspect you're also using Java 1.4 or Java 1.5 and you should probably be developing with the appropriate driver (classes12.jar does mostly work with Java 1.4, but Oracle doesn't support it.)

  • Error-page tag not valid in global-web-application.xml ?

    Hi!
    From what I understand about the global-web-application.xml file in Oracle's documentation, the content of the web-app tag should be inherited to all web application as a web.xml content.
    One of the web.xml tags is error-page, which contains the page url for the standard return codes (404, 500, and so on).
    If I put the error-page on the web.xml inside a web application, it works as expected.
    But if I don't put this tag inside the web applicaction, but in the global-web-applicacion.xml (web-app) tag, it doesn't work.
    We are testing the 404 error page, but I don't know if it is because the application server can't find the error page or because the global-web-application.xml isn't being inherited correctly.
    Where is this file supposed to be looked for? Or the only way to do this is by writing the configuration on all web applications?
    We are using 9.0.3
    Franco Catrin L.
    TUXPAN

    Just refreshing... Does anyone have any idea?
    Daniel.

  • To develop web application

    I would like to develop web application to access the oracle
    database. I would like to java? which is better: jsp or servlet?
    What are the software do i need to develop and running
    jsp/servlet? Do I need a web server to run jsp/servlet, a driver
    to connect to oracle like jdbc driver?
    What is the architecture like?
    Thanks.

    You need to have Oracle Applicaiton Server as middle tier. Inside OAS, there are sample html codes and jinitiator to move Developer applicaiton to web without any code changes.

  • Web Application - Data caching of enterprise data

    Sorry in advance if this is off-topic but I can't find anywhere else to post this type of question.
    I am looking for information/suggestions such as books, technology or design methodology for my enterprise web applications. These sites are currently up and functional using only JSP, servlets and regular Java classes stored in a web application session to provide data caching and access. We are using Weblogic Server 6.1 running on an AIX Unix system at this time. I'm not sure that this is the best design architecture as our web sessions are getting too large but I can't think of any other Java technology to use and I need some help. Here's an overview of our environment and our needs.
    Our core data is held in a mainframe based IMS system. Some DB2 is also used. Access to this data is through IMS COBOL transactions which we can execute with IMS Connect. We also use some JDBC to get to the DB2 tables directly where available.
    Some overall application data is cached when the web application is deployed. We use singleton classes which are created and refreshed at deployment and they then refresh themselves from the sources every 24 hours.
    Each time a user logs in we execute several IMS transactions and JDBC calls to cache user specific data in regular Java classes which are then simply placed in the users web session where we access them from JSP, servlets and other Java classes. The fields in these Java classes range from any type of primitive field to TreeMaps of other Java classes. As the data is cached it is sorted and other fields are calculated and stored in these classes. As the user progresses through the system we then may have to do several other IMS transaction and JDBC calls to collect other types of data. All of this is then also added to the users session. Most of this in inquiry. We do allow transactions but those are built from user input and data already cached and are then we just execute the IMS transactions with the input.
    As our application has grown these Java classes have gotten larger and larger. And since these are simply stored in server memory in the web sessions then these are also getting huge. I'm concerned that this is not the best way for this application to be architected. Is there something else we should be doign? I simply don't understand how Entity Java Beans could be used but then again I don't know much about them. I wouldn't think that caching the data to a local database and accessing it from there would be any more efficient and would probably just slow down the system from all the I/O.
    Any help or direction would be greatly appreciated.

    The best book you can buy is 'Professional Java Server Programming, j2ee edition' by Wrox. It is by far the best reference I've used. Another quick reference consideration might be the j2ee book provided by codenotes... its quick and to the point.

  • Maintaining persistent client state in Oracle 8.1.6

    I'm running Oracle 8.1.6 on Windows NT 4.0.
    What are the methods to maintain the state of HTTP session (variable values, maybe transaction state) between the requests of the same user, in other words, how can I maintain HTTP session state in Oracle 8.1.6?
    It's preferable to avoid using cookie, but I'll be very grateful for any advice.
    Thanks in advance, Alex.

    Here's my Javascript Code for writing the Cookie (adapted from www.webmonkey.com):
    Htp.p('<script language="JavaScript"><!--
    function SetCookie(){
    if(document.cookie=="")
    {var t_ck="cotavalor=p_cliente:'&#0124; &#0124;to_char(t_new_CV_Cookie,'9999999999')&#0124; &#0124;'";var t_date=new Date("December 31, 2050");var t_ck_date=t_date.toGMTString();
    t_ck=t_ck+";expires="+t_ck_date+";path=/";
    document.cookie=the_cookie;}
    else {return false;}}
    //--></script>
    <script language="JavaScript"><!--
    SetCookie()
    //--></script>');
    Now here's my PL/SQL code for reading it:
    t_cookie := owa_cookie.get('cotavalor');
    Simple. I had to write that Javascript cause the Functions provided by Oracle didn't seem to work at all, while the Javascript version works easily.
    null

  • How does PeopleSoft ( web application)  connect to DB ?

    Hi,
    How does PeopleSoft ( web application) connect to its Oracle database, does it use JDBC or OCI or else ?
    Thank you.

    The webserver is connecting to the application server through the Jolt port, and the application server is connecting to the database within a database client installation (runtime).
    Nicolas.

  • ORA-29550: Java session state cleared

    Hi all,
    I am using Oracle9i Enterprise Edition Release 9.2.0.6.0 on AIX
    I have created a job that executes daily at 00:00:00 and create files by selecting data from database. But job is breaking daily and subjected error found in alert log file.
    I have checked the metalink and found nothing except following
    Error:     ORA-29550
    Text:     Java session state cleared
    Cause:     The Java state in the current session became inconsistent and was
         cleared.
    Action:     No action required.
    Can anybody help me on this issue?
    Thanks,
    Hassan

    I am getting following errors when using forms. (Version is 11.5.10.2 on Linux)Are you using Forms 6i Builder?
    ORA-29549: class PUBLIC.NLS_SESSION_PARAMETERS has changed, Java session state cleared.
    oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-29550: Java session state cleared
    ORA-06512: at "APPS.XMLPARSERCOVER", line 6
    ORA-06512: at "APPS.XMLPARSER", line 175
    ORA-06512: at "APPS.IRC_XML_UTIL", line 110
    ORA-29549: class PUBLIC.NLS_SESSION_PARAMETERS has changed, Java session state cleared
    ORA-06512: at "APPS.IRC_APPROVALS", line 43
    ORA-06512: at "APPS.IRC_APPROVALS", line 179
    ORA-06512: at "APPS.IRC_APPROVALS", line 328
    ORA-06512: at "APPS.XXCIM_CANDIDATE_SEARCH_PKG", line 333
    ORA-06512: at line 1
    java.sql.SQLException: ORA-29550: Java session state cleared
    Any help would be really appreciated.Please see the solution in (ORA-29550: Java session state cleared encountered during execution of Generate function 'WF_XML.Generate' [ID 1368817.1]).
    Thanks,
    Hussein

Maybe you are looking for

  • Scroll Bars in iTunes broken

    Hi guys ok, strange one this. The Scroll bars on the side of the window in itunes, for the playlists, the fields for selecting artists, genre and album have all disappeared. They've just been replaced with White. It still plays music and allows scrol

  • ITunes Match doesn't accept editing of matched music anymore

    I am using iTunes Match since one month and everything worked quite well so far. However, since yesterday I am unable to edit or delete music or playlists that have been matched or uploaded to the cloud by iTunes Match. Every time I try to make chang

  • Exported PDF Shows Images in Adobe Reader X, but Not in Acrobat 9

    I have a user who created and exported a pdf from InDesign. Now when they open it in Acrobat 9 it doesn't display all the images that were added. The Windows XP document preview pane displays the document correctly and if it's opened in Reader X it d

  • Column View won't display some images downloaded by browser

    I have used the "Preview" in Column View to display images for some time and some images downloaded to folders will never display. The wheel just spins in the display area and CMD-i doesn't display the image either. If I open the image in the Preview

  • Using Comm API with Web Start

    I am trying to use Sun's Comm API with Web Start so I can access COM1 from my application. When the application starts, I receive an exception for the CommPortIdentifier. When I run this application as a standalone, it works fine. I have to assume th