Server hangs and session variable value not maintained.

dear all,
this is exteremetly urgent. i upgraded my tomcat to 4.1.24.but i have problems running the same code which was working earlier, i get null in the value of session variable. and also get the following error
////////////////error got /////////////
Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:317)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext
.java:473)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:190)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
95)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
rValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22
3)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:594)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:619)
at java.lang.Thread.run(Thread.java:536)
///////////////end of error messsge ////////////
the code where i am getting this message is as follows
<%@ page session="true"%>
<HTML>
<HEAD><TITLE> LOGGED IN ok</TITLE> </HEAD>
<%@ page import="java.sql.*" %>
<%! // declaring variables
String s = "";
java.sql.ResultSet rs=null;
java.sql.Connection con;
java.sql.Statement stmt=null,stmt1=null;
String username = "";
String password = "";
String Ousername = "";
String Opassword = "";
String changepass="";
String usertype ="",useremail="",EmpName="";
%>
<body>
     <%      
     try
     //set session for max of 100 milliseconds
     // session.setMaxInactiveInterval(10000);
     Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
     con = java.sql.DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};" +"DBQ=c:/vishal/HelpDesk.mdb;DriverID=22;READONLY=false","","");
          stmt = con.createStatement();
          s = "select * from LoginUser";     
     username = request.getParameter("LogonId"); //get this through prev. form
     password = request.getParameter("txtPassword");
     out.println(username + " " + password);
     // make explicitly to lower case
     username = username.toLowerCase();
     rs = stmt.executeQuery(s);               
                    while(rs.next())
                    //getting data from database
                    Ousername = rs.getString("EmpName");
                    Opassword = rs.getString("Password");
                    useremail = rs.getString("EmailId");
                    usertype = rs.getString("UserType");     
                    if(Opassword.equals(password) && Ousername.equals(username)) //found match correct entry
                         changepass = request.getParameter("PasswordNew");
                         if(changepass != null)
                         stmt1 = con.createStatement(java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE,java.sql.ResultSet.CONCUR_UPDATABLE);     
                         s = "update LoginUser set Password = '" + changepass + "' where EmpName = '" + username +"'";
                         out.println(s);
                         stmt1.executeUpdate(s);
                         stmt1.close();
                         if(usertype.equals("User") == false)//ie admin
                         session.setAttribute("username",username);     
************************this value not maintained *********************
                         session.setAttribute("useremail",useremail);
                         session.setAttribute("usertype",usertype);
************************this value not maintained *********************
                         //closing connections
                         %>                                                       
                              <jsp:forward page= "ComplaintType.jsp" />                         
                         <%
                         else //user
                         EmpName = username;
                         session.setAttribute("EmpName",EmpName);                         
                         session.setAttribute("useremail",useremail);
                         //closing connections
                         %>
                         <jsp:forward page="ComplaintCategory.jsp" />
                         <%     
                         }//end if
                    }//while loop                                   
                    //first closing connections then forwarding                    
     %>
                    <jsp:forward page="InvalidLOGIN.jsp" />
                    <%     
                    ///rs.close();
                    ////closing
                    //stmt.close();
     // con.close();
     }//try
          catch(Exception ep)
          out.println(ep);
          System.exit(1);
     %>
</BODY>
</HTML>

hi all,
thanx a lot for your help,specially hari52
hari52 strangely enough the code started working,but
now i have another problem
after a while my server hangs or gets shutdown ,a
message is shown as
"java.exe has generated error and will be shutdown"
i know that more connections can be a prob. but i
make sure that connections r closed on each page,also
i am a newbie and do not have the time at present to
learn abt. connection pool ,can this problem be
solved easily?
it would be a great help again on your part,
thanx again,You remove the System.exit(1) line from the code inside the catch block
and try again. That's the reason tomcat getting down. System.exit(1) should not be used inside jsp. it will make the underlaying Servlet Engine to shutdown.

Similar Messages

  • Direct database request and session variable value

    Hi,
    I have a problem by doing the following : idea is to have report with a list of all tables in user schema (which are not all in repository physical layer).
    By clicking on the name of any, should bring answer report which is done as direct database request doing basically select * from table_clicked (this will be basically the same table with sufix _err holding error rows).
    What I'm trying to do is having some kind report for error rows which can be in different tables in my database. So i had in mind to construct name of table i need , and pass it to database request through session variable. Am i doing right by doing direct database request like this :
    select * from 'VALUEOF(NQ_SESSION.TestVar2)'
    Is there another easyer way of doing this? I know this can be done by gourl by passing parameters but not sure how when i can't filter columns in direct database request (this can be different tables with different names of columns). I hope i didn't complicated this too much.
    Thnx in adwance

    Hi,
    I know this is a hack, and would be much more easy to create one table with dimension and measures, but this is intended to be used with code generator, which can produce different error tables with different column names in different time: It is not conviniet for somebody to add them to repository every 5 minutes. For example : i run my workflow and for first run I have errors in table1(let us say customer table with 30 columns) and if click on the table name in some answer report, i want to see all the bad records in the table. Tomorrow after the run, there are bad records in table1 and in table2 (lets say products) so I would have choice to pick table 1 or table2 and see al the bad records in any of these tables. This means that I can not now which tables will I have tomorrow, and as it is generic, I can manually add some tables in my model, and would have to add err table also as a possibility to have error rows?
    I saw post saying that you can pass parameter value by using go url functionality, by modifying configinstance file, but didn't suceed - http://gerardnico.com/wiki/dat/obiee/logical_sql/obiee_session_variable_go_url . Maybe some mistake or any better solution? I created session variable TestVar2, also modified instanceconfig.xml by adding this before </ServerInstance>
    <ParamList>
    <Param name="NQ_SESSION.TestVar2" source="url" nameInSource="SETVAR"/>
    </ParamList>
    and used go url in column formula : ''||"Physical Targets"."Physical Table"||''
    Can I use @1 for using first column value?
    Thnx

  • NAC guest server hangs and guest portal is not working

    Hi all ,
    Our guest nac server NAC3315 is oftenly getting hung state . And our guest wireless network is not working . We are able to ping the NAC server but web page is not opening for the clients if they connected to guest network.
    Any clue on this ....
    Thanks!,
    Regards,
    Vijay.

    All  actions within the Cisco NAC Guest Server are logged into the database.  This enables you to see any action that occurred as part of the normal  operating process of the application.
    To access the system log from the administration interface select Server > System Log from the left hand menu
    Please check the Error Logs for troubleshooting of NGS

  • How to pass session variable value with GO URL to override session value

    Hi Gurus,
    We have below requirement.Please help us at the earliest.
    How to pass session variable value with GO URL to override session value. ( It is not working after making changes to authentication xml file session init block creation as explained by oracle (Bug No14372679 : which they claim it is fixed in 1.7 version  Ref No :Bug 14372679 : REQUEST VARIABLE NOT OVERRIDING SESSION VARIABLE RUNNING THRU A GO URL )
    Please provide step by step solution.No vague answers.
    I followed below steps mentioned.
    RPD:
    ****-> Created a session variable called STATUS
    -> Create Session Init block called Init_Status with SQL
        select 'ACTIVE' from dual;
    -> Assigned the session variable STATUS to Init block Init_Status
    authenticationschemas.xml:
    Added
    <RequestVariable source="url" type="informational"
    nameInSource="RE_CODE" biVariableName="NQ_SESSION.STATUS"/>
    Report
    Edit column "Contract Status" and added session variable as
    VALUEOF(NQ_SESSION.STATUS)
    URL:
    http://localhost:9704/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FQAV%2FTest_Report_By%20Contract%20Status&RE_CODE='EXPIRED'
    Issue:
    When  I run the URL above with parameter EXPIRED, the report still shows for  ACTIVE only. The URL is not making any difference with report.
    Report is picking the default value from RPD session variable init query.
    could you please let me know if I am missing something.

    Hi,
    Check those links might help you.
    Integrating Oracle OBIEE Content using GO URL
    How to set session variables using url variables | OBIEE Blog
    OBIEE 10G - How to set a request/session variable using the Saw Url (Go/Dashboard) | GerardNico.com (BI, OBIEE, O…
    Thanks,
    Satya

  • Function to get session variable is not working

    I created a report based on the following sql query:
    SELECT EMPNO, ENAME, JOB, MGR, HIREDATE, SAL, COMM, DEPTNO FROM SCOTT.EMP
    WHERE DEPTNO = empcust.current_deptno
    empcust.current_deptno is a function which returns the value of the session variable. However, nothing gets returned. The value of the session variable is not found.
    I know that the session variable is being set b/c i have a procedure that sets it and prints out the assigned.
    This is my code for the current_deptno function. If anyone can help, i'd greatly appreciate it!
    procedure current_deptno
    return VARCHAR2
    as
    v_Session portal.wwsto_api_session;
    v_Return VARCHAR2(20); --DEPT.DEPTNO%TYPE;
    begin
    v_Session := portal.wwsto_api_session.load_session('PORTAL','SESS_EMP');
    v_Return := v_Session.get_attribute_as_varchar2('DEPTNO');
    htp.p('Return session var'||v_Return);
    RETURN(v_Return);
    end;

    Hi Imtiaz,
    Could you verify that the variable has indeed a value? You could check via the Session Manager in the Admin Tool. You could also check the Query Log to verify whether the Initialization Block is working like expected.
    Thanks.
    Daan Bakboord
    http://obibb.wordpress.com

  • Session variables is not recognized in my CFC

    Hi,
    I got a very weird problem today! I have created a simple
    login page ( username as an email and a password). This is post to
    the same page where I verify from a query if the username and
    password are valid. Once the query returns a RecordCount greater
    than 0, I create session variables to store the first name and last
    name of the user. I can see actually the session variables from a
    CFDUMP at that level.
    Since I am developping an application that will mix
    ColdFusion (mostly CFC) and Flex 3, I have created a CFC where I
    store functions needed for the Flex application. One of the
    function is fGetUserInfo where I try to collect the information I
    previously store in the session scope from the login - such as the
    first name. The system stop right there with an error saying that
    the session variables are not defined while I have the session
    variables appear at the bottom of the debug information in the same
    page. This is starting to be over my knowledge and I must missing
    an information to resolve this - in other words, I need your
    help!!!
    I include some code to understand that the problem is not a
    mispelling!!! ;-))

    I tried to change the savings of the user's information into
    cookies instead of the session scope but it does the exact same
    error (except it says Element TECHNICIANID is undefined in COOKIE).
    In fact, after a little break, I started to think about the
    method to access the functions inside the CFC. As it is remote, I
    though that it might have a sense of no life on the session scope.
    Than I though about the idea to transfer all the informations to
    the client with Cookie. CFCOOKIE work fine and I was kind of
    animated by my idea! I coded, I tried and it failed. I used at
    first the default value of the CFCOOKIE which consists to reside on
    the memory like a session but disapear when the user close his/her
    browser. So after the first fail I change the expiration for 30
    minutes but it failed again and for the same reason: Element
    TECHNICIANID is undefined in COOKIE.

  • Assessable value not maintained for the material X

    Dear all,
    i have maintained material chapter ID,Plant and materialchapter id  combination ,assessable value , cenvat determination, and vendor excise details in the transaction J1ID .
    Even after maintaining all these conditions , i am not able to save the po,while saving the po i got a error message that assessable value not maintained for the material X..
    Points will be rewarded for useful suggestions.
    Thanks in Advance.
    velu+91-9789991357

    Hi,
    Search using approriate keywords in SDN, u get most of the details, i have now done the same searched and have pasted below .
    Try ME2N.
    Click on the "dynamic selections" icon and add the release indicator as an additional selection. Enter the release indicators that you class as "awaiting approval" and you will then have your list.
    The ME2* series of transactions are not that much use prior to 4.7, the layout is poor. But if you have 4.7 or later you can get the screen to use the ALV format and this transforms the ME2* (i.e. ME2L, ME2M, ME2N etc.) transactions into VERY useful reports.

  • Query property "Save and reuse variable value" doesn't work in BW EHP1

    We have a workbook which contain 4 queries, every different worksheet is a different query.
    All the queries are on the Same InfoCube and all the queries use the same variables.
    In the properties of the query n.2 we set the parameter "Save and reuse variable values" then we refresh the 1st query and all work fine (the system asks the variable values) but when we refresh the 2nd query the system doesn't use the same variable values that we have inserted for the query n.1
    We don't have the same problem in 7.0.
    Any help is appreciated.
    Luca

    Hi,
    I suppose, you need to set the 'Save and reuse variable values' for each query individually in the workbook. I am not sure however there is a option where you can specify to apply the settings of one query to all queries in the work book.
    Please check and hope it helps.
    Regards,
    Adarsh Mhatre

  • BICS_PROV_GET_INITIAL_STATE and form Variables are not submitted

    Hi Team,
    We are geting following error message while running WAD reports on BI QA and Test system portal.
    Our issue is similar to the issue mentioned in SDN thread BICS_PROV_GET_INITIAL_STATE Exception
    - We are facing issue in refreshed systems.
    - Variable Entry Screen is displaying correctly.
    - After entering values once you click on "OK"  we are getting UNCAUGHT_EXCEPTION.
    - Support Desk tool is displaying green.
    - Same report is executing fine in Dev and Prod system.
    - BI Queries are running fine on Portal
    - Only WAD reports are giving exceptions
    - Support desk tool is showing green for everything.
    Error Message:
    Exception in BI runtime
    Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    System error in program BICS_PROV_GET_INITIAL_STATE and form Variables are not submitted (see long text)
    Log ID: 0018FE2D262B00A000000D68000032CA00047CFC82B5D87E
    Initial cause
    Message:
    Termination message sent ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION  MSGV1: SAPMSSY1  MSGV3: UNCAUGHT_EXCEPTION
    Stack trace:
    com.sap.ip.bi.base.application.exceptions.AbortMessageRuntimeException: Termination message sent ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION  MSGV1: SAPMSSY1  MSGV3: UNCAUGHT_EXCEPTION     at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:130)     at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:123)     at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:123)     at com.sap.ip.bi.base.application.service.RfcService.fillMessages(RfcService.java:221)     at com.sap.ip.bi.base.application.service.RfcService.doPostProcessing(RfcService.java:171)
    Please help me on this
    Thanks,
    Preethish

    Hi,
    Try filtering the queries with the values of variables entries included in the filters.
    Then include them in WAD report. If that works fine then it can be a memory issue.

  • Short text and number of outline not maintained error in BAPI_ENTRYSHEET_CREATE

    Hi Experts,
    I am using BAPI BAPI_ENTRYSHEET_CREATE' for creation of service entry sheets.
    I passed below data into the respective parameters
    Entry Header Sheet -
    SHORT_TEXT                
    THIS IS SAMPLE TEXT
    PO_NUMBER                 
    231002130
    PO_ITEM                   
    00010
    And just executed BAPI, I am able to get the ENTRYSHEET NUMBER.
    Next I tried passing below data again
    Entry Header Sheet -
    SHORT_TEXT                
    THIS IS SAMPLE TEXT
    PO_NUMBER                 
    231002130
    PO_ITEM                   
    00010
    ENTRYSHEETSERVICES:
    QUANTITY                             
    10.000
    BASE_UOM                  
    AU
    And then executed - I am getting an error saying 'Short text and number of outline not maintained'.
    My input file to  BAPI contains the structure as  PO, Item Number, Short Text for Service Entry sheet and Quantity.
    Please suggest if any ideas.
    Regards,
    Rafi

    Hi All,
    I resolved this. Please refer screen shots below for solution
    Below screen shots show about the data to be passed to BAPI_ENTRYSHEET_CREATE
    Regards,
    Rafi

  • HT1349 Actually, my iphone was hanged and its screen was not working at all .So, I updated its software from market but for reactivation it require icloud account but i didn't know how exactly it is and i was caught in big trouble . But i have its box and

    Actually, my iphone was hanged and its screen was not working at all .So, I updated its software from market but for reactivation it require icloud account but i didn't know how exactly it is and i was caught in big trouble . But i have its box and all other accessories .So , kindly help me as early as possible .Thankyou    and tell me about its solution
    <Email Edited by Host>

    Basic troubleshooting steps outline in the manual are restart, reset, restore from backup, restore as new.  Try each of these in order until the problem is resolved.  If you've been through all these steps and the trouble persists, you'll need to bring your phone to Apple for evaluation.  Be sure to make an appointment first at the Genius Bar so you won't have a long wait.
    Best
    GDG

  • How to find the Values of SAP Gateway Server Host  and Gateway Service Valu

    Hi All,
    I installed SAPR/3 4.7 EE on Windows. For configuring SLD and LDAP i am unable to give the SAP Gateway Server Host and Gateway Service values.
    Can any one plz suggest me how to find these values.
    Regds
    Phanikumar

    Hello, SAP Gateway Server Host and Gateway Service are used to set up rfc connectivity, that is the host name and the system number where your sld and ldap is responding, if you have no sld and no ldap , just simply uncheck that options while installing.
    Have a nice week end, Luciano.

  • After bios update, my window media player got hang and headphone clarity is not proper

    HP Pavilion g6  after bios update, my window media player  got hang and headphone clarity is not proper

    Hello mathewstays,
    Which model of g6 do you have? Which operating system? I'll be able to better assist when I know this information.
    Thanks,
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • Filter view with session variable does not display value properly.

    Hi All,
    I have a very unique issue and I am not sure if anyone ran into this before.
    I have a prompt in my dashboard and a link to a report. The session variable default the value to the current value (term)
    when I click the link to the report I get the following value, on the filter view of the report: Term Code Desc is equal to NQ_SESSION.CSA_Analysis_Term
    however if I click the go button in the prompt I get the value: Term Code Desc is equal to 2030 (2011 Spring)
    does anyone have a solution to this issue
    thanks

    Hello,
    Have the same issue. Any solution. Gurus plz help.
    thanks,
    deep

  • To pass new session variable value to stored proc before running a report.

    Hi,
    Below is summary of the report requirement -
    Database level design
    1. Created a view and a global temporary table (GTT)
    2. Created an Oracle package procedure to accept from and to business dates on basis of which it will fetch, process and populate the GTT.
    Repository level design
    1. Created a business model containing the view and the GTT (mentioned above)
    2. Created two SESSION variables "from_dt" and "to_dt" to be initialized by their respective init blocks. Each of the variable is initialized with a DATE column value (of type DATETIME) from a database lookup table. I have also set the option "Enable that variable to be set by any user" for both variables.
    Query for these variables :
    from_dt = select from_date from <table>
    to_dt = select add_months(from_date,12) from <table>
    Presentation level design
    1. Using a text box, i display the default/initialized values of these variables like this -
    Current business date:@{biServer.variables['NQ_SESSION.from_dt']} Future business dt:@{biServer.variables['NQ_SESSION.to_dt']}
    Dates get displayed in YYYY-MM-DD 00:00:00 format
    The text msg displays these default dates and allows the user to specift different date range for which i create prompts as shown below.
    2. Using any random two columns of date type from the business model, i create two date dashboard prompts with labels "From Dt" and "To Dt".
    i select Calender Controls for both; setting Default To = Report Defaults.
    The Set Variable is set to Presentation variables - such that pv_from_dt maps to "From Dt" and pv_to_dt maps to "To Dt".
    3. i create the report using the business model created above. In the report "Advanced Tab" => "Prefix" field i specify the following -
    SET VARIABLE from_dt='@{pv_from_dt}',to_dt='@{pv_to_dt}';
    Note : The logic here is to display the default dates and allow user to specify different date values which will be stored in presentation variables.
    If the user does specify different "from dt" and "to dt" values, then using the presentation variables, i want to "write" back these new values to the corresponding session variables mentioned above.
    If the user does not specify different date range, then the default/initialized dates must be considered.
    I also display the default and new date values in the report title.
    Back to Repository level design
    To execute the stored procedure that will load the GTT before running the report I need to pass two date parameters to the stored procedure on basis of which it will fetch data, process and populate the GTT.
    In the Connection Pool --> Connection Script Tab --> Execute before query, I wrote the below query using the repository variables FROM_DT and TO_DT to execute the procedure -
    DECLARE
    v_from_dt date;
    v_to_dt date;
    BEGIN
    v_from_dt := VALUEOF(From_Dt);
    v_to_dt := VALUEOF(To_Dt);
    package_name1.package_body(v_from_dt,v_to_dt);
    END;
    Now when i try to run the report i get the following error :
    [nQSError: 10058] A general error has occurred. [nQSError: 23006] The session variable, NQ_SESSION.to_dt, has no value definition. (HY000)..
    Need help on this.
    Is it possible to "write back" a new value to a session variable ?
    Any other alternatives.
    Thanks
    Nusrat
    Edited by: user10309945 on Jan 24, 2011 10:08 PM

    Sandeep, I found a several topics where users describe saving values in DB through stored procedure or function. For example, [How to store OBIEE presentation level variable values in DB |http://forums.oracle.com/forums/thread.jspa?threadID=892006] I tried it and get an error
    *10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 14551, message: ORA-14551: cannot perform a DML operation inside a query ORA-06512*
    It's not a BI error. This error are generated by Oracle DB. If I write next:
    SELECT MyPLSQLFunction(p1,p2) FROM DUAL
    I get the same error.
    Oracle doesn't allow DML operations in SELECT.
    Did you relalize this feature yourself? Where did I mistake?

Maybe you are looking for

  • Deskjet 3050 J610 Wifi Printing on Windows 8.1

    So I've successfully Connected my printer wirelessly to my router. Its an HP Desjet 3050 J610 Series.  Steps reproduced. - Installed Drivers (Run as admin) - Setup Printer over Wifi via HP setup. Success. I'm even able to ping my printer! - Print a t

  • 4th Generation Ipod Syncing problem

    I just got a used 4th Generation 20gb. I have downloaded the latest version of iTunes. Here is the error I keep getting "The ipod is synced with another itunes library. An ipod can synced with only one iTunes library at a time. What would you like to

  • Difference between At-new and on change of

    Hi, Can anyone send me the exact difference between At-new and On change of Thank You Santosh

  • Trace a particular MAC address

    Hi I run an apple network and I have a device somewhere on my network with the same IP address as my router! I know the MAC address (00:1e:52:7e:c2:31) of the rogue device, which I know is an Apple product - how can I find out what it is? Please help

  • Is Oracle Remote Printing utility - orarp licensed

    Hi, Wondering whether the oracle remote printing utility - orarrp is licensed. Its not supported by oracle metalink but usage at the utility involves and licensing. Best Regards, Ravikumar