Interesting Session Exception...

Dear sirs,
I am getting some interesting Session scope Exception..
I am using the technology Struts, EJB with JBoss
I am using Session Facade and Service Locator as desin pattern
Now the scenario is given below,
I am requesting for a collection of Entity Bean by passing the request as given below,
Action Class -> Session Bean (Stateless) -> Service Locator -> Entity Bean(CMP)
I am extending my action class with org.apache.struts.actions.DispatchAction
When two users of different sessions are logging in to the application and accessing the same collection; only one user is getting the Collection.
I tried to print the session ID ob each users at the console. Before the request is made the session id of each user is different as given below,
User 1 : 257B112049648471974498E34F9B1EDC
User 2 : A674D5852CB31EA975929E833E5C90B4
But after getting the collection from the bean; when i printedthe session ID along with the Collection size; the console is printing the same session for both request as given below,
1. showMessage positionMap.size()==> 124 <=> Session Id A674D5852CB31EA975929E833E5C90B4
2. showMessage positionMap.size()==> 124 <=> Session Id A674D5852CB31EA975929E833E5C90B4
This means that the user with session "257B112049648471974498E34F9B1EDC" is not getting the collection. This problem is occuring when both users are requesting for the same collection simultaneously, I checked the beam part and service locator part. I think they are working fine.
The ServiceLocator Code is given below...
public class ServiceLocator implements ServiceNames{
     private static ServiceLocator serviceLocator = null;
     private static Hashtable<String,Object> ejbHomeCache = null;     
     private static Hashtable<String,DataSource> dataBaseCache = null;
     static{
          serviceLocator = new ServiceLocator();
     private ServiceLocator(){
          ejbHomeCache = new Hashtable<String,Object>();
          dataBaseCache = new Hashtable<String,DataSource>();
     public static ServiceLocator getInstance(){
          return serviceLocator;
     private static EJBHome getEJBHome(String serviceName, Class ejbHomeClass){
          EJBHome ejbHome = null;
          try{
               if(ejbHomeCache.containsKey(serviceName)){
                    System.out.println("%%%%%%%%%%%%%%%%%%%%%% from ejbHomeCache Remote HashTable");
                    return((EJBHome)ejbHomeCache.get(serviceName));
               }else{
               Properties properties = new Properties();
               properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
               properties.put(Context.URL_PKG_PREFIXES, "org.jnp.interfaces");
               properties.put(Context.PROVIDER_URL, "jnp://localhost:1099");
               InitialContext ctx = new InitialContext(properties);
                    Context ctx = new InitialContext();
                    Object jndiRef = ctx.lookup(serviceName);
                    Object objRef = PortableRemoteObject.narrow(jndiRef,ejbHomeClass);
                    ejbHomeCache.put(serviceName, objRef);
                    return ((EJBHome)objRef);
          }catch(Exception e){
               System.out.println("Error in getRemoteEJBHome()-Remote in finding Remote EJBHome ");
               e.printStackTrace();
          return null;
     private static EJBLocalHome getEJBHome(String serviceName){
          EJBLocalHome ejbHome = null;
          try{
               if(ejbHomeCache.containsKey(serviceName)){
                    System.out.println("%%%%%%%%%%%%%%%%%%%%%% from ejbHomeCache HashTable");
                    return((EJBLocalHome)ejbHomeCache.get(serviceName));
               }else{
                    Context ctx = new InitialContext();
                    Object objRef = (EJBLocalHome)ctx.lookup(serviceName);
                    ejbHomeCache.put(serviceName,objRef);
                    return ((EJBLocalHome)objRef);
          }catch(Exception e){
               System.out.println("Error in getEJBHome()-Local in finding Remote EJBHome ");
               e.printStackTrace();
          return null;
     public static ImportsVzaHeaderLocalHome getVzaHeaderLocalHome(){
          ImportsVzaHeaderLocalHome vzaHeaderHome = null;
          try{
               vzaHeaderHome = (ImportsVzaHeaderLocalHome)getEJBHome(VZAHeaderLocal);
          }catch(Exception e){
               System.out.println("From ServiceLocator's getVzaHeaderHome method Exception in finding the VzaHeaderHome ");               
               e.printStackTrace();
          return vzaHeaderHome;
/************************************END Of ServiceLocator *************************************************************/
Your help and suggestions solicited..

Hi,
In that case, wont there be conflicting if OS wants to
save the portion of the memory which the app server
wants to retain in the memory. Or even before that,
will OS give app server a chance to let it know, what
it (app server ) wants to send to harddisk ?The OS hands the JVM a fixed-size heap of memory to use when the JVM starts. Only the JVM can tell when it is running low on memory because the OS doesn't pay attention to how much of that pool is filled with data.
There is the possibility that an OS will swap some of the pages from that heap out to disk; however, a decent OS will only swap out memory on a least-recently-used basis.
Maybe a JVM could hint to the OS through a system call that some of its heap could be paged, but I doubt that they do that. The app server is in a good position to know when and what to page out because it is aware of how much heap space is available. It could do this paging on its own via -- you guessed it -- serialization.

Similar Messages

  • Stateful Session Exception

    Hi All,
    I've encountered a problem when integrating with the integrator.
    I've written a session bean which calls the integrator API to start workflow or execute
    task. The workflow will execute business operations defined in another stateful session
    bean. However, sometimes (not all cases) I encountered the execption as stated in
    the attachment and my operation fails to complete. Does anyone here know how to solve
    this problem? Thanks.
    Weblogic version is 6.0
    Weblogic integration version is 2.0
    Fred
    [workflow.txt]

    Thanks,
    V
    "Dimitri I. Rakitine" <[email protected]> wrote:
    Yup, this is exactly what is supposed to happen. RemoteException isA system
    exception
    and it is container's responsibility to, among other things, discard the
    bean instance.
    If you want different behaviour then throw a checked application exception
    (one which
    subclasses java.lang.Exception and not RuntimeException or RemoteException).
    Venki <[email protected]> wrote:
    Hi,
    Our statefull session bean gets deleted, whenever it throws Remoteexception.
    Actually the internal exception is caught and the method throws' RemoteException.
    After the exception the bean cannot be accessed from it's remote interface.All we
    get is the error saying the bean is removed or deleted. Is this a knownbehavior.
    All help appreciated
    Thanks,
    Venki
    Exception :
         = ===================================
         = ======= Reason ===================
         = ===================================
         java.rmi.NoSuchObjectException: Bean has been deleted.
         Start server side stack trace:
         java.rmi.NoSuchObjectException: Bean has been deleted.
         at weblogic.ejb20.swap.DiskSwap.read(DiskSwap.java:155)
         at weblogic.ejb20.manager.StatefulSessionManager.getBean(StatefulSession
         Manager.java:242)
         at weblogic.ejb20.manager.StatefulSessionManager.preInvoke(StatefulSessi
         onManager.java:313)
         at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:11
         7)
         at weblogic.ejb20.internal.StatefulEJBObject.preInvoke(StatefulEJBObject
         .java:170)--
    Dimitri

  • Include mutiple jsp gives multiple session exception ?

    Hi,
    I have a jsp in which apart from including the header.jsp and footer.jsp, I have to include the a.jsp or b.jsp depending on a condition. I had this code working fine on tomcat 5.0.27 but due to the hosting server change I have to downgrade the tomcat to 4.1.31. But now this code is giving the following exception :
    org.apache.jasper.JasperException: /videoclub/user_create.jsp(0,0) jsp.error.session.multiple
         at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:49)
         at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:383)
         at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:95)
         at org.apache.jasper.compiler.Validator$PageDirectiveVisitor.visit(Validator.java:120)
         at org.apache.jasper.compiler.Node$PageDirective.accept(Node.java:235)
         at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:983)
         at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:1025)
         at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:1031)
         at org.apache.jasper.compiler.Node$Root.accept(Node.java:187)
         at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:983)
         at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:1025)
         at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:1045)
         at org.apache.jasper.compiler.Node$IncludeDirective.accept(Node.java:274)
         at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:983)
         at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:1025)
         at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:1031)
         at org.apache.jasper.compiler.Node$Root.accept(Node.java:187)
         at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:983)
         at org.apache.jasper.compiler.Validator.validate(Validator.java:536)
         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:186)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    Any help is greatly appreciated.

    Hi
    What i understood from your problem is your button in
    the controller jsp file is not calling the another jsp.
    when ever page was not being called first we have to verify our
    application(project) log file.
    1.If servlet not found then it will display file not found
    exception.
    2.If this is the case then you should goto your jsp file1 and
    then see how your calling your anotherjsp. All the requirements for
    calling the jsp must be fulfilled
    3. If you pass all the parameters correctly then you should goto
    jsp2and see how it is receiving data from jsp1
    and displaying the page.
    4.If this is also correct then you should see how your tracking
    your session. there might be problem with your session. when
    session was being closed or if there is anyother problem with
    session the application may fail.
    5.If this is also correct then you should see any other objectsyou are activating are there with null values.
    6.If this is also correct then we can conclude that the problem might be with your appln server or webserver. first you should see in your appln server's or webserver's logfile(if exists). I hope these are the quite most possible reasons for any error
    which was thrown when jsp was not being called.
    you should see the error number in the browser,if it displays
    404 page not found error then it is clearly with the path and files.
    7)Please check with your browser whether it is accepting cookies or not.
    Regards,
    TirumalaRao.
    Developer Technical support,
    Sun Microsystems,India.

  • MDM Session Exception While Creating Web Services

    Hi all i am creating webservices over a java class. My Java class connects with MDM and fethes the data. When I am running my java class it is able to fetch the values from MDM but when i am exposing this method to web services I am getting request same as my method but the I am not getting any response, What i am getting is                                                                                "An error has occurred. Maybe the request is not accepted by the server:
    com/sap/mdm/session/MdmSessionContext" .  Also the response is
    HTTP/1.1 500 Internal Server Error
    Connection: close
    Server: SAP J2EE Engine/7.00
    Content-Type: text/xml; charset=UTF-8
    Date: Thu, 24 Sep 2009 17:04:02 GMT
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>com/sap/mdm/session/MdmSessionContext</faultstring><detail><ns1:java.lang.NoClassDefFoundError xmlns:ns1='http://sap-j2ee-engine/error'>com/sap/mdm/session/MdmSessionContext</ns1:java.lang.NoClassDefFoundError></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

    Hi,
    It looks like when you are running webservice it is not able to find some reference classes you might have missed to include one or more jar files while deploying the web service on server thats might be the  reason as when you are running Java class it is working fine.
    please follow below process and check if anything is missing.
    Right click on project -> Properties -> Java Build Path
    at this place you can see the reference projects and jar files in different tabs
    go to tab Order & Export and see if the desired jar file is selected or not if not select it and deploy the application again.
    Ninad

  • Session Exception

    Hi,
    When I try to log to the portal througth the gateway , i have get a message with authentication failed, and in the iwtLogging from debug folder the follow error :
    ERROR: LogService::process():
    com.iplanet.portalserver.session.SessionException: Invalid session ID 7sfkupufhybahnnrinxjrycio546727sn985o
    6@[email protected]@443@/verd
    and an other message in the iwtLogMgr :
    ERROR: LogManager::write::iwtHTTPProxy: Invalid session
    Can you help to fix the problem.

    If you are using IE, try clearing the cache and resending the request.
    If that helps, make sure that you set the option "Check for newer versions of stored pages" to "Every visit to the page" or "Automatic".

  • Safari has  disappeared in the sessions of all members of the house except

    We have 4 sessions on out mac, one for each family member. For no apparent reason, safari has disappeared on all session except the main one - can't seem to reinstall it anywhere else. any suggestions?
    Thanks

    Hi and welcome...
    We have 4 sessions on out mac, one for each family member.
    I think you mean accounts.
    Check the Applications folders in those accounts. See if Safari is there.
    Carolyn

  • How to raise an exeption in PL/SQL when the client session has terminated?

    Due to metalink Note:310924.1, I tried a similar demo script in my 10gR2 database;
    session 1)
    CREATE TABLE tbl_test(col1 NUMBER,
    col2 VARCHAR2(256));
    DECLARE
    v_client_ip_addr VARCHAR2(15) := '';
    v_sqlcode NUMBER;
    v_sqlerrm VARCHAR2(256) := '';
    BEGIN
    FOR i IN 1 .. 10 LOOP
    v_client_ip_addr := sys_context('USERENV',
    'IP_ADDRESS');
    INSERT INTO tbl_test VALUES (i, v_client_ip_addr);
    dbms_lock.sleep(5); -- 5 saniye uyu
    END LOOP;
    ROLLBACK;
    EXCEPTION
    WHEN OTHERS THEN
    v_sqlcode := SQLCODE;
    v_sqlerrm := SQLERRM;
    INSERT INTO tbl_test VALUES (v_sqlcode, v_sqlerrm);
    COMMIT;
    END;
    session 2)
    kill the process
    but result is not similar with the metalink note, no rows returned;
    SQL>
    Table created
    DECLARE
    v_client_ip_addr VARCHAR2(15) := '';
    v_sqlcode NUMBER;
    v_sqlerrm VARCHAR2(256) := '';
    BEGIN
    FOR i IN 1 .. 10 LOOP
    v_client_ip_addr := sys_context('USERENV',
    'IP_ADDRESS');
    INSERT INTO tbl_test VALUES (i, v_client_ip_addr);
    dbms_lock.sleep(5); -- 5 saniye uyu
    END LOOP;
    ROLLBACK;
    EXCEPTION
    WHEN OTHERS THEN
    v_sqlcode := SQLCODE;
    v_sqlerrm := SQLERRM;
    INSERT INTO tbl_test VALUES (v_sqlcode, v_sqlerrm);
    COMMIT;
    END;
    ORA-00028: your session has been killed
    SQL> select * from tbl_test;
    COL1 COL2
    Any comments will be welcomed,
    Thank you :)
    Kind regards.
    H.Tonguc YILMAZ
    Turkcell Ar-Ge, Yaz&#305;l&#305;m Geli&#351;tirme
    [email protected]
    "Learning is expensive, not more than unawareness."

    Confirm. That Metalink Note is incorrect.
    I've tested against Oracle 10G (1.2.0.1) using both dedicated and shared server connections. In both cases the exception handler did not catch the exception raised for a killed session.
    Interestingly the exception stack is slightly different between dedicated and shared server.
    Shared server:
    ERROR at line 1:
    ORA-00028: your session has been killed
    ORA-06512: at "SYS.DBMS_LOCK", line 201
    ORA-06512: at "BILLY.KILLTEST", line 9
    ORA-06512: at line 1
    Dedicated server:
    ERROR at line 1:
    ORA-00028: your session has been killed
    I did a minor modification to the code:
    connect scott/tiger
    drop table tbl_test;
    create table tbl_test (col1 number, col2 varchar2(15));
    create or replace procedure KillTest is
    v_client_ip_addr VARCHAR2(15) := '';
    begin
    for i in 1..10
    loop
    v_client_ip_addr := SYS_CONTEXT('USERENV','IP_ADDRESS');
    insert into tbl_test values (i, v_client_ip_addr);
    commit;
    dbms_lock.sleep(5);
    end loop;
    exception
    when OTHERS then
    insert into tbl_test values (0, 'exception');
    commit;
    end;
    exec killtest
    -- kill this session from another SQL*Plus session
    connect scott/tiger
    select * from tbl_test;
    It is not unusual that an application exception handler does not catch all exceptions - also not in PL/SQL. I recall other instances where I also had system related exceptions that could not be caught via an application exception handler in PL/SQL.
    This makes sense as a system related error could "damage" the PL/SQL engine's heap and stack to such an extent that it is unsafe to proceed with the execution of the engine. Thus any application handlers that the engine would have executed under non-system error conditions, are not executed at all.
    Whether a kill of a session translates into a such a serious system error to cause this, is of course debatable.

  • Org.xml.sax.SAXParseException in sessions.xml

    Hello,
    Recently I migrated a 10.1.3.4 project to 11.1.1.3 and than to 11.1.2.4. When I deploy the project to the IntegratedWeblogicServer org.xml.sax.SAXParseException exceptions are thrown regarding elements in the sessions.xml.
    session.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <toplink-sessions version="11g Release 1 (11.1.1.5.0)" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session xsi:type="server-session">
    <name>default</name>
    <primary-project xsi:type="xml">META-INF/kiMap.xml</primary-project>
    <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.Oracle11Platform</platform-class>
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    <datasource>jdbc/AlfaDS</datasource>
    <bind-all-parameters>false</bind-all-parameters>
    <byte-array-binding>false</byte-array-binding>
    <optimize-data-conversion>false</optimize-data-conversion>
    <trim-strings>false</trim-strings>
    <jdbc-batch-writing>false</jdbc-batch-writing>
    </login>
    </session>
    </toplink-sessions>
    Exceptions
    org.xml.sax.SAXParseException: <Line 9, Column 22>: XML-24534: (Fout) Element 'datasource' is niet verwacht.
    org.xml.sax.SAXParseException: <Line 10, Column 31>: XML-24534: (Fout) Element 'bind-all-parameters' is niet verwacht.
    org.xml.sax.SAXParseException: <Line 11, Column 30>: XML-24534: (Fout) Element 'byte-array-binding' is niet verwacht.
    org.xml.sax.SAXParseException: <Line 12, Column 36>: XML-24534: (Fout) Element 'optimize-data-conversion' is niet verwacht.
    org.xml.sax.SAXParseException: <Line 13, Column 24>: XML-24534: (Fout) Element 'trim-strings' is niet verwacht.
    org.xml.sax.SAXParseException: <Line 14, Column 30>: XML-24534: (Fout) Element 'jdbc-batch-writing' is niet verwacht.
    org.xml.sax.SAXParseException: <Line 15, Column 15>: XML-24521: (Fout) Element is niet voltooid: 'login'
    Translation
    is niet verwacht = not expected
    is niet voltooid = not complete
    Please help me with this configuration.
    With kind regards
    Martin
    Edited by: Martin Schaap on May 17, 2013 2:52 AM
    Edited by: Martin Schaap on May 20, 2013 10:31 PM

    In the session.xml schema it is a choice between driver-class/url and datasource, so you need to remove the driver-class tag as you are using a datasource.
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    <datasource>jdbc/AlfaDS</datasource>
    replalce with,
    <datasource>jdbc/AlfaDS</datasource>

  • Disabling Materialized View Logs for a session

    Hi all.
    I was wondering if it is possible to disable the fast refresh log for materialized views for just a given session. So for all other sessions except this one the log would be added to. I'm using 11g.
    In Oracle Database 11g, The Complete Reference on page 447 it states:
    "As of Oracle 11g, the capture of changes in materialized view logs can be disabled for an individual session while logging continues for changes made by other sessions". But no instructions are given
    Does anyone know how to do this? I have not been able to find the answer by looking around.
    Thanks!

    Yeah, I had saw that Oracle mentioned it here also: http://download.oracle.com/docs/cd/B28359_01/server.111/b28279/chapter1.htm#FEATURENO07197
    Any idea of what the code might look like? I've never had to alter an individual session for Oracle before.

  • How does one catch WebUtil exceptions?

    We are automating Microsoft Word using the CLIENT_OLE2 built-in. In some cases, our requirements demand that Word be running in a visible window. One of our processes automates the same Word session repeatedly -- when a user unwittingly closes Word, and our process attempts to further automate the now-closed Word session, exception WUO-714 is raised, and an alert is displayed.
    The WebUtil documentation indicates that logging can be configured silently log exceptions without an alert being displayed, but I cannot find a way to actually catch them. Our process could recover gracefully from the scenario described above by simply relaunching Word -- if only we could catch the exception!
    Has anyone else already figured out to accomplish this?
    Thanks,
    Eric Adamson
    State of Michigan

    Herzliche Begrüßen Gerd,
    Thanks for your reply -- the error occurs in a PL/SQL block. Since my initial post, I have discovered that my test code contained a WHEN OTHERS THEN NULL statement. (When coding blocks, I often complete them with NULL statements, as I compile very often, to simplify tracking down errors. This strategy works wonderfully, when I remain focused, but the distractions of researching WebUtil errors evidently led me to overlook my mistake. Perhaps others may learn from my embarrassing lesson.)
    In any case, I am now able to catch the exception, and to handle it appropriately. Most importantly, readers should note that it was necessary to change the WebUtilErrorMode entry in FORMSWEB.CFG. By default WebUtilErrorMode=Alert -- this causes the error alerts to pop up, regardless of whether/not the exception ultimately gets handled. I have set WebUtilErrorMode=Console.
    Thanks for reading, and congratulations on winning the match with Costa Rica!
    Regards,
    Eric Adamson
    Lansing, Michigan

  • Java.lang.IllegalStateException: setAttribute: Session already invalidated

    Hi All,
    I am installing webcenter sites 11.1.1.8.0 on remote linux machine but after say 80% of installation i am getting following error :
    [2013-10-07 16:44:06,603 IST] [ERROR] [http-bio-9084-exec-1] [fatwire.logging.cs.session] Exception checking security for table tt1381142463992
    java.lang.IllegalStateException: getAttribute: Session already invalidated
    My database in not on same machine.
    Kindly Reply If any one has faced this issue.
    Thanks,
    Pratush

    Probably the installation is taking a long time due to the remote connection. At the point of the install where it asks you to deploy the webapps and restart the application server, prior to restarting the application server you could raise the session timeout. You can find this in futuretense.ini in the WebCenter Sites installation directory, property cs.timeout. You can set it very high (hours) for the duration of the install, then lower it again afterwards if you wish.
    Installing can be painfully slow over remote connections e.g. X11 tunnelled over ssh. You could get a slight increase in speed by using arcfour cipher in ssh. For much better improvement you could use vnc on the server instead of X11 over ssh.
    Phil

  • Sessions/Login Problem

    I have an application that I am working on that allows users
    to take an online assessment. I have a login script that works at
    this point - BUT it is working WAY TOO WELL!
    I have an application file that sets the session.login
    variable to false (using a CFPARAM tag). Once they login, it sets
    that variable to TRUE, and sets some other variables such as user
    id and name and other stuff.
    This is what is happening -
    1. User logs in
    2. User is able to complete survey
    3. User closes the window.
    4. User (or anyone else that uses that computer) can go back
    to a secured page and take another survey.
    What should hapen -
    1. User should NOT be able to go back to the survey once
    taken - I take care of this at the end of the survey by setting a
    session variable and updating the user table. (This is not complete
    yet - and is not the source of the problem - YET)
    2. User should NOT be able to go back to a page once the
    browser is closed - they should definitely have to log back in.
    QUESTION - How can I clear all session variables on window
    close? Is this possible? I thought that closing a window would
    destroy the session data - but apparently not.
    Any advice?

    hi tony,
    I was jus reading the coldfusion documentation on session
    variables and hope this is of use to u...
    If you use ColdFusion session management, ColdFusion
    automatically ends sessions and deletes all Session scope variables
    if the client is inactive for the session time-out period. The
    session does not end when the user closes the browser.
    If you use J2EE session management, ColdFusion MX ends the
    session and deletes all Session scope variables when the user
    closes the browser, or if the client is inactive for the session
    time-out period. If the session times out, however, the browser
    continues to send the same session ID, and ColdFusion will reuse
    this ID for sessions with this browser instance, as long as the
    browser remains active.
    # In many cases, you can effectively end a session by
    clearing the Session scope, as shown in the following line. The
    following list, however, includes important limitations and
    alternatives:
    <cfset StructClear(Session)>
    # Clearing the Session scope does not clear the session ID,
    and future requests from the browser continue to use the same
    session ID until the browser exits. It also does not log the user
    out, even if you use Session scope storage for login information.
    Always use the cflogout tag to log users out.
    # If you use J2EE session management, you can invalidate the
    session, as follows:
    <cfset getPageContext().getSession().invalidate()>
    This line creates a pointer to the servlet page context and
    calls an internal method to reset the session. This clears all
    session information, including the session ID Session scope
    variables, and if you are using session login storage, the login
    information, for future request. However, the session information
    does remain available until the end of the current request. After
    you invalidate a session, attempts by the browser to access the
    application will generate an invalid session exception until the
    session times out.
    Note: You cannot destroy the session and create a session on
    the same request, as creating a new session involves sending
    session cookies back.

  • Strange device permanently logged into my account ...

    Hi,
    Question:
    Is there a temporary file on the server in my skype accout? I mean, an obsolete file that should have been deleted at the end of one of the skype sessions? And if yes, then is this file causing me problems calling certain overseas numbers?
    The problem:
    I noticed today that I can't call certain mobile numbers of abroad operators and phones are physically located abroad. Instead of an intermittent signal, I hear voice message "The number you selected is incorrect. Please review and try again." or something like this.
    Interestingly (not sure if related), that when I tried to call those two mob. numbers from a landline I had the same result.
    Started googlind and found skype chat comands (something happens when you enter them into a chat window): https://support.skype.com/en/faq/FA10042/what-are-chat-commands-and-roles
    One of those comands:
    /showplaces
    displays all instances of skype currently logged into an account:
    /showplaces
    You have 3 online endpoints:
    {abcdefgh-ijkl-mnop-qrst-uvwxyzabcdef}) mypc Linux Skype
    {f8a5a8af-xxxx-bcbe-yyyy-zzzzzzzzzzzz}) localhost Android Skype
    {d022f523-xxxx-3f23-yyyy-zzzzzzzzzzzz}) localhost Android Skype
    First device (fake ID of course) is my PC, second is probably my phone, third one might be a result of a corrupted temporary file.
    Please note that sections of ID sequences marked with "x", "y" and "z" are identical between each "localhost Android Skype" devices. Only the first and third sequences are different.
    I changed the password 3 times (incl. skype account recovery where you have to put quite specific data, whilst i another tab of the web browser, where I had logged in before, I was still able to manipulate the account). That did not change the list of logged in devices (and I didn't check if I was able to make a call to those two mobile numbers).
    Then I switched the phone completely off. Checked again with
    /showplaces
    and I still can see the above 3 devices, despite there should be only one now. However, I can call those two numbers now.
    Unfortunately in the end of that play I typed another coman:
    /remotelogout
    which kills all other sessions except from this one, from which such comand is executed.
    So looks like my problem is solved FOR NOW, but I still want to know what the hell happened.
    Please advise.

    Hello tinasmac
    If you are having issues with FaceTime for Mac, check out the following article to help resolve the issue.
    FaceTime for Mac: Troubleshooting FaceTime
    http://support.apple.com/kb/ts4185
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • "show in itunes store" command missing from video library

    updated to itunes 11.1, and ios7.
    This isn't a pro or con diatribe, just a list of the minorish bugs that i have noticed:
    First (probable?) bug:
    With the latest update, the (control click) "show in itunes store" command is missing from all video layouts (unwatched, shows, genres) except "list".
    I assume this is just a temporary bug, as it limits easy access to purchasable store content.
    This is especially important since "check for available downloads", while still around, has been, as far as i can tell, completely nonfunctional for months.
    I now have all my email notifications for passes turned on, and just manually click on the emails to download new content.
    However, especially for shows with extra content, sometimes the email doesn't download the actual show, just the extra content.
    for this reason, and for non pass shows, and just for general shopping and impulse buys, I liked to use the "show in itunes store" to easily check shows that i am currently interested in.
    except that now it is gone.
    Another (probable) bug:
    I have a lot of purchased content, so i have the cloud turned off to control the flow of menu information.  i don't need to see everything i have purchased all the time, only the newest shows that i actually have loaded onto the ipad.  I still just load in the shows i want to watch from my main computer after i have downloaded them from apple to the hard drive, which i guess is now a bit old fashioned.  ios7 doesn't seem to like this very much, as it initially displays the cloud content when opening the "video" app, before blanking and replacing it with the edited down version. But the real bug is this:
    Now when i delete a video on the ipad, it crashes the "video" app.
    And, instead of recognizing the delete when i sync to the computer, it ignores it and reloads the video onto the ipad.
    ......And finally:
    There is still a tendency for the ipad and itunes to throw up the "sign in" pop up, often multiple times in a row, anywhere and for no reason, even when i am already signed in. Sometimes i can just hit "cancel" and it disappears, other times it forces me to retype my password.  It's gotten a lot better and less frequent than when it first started earlier this year, but it's still around. 
    Having said this, I'm still, of course, a huge fan of the change earlier this year that keeps track of purchases and allows me redownload, instead of the old "lose it and its gone, tough luck" policy. 

    Ha.  Maybe it's just me then.  When i control click on a show, i'm getting:
    In Library/TV Shows:  Unwatched, Shows, and Genres:
    play "[show]"
    mark as watched
    mark as unwatched
    [depending on blue dot]
    get info
    rating
    show description
    show in finder
    reset plays
    show in playlist
    copy
    as opposed to, in List (and everywhere else):
    play "[show]"
    mark as watched
    mark as unwatched
    [depending on blue dot]
    get info
    rating
    show description
    show in finder
    show in itunes store
    get album artwork
    reset plays
    consolidate files
    new playlist from selection
    add to playlist
    show in playlist
    copy
    delete
    uncheck selection
    apply sort field
    I have my sidebar turned on, but it doesn't seem to make a difference if it is showing or not.
    I looked around in settings, view, and window for a way to modify the control click menu, but couldn't find anything.
    It's a very minor issue.
    If your menu is working, maybe I just need to delete my copy of itunes and reinstall.  Or change a setting somewhere.

  • Verizon Wireless keeps dropping the ball.

    Back in March 2012 I was tired of the billing issues T-Mobile had with Suncom UnPlan users and decided to start shopping for another account.
    My employer had a discount at all of the major Wireless Providers.
    I called Sprint then AT&T saving Verizon for last.  Both Sprint and AT&T had decent rates but when I called Verizon the sales agent made a compelling quote.
    He offered me the 2000 Minute Family plan with Unlimited Talk and Text for $120 for 5 lines.  He then offered me a smartphone for free with 4GB data for $30 more per month plus I would get a 20% discount.  This rate was within my budget and about the same as the rate I had with T-Mobile.  He gave me an estimate of the monthly cost and it was around the $150 rate.  I agreed to the deal and we conferenced with the 3rd party for the contract.
    I received my phones fairly quickly.  I also quickly noticed the Verizon Coverage was not as good as T-Mobile especially in my house.  Verizon shipped a free network extender to cover that gap.  After about 1.5 months of service I received my first bill and it was huge. They had charged me activation charges for the lines that was not discussed by the salesman plus they had added $50 of monthly line charges and partial pro rated line charges that I was not quoted.
    I called Verizon ready to disconnect. I ended up talking to Executive Support who corrected the billing but to my concern they did it by adding a "promotion" that would expire and I would have to call to have re-added once it expired. At least the bill was correct and I paid the same rate for a year as a loyal paying customer. Once the year had passed the "promotion" dropped and I had to go through a huge hassle to have it re-added again but they did, I was also encouraged to drop to the 1400 minute plan since I wasn't using very many minutes.
    In October 2013, I contacted Verizon exec support to see if I could take advantage of some phones Best Buy was selling and to make sure my rate would not increase.  The agent helped me do early upgrades and said everything should be fine. But, after the year was up they added the $50 monthly charges again.  I called back to have the bill corrected and they said they would contact a department to see if they can put the "promotion" back on my account.  I did not receive a call back. 1.5 months passed and I was getting the dirty Verizon calls where they didn't leave a message and answered one of them.  It was billing wanting me to make a payment.  I had been paying monthly, and the same rate monthly but they were wanting more but they had not contacted me back.  I was hung up on 2 times in the IVR system then finally spoke to an agent.  She promised to have a supervisor on the line and after about 45 minutes of trying she promised they would call me back which they did not.  I then contacted VerizonWireless on Twitter having a very public expression of my ordeal and also getting quotes from Sprint and AT&T responding to those very Tweets. AT&T wants my service for $155/mo for 5 lines, 2 smartphones, 10GB shared Data, unlimited talk and text which is very comparable to what I have been paying Verizon without the $50 line charges.   I finally was able to get an Executive support person on the phone and she was rude, un-understanding, and ended up rudely hanging up on me.  I called back to support and wanted to complain against her and her refusal to escalate along with the hangup.  I was promised again a callback.  At one point I had told the Executive support exactly what I want out of this situation.... either:
    1) Correct the billing, Remove the $50 monthly charges as my verbal agreement in the initial sales call was defined.
    or
    2) Remove all charges, no disconnect charges, we can wash our hands of each other and I will begin anew with AT&T.
    Before hanging up on me she offered a $200 one time credit but no permanent billing fix. She welcomed the disconnection of my service and offered no termination charges for one of my 2 lines still in contract.  I informed her I did not consider being within any contract once they breeched it by adding charges that were not agreed to in the original sales call/contract.
    After contacting Customer Service again the agent I spoke with was appalled by the way I was treated and assured me they would escalate to the level beyond the agent who hung up on me and promised a callback.  She also noted that the account shows they had offered a $200 credit every 4 months which exactly offsets those monthly charges and I told her that was EXACTLY the kind of thing that could resolve this for us and I was good with that.  She said she would apply the credit and it should show up within 3 business days.  I continued to check and almost 2 weeks passed. No credit has been added. 
    I called back again tonight 6/27 and asked the agent when the credit would be applied... She told me the credit was pending a supervisor approval and couldn't guarantee me that it will ever be applied.  I explained how many hours I worked on this and the time I have invested along with the mental anguish.  She wanted to consult with someone after she had me tell her the whole story again and was away from the phone for some times.  Once she came back she pushed the point everyone at Verizon wants to make telling me the promotion expired.  I had to keep explaining the promotion was only placed on my account to correct the billing issue caused by the rate the sales agent had sold the service to me.  I told her I didn't care what they wanted to call the price correction as long as my bill was back down to the affordable rate. She wasted 1 hour of my time tonight. Again I have the promise of a callback.  I thought 2 weeks again this issue was totally resolved but it appears it is happening again.
    Now I must mention the other issues I have had with Verizon.  And the other hours of calls related to the LG phones sent to me originally and how I had to send d back 8 piece of junk phones with issues such as charging issues, non responding keys, screen not responding, microphone failure, etc. And the torture it took to get Verizon to send replacement Samsung phones for these units. Verizon wrongly made me purchase all of the back plates and batteries instead of providing those. 
    Another issue was he hassle I had with BestBuy where they couldn't sell me the phones due to Verizon having my Droid Charge showing up as an Unknown Device in the system. This disrupted the BestBuy system and cost me hours of support on the phone/ at the store/ backing up lines. Etc. Best Buy was at the point where they were just going to give us the phones because of all of the trouble.  All of the trouble stemmed from how Verizon changed the phone to an Unknown device in punishment for having an unlocked device.
    Another issue was with coverage at my Son's college.  They had almost zero coverage and Verizon support put in a ticket to investigate.  They found it was due to coverage.  The agent that put in the ticket said they would provide him a range extender at no cost if they found it to be an issue with coverage.  When I called back to have the range extender shipped they balked. The person on the phone pretty much called me a liar and I had to go through executive support again to have the range extender sent to resolve his problems.
    All said, Verizon has an investment in me, they have provided 2 range extenders. The have corrected errors that resulted in activation fees. They corrected pricing errors by adding a counter acting "promotion".  They still are more expensive than AT&T even without those line charges.  Why can't I just have the original deal honored. Why does my time and investment selecting a service, listening to a sales pitch, accepting a deal, not count for anything?  Why must I spend hours on the phone to get things corrected?  Why was I sold a non-standard plan?  Why do I have to shop again for service?  Why not just honor the original deal?  Why is Verizon more expensive than AT&T?  Why does Sprint/AT&T/ and T-mobile have better coverage locally than Verizon?
    Please send this information to the CEO. 

    TonyD_VZ wrote:
    I'm not sure you fully read/understood my wordy post. A sales agent made an offer (verbal contract) which I used to select Verizon's service. There was no "pro ration" talk. I know most people probably physically travel to a dealer and make their wireless purchase, this was not the case for me. I did not sign a contract. I listened to the telephone salesman's sales pitch, entering into the contract on his word. I did not use any other method to "validate" his offer as I trusted him as an agent of Verizon Wireless and took his word much like you would accept the word of a car dealer if he told you the price of a car also included free oil changes and a free tank of gas monthly.  If you went to the dealer and they started charging for oil changes and gas after the sale was made based on the salesman's offer, it would be a breech of the verbal contract and it is very likely that a lawsuit would award the plaintiff a victory (If there was any way to prove the wording of the verbal contract). Lucky for me, Verizon  Wireless records their sales calls and a third party is engaged to verbally witness the contract "signing".  Though my wordy story is confusing due to the convolution Verizon has spun into this web, the issue here is entirely based on the initial offer I accepted from the sales agent. I would not have selected Verizon's service if the offer had been $50 more per month like they are now trying to charge me.
    I understood your post just fine.  What I am pointing out is the fact that the customer agreement specifically states no other "contract," verbal or written, overrides the customer agreement. 
    "This agreement and the documents it incorporates form the entire agreement between us.  You can't rely on any other documents, or on what's said by any Sales or Customer Service Representatives, and you have no other rights regarding Service or this agreement. This agreement isn't for the benefit of any third party except our parent companies, affiliates, subsidiaries, agents, and predecessors and successors in interest.  Except where we've agreed otherwise elsewhere in this agreement, this agreement and any disputes covered by it are governed by federal law and the laws of the state encompassing the area code of your wireless phone number when you accepted this agreement, without regard to the conflicts of laws and rules of that state."
    So, no, there was no other binding contract you or Verizon entered into.  Their customer agreement is quite clear about that.  No analogy or comparison to any other type of service or contract applies here.  You consented to the customer agreement which includes the above statement.   I am not saying I agree with it or like it, but that is the contract you agreed to. 
    The recorded call and third party witness won't help you.  It doesn't matter what the agent said, or what anyone witnessed other than the Verizon Wireless Customer Agreement.  Having said that, the contract for service doesn't include pricing, only that you will maintain service for the duration of the agreement.  The plan, pricing, and features are not part of it.  Neither is a guarantee of an employee discount.  If you have a discount that applies when you sign up for service and then change employers during that time, you will lose the original discount as it is not part of the contract.  Additionally, the customer agreement states that no class action lawsuits are allowed.

Maybe you are looking for