Oracle AS not able to handle servlet response

Hi
All my servlets when ran, Oracle 10g AS treats it as a file download instead of html.
In my servlet, I already set
response.setContentType("text/html; charset=UTF-8");
PrintWriter out = response.getWriter();
out.println();
What gives?
After I download the file and open with a text editor, it is showing the html I wanted to show.
Don't have this problem on other Application Server.
Please help. Thanks.

Found the error after searching the web for a long time.
PrintWriter out = response.getWriter();
response.setContentType("text/html; charset=UTF-8");
out.println();
Is the problem.
You must setContentType in response before you getWriter for out.

Similar Messages

  • Not Able to compile Servlet from ?

    Hi All,
    I am not able to compile Servlet from my package:
    1) I Have set the CLASSPATH Variable using below line in System Variables:
    C:\CC4\prog\jakarta-tomcat-4.1.30\common\lib\servlet.jar
    2) Also Set the CATALINA_HOME with value
    C:\CC4\prog\jakarta-tomcat-4.1.30
    as per above setting servlet should be compiled but still i m getting error message:
    1) C:\CC4\prog\jakarta-tomcat-4.1.30\project\classes\com\example>javac ListenerTest
    er.java
    ListenerTester.java:17: cannot resolve symbol
    symbol : class Dog
    location: class com.example.ListenerTester
    Dog dog = (Dog) getServletContext().getAttribute("dog");
    ^
    ListenerTester.java:17: cannot resolve symbol
    symbol : class Dog
    location: class com.example.ListenerTester
    Dog dog = (Dog) getServletContext().getAttribute("dog");
    ^
    2 errors
    2) Error while compiling other file:
    C:\CC4\prog\jakarta-tomcat-4.1.30\project\classes\com\example>javac MyServletCon
    textListener.java
    MyServletContextListener.java:12: cannot resolve symbol
    symbol : class Dog
    location: class com.example.MyServletContextListener
    Dog d = new Dog(dogBreed);
    ^
    MyServletContextListener.java:12: cannot resolve symbol
    symbol : class Dog
    location: class com.example.MyServletContextListener
    Dog d = new Dog(dogBreed);
    ^
    2 errors
    So what could be the posible solution here :
    do reply !!!
    please
    Thanks
    prabhat

    I have added servlet.jar in the classpath. But the program is not compiling.The error message says that it can not find classes like ServletConfig, ServletException, Cookie etc. Please help.

  • Not able to compile servlet

    Hello
    I would like some one to help me.
    I have WindowsXp professional on my Laptop. I downloaded jdk and I am able to compile and run the core java files.
    I downloaded j2sdk1.4.2_10 from the website www.java.sun.com. and then set the path in the environment variables. But in the command promt I was not able to compile the servlet.
    Could you please guide me about what more has to be done so that The servlet can compile.
    Thanking you

    **MAJOR SPAMMING SCUM BAG ALERT**
    I was puzzled in that you asked a SQL Server question in one post and then in another thread asked a Oracle related question... and then I noticed you had cross posted one of your questions at JavaRanch and I was more annoyed....
    and then I found this....
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=10&t=002447
    You sir -> Michael Byrd -> are a scum sucking dirtbag.
    To quickly explain. Mr. Byrd posts his messages (which he copies wholesale from other posters) so that he can get better google caching for the website listed in his profile.
    This is such scummy behaviour I don't even know what to say. Other than basically everyone that has ever helped you had totally wasted their time.
    You are scum. Your company is scum. I hope you rot in hell.

  • NOT able to compile servlet and EE java files

    hi
    i am not able to compile java files of servlet
    it is showing cannot resolve symbol for servlet classes
    since i have installed tomcat j2sdk1.4.2_06 and also facing problem with the classpath since i have to set the classpath everytime as i have already created it in environment variables
    show me the way out

    **MAJOR SPAMMING SCUM BAG ALERT**
    I was puzzled in that you asked a SQL Server question in one post and then in another thread asked a Oracle related question... and then I noticed you had cross posted one of your questions at JavaRanch and I was more annoyed....
    and then I found this....
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=10&t=002447
    You sir -> Michael Byrd -> are a scum sucking dirtbag.
    To quickly explain. Mr. Byrd posts his messages (which he copies wholesale from other posters) so that he can get better google caching for the website listed in his profile.
    This is such scummy behaviour I don't even know what to say. Other than basically everyone that has ever helped you had totally wasted their time.
    You are scum. Your company is scum. I hope you rot in hell.

  • BPEL server not able to handle load -- need to purge instances

    Hello All,
    I have deployed one BPEL process on 10.1.3.1 server. This process creates new instance every 1 minute. If this is not retired and kept running continuously it creates many instances (e.g. 3k - 11k) & at one stage not able to create & initiate new instance. Then currently we are purging all instances and then its working fine.
    How much load BPEL server can handle? And also would like to know how to increase this capacity. As in the production env we 'll face issue due to this.
    Kindly suggest.
    I need help.
    Thanks in advance
    Regards

    How much load BPEL server can handle? And also would like to know how to increase this capacity. As in the production env we 'll face issue due to this.
    It all depends on how many CPU you have on the SOA Suite server and how much memory you have allocated and the number of threads that are configured. You should plan perfomance tests and scale up / down your environment.
    http://orasoa.blogspot.com/2007/01/tuning-bpel-in-nutshell.html

  • Oracle FileSync: not able to find the Oracle Web Server

    Hi,
    I am having the OCS 10.1.2.3.0 on a Linux server. I am not able to create a mapping in the Oracle FileSync
    While Adding a mapping in the Web Server mapping wizard
    the http://<server>:<port>/<DAVRoot> i have given as per my server settings as http://server.domain.com:7778/content/dav
    but it is showing the error as
    The URL you have entered is not a valid Oracle web server
    Is this because of the Web Listener is not running in the server.. How to clarify this..?
    Thanks,
    Prasant
    Message was edited by:
    prasant

    Hi Arnaud,
    Yes , Oracle FileSync is a separate tool that can be used to Map folders in the web server and synchronize the files
    The issue is when i was trying to create a mapping, it ask for the Web Server URL for the first time
    its format is http://<webserver>:<port>/<DAVROOT>
    when I tried with my OCS server : server.domain.com
    Port: 7778
    DAVROOT: cmsdk/content or content/dav
    its showing that the WebServer you entered in the URL is not a valid Web Server
    NB: **** I am facing the same issue with the Oracle Messenger also..
    -- How can i verify that the Oracle Web Server is up in Linux and the Web Port that is listening..?
    Please update...
    Many Thanks,
    Prasant

  • Ajx problem with jsp .not able to show  ajax response data in table rows

    hi evryone
    i m new to ajax .i m not able solve this problem .pls help if anyone understood my problem
    probelm scenario is like this:
    take a example of shopping page where a field amount changes every time (time interval) ,the amount data is coming from database .ok...
    this i m trying to do with ajax and want to display the value in table rows one by one ..but response whihc i m getting is different .....same value is diaplying in evry rows .which i dont want
    the output it coming now is:like this
    item amount
    item 1 20
    item2 20
    item 3 20
    i want like thi s
    item amount
    item 1 20
    item2 30
    item 3 40
    even in database the value is 20,30,40
    here is the code of two jsp page
    one is ajaxitem_amount.jsp
    <%
    try
    stmt3 = con.createStatement();
    String itemQ="select item_ref_id,quantity from item_master where shop_ref_id="+shopid+" and (status is null or status<>'w') order by item_ref_id";
    //out.println(railQ);
    rs_details=stmt3.executeQuery(itemQ);
    while(rs_details.next())
    item2 = rs_details.getInt("ITEM_REF_ID");
    v.add(new Integer(item2));
    String aString = Integer.toString(item2);
    itemids.add(aString);
    Enumeration enum = v.elements();
    for (j=0; j<v.size(); j++)
    //out.println("v[" + j + "] = " + v.elementAt(j));
    sql3="select max(shop_amount) from shop_floor_temp where item_ref_id="+v.elementAt(j);
    rs_bid=stmt3.executeQuery(sql3);
    if(rs_price.next())
    last_price=rs_price.getDouble(1);
    if(last_price != 0)
    lprice= last_price;
    else
    lprice=1;
    out.print("<response>");
    out.print(lprice+"|");
    out.print("</response>");
    out.print("\n");
    catch(Exception ex)
    out.print("ERROR"+ex);
    // out.println("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
    _another is main shopping
    <td bgcolor="#C5B9AB" width="10%" align="center">
    <strong><font face="Verdana" size="2">Last price</font></strong>
    int tabrowcounter=0;
    while(rs_details.next())//some query
    tabrowcounter++;
    //*some more data is displayed here one by one all are working instead of this which i am calling from another page ajaxitem_amount.jsp page*
    <td bgcolor='<%=colorjava%>' width="50%" align="center">
    <div id="responseimage<%=tabrowcounter%>"></div>
    <div id="responseOutput<%=tabrowcounter%>"></div>
    <SCRIPT LANGUAGE="JavaScript">
    function createXHR<%=tabrowcounter%>()
    try { return new XMLHttpRequest(); } catch(e) {}
    try { return new ActiveXObject("Msxml2.XMLHTTP.6.0"); } catch (e) {}
    try { return new ActiveXObject("Msxml2.XMLHTTP.3.0"); } catch (e) {}
    try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) {}
    try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {}
    alert("XMLHttpRequest not supported");
    return null;
    function sendRequest<%=tabrowcounter%>()
    document.getElementById('responseimage<%=tabrowcounter%>').innerHTML ="<IMG SRC='load.gif'> ";
    document.getElementById('responseimage<%=tabrowcounter%>').style.display = 'block';
    document.getElementById('responseOutput<%=tabrowcounter%>').style.display = 'none'
    var url="ajaxauct_floor.jsp";
    var xhr = createXHR<%=tabrowcounter%>();
    if (xhr)
    xhr.open("get",url,true);
    xhr.onreadystatechange = function()
    handleResponse<%=tabrowcounter%>(xhr);
    xhr.send(null);
    function handleResponse<%=tabrowcounter%>(xhr)
    if (xhr.readyState == 4 && xhr.status == 200)
    try
    var data = xhr.responseText.split("|");
    //document.write(data);
    //updatePage<%=tabrowcounter%>(xhr.responseText);
    //document.write(xhr.responseText);
    setTimeout('sendRequest<%=tabrowcounter%>()',10000);
    for(var x=0;x<data.length-1;x++)
    //alert(data);
    document.getElementById('responseOutput<%=tabrowcounter%>').innerHTML = data[x];
    document.getElementById('responseimage<%=tabrowcounter%>').style.display = 'none'; // HIDE
    document.getElementById('responseOutput<%=tabrowcounter%>').style.display = 'block'
    //document.getElementById('responseOutput<%=tabrowcounter%>').innerHTML = data[0];
    //document.getElementById('responseOutput<%=tabrowcounter%>').innerHTML = data[0];
    catch(e)
    alert('1 '+e)
    sendRequest<%=tabrowcounter%>();
    </SCRIPT>
    </td>
    </tr></table>
    if anyone have understood my problem pls help me .i have tried lot but not working .anyone genius here ?thnak you

    thanks baluc
    thanks for correcting me and giving me a good advice .anyway i m trying make you understand once again ...
    if you have understood this time please do reply .else i m sorry for placing wrong question ....
    hi everyone
    I m new to Ajax .I m not able solve this problem .pals help if anyone understood my problem
    problem scenario is like this:
    take a example of shopping page where a field amount changes every time (time interval) ,the amount field* (this data is coming from database )
    this I m trying to do with Ajax and want to display the value in table rows one by one ..But response which I m getting is different.....same value is displaying in every rows .which I don't want
    The output it coming now is: like this
    item amount
    item 1 20
    item2 20
    item 3 20
    I want like this s
    item amount
    item 1 20
    item2 30
    item 3 40
    even in database the value is 20,30,40
    here is the code of jsp page
    one page is ajaxitemamount.jsp_*
    <%
    try
    stmt3 = con.createStatement();
    String itemQ="select item_ref_id,quantity from item_master where shop_ref_id="+shopid+" and (status is null or status<>'w') order by item_ref_id";
    //out.println(railQ);
    rs_details=stmt3.executeQuery(itemQ);
    while(rs_details.next())
    item2 = rs_details.getInt("ITEM_REF_ID");
    v.add(new Integer(item2));
    String aString = Integer.toString(item2);
    itemids.add(aString);
    Enumeration enum = v.elements();
    for (j=0; j<v.size(); j++)
    //out.println("v[" + j + "] = " + v.elementAt(j));
    sql3="select max(shop_amount) from shop_floor_temp where item_ref_id="+v.elementAt(j);
    rs_bid=stmt3.executeQuery(sql3);
    if(rs_price.next())
    last_price=rs_price.getDouble(1);
    if(last_price != 0)
    lprice= last_price;
    else
    lprice=1;
    out.print("<response>");
    out.print(lprice+"|");
    out.print("</response>");
    out.print("\n");
    catch(Exception ex)
    out.print("ERROR"+ex);
    // out.println("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
    another is main shopping page page 2*
    <td bgcolor="#C5B9AB" width="10%" align="center">
    <strong><font face="Verdana" size="2">Last price</font></strong>
    int tabrowcounter=0;
    while(rs_details.next())//some query
    tabrowcounter++;
    <td bgcolor='<%=colorjava%>' width="50%" align="center">
    <div id="responseimage<%=tabrowcounter%>"></div>
    <div id="responseOutput<%=tabrowcounter%>"></div>
    <SCRIPT LANGUAGE="JavaScript">
    function createXHR<%=tabrowcounter%>()
    try { return new XMLHttpRequest(); } catch(e) {}
    try { return new ActiveXObject("Msxml2.XMLHTTP.6.0"); } catch (e) {}
    try { return new ActiveXObject("Msxml2.XMLHTTP.3.0"); } catch (e) {}
    try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) {}
    try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {}
    alert("XMLHttpRequest not supported");
    return null;
    function sendRequest<%=tabrowcounter%>()
    document.getElementById('responseimage<%=tabrowcounter%>').innerHTML ="<IMG SRC='load.gif'> ";
    document.getElementById('responseimage<%=tabrowcounter%>').style.display = 'block';
    document.getElementById('responseOutput<%=tabrowcounter%>').style.display = 'none'
    var url="ajaxauct_floor.jsp";
    var xhr = createXHR<%=tabrowcounter%>();
    if (xhr)
    xhr.open("get",url,true);
    xhr.onreadystatechange = function()
    handleResponse<%=tabrowcounter%>(xhr);
    xhr.send(null);
    function handleResponse<%=tabrowcounter%>(xhr)
    if (xhr.readyState == 4 && xhr.status == 200)
    try
    var data = xhr.responseText.split("|");
    //document.write(data);
    //updatePage<%=tabrowcounter%>(xhr.responseText);
    //document.write(xhr.responseText);
    setTimeout('sendRequest<%=tabrowcounter%>()',10000);
    for(var x=0;x<data.length-1;x++)
    //alert(data);
    document.getElementById('responseOutput<%=tabrowcounter%>').innerHTML = data[x];
    document.getElementById('responseimage<%=tabrowcounter%>').style.display = 'none'; // HIDE
    document.getElementById('responseOutput<%=tabrowcounter%>').style.display = 'block'
    //document.getElementById('responseOutput<%=tabrowcounter%>').innerHTML = data[0];
    //document.getElementById('responseOutput<%=tabrowcounter%>').innerHTML = data[0];
    catch(e)
    alert('1 '+e)
    sendRequest<%=tabrowcounter%>();
    </SCRIPT>
    </td>
    </tr></table>
    if anyone have understood my problem please help me .i have tried lot but not working .anyone genius here ?thank you

  • Not able to handle Special Character in Bpel using UTF-8 Encoded XML

    I am using UTF-8 encoded xml for my application,but during conversion of XML from one source to other using simple BIOS java programme , i am not able to convert special characters like(Göblyös Tünde,Makaróni etc).All getting converted to (G�bly�s T�nde,Makar�ni etc).As a result data corruption occurred.Please let me know if any go across this issue.

    Hi,
    Possibly the data you receiving is not UTF-8... Have you check with the data provider?
    Try with other encoding... like ISO-8859-1 for example...
    oracle.soa.common.util.Base64Decoder.decode(zipname.getBytes("ISO-8859-1"));
    Cheers,
    Vlad

  • Oracle Messenger Not Able to connect to the server

    Hi All,
    I am working on OCS 10g 10.1.2.3 in a single box linux (RHEL ES Rel-3.0 taroon update 4)
    I am not able to connect the Oracle Messenger with the oracle server.
    While logging in, it is showing that 'Unable to connect to Server' message..
    Please update...
    Many Thanks in Advance.....

    hi,
    i am facing the same problem as u were. Plz help me and tell me how resolve this issue.
    i am using RHEL on server side and messenger is installed on windows XP

  • Oracle 10g Not able to loging in Window 7

    Hi All
    I have Installed the Oracle 10 g in my Laptop , the Operating System is Windows 7 Profisional (ut 64bit) oracle was installed successfully , after that i am not able to loging the oracle
    once i entered the Credential not able to login , screen i disappears , but same software installed in Window XP successuly login
    could you please provide me any septd need to do in window 7
    Thanks in Advance
    Regards

    Since Windows 7 was released after the 10g releases, the Installation Guide does not include Windows 7. In this case, the Certification should be checked before proceeding.
    http://www.oracle.com/technology/software/products/ias/files/fusion_certification.html
    From here, you will find that 10.1.2 is certified on Windows 7 only in some cases. For example, using iDS, it is certified on Windows 7 32 bit.
    You only said Oracle 10g, so perhaps you are on an Oracle Database version. If so, this is not a Forum for the Oracle Database product.
    ...Ken

  • Certain Oracle pages not able to be accessed

    For past few days I am not able to open any document from Oracle.com for e.g.http://www.oracle.com/technology/documentation/bi_se1.html and getting the error
    "Oops! this link appears broken"
    and also cant reach the pages of blogs as i am getting error as
    "This webpage is not available.
    The webpage at http://blogs.oracle.com/xmlpublisher might be temporarily down or it may have moved permanently to a new web address."
    Is there any problem with these Oracle pages. When will this get fine.
    Cheers!
    Vishnu T Ramakrishnan

    Same here. Can't access iTunes. Also, when I try to open the App Store all I see are the selections at the bottom but the screen is white. However, I can select Genius and view the images for the suggested apps, but clicking on any just results in a white screen again.
    The problem with the App Store started earlier today when I was installing a few updated apps. Like you, I'm using an iPhone 4S with iOS 6. I've tried quitting the app and also shutting down and restarting the iPhone. I've also tried syncing with iTunes on my MacBook Pro with no success. Next step is to re-install the app, once I figure out how.
    John

  • Oracle database not able to connect in network

    Hi all,
    I have one problem.I have created a new database in Oracle 9i.This database I am trying to connect as system user,with a password.I am able to connect the darabase
    locally,but I am not able to connect to this database in network.Lan connection and everything is oK.Its giving error as
    An error occurred while establishing the connection:
    Type: java.sql.SQLException Error Code: 17002
    Message:
    Io exception: The Network Adapter could not establish the connection
    can anyone help me out in this issue?
    thanks and regards
    Dhanesh

    You are attempting to connect to an Oracle instance using JDBC and you are receiving the following error.
    java.sql.SQLException: Io exception:
    The Network Adapter could not establish connection
    SQLException: SQLState (null) vendor code (17002)
    Any or all of the following conditions may also apply:
    1) You are able to establish a SQL*Plus connection from the same
    client to the same Oracle instance.
    2) You are able to establish a JDBC OCI connection, but not a Thin
    connection from the same client to the same Oracle instance.
    3) The same JDBC application is able to connect from a different
    client to the same Oracle instance.
    4) The same behavior applies whether the initial JDBC connection
    string specifies a hostname or an IP address.
    Also
    The Network Adapter exception is caused because:
    1. The database host name or port number is wrong.
    2. The database TNSListener has not been started. The TNSListener may be started with the lsnrctl utility.
    Please let us know where is the actual problem , then we can help you out.
    HTH
    Amkotz

  • ORACLE 10G - NOT ABLE TO CONNECT THRU EM

    HI , I NEED HELP FROM ORACLE EXPERTS PLEASE ,
    I HAVE INSTALLED ORA10G.
    FROM COMMAND LEVEL I CAN CONNECT AS SYSDBA .
    BUT FROM ENTERPRISE MGR I GET ERROR
    SQLException
    Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl)))
    But database in open .
    even from Net Manager , when I test the connection I get
    Attempting to connect using userid: sysdba
    The test did not succeed.
    ORA-01017: invalid username/password; logon denied
    There may be an error in the fields entered,
    or the server may not be ready for a connection.
    When I give command
    EMCTL START DBCONSOLE I get error
    ENVIRONMENT VARIABLE ORACLE SID NOT DEFINED
    I have tried to change all 3 sqlnet.ora / tnsnames.ora / listener.ora/
    here are samples .
    # listener.ora Network Configuration File: C:\oracle\product\10.1.0\Db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.1.0\Db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = orcl.world)
    (ORACLE_HOME = C:\oracle\product\10.1.0\Db_1)
    (SID_NAME = orcl)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.1.0\Db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = LOCALHOST)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl.world)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)

    When I give command
    EMCTL START DBCONSOLE I get error
    ENVIRONMENT VARIABLE ORACLE SID NOT DEFINEDYou need to define the ORACLE_SID environment variable for the db console to start.
    C:\> set ORACLE_SID=orcl
    C:\> emctl start dbconsole

  • I am not able to Post a Response or new Post on the AOL Boards using Firefox 4, so I use Firefox 3.6.17 (???)

    When I have updated to Firefox 4 using Windows XP (SP3), Win 7 Home Premium 64-bit or using Mac OS X (Snow Leopard) and I go to the [http://tinyurl.com/2gy8z46 AOL Message Boards] (AOL Browser, AOL & Your Mac for instance) I am not able to get my Reply Post to be entered. (or a NEW Post either)
    I '''am''' able to enter a Reply AND have it Posted using Firefox 3.6.17 and so that is the version I use and have to stay with unless there is a 'fix' for the lack of ability to Post on the AOL Message Boards using Firefox 4.

    As posted above, Firefox versions 4 and later require a Mac with an Intel processor and no longer run on a Mac with a PowerPC processor.<br />
    It says recommended, but it is now a requirement to have an Intel processor.
    *http://www.mozilla.com/firefox/7.0/system-requirements/
    *http://www.mozilla.com/firefox/3.6/system-requirements/

  • Jrun struts oracle jdc - not able to open pages

    Hi,
    I am using JRun4 / JDK1.4.2 with struts. I use Oracle JDBC for RDBMS.
    My prob:
    I am able to open the index page and created a login validation which is done by JDBC. Here I have a bean to validate the login and set the attributes accordingly. Now if I say submit with valid login details, it doesn't go to the next page.
    I have the following log info:
    2702 / 2738 19/09 14:38:44 info [axis] Tiles definition factory found for request processor ''.
    2703 / 2738 19/09 14:38:44 user FlashGatewayServlet: destroy
    2704 / 2738 19/09 14:38:44 user FileServlet: destroy
    2705 / 2738 19/09 14:38:44 error Session data is not serializable (ID=1a302046491095597421138) - session is lost
    2706 / 2738 19/09 14:38:44 info 1 session(s) persisted
    2707 / 2738 19/09 14:42:57 info JRunDataSource bound to JNDI under name ddd
    2708 / 2738 19/09 14:42:57 info JRun DataSourceService: Created JDBC XA Connection Pool named ddd
    2709 / 2738 19/09 14:42:57 info Bound a LinkRef from "DefaultDataSource" to the default DataSource "ddd"
    2710 / 2738 19/09 14:42:57 info JRun Web Server listening on *:9000
    2711 / 2738 19/09 14:42:57 info Deploying enterprise application "JRun 4.0 Internal J2EE Components" from: file:/C:/JRun4/lib/jrun-comp.ear
    2712 / 2738 19/09 14:42:57 info Deploying EJB "JRunSQLInvoker" from: file:/C:/JRun4/lib/jrun-comp.ear
    2713 / 2738 19/09 14:42:58 info Deploying enterprise application "default-ear" from: file:/C:/JRun4/servers/PPTU/default-ear/
    2713 / 2738 19/09 14:42:58 info Deploying enterprise application "default-ear" from: file:/C:/JRun4/servers/PPTU/default-ear/
    2714 / 2738 19/09 14:42:58 info Deploying web application "Struts Blank Application" from: file:/C:/JRun4/servers/PPTU/default-ear/
    2715 / 2738 19/09 14:42:59 info Web Services in default-ear#default-war:
    2716 / 2738 19/09 14:42:59 info AdminService
    2717 / 2738 19/09 14:42:59 user JSPServlet: init
    2718 / 2738 19/09 14:42:59 user action: init
    2719 / 2738 19/09 14:42:59 info [axis] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    2720 / 2738 19/09 14:42:59 info [axis] Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    2721 / 2738 19/09 14:43:00 info [axis] Initializing, config='resources.application', returnNull=true
    2722 / 2738 19/09 14:43:00 info [axis] Tiles definition factory loaded for module ''.
    2723 / 2738 19/09 14:43:00 info [axis] Loading validation rules file from '/WEB-INF/validator-rules.xml'
    2724 / 2738 19/09 14:43:00 info [axis] Loading validation rules file from '/WEB-INF/validation.xml'
    2725 / 2738 19/09 14:43:00 info Recovering 1 session(s)
    2726 / 2738 19/09 14:43:00 info Deploying web application "Struts Blank Application" from: file:/C:/JRun4/servers/PPTU/DevelopmentProjects.war
    2727 / 2738 19/09 14:43:00 user JSPServlet: init
    2728 / 2738 19/09 14:43:01 user action: init
    2729 / 2738 19/09 14:43:01 info [axis] Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    2730 / 2738 19/09 14:43:01 info [axis] Initializing, config='resources.application', returnNull=true
    2731 / 2738 19/09 14:43:01 info [axis] Tiles definition factory loaded for module ''.
    2732 / 2738 19/09 14:43:01 info [axis] Loading validation rules file from '/WEB-INF/validator-rules.xml'
    2733 / 2738 19/09 14:43:01 info [axis] Loading validation rules file from '/WEB-INF/validation.xml'
    2734 / 2738 19/09 14:43:01 info Deploying enterprise application "Flash Remoting EAR" from: file:/C:/JRun4/lib/flashgateway.ear
    2735 / 2738 19/09 14:43:01 info Deploying web application "Flash Remoting" from: file:/C:/JRun4/lib/flashgateway.ear
    2736 / 2738 19/09 14:43:01 user JSPServlet: init
    2737 / 2738 19/09 14:43:01 user FlashGatewayServlet: init
    =================
    Can anyone pl. help whatz goin on here???
    Thanks
    sara

    Hi, welcome to OTN form:
    Please paste OS /DB version.
    Please check below Step:
    In Windows:
    C:\Users\a000364>set ORACLE_SID=ORCL
    C:\Users\a000364>echo %ORACLE_SID%
    ORCL
    C:\Users\a000364>sqlplus / as sysdba;
    SQL*Plus: Release 10.1.0.5.0 - Production on Thu Nov 21 15:05:56 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    In Linux OS:
    bash-3.2$ export ORACLE_SID=ORCL
    bash-3.2$ echo $ORACLE_SID
    ORCL
    bash-3.2$ sqlplus "/ as sysdba";
    SQL*Plus: Release 11.2.0.3.0 Production on Thu Nov 21 15:06:58 2013
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>

Maybe you are looking for