Tomcat and JavaMail Sessions problem

I'm using Tomcat (with struts). I've configured my web application in server.xml to manage JavaMail Sessions:
          <Resource name="mail/Session" auth="Container" type="javax.mail.Session"/>
          <ResourceParams name="mail/Session">
               <parameter>
                    <name>mail.smtp.host</name>
                    <value>gandalf</value>
               </parameter>
          </ResourceParams>
Also, I've configured my web application deployment descriptor (web.xml) to use this resource:
<resource-ref>
     <description>JavaMail Resource</description>
     <res-ref-name>mail/Session</res-ref-name>
     <res-type>javax.mail.Session</res-type>
     <res-auth>Container</res-auth>
</resource-ref>
Now in the Java code I try to get the JavaMail session in this way:
private Context devuelveContexto() throws javax.naming.NamingException
initContext = new InitialContext();
return (Context) initContext.lookup("java:/comp/env");
public javax.mail.Session devuelveSesionMail()
throws javax.naming.NamingException
Context envContext = devuelveContexto();
javax.mail.Session mailSesion = (javax.mail.Session) envContext.lookup("mail/Session"); <--- this throws an exception
I'm doing all like is explained in Tomcat help web page 'JNDI Resources HOW-TO' but it doesn' work for me.
The exception raised is this:
java.lang.reflect.InvocationTargetException: java.lang.ClassCastException: javax.mail.Session
     at com.aplicacionesweb.evaluaciones.ddbb.CargadorRecursos.devuelveSesionMail(CargadorRecursos.java:76)
     at com.aplicacionesweb.evaluaciones.fases.actions.ConcertacionAction.enviarCorreo(ConcertacionAction.java:562)
     at com.aplicacionesweb.evaluaciones.fases.actions.ConcertacionAction.grabarConcertacion(ConcertacionAction.java:510)
     at java.lang.reflect.Method.invoke(Native Method)
     at org.apache.struts.actions.DispatchAction.perform(DispatchAction.java:236)
     at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1787)
Please help.

Problem solved. I had 'mail.jar' and 'activation.jar' in 'WEB-INF/lib' directory, causing a classes conflict.

Similar Messages

  • Wrapped connections and proxy sessions problem

    Hi!
    We upgraded to Weblogic 10.3.5 and my impression is that the behavior of the connection wrappers has changed regarding handling of proxy sessions.
    We use the SecurityServicesJDBC to get a connection, which is a wrapper around an OracleConnection.
    We then use the wrapper connection to open a proxy session with user name and password to check if the given credentials are valid.
    Most likely since the upgrade to 10.3.5 the password is ignored. Effect is that all users are logged in successfully, no matter what the passwords are.
    Workaround is to get the vendor connection from the wrapper and then open the proxy session on that.
    I wonder why the wrapper drops the password and doesn't pass it on. If there's a wrapper, shouldn't the method work as the same method on the vendor connection?
    This worked like a charm in 10.3.4 as far as I can tell. Has something changed in the wrappers?
    Regards,
    Sascha

    Hi. Are you sure you're comparing wls 10.3.5 and wls 10.3.4?
    There are two parts to this, wls and the driver. The driver
    did have an issue where using incorrect info for an openProxySession
    would kill the original connection. There was also a wls issue, but not
    (I think) between those two versions, where the exception thrown by
    the driver when/if incorrect info was passed to an openProxySession()
    call would be caught internally and ignored, so you would not get
    the exception you expected.

  • JSF & Tomcat 5 session problems

    I am implemeting a web application using JSF and tomcat authentication. The problem is that tomcat is losing the session when I hit refresh on any of the pages which are marked as havign a security constraint.
    e.g. you go to index.html -> takes you to login.jsp (as you need to log in first), you log in successfuly and go to index.html, you hit refresh and get taken back to login.jsp.
    Any help would be much appreciated.
    If anyone has implementign an app using tomcat authentication and jsf, I would be grateful if they could tell me how they are managing to overcome this issue.

    I have a similar question, but not about session timeout, but managing the data within your session. In our previous homegrown JSP Model 2 Framework, we had various methods in place to cleanup the session for a page (essentially allowing you to cleanup the managed beans after you were done with a page). Due to constant activity, the sessions never timeout, but there is "dead" data in the session. How would you do this in JSF? For example, lets say you go through a wizard set of screens, where once complete, you don't want the managed beans to exist in the session anymore. Where would you tap into the JSF lifecycle to do this?
    Thanks in advance,
    Dave

  • Problem with JNI and Tomcat (and threads???)

    Howdy,
    Here is the issue - I would like some help on HOW to debug and fix this problem:
    2 test use cases -
    1)
    a)User goes to Login.jsp, enters user and password
    b) User submits to LoginServlet
    c) login calls JNI code that connects to a powerbuilder(Yes I know this is ugly) PBNI code module (this is a .dll) that authenticates the user with the database
    d) the servlet then redirects to another .jsp page
    e) user then submits to LogoutServlet - also a JNI call to a powerbuilder PBNI code module
    f) REPEAT STEPS a-e over a few times (inconsistent) and then the call to the JNI code hangs
    2)
    a) users does NOT goto Login.jsp, but rather calls LoginServlet and passes the userid and password as GET parms
    b) user does NOT get redirected to a page (redirect code commented out)
    c) user calls LogoutServlet
    d) repeat steps a-c at will and no failure, no hanging
    The only difference is that in case 1 (with JSP), there is a redirect and it afffected the JNI call by haniging inside JNI code.
    In case 2 (without JSP) there is still a JNI call, but it does not hang. In addition, when it hangs and I stop Tomcat, the logs show cleanup entries that say:
    Oct 19, 2004 9:17:09 AM org.apache.catalina.core.StandardWrapper unload
    INFO: Waiting for 1 instance(s) to be deallocated
    Oct 19, 2004 9:17:10 AM org.apache.catalina.core.StandardWrapper unload
    INFO: Waiting for 1 instance(s) to be deallocated
    Oct 19, 2004 9:17:11 AM org.apache.catalina.core.StandardWrapper unload
    INFO: Waiting for 1 instance(s) to be deallocated
    Is this a threading issue in Tomcat???
    On would assume that the JNI code is not cleaning up after itself, but I don't believe this is the case,
    and even if it was, why would I get the tomcat log cleanup entries above???
    What do those cleanup entries imply about the state of Tomcat????

    hi ,
    I met the same problem this morning, and searched the www.google.com in order to solve it, as a result, your article was shown on my screen. :)
    Till now I have read some technical information and solved my problems. Maybe the solution be useful to you:
    ==============================
    error message : (Environment : Tomcat 5, Windows 2003, Mysql5)
    2006-3-29 11:53:48 org.apache.catalina.core.StandardWrapper unload
    message: Waiting for 2 instance(s) to be deallocated
    ==============================
    cause: the number of connection to database exceeded.another word,too many connections.
    ==============================
    solution: close the connection when it becomes useless for your program. :)
    ==============================
    ps. Sorry for my weak English . hehe ....

  • Problem with Frameset and page session

    All,
    I am having a problem with Framesets and page session attributes. I
    have a client who's application uses a three frame frameset. They
    have a requirement on several pages that when a button is pushed two
    different pages load into the right and left frames. The way they
    are accomplishing this is that on the pages were this is required,
    they are adding target="_top" to the form declaration in their JSP.
    Then they store the page names they want to display in session,
    forward the request to the frameset, the frameset then determines
    which pages to display based on the session variables. This works
    exactly how they want it to.
    Here is our problem. We need to store some information in page
    session attributes. We have tried to get a handle to the desired
    view bean and call the setPageSessionAttribute method. However,
    since we are forwarding to the frame and the frame handles displaying
    the desired JSP, that view bean we had the handle to is not the one
    that is created to hand the display of the JSP.
    The next thing I tried was to use the request object. In the
    handleBtnRequest method, I set an attribute in the request object. I
    then query the request object in the beginDisplay event of the view
    bean. When the frame is reset the request object does not contain
    the attribute that I have set. I'm confused by this because I
    thought the request object would be available to me throughout the
    life of the request.
    Given the above information, does anyone have any suggestions? Also,
    am I going about this in the wrong manner.
    The client had been storing this information in user session, which
    seemed to work. However, since the data being stored dealt
    specifically with data for the requested page, we felt that storing
    it as page session was more appropriate.
    Thanks,

    The script on your page web page has some obvious bugs.. Best
    fix those
    first before looking to blame Flash.
    Jeckyl

  • HT200169 Having a problem with Logic 9 on a Mac Pro.Working on a lenghty song and apparently session got corrupted.Doesnt let me export tracks,program crashes.Already tried start brand new session with the tracks imported into it but still wont export.Sug

    Hello,having a problem with Logic 9 on a Mac Pro.Working on a lenghty song and apparently session got corrupted.Doesnt let me export tracks,program crashes.Already tried start brand new session with the tracks imported into it but still wont export.Suggestions?

    Thanks, Ian. Yeah, that's how I do it now...or with the controls in the left side pane. Still, I would have liked that quick on-the-spot edit capability...especially while sketching.
    Ian Turner wrote:
    Sorry Mark, you are out of luck as it does not do that - it works the same as L8. The way I would achieve that with more accuracy and control would be to route all the tracks you want to fade to a Bus then use volume automation on the bus. To do this you will need to add a standard audio track, then re-assign it using (Control Click on the track header) to the Bus track. You can then automate volume/plugins etc on the Bus track.
    Ian

  • Java Session problem while sending mail(using javamail) using Pl/SQL

    Hello ...
    i am using Java stored procedure to send mail. but i'm getting java session problem. means only once i can execute that procedure
    pls any help.

    props.put("smtp.gmail.com",host);I doubt javamail recognizes the 'smtp.gmail.com' property. I think it expects 'mail.host'. Of course since it cannot find a specified howt it assumes by default localhost
    Please format your code when you post the next time, there is a nice 'code' button above the post area.
    Mike

  • Problem in configuring tomcat and apache

    I am using mod_jk to configure tomcat and apache. In the server.xml file in /TOMCAT_HOME/conf, I have added this line:
    <Listener className="org.apache.jk.config.ApacheConfig" modJk="/TOMCAT_HOME/mod_jk/mod_jk.so" />
    And when I restart the tomcat, I get this error:
    Caused by: java.lang.RuntimeException: Unable to create path to config file :
    /usr/local/tomcat/apache-tomcat-5.5.15/conf/auto/mod_jk.conf
    What this error is and how it will be removed. Any suggestion?
    Joseph

    Seems like a filesystem user rights problem. Perhaps tomcat is running as a seperate user and this user has no rights to write to one of the subdirectories?

  • Using JavaMail with Tomcat and JNDI

    I have a web application and I want to make use of JNDI Mail Sessions for sending email in my Web Appln.
    I am using Tomcat4.0.1
    In my server.xml file I declared a resource as follows:
    <Resource name="mail/Session" auth="Container" type="javax.mail.Session"/>
    <ResourceParams name="mail/Session">
         <parameter>
         <name>mail.smtp.host</name>
         <value>mail.abc.com</value>
         </parameter>
    </ResourceParams>
    Now Inside my jsp/servlet code i can use something like this:=
    // Acquire our JavaMail session object
    Context initCtx = new InitialContext();
    Context envCtx = (Context) initCtx.lookup("java:comp/env");
    Session session = (Session) envCtx.lookup("mail/Session");
    // Prepare our mail message
    Message message = new MimeMessage(session);
    message.setFrom(new InternetAddress(from));
    InternetAddress dests[] = new InternetAddress[]
    { new InternetAddress(to) };
    message.setRecipients(Message.RecipientType.TO, dests);
    message.setSubject(subject);
    message.setContent(content, "text/plain");
    // Send our mail message
    Transport.send(message);
    But my smtp mail provider uses Authentication.
    So I am looking of some way wherein I can provide the user and password information in the server.xml file itself along with smtp provider.
    My Query is How to do this as i dont see any references for using JavaMail sessions using Authentication
    Any Help highly appreciated
    Thanks
    Raj

    Isnt there anyone who can answer this question or its not a question worthwile
    Awaiting reply
    ...

  • Sessions problem in tomcat

    Hi to all,
    Iam using tomcat 5.0 server for my application
    i am facing problem with sessions.
    when i restarted the tomcat, already created sessions are not
    invalidating, they are continuing when the tomcat starts.
    How to invalidate the sessions when tomcat shutdown or restart.
    Thanks in advance..
    Regards,
    Mohan

    Hi to all,
    Iam using tomcat 5.0 server for my application
    i am facing problem with sessions.
    when i restarted the tomcat, already created sessions are not
    invalidating, they are continuing when the tomcat starts.
    How to invalidate the sessions when tomcat shutdown or restart.
    Thanks in advance..
    Regards,
    Mohan

  • AuthenticationFailedException when using JNDI and JavaMail with SMTP auth

    Hi all - I've been banging my head on this one for awhile now - hopefully someone else has done this.
    We are working in a servlet container (tomcat), and need obtain a mail session from JNDI. We do this as follows:
                   Context initCtx = new InitialContext();
                   Context envCtx = (Context) initCtx.lookup("java:comp/env");
                   Session mailSession=(Session) envCtx.lookup("mailSession/trumpetinc");so far so good. The jndi entry for the mail session is configured in server.xml as follows:
              <Resource name="mailSession/trumpetinc" scope="Shareable" type="javax.mail.Session"/>
              <ResourceParams name="mailSession/trumpetinc">
                <parameter>
                  <name>mail.smtp.host</name>
                  <value>mail.server.com</value>
                </parameter>
                <parameter>
                  <name>mail.smtp.password</name>
                  <value>ABCDEFG</value>
                </parameter>
                <parameter>
                  <name>mail.smtp.user</name>
                  <value>trumpet_kevin</value>
                </parameter>
             <parameter>
               <name>mail.smtp.auth</name>
               <value>true</value>
             </parameter>
              </ResourceParams>With the above, whenever we hit Transport.send(msg), we got an AuthenticationFailedException thrown. I have run into this before with SMTP authentication, so I decided to try using the transport.sendMessage() method instead.
    So, I get the transport:
    Transport trans = mailSession.getTransport("smtp");
    trans.connect();Then I send my message using:
    msg.saveChanges();
    trans.sendMessage(msg, msg.getAllRecipients());and finally, I close the transport:
    trans.close();Unfortunately, I'm still getting the exception. Is it possible that my connect() method is not picking up the JNDI properties set in the server.xml file (this seems likely)? If so, what's the best way for me to get those properties so I can set them explicitly in the connect() method?
    Thanks in advance,
    - Kevin

    Hi,
    I have faced the same problem and after some googling and trying I have discovered what causes the AuthenticationFailedException exception. I just wanted to share the knowedge maybe it will be helpfull to others.
    Here it is what the API says:
    To use SMTP authentication you'll need to set the mail.smtp.auth property (see below) and provide the SMTP Transport with a username and password when connecting to the SMTP server. You can do this using one of the following approaches:
    1.Provide an Authenticator object when creating your mail Session and provide the username and password information during the Authenticator callback.
    Note that the mail.smtp.user property can be set to provide a default username for the callback, but the password will still need to be supplied explicitly.
    This approach allows you to use the static Transport send method to send messages.
    2.Call the Transport connect method explicitly with username and password arguments.
    This approach requires you to explicitly manage a Transport object and use the Transport sendMessage method to send the message. The transport.java demo program demonstrates how to manage a Transport object. The following is roughly equivalent to the static Transport send method, but supplies the needed username and password:
    Using the Transport.connect makes the JNDI not very helpfull for configuration.
    It seems that using just the mail.smtp.user and mail.smtp.pass is not sufficient for the authentication.
    so, the solution is :
    just place these to lines in the JNDI configuration:
              username="test"
              password="test1"
    so it should looks as follows:
              <Resource name="mail/Session" auth="Container"
              type="javax.mail.Session"
              username="test"
              password="test1"
              mail.transport.protocol="smtp"
              mail.smtp.auth="true"     
              mail.smtp.host="localhost"
              mail.smtp.port="25"
              mail.smtp.user="test"
              mail.smtp.password="test1"
    />
    where test and test1 are the user's credentials
    Regards,
    Kiril
    Message was edited by:
    Kireto
    Message was edited by:
    Kireto

  • Session problems due to abruptly closed browser window

    Hi
    We have an application running which uses JSP,struts , tomcat and JMS. When the user logs in we store some values in the session which are very critical for the application to function. we have kept a logout button thru out the application. After pressing the logout button those values are cleared from the data structure we maintain at the application scope. But if the user closes the browser window then those "clearing" operations dont take place which causes critical problems.
    can anybody suggest anything on this situation ?
    Martin

    Yes, have a session timeout value set and write a SessionListener that cleans out the cache whenever a session is invalidated.
    %

  • Sessions problem in a 3-tier application

    Dear All,
    I am trying to create a 3-tier application using Apache Tomcat and Toplink:
    1. As a part of my servlet startup I create a ServerSession
    session = project.createServerSession();
    and store it as a static variable. Upon connect I can see that TopLink creates multiple connections. (I assume they are to be pooled between client sessions)
    2. All subsequent DB operations are performed using client sessions acquired from that server session:
    session.acquireClientSession()
    I am running into the following problem:
    After very mosdest usage (1 user) I manage to freeze the application as follows:
    [TopLink Finer]: 2007.08.19 11:31:44.093--ServerSession(2285943)--Thread(Thread[http-8080-Processor25,5,main])--client acquired
    [TopLink Finest]: 2007.08.19 11:31:44.109--ClientSession(15960898)--Thread(Thread[http-8080-Processor25,5,main])--Execute query ReadAllQuery(com.ligolab.application.domain.reporting.PatientResultReport)
    [TopLink Fine]: 2007.08.19 11:31:44.109--ServerSession(2285943)--Connection(21849501)--Thread(Thread[http-8080-Processor25,5,main])-- MY SELECT QUERY HERE
    [TopLink Finer]: 2007.08.19 11:31:44.921--ClientSession(15960898)--Thread(Thread[http-8080-Processor25,5,main])--client released
    ---------------------------------------------- [I hit Refresh on my browser here] ---------------
    [TopLink Finer]: 2007.08.19 11:31:46.125--ServerSession(2285943)--Thread(Thread[http-8080-Processor24,5,main])--client acquired
    [TopLink Finest]: 2007.08.19 11:31:46.125--ClientSession(28210421)--Thread(Thread[http-8080-Processor24,5,main])--Execute query ReadAllQuery(com.ligolab.application.domain.reporting.PatientResultReport)
    [TopLink Fine]: 2007.08.19 11:31:46.125--ServerSession(2285943)--Connection(21849501)--Thread(Thread[http-8080-Processor24,5,main])-- MY SELECT QUERY HERE
    [TopLink Finer]: 2007.08.19 11:31:47.265--ClientSession(28210421)--Thread(Thread[http-8080-Processor24,5,main])--client released
    ---------------------------------------------- [I hit Refresh on my browser here] ---------------
    [TopLink Finer]: 2007.08.19 11:31:49.062--ServerSession(2285943)--Thread(Thread[http-8080-Processor25,5,main])--client acquired
    [TopLink Finest]: 2007.08.19 11:31:49.062--ClientSession(25506524)--Thread(Thread[http-8080-Processor25,5,main])--Execute query ReadAllQuery(com.ligolab.application.domain.reporting.PatientResultReport)
    [TopLink Fine]: 2007.08.19 11:31:49.062--ServerSession(2285943)--Connection(21849501)--Thread(Thread[http-8080-Processor25,5,main])-- MY SELECT QUERY HERE
    [TopLink Finer]: 2007.08.19 11:31:50.000--ClientSession(25506524)--Thread(Thread[http-8080-Processor25,5,main])--client released
    ---------------------------------------------- [I hit Refresh on my browser here] ---------------
    [TopLink Finer]: 2007.08.19 11:31:56.890--ServerSession(2285943)--Thread(Thread[http-8080-Processor24,5,main])--client acquired
    [TopLink Finest]: 2007.08.19 11:31:56.890--ClientSession(19507034)--Thread(Thread[http-8080-Processor24,5,main])--Execute query ReadAllQuery(com.ligolab.application.domain.reporting.PatientResultReport)
    After last refresh my Query does not get executed and the application just hangs. If I PAUSE it in debug mode I observe that it is stuck waiting in the ConnectionPool.acquireConnection()
    I would appreciate any suggestions!
    Tony.

    Tony,
    TopLink does have its own internal connection pooling by default with a Server Session. This can be changed to use the data sources of the container you are running if available and wanted.
    Each read query acquires a connection and releases it once the query is completed. One exception to this is when cursored streams or scrollable cursors are used. These require the connection to be held out of the pool until the application closes the cursor/stream. Do your queries make use of this?
    Doug

  • A720 and windows 8 problems

    Im trying to setup the a720  with windows 8 and have this problems: When power off the computer have all time this BSOD : SESSION_HAS_VALID_POOL_ON_EXIT Touchscreen not work.
    If I run the windows 8 install, just for test, the touch is working, the problem is after install.
    External hard disk not working when connect to any USB port, and unplug result in a system freeze.
    Here my mini dump for error SESSION_HAS_VALID_POOL_ON_EXIT, I have the i5 model too and this not happen on that model:
    Crash Dump Analysis provided by OSR Open Systems Resources, Inc. (http://www.osr.com) Online Crash Dump Analysis Service See http://www.osronline.com for more information Windows 8 Kernel Version 9200 MP (8 procs) Free x64 Product: WinNt, suite: TerminalServer SingleUserTS Built by: 9200.16384.amd64fre.win8_rtm.120725-1247 Machine Name: Kernel base = 0xfffff800`60081000 PsLoadedModuleList = 0xfffff800`6034ba60 Debug session time: Wed Nov 28 17:08:03.203 2012 (UTC - 5:00) System Uptime: 0 days 0:00:13.897 ******************************************************************************* *                                                                             * *                        Bugcheck Analysis                                    * *                                                                             * *******************************************************************************
    SESSION_HAS_VALID_POOL_ON_EXIT (ab) Caused by a session driver not freeing its pool allocations prior to a session unload.  This indicates a bug in win32k.sys, atmfd.dll, rdpdd.dll or a video driver. Arguments: Arg1: 0000000000000001, session ID Arg2: 00000000000000f0, number of paged pool bytes that are leaking Arg3: 0000000000000000, number of nonpaged pool bytes that are leaking Arg4: 0000000000000001, total number of paged and nonpaged allocations that are leaking. nonpaged allocations are in the upper half of this word, paged allocations are in the lower half of this word.
    Debugging Details: ------------------
    TRIAGER: Could not open triage file : e:\dump_analysis\program\triage\modclass.ini, error 2
    CUSTOMER_CRASH_COUNT:  1
    DEFAULT_BUCKET_ID:  WIN8_DRIVER_FAULT
    BUGCHECK_STR:  0xAB
    PROCESS_NAME:  csrss.exe
    CURRENT_IRQL:  0
    LAST_CONTROL_TRANSFER:  from fffff80060680506 to fffff800600fc040
    STACK_TEXT:  fffff880`05d059b8 fffff800`60680506 : 00000000`000000ab 00000000`00000001 00000000`000000f0 00000000`00000000 : nt!KeBugCheckEx fffff880`05d059c0 fffff800`603e8bb5 : fffff880`04983b40 00000000`00000000 fffff880`04983000 ffffffff`ffffffe6 : nt! ?? ::NNGAKEGL::`string'+0x36216 fffff880`05d05a10 fffff800`604a48b6 : 00000000`00000372 fffff880`04983000 fffffa80`090203c0 fffffa80`08fc4540 : nt!MiDereferenceSessionFinal+0xf1 fffff880`05d05a80 fffff800`604abe68 : fffff8a0`00142b00 00000000`00000000 00000000`00000001 00000000`00000001 : nt!MmCleanProcessAddressSpace+0x2be fffff880`05d05af0 fffff800`604ac55e : fffffa80`00000000 00000002`00000001 00000000`00000000 fffff8a0`00d0b8f0 : nt!PspExitThread+0x668 fffff880`05d05c10 fffff800`600e1dd6 : fffff800`60377180 00000000`00000080 fffffa80`090203c0 fffffa80`08fc4540 : nt!PspTerminateThreadByPointer+0x4e fffff880`05d05c60 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiStartSystemThread+0x16
    STACK_COMMAND:  kb
    FOLLOWUP_IP: nt! ?? ::NNGAKEGL::`string'+36216 fffff800`60680506 cc              int     3
    SYMBOL_STACK_INDEX:  1
    SYMBOL_NAME:  nt! ?? ::NNGAKEGL::`string'+36216
    FOLLOWUP_NAME:  MachineOwner
    MODULE_NAME: nt
    IMAGE_NAME:  ntkrnlmp.exe
    DEBUG_FLR_IMAGE_TIMESTAMP:  5010ac4b
    FAILURE_BUCKET_ID:  X64_0xAB_nt!_??_::NNGAKEGL::_string_+36216
    BUCKET_ID:  X64_0xAB_nt!_??_::NNGAKEGL::_string_+36216
    Followup: MachineOwner ---------

    Ok, the problem is generated by NVIDIA VIDEO DRIVER!
    Honesty I cant understand why LENOVO not choose for this machines a ivibridge CPU with HD4000 VIDEO, performance is similar, and Intel VIDEOS GPU, have 0 troubles, ATI AND NVIDIA always are very problematic.
    Anyway the solution is simple:
    1 Turn OFF windows update, or change to selective install.
    This prevent win update install NVIDIA driver in automatic way.
    2 Uninstall NVIDIA driver sand NVIDIA related stuff.
    3 Restart the machine, NOT POWER OFF, just restart.
    4 Now go to SYSTEM PROPERTIES > HARDWARE > DEVICE MANAGER
    INSIDE DISPLAY ADPATER NOW SELECT DISABLE THE DEFAULT VGA DRIVER, NOR UNINSTALL CHOOSE DISABLE!
    NOW RESTART.
    After restart now touchscreen work correctly, and next time you power off the machine, not have that ugly error all time.
    This not is a final solution is just a workaround until LENOVO/NVIDIA provide a final fix for this.

  • What is the difference between Session timeout and Short Session timeout Under Excel Service Application -- session management?

    Under Excel Service Application --> session management; what is the difference between Session timeout and Short Session timeout?

    Any call made from the API will automatically be set to the “Session Timeout” period, no matter
    what. Calls made from EWA (Excel Web Access) will get the “Short Session Timeout” period assigned to it initially.
    Short Session Timeout and Session Timeout in Excel Services
    Short Session Timeout and Session Timeout in Excel Services - Part 2
    Sessions and session time-outs in Excel Services
    above links are from old version but still applies to all.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

Maybe you are looking for