Smartview 11.1.2.1 invalid session on Hyperion Distributed enviroment

Good day
We installed HFM Hyperion 11.1.12.1 in a distributed enviroment with 2 web servers , 2 app servers and 2 Reporting servers
Everything is working well ,but we encountered the problem on smartview 11.1.2.1 if we use web1 we get the this error in smartview if we create a private connection
"Invalid session.One Possiblity is that the session has timed out .Login again
If we use web2 and create a private connection it works fine
Both servers are identical
Windows 2008 R2 sp1 Hyperion 11.1.2.1
any ideas?
Regards
Chris

Do you use OHS?

Similar Messages

  • Error when connect to Smartview: Invalid Session ID

    We are using 9.2.1 and receive this error on our DEV server when trying to connect to HFM database using Smartview. Nothing changed over the weekend and I don't know when the last person used Smartview on DEV.
    When adding a new connection, can get to the window where the list of clusters are, then can pick a cluster and see the list of apps, but then once you click an app to see the database below it, get the Invalid Session ID message.
    Thanks
    Jeff

    Error seems to be driven by the fact that HFMWebserviceManager service is stopping every 5 seconds for some reason.

  • ORA-00026: missing or invalid session ID

    I am receiving following error, while executing a procedure kill_session
    EXEC kill_session('USERNAME');
    4329 267 TARIQ_CORE
    ORA-00026: missing or invalid session ID
    create or replace
    procedure kill_session (usr_2_kill in varchar2)
    as
    vsid    number(6);
    vserial number(6);
    begin
      for s_info in (select * from v$session where username=usr_2_kill)
      loop
         vsid    := s_info.sid;
         vserial := s_info.serial#;
         dbms_output.put_line(vsid||'  '||vserial||'  '||usr_2_kill);
         execute immediate 'alter system kill session(:v1,:v2) immediate' using vsid,vserial;
      end loop;
       EXCEPTION
          WHEN OTHERS
          THEN
             dbms_output.put_line(SQLERRM);
       END;

    malhi wrote:
    I am receiving following error, while executing a procedure kill_session
    EXEC kill_session('USERNAME');
    4329 267 TARIQ_CORE
    ORA-00026: missing or invalid session ID
    create or replace
    procedure kill_session (usr_2_kill in varchar2)
    as
    vsid    number(6);
    vserial number(6);
    begin
    for s_info in (select * from v$session where username=usr_2_kill)
    loop
    vsid    := s_info.sid;
    vserial := s_info.serial#;
    dbms_output.put_line(vsid||'  '||vserial||'  '||usr_2_kill);
    execute immediate 'alter system kill session(:v1,:v2) immediate' using vsid,vserial;
    end loop;
    EXCEPTION
    WHEN OTHERS
    THEN
    dbms_output.put_line(SQLERRM);
    END;
    Check your syntax ... it's wrong.
    TUBBY_TUBBZ?alter system kill session (99,16840);
    alter system kill session (99,16840)
    ERROR at line 1:
    ORA-00026: missing or invalid session ID
    Elapsed: 00:00:00.89
    TUBBY_TUBBZ?alter system kill session '99,16840';
    System altered.
    Elapsed: 00:00:00.57
    TUBBY_TUBBZ?

  • "is an invalid session name" error during publishing in workshop

    Hello, I use OSB workshop and WebLogic server.
    When I publishing my project I get error:
    javax.management.RuntimeMBeanException.java.lang.IllegalArgumentException: is an invalid session nameI tried to reinstall domain but there is the same result.
    Thank you for ahead for any suggestion.

    Have you checked Configuration Project -> Properties -> Oracle Service Bus Configuration -> Session name?

  • Invalid session : connecting from developer 6i to sql server 2000

    Hi ,
    I am facing the following problem for connecting to sql server
    2000 from oracle forms 6i.
    Oracle developer 6i(form builder 6.0.8.11.3)
    sql server 2000
    o/s windows 2000 server
    plus80.exe <username>/<password>@odbc:<dsn_name>
    SQL*Plus: Release 8.0.6.0.0 - Production on Tue Oct 24 17:36:56
    2000
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    Error accessing PRODUCT_USER_PROFILE
    Warning: Product user profile information not loaded!
    You may need to run PUPBLD.SQL as SYSTEM
    Server not available or version too low for this feature
    ORA-00022: invalid session id; access denied
    Connected to:
    Oracle Open Client Adapter for ODBC 6.0.5.29.0
    Microsoft SQL Server 08.00.0194
    SQL>
    pls help
    Thanks in advance
    Yogesh

    Hello ,
    this forum must have a attachment option , so it very easy for others to update their development
    Now how can i paste the procedure it have 6 - 8 pages and when i paste it, the words merge or join with others word, it become very difficult to read,,
    anyhow
    mail me i send the document
    [email protected]

  • Bea.jolt.ServiceException: Invalid Session

    Good day to all!
    I know that this is common problem, but if you kindly point me in the right direction, that would be more appreciated. I am currently running PT8.50 HRMS 9.1 DMO on Windows 7. The PIA is giving this error:
    CHECK APPSERVER LOGS. THE SITE BOOTED WITH INTERNAL DEFAULT SETTINGS, BECAUSE OF: bea.jolt.ServiceException: Invalid Session
    When logging in, I get that the app server is down. I am in familiar with why I see app server is down. I also believe that I understand why I am getting the above error. During installation, I put my own password for PTWEBSERVER as oppose to the default. I thought I updated the password with the default, but doesn't seem to work.
    I also understand to check the appserver logs, but I am not familiar where it is located, so if 'I could get the location of these logs, I will post the log and that would confirm if it is a password issue, or not.
    And if I need to uninstall and reinstall PIA, please tell me what I should do there. Thank you and Be Blessed

    Thank you for that helpful tip. I misunderstood Bob's post then. I though the updating was only if the acct was locked (which it wasn't because I checked). In any rate, I did rerun the script and the script was successful. Just to be sure, I logged into datamover via bootstrap mode and just typed in exactly the command that was given. I didn't miss anything I am assuming correct?
    I am still getting the same error message, even after updating the password. Here is the log, maybe this will help. Be Blessed
    ####<Nov 17, 2010 12:55:52 PM CST> <Notice> <Server> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152368> <BEA-002613> <Channel "DefaultSecure[7]" is now listening on 0:0:0:0:0:0:0:1:443 for protocols iiops, t3s, ldaps, https.>
    ####<Nov 17, 2010 12:55:52 PM CST> <Notice> <Server> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152368> <BEA-002613> <Channel "Default[4]" is now listening on fe80:0:0:0:0:100:7f:fffe:80 for protocols iiop, t3, ldap, snmp, http.>
    ####<Nov 17, 2010 12:55:52 PM CST> <Notice> <Server> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152368> <BEA-002613> <Channel "Default[7]" is now listening on 0:0:0:0:0:0:0:1:80 for protocols iiop, t3, ldap, snmp, http.>
    ####<Nov 17, 2010 12:55:52 PM CST> <Notice> <Server> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152368> <BEA-002613> <Channel "Default[3]" is now listening on fe80:0:0:0:1975:e9d2:ad58:81a3:80 for protocols iiop, t3, ldap, snmp, http.>
    ####<Nov 17, 2010 12:55:52 PM CST> <Notice> <Server> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152368> <BEA-002613> <Channel "DefaultSecure" is now listening on 10.10.10.10:443 for protocols iiops, t3s, ldaps, https.>
    ####<Nov 17, 2010 12:55:52 PM CST> <Notice> <Server> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152368> <BEA-002613> <Channel "DefaultSecure[5]" is now listening on fe80:0:0:0:741d:f596:ab4:94cd:443 for protocols iiops, t3s, ldaps, https.>
    ####<Nov 17, 2010 12:55:52 PM CST> <Notice> <Server> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152368> <BEA-002613> <Channel "Default[5]" is now listening on fe80:0:0:0:741d:f596:ab4:94cd:80 for protocols iiop, t3, ldap, snmp, http.>
    ####<Nov 17, 2010 12:55:52 PM CST> <Notice> <Server> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152368> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:818a:caaf:319d:8d73:80 for protocols iiop, t3, ldap, snmp, http.>
    ####<Nov 17, 2010 12:55:52 PM CST> <Notice> <WebLogicServer> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152368> <BEA-000329> <Started WebLogic Admin Server "PIA" for domain "INNOVATI" running in Production Mode>
    ####<Nov 17, 2010 12:55:52 PM CST> <Warning> <Server> <Kelvin> <PIA> <DynamicSSLListenThread[DefaultSecure]> <<WLS Kernel>> <> <> <1290020152368> <BEA-002611> <Hostname "Kelvin", maps to multiple IP addresses: 10.10.10.10, fe80:0:0:0:ad0e:4847:e1ac:9d13%23>
    ####<Nov 17, 2010 12:55:52 PM CST> <Info> <EJB> <Kelvin> <PIA> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152977> <BEA-010008> <EJB Deploying file: mejb.jar>
    ####<Nov 17, 2010 12:55:55 PM CST> <Notice> <WebLogicServer> <Kelvin> <PIA> <Main Thread> <<WLS Kernel>> <> <> <1290020155629> <BEA-000365> <Server state changed to RUNNING>
    ####<Nov 17, 2010 12:55:57 PM CST> <Notice> <WebLogicServer> <Kelvin> <PIA> <Main Thread> <<WLS Kernel>> <> <> <1290020157204> <BEA-000360> <Server started in RUNNING mode>
    ####<Nov 17, 2010 12:56:06 PM CST> <Info> <EJB> <Kelvin> <PIA> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020166611> <BEA-010009> <EJB Deployed EJB with JNDI name ejb.mgmt.MEJB.>
    ####<Nov 17, 2010 1:35:20 PM CST> <Info> <ServletContext-> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1290022520267> <BEA-000000> <ERROR: WebProfile loading internal default settings because of an Exception while communicating with "kelvin:9000">
    ####<Nov 17, 2010 1:35:33 PM CST> <Info> <ServletContext-> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1290022533121> <BEA-000000> <ERROR: WebProfile loading internal default settings because of an Exception while communicating with "kelvin:9000">
    Edited by: 792295 on Nov 17, 2010 11:41 AM

  • Invalidated Session

    I am running into an occasional session problem with one of my servlet applications. When this problem occurs, the HttpSession.setAttribute() method throws an IllegalStateException that the session has already been invalidated. My question is how do I handle this Exception. I would like to just give the user a new session. The req.getSession(true) is how I establish all my new sessions - but in rare cases this method is giving me an invalidated session. See the code snippet below:
    public void service (HttpServletRequest req, HttpServletResponse res) {
    HttpSession session = req.getSession(true);
    try {
    session.setAttribute("mykey", "myvalue");
    catch (java.lang.IllegalStateException ex {
    //help requested here...
    //create new session and assign to ServletRequest or ServletResponse??
    }

    Well, I don't think the sessions are not thread-safe, so if some other thread from some other request ends up invalidating the session, this could happen. It shouldn't happen normally, I would think. The session shouldn't invalidate itself after the service or doXXX methods are called. It would almost seem like it would happen by the user explicitly clicking a logout link before another request is completed.

  • Invalid Session Id: Oracle SOA 11g invoking Salesforce API WSDL

    Hi,
    We are integrating SOA 11g to SFDC through Salesforce Enterprise WSDL,
    BPEL process successfuly make call to SFDC using login operation by providing username and password.
    Login response such as session id and server URL is used to make subsequent call to other operation such as update. But BPEL process fail for this call and return error message saying
    "Invalid Session ID"
    But when I try to test from SOAPUI everything works fine.
    Below is the code snippet of call to update operation of SFDC from BPEL.
    <invoke name="Invoke2Update"
    inputVariable="Invoke2Updat_InputVariable"
    outputVariable="Invoke2Update_OutputVariable"
    partnerLink="SFDCEnterpriseWebservice" portType="ns1:Soap"
    operation="update" bpelx:invokeAsDetail="no"
    bpelx:inputHeaderVariable="SessionId">
    <bpelx:inputProperty name="endpointURI" variable="EndPointURI"/>
    </invoke>
    Please advise, Thanks inadvance.

    I had a similar issue, but i got around by assigning the header varliable to bpelx:inputHeaderVariable.

  • Invalid session id when logging in after logging out.(Stale session token?)

    When I logout and then login again I get an exception in the agent debug log which seems to indicate that it is trying to use the old session token. The agent is correctly seeing the logout event and redirecting to the logout page and then to the login page. Am I missing something from my cookie rest values? What values should I have there?
    amFilter:07/29/2009 04:06:23:141 PM EDT: Thread[WebContainer : 6,5,main]
    WARNING: {color:#ff0000}SSOTokenValidator.validate():{color} Exception caught: AQIC5wM2LY4Sfcxv06BBMMZtbjHlFhrdIBTHWoP23atm718=@AAJTSQACMDE=#
    {color:#ff0000}Invalid session ID{color}.AQIC5wM2LY4Sfcxv06BBMMZtbjHlFhrdIBTHWoP23atm718=@AAJTSQACMDE=#

    If you are being redirected to /amserver/UI/Logout the ssotoken id cookie should have been erased. Check that, and check in amFilter log what value of ssotoken id cookie in the request. It should change if you go to Logout then Login.
    Please provide more detailed information of the environment and behaviour.

  • Invalid session error when trying to transfer line items to shopping basket

    Hi All,
    I have a requirement in E-Commerce application.
    when a user searches for a product in B2B webshop in 'products' tab in left frame, search results table get displayed which will have a shopping basket icon for each line item.
    There we can transfer only a single item to shopping basket.
    if we want to transfer more than one item, again shopping basket icon has to be clicked..
    Now my requirement is that I have to add check boxes before each line item and a button below the results table ,so that when it is cliked, all the checked items should move to shopping basket in a shot.
    I added a button and called '/catalog/updateitems.do' (onclick of buttton) which is the action called when  'transferselection' button in 'productISA.jsp' is clicked.
    Now I am getting  an error saying 'Invalid session' when that button is clicked. I am not able to guess the reason.
    And also I want to ask experts, is this the correct way of proceeding for the requirement ?
    I am new to E-Commerce and any pointers in this regard will be of great help.
    Thanks,
    Anasuya.

    Hello Anasuya,
    Any reason why Catalog is not used but "Product" search list is used in the process? Catalog gives a more organized way of displaying and searching capabilities and makes the buying experience simple. Product search is a convenience tool for power users when you know the product.
    Without major UI changes - like de-framing, the use of Product search for "Add to Cart" of all "selected" products from search list will not excite the end users. Catalog is a powerful tool that is available to you. Unless you have a strong business reason, it is better to use the features the way they are intended. You need to go back to the drawing board with your customer.
    Anyway, I am assuming that you are doing a POC. I will give the same help I provided for your previous message on a similar topic. Re: Null poiner exception when trying to store extension data in existing BO.  We need to understand the basics of Servlet / JSP. Just adding any action (calling servlet) from any page (JSP) may not help. We must understand that the action (servlet) may be expecting many values in the request context which is available in the page (JSP) it was placed in. If that action is blindly placed in another page, it is highly unlikely that it will work, unless, you also took the pain to provide the servlet behind that action with the data it is expecting. So, adding the action from _'productsISA.jsp' _ in organizer-content-product-search1.jsp will have bad results. If you have done the required changes to the JSP, then let us know the changes you have done to really understand the issue.
    If you have not done so, here is what you can do for the POC. If you look at the JSP organizer-content-product-search1.jsp, it doesn't have any useful <INPUT tags that would pass on the Product data to the servlet. So
    Surround the product (tech key) with <Input tag. (Hint: see productISA.jsp)
    I am sure you already have this for the quantity1 and the new checkbox.
    Add a button to a custom action.
    inside the custom action read all the items and create a simple Java List of  BasketTransferItem. Use BasketTransferItemImpl to actually use the instance.
    Use methods setProductKey(String techKey), setQuantity(String quantity) and if you know the UoM use setUnit(String unit) to set the BasketTransferItemImpl object.
    Add each instance of BasketTransferItem to the java List.
    Now, place this list object in the request context under the attribute name baskettransferitemlist.
    On success forward to "addtodocument"
    Make proper changes to config.xml
    I hope this will work without much changes.
    (Note: This is not a cake served in a plate, but just a tested recipe for the cake. Please cook it nicely. If you need the cake immediately, then hire a Chef! - )
    Easwar Ram
    http://www.parxlns.com

  • Smartview: XML Load Error: An invalid character was found in text content.

    Hi,
    Im using hyperion 11.1.2.1 with SmartView installed with Office 2007. A lot of forms are working fine on it but we have entered data recently on a number of them and we are unable to open them in SmartView either through the icon and menu options in workspace or through the smartview panel in excel 2007. The error we are getting is "XML Load Error: An invalid character was found in text content."
    Cheers,
    Imran

    Have a look on Oracle Support - "SmartView XML Load Error: "An Invalid Character was Found in Text Content" [ID 968808.1]"
    It may be the same issue as you are experiencing.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • ORA-22: invalid session id;access denied

    Hi,
    I am getting the error: ORA-22: invalid session id;access denied when i switch responsability in fron end;
    How to solve this anyone have any idea...
    Thanks,
    kr

    What is the application release?
    Was this working before? If yes, what changes have you done recently?
    Try to regenerate the forms and relink the application executable files via adadmin, bounce the application services, and check then.
    [Note: 150860.1 - ORA-1001 and ORA-22 Navigating in Forms or Switching Responsibility|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=150860.1]

  • Invalid Session ID - cookie encode/decode

    Hello,
    I'm looking for the correct combination of cookie encode/decode parameters for my own setup.
    Machine am : AM Server 7.0 on WS6.1
    Machine amc : my own webapps using AM client SDK & protected by a Policy agent. 2.2 Everything within a WS6.1 container.
    After being redirected to AM, I obtain my iPlanetDirectoryPro cookie and my webapp can obtain a SSOToken using the SSOToken token = manager.createSSOToken(String) if obtain the String via Cookie accessor's method.
    No luck with SSOToken token = manager.createSSOToken(HttpServletRequest) which always gives a Invalid Session Id message. I know that this is an encoding problem but I tried many combinations & heard that these settings are not always well documented. I have at the moment :
    am server AMConfig.properties :
    com.iplanet.am.cookie.encode=false
    am client sdk AMConfig.properties :
    com.iplanet.am.cookie.encode=false
    policy agent AMAgent.properties :
    com.sun.identity.agents.config.sso.decode = false
    com.iplanet.am.cookie.encode = false
    Has somebody worked that out ?
    Thanks !
    nieuwenj

    Hi, am using this code:
    AMUtil.java
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.io.IOException;
    import javax.security.auth.callback.Callback;
    import javax.security.auth.callback.ChoiceCallback;
    import javax.security.auth.callback.NameCallback;
    import javax.security.auth.callback.PasswordCallback;
    import javax.security.auth.callback.TextInputCallback;
    import javax.security.auth.callback.TextOutputCallback;
    import javax.security.auth.callback.UnsupportedCallbackException;
    import com.sun.identity.authentication.AuthContext;
    import com.sun.identity.authentication.spi.AuthLoginException;
    import com.iplanet.am.util.Debug;
    * @author hjimenez
    public class AMUtil {
        private String loginIndexName;
        private String orgName;
        private String user;
        private String password;
         * Creates a new instance of AMUtil
        public AMUtil(String loginIndexName, String orgName) {
            this.loginIndexName = loginIndexName;
            this.orgName = orgName;
        protected AuthContext getAuthContext()
        throws AuthLoginException, com.iplanet.sso.SSOException, Exception {
            AuthContext lc = new AuthContext(orgName);
            AuthContext.IndexType indexType = AuthContext.IndexType.MODULE_INSTANCE;
            lc.login(indexType, loginIndexName);
            debugMessage(loginIndexName + ": Se obtuvo login context");
            return lc;
        private void addLoginCallbackMessage(Callback[] callbacks)
        throws UnsupportedCallbackException {
            int i = 0;
            try {
                for (i = 0; i < callbacks.length; i++) {
                    if (callbacks[i] instanceof TextOutputCallback) {
                        handleTextOutputCallback((TextOutputCallback)callbacks);
    } else if (callbacks[i] instanceof NameCallback) {
    handleNameCallback((NameCallback)callbacks[i]);
    } else if (callbacks[i] instanceof PasswordCallback) {
    handlePasswordCallback((PasswordCallback)callbacks[i]);
    } else if (callbacks[i] instanceof TextInputCallback) {
    handleTextInputCallback((TextInputCallback)callbacks[i]);
    } else if (callbacks[i] instanceof ChoiceCallback) {
    handleChoiceCallback((ChoiceCallback)callbacks[i]);
    } catch (IOException e) {
    e.printStackTrace();
    throw new UnsupportedCallbackException(callbacks[i],e.getMessage());
    private void handleTextOutputCallback(TextOutputCallback toc) {
    debugMessage("Se ejecut� TextOutputCallback");
    // Mostrar mensaje de acuerdo al tipo especificado
    switch (toc.getMessageType()) {
    case TextOutputCallback.INFORMATION:
    debugMessage(toc.getMessage());
    break;
    case TextOutputCallback.ERROR:
    debugMessage("ERROR: " + toc.getMessage());
    break;
    case TextOutputCallback.WARNING:
    debugMessage("WARNING: " + toc.getMessage());
    break;
    default:
    debugMessage("Tipo de mensaje no soportaado: " +
    toc.getMessageType());
    private void handleNameCallback(NameCallback nc)
    throws IOException {
    // asignar usuario
    nc.setName(this.user);
    private void handleTextInputCallback(TextInputCallback tic)
    throws IOException {
    // poner un prompt para obtener datos
    System.out.print(tic.getPrompt());
    System.out.flush();
    tic.setText((new BufferedReader
    (new InputStreamReader(System.in))).readLine());
    private void handlePasswordCallback(PasswordCallback pc)
    throws IOException {
    // asignar password
    String passwd = this.password;
    pc.setPassword(passwd.toCharArray());
    private void handleChoiceCallback(ChoiceCallback cc)
    throws IOException {
    // ignorar el valor default dado
    System.out.print(cc.getPrompt());
    String[] strChoices = cc.getChoices();
    for (int j = 0; j < strChoices.length; j++) {
    System.out.print("choice[" + j + "] : " + strChoices[j]);
    System.out.flush();
    cc.setSelectedIndex(Integer.parseInt((new BufferedReader
    (new InputStreamReader(System.in))).readLine()));
    public boolean login(AuthContext lc)
    throws UnsupportedCallbackException {
    boolean succeed = false;
    Callback[] callbacks = null;
    // obtener informaci�n del m�dulo solicitada
    while (lc.hasMoreRequirements()) {
    callbacks = lc.getRequirements();
    if (callbacks != null) {
    addLoginCallbackMessage(callbacks);
    lc.submitRequirements(callbacks);
    if (lc.getStatus() == AuthContext.Status.SUCCESS) {
    System.out.println("Login exitoso.");
    succeed = true;
    } else if (lc.getStatus() == AuthContext.Status.FAILED) {
    System.out.println("Login fallo.");
    } else {
    System.out.println("Estatus desconocido: " + lc.getStatus());
    return succeed;
    public void logout(AuthContext lc)
    throws AuthLoginException {
    lc.logout();
    System.out.println("Log Out!!");
    static void debugMessage(String msg) {
    System.out.println(msg);
    public String getUser() {
    return user;
    public void setUser(String user) {
    this.user = user;
    public String getPassword() {
    return password;
    public void setPassword(String password) {
    this.password = password;
    and call it from:
    import com.iplanet.sso.SSOToken;
    import com.sun.identity.authentication.AuthContext;
    import com.sun.identity.authentication.spi.AuthLoginException;
    import javax.security.auth.callback.UnsupportedCallbackException;
    import com.iplanet.sso.SSOException;
    import java.net.InetAddress;
    * @author hjimenez
    public class TestLogin {
        /** Creates a new instance of TestLogin */
        public TestLogin() throws SSOException {
         * @param args the command line arguments
        public static void main(String[] args) {
            try {
                // arg0 = LDAP arg1 = tecnet
                AMUtil login = new AMUtil(args[0], args[1]);
                // arg2=usuario arg3=pass
                login.setUser(args[2]);
                login.setPassword(args[3]);
                AuthContext lc = login.getAuthContext();
                if (login.login(lc)) {
                    SSOToken token = lc.getSSOToken();
                    System.out.println("Token asignado: "+token.getTokenID().toString());
                    String host = token.getHostName();
                    java.security.Principal principal = token.getPrincipal();
                    String authType = token.getAuthType();
                    int level = token.getAuthLevel();
                    InetAddress ipAddress = token.getIPAddress();
                    long maxTime = token.getMaxSessionTime();
                    long idleTime = token.getIdleTime();
                    long maxIdleTime = token.getMaxIdleTime();
                    System.out.println("SSOToken host name: " + host);
                    System.out.println("SSOToken Principal name: " +
                            principal.getName());
                    System.out.println("Authentication type used: " + authType);
                    System.out.println("IPAddress of the host: " +
                            ipAddress.getHostAddress());   
                    login.logout(lc); 
            } catch (AuthLoginException e) {
                e.printStackTrace();
            } catch (UnsupportedCallbackException e) {
                e.printStackTrace();
            } catch (SSOException e) {
                e.printStackTrace();
            }  catch (Exception e) {
                e.printStackTrace();

  • Invalid Session in Infoview

    Hi
    I am getting Invalid session when i try to refresh the WEBI report. I changed the 'Idle Connection Timeout' and 'Idle Document Timeout' value to 60 in WebIntelligeneceProcessingServer in CMC.
    But still i am getting Invalid session in Infoview.
    What should i do to resolve this issue. I am using XI3.1
    Thanks
    Venkat

    Hi Ashok
    Deski Error occurs during SQL generation of the query. This can be due to a number of reasons; for example the query doesn't involve any table in the database.
    Check the SQL associated with the objects involved in the query.
    Error WIS 10901 usally is coming from an incorrect ODBC configuration, try:
    1. Stop all the services from BO Central configuration Manager.
    2. Open odbc.sbo file located at "Program Files\Business Objects\BusinessObjects Enterprise 11.5\win32_x86\dataAccess\connectionServer\odbc"
    2. Go to parameter setting for "Generic ODBC datasource ".
    3. Change the value of "Transactional Available" parameter to No.
    4. Add this new parameter setting for "Generic ODBC datasource ": <Parameter Name="Autocommit">0</Parameter>
    5. Save and close the file.
    6. Start all the services from BO Central configuration Manager.
    7. Go to BO Web Intelligence, create a new web document and execute.
    Regards,
    Bashir Awan

  • Invalid session ITS

    Hi
    I get the problem like this....
    "invalid session
    you have tried to use a WWW session that has already been terminated. You should restart your session. If the problem persists you should close your world wide web browser and open it again."
    What would be the remedy for this? Thanks.

    Swarna,
    It seems that your session gets expierd.
    This happens after how much time (after opening a new session) ?
    Delete all cookies / history / temp data / cache from your browser,
    Try with Firefox and IE both, if the problem is same in both then the problem is with your ITS configurations else it is with one of the browser.
    It may also happen that your browser is set not to accept cookie or cookies are expiring immediately, check out these settings.
    Try increasing time out time for ITS of it is not set to a proper value.
    Regards,
    Yogesh...

Maybe you are looking for

  • ABAP , JAVA And XSLT Mapping Doc's

    Hi, I am new to SAP XI Any body please send me the Doc's Related to ABAP, JAVA And XSLT Mappings. Thanks in Advance. Regards Kiran.B

  • Index not used in DELETE

    Guys, I have an index on a table that is being used in SELECT but not in DELETE. Both DELETE AND SELECT are using EXISTS clause to join with another table. Even in SELECT, if I use "* from" the index is not being used. If I use "<column name> from" t

  • Is there a way to gather all shape layer and all text layers?

    Hi - I have 250 multi-layered PSD (CS5/Win) files.  Each file shows 2 views of a product.  Parts of the product are labels (Text layers with different words). Then Shape layer arrows point from the label Text to the specific point on the product.

  • Hotspot was working on ios 7 but in ios 8 its not working

    THeir are many video on downgrading iphone from ios 8 to 7 . Apple should give us this option of downgrading because i like ios 6 nd i cannot got to it . Ios have lots of hanging problem with it .

  • Safari and divx

    Dear mac-community, Just wanted to watch a divx stream ( http://divxhost.to/?Module=Details&HashID=FILE4AC3F45E70921# ) but there always occurs a mistake. This file is not a divx file. But if i´m opening the page on my windows one, it works. I have t