Hibernate Problem...

Hi people...
I have implemented an application which it parses an rss online and then it saves it into oracle DB through Hibernate. I am facind a problem which i cannot explain. In the first time the user is entering the rss url to a jsp then the rss is parsed the wanted values are saved into the DB and then displayed back through a jsp again. With not ending the application and going back to re-enter a new url the application throughs an exception before commiting the transaction at the Hibernate part.
The code to the hibernate has as follows...
      try
        System.out.println("in the beggining");
        session = sf.openSession();
        trans = session.beginTransaction();
          System.out.println("in the middle");
        Rss rcv = new Rss();
        Item riv = new Item();
         riv.setRss(rcv);
        System.out.println("be4 saving");
            session.save(rcv);
          System.out.println("saved rcv");
            session.save(riv);
          System.out.println("saved riv");
          System.out.println("The trans is :    "+trans.wasCommitted());
          session.update(riv);
            trans.commit();
          System.out.println("after commit");
          System.out.println("THE SESSION: "+session.isOpen());
        session.close();
        System.out.println("THE SESSION: "+session.isOpen());
      catch(Exception exc)
        try{if(trans != null) trans.rollback();}catch(HibernateException h){System.out.println("MMMPPPOOOXXXAAA   "+ h);}
        exc.printStackTrace();
      }I debug and i came to the above conclution, failing at commit. I cant explain why because it works in the beggining. I also find out that if i dont redirect for displaying the results i can re-enter values into the DB without the exception occuring. The exception is the following...
net.sf.hibernate.HibernateException: identifier of an instance of com.persistence.Item altered from 2190 to 2191
     at net.sf.hibernate.impl.SessionImpl.checkId(SessionImpl.java:2631)
     at net.sf.hibernate.impl.SessionImpl.flushEntity(SessionImpl.java:2454)
     at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2447)
     at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2249)
     at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2228)
     at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61)
     at com.HibernateFactory.saveValues(HibernateFactory.java:104)
     at com.persistence.Item.setMakeCon(Item.java:85)
     at com.RssParser.endElement(RssParser.java:147)
     at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1310)
     at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingParser.java:144)
     at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:295)
     at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201)
     at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:292)
     at javax.xml.parsers.SAXParser.parse(SAXParser.java:255)
     at com.RssParser.connect(RssParser.java:227)
     at com.ConfigServlet.doPost(ConfigServlet.java:51)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
     at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)and the code for the JSP page which displays the results is:
<%@ page contentType="text/html; charset=utf-8" language="java"
       import="com.persistence.*,net.sf.hibernate.*, com.*, java.util.*" %>
      <%
Session ses = null;
Transaction myTransaction = null;
SessionFactory sf = HibernateFactory.getSessionFactory();
System.out.println("THE SESSION: "+sf.toString());
ses = sf.openSession();
try
      //getSessionFactory();
      System.out.println("THE SESSION: "+ses.isOpen());
      myTransaction = ses.beginTransaction();
      Criteria query =
           ses.createCriteria(Rss.class);
      myTransaction.commit();
} catch (Exception e) {
      //error = e.getMessage(); e.printStackTrace();
      System.out.println("THIS FAIL:    "+ e);
      try{ myTransaction.rollback(); }
      catch (Exception e2) {;}
%>
<HTML>
<HEAD>
<TITLE>List Teams</TITLE>
</HEAD>
<BODY>
<%
//Query q =HibernateFactory.session.createQuery("Select Rss from Rss as Rss");
Query q =ses.createQuery("Select Rss from Rss as Rss");
try{
//ses.close();
        for (Iterator it = q.iterate(); it.hasNext();) {
                    Rss rsv = (Rss) it.next(); %>
    <table border="1">
        <tr>
            <td> <strong> Channel Title </strong></td>
            <td> <strong> Channel URL </strong></td>
            <td> <strong> Main Link </strong></td>
            <td> <strong> Last Date Built </strong></td>
            <td> <strong> Item Title </strong></td>
            <td> <strong> Item Link </strong></td>
            <td> <strong> Item Description </strong></td>
        </tr> 
        <tr>   
            <td> <%=rsv.getChannelTitle()%> </td>
            <td> <%= rsv.getChannelUrl()%> </td>
            <td> <%= rsv.getMainLink()%> </td>
            <td> <%= rsv.getLastDate()%> </td> 
             <%       Iterator t = rsv.getItem().iterator();
                    while (t.hasNext()) {
                        Item riv =(Item)t.next();
                    %>
            <td> <%= riv.getTitle() %> </td>
            <td> <%= riv.getItemLink()%> </td>
            <td> <%= riv.getItemDescription() %></td>
         </tr>
          </table>     
          <%}
    } catch(Exception e){
           System.out.println("AOUTS: "+ e);
finally
      try{ses.close();}
      catch (Exception e) {
      System.out.println("AOUTS: "+ e);}
%>
<p align="right"><a href="RssList.jsp">Add Another RSS.XML File </a> </p> 
</BODY>
</HTML>Do you have any ideas why this happens? I am desperate for some help.
Thx in advance

Ok here you go
The Item class
package com.persistence;
import com.*;
import java.util.Set;
public class Item {
    public static String t;
    public static String link;
    public static String desc;
    public static Rss rss;
    public static long id;
    public static String num;
    public static String verify;
    public Item() {
    public String getTitle() {
        return t;
    public void setTitle(String title) {
        t = title;
        if (title != null){
       // HibernateFactory.saveValues();
    public String getItemLink() {
        //  while ( link. = null )
        // System.out.println("Getting: " + this + " value: " + link);
        return link;
    public void setItemLink(String link) {
        this.link = link;
      //  HibernateFactory.saveValues();
        // System.out.println("///////////////////////////");
        // System.out.println("this is the Rss Item Link value: "+ link);
        //  System.out.println("Setting: " + this + " value: " + link);
    public String getItemDescription() {
        return desc;
    public void setItemDescription(String desc) {
        this.desc = desc;
       // HibernateFactory.saveValues();
       // System.out.println("///////////////////////////");
        //System.out.println("this is the Rss Item Description value: "+ desc);
         public Rss getRss()
           return rss;
         public void setRss(Rss rss)
           this.rss = rss;
    public long getId() {
        return id;
    public void setId(long id) {
        this.id = id;
    public void setMakeCon(String verify){
        this.verify = verify;
        if (verify != null) {
            HibernateFactory.saveValues();
        }else if(verify == null){
            System.out.println("The VERIFY FROM item was NULL");
package com.persistence;
import com.*;
import java.util.Set;
public class Item {
    public static String t;
    public static String link;
    public static String desc;
    public static Rss rss;
    public static long id;
    public static String num;
    public static String verify;
    public Item() {
    public String getTitle() {
        return t;
    public void setTitle(String title) {
        t = title;
        if (title != null){
       // HibernateFactory.saveValues();
    public String getItemLink() {
        //  while ( link. = null )
        // System.out.println("Getting: " + this + " value: " + link);
        return link;
    public void setItemLink(String link) {
        this.link = link;
      //  HibernateFactory.saveValues();
        // System.out.println("///////////////////////////");
        // System.out.println("this is the Rss Item Link value: "+ link);
        //  System.out.println("Setting: " + this + " value: " + link);
    public String getItemDescription() {
        return desc;
    public void setItemDescription(String desc) {
        this.desc = desc;
       // HibernateFactory.saveValues();
       // System.out.println("///////////////////////////");
        //System.out.println("this is the Rss Item Description value: "+ desc);
         public Rss getRss()
           return rss;
         public void setRss(Rss rss)
           this.rss = rss;
    public long getId() {
        return id;
    public void setId(long id) {
        this.id = id;
    public void setMakeCon(String verify){
        this.verify = verify;
        if (verify != null) {
            HibernateFactory.saveValues();
        }else if(verify == null){
            System.out.println("The VERIFY FROM item was NULL");
The Parser class
package com;
import com.persistence.*;
import org.xml.sax.*;
import org.xml.sax.helpers.DefaultHandler;
import javax.xml.parsers.SAXParserFactory;
import javax.xml.parsers.SAXParser;
public class RssParser extends DefaultHandler
  boolean inTitle = false;
  boolean inChannel = false;
  boolean inChannelTitle = false;
  boolean inImage = false;
  boolean inItem = false;
  boolean inItemDescription = false;
  boolean inItemLink = false;
  boolean inChannelUrl = false;
static StringBuffer st = new StringBuffer();
Item rss = new Item();
Rss mainRss = new Rss();
HibernateFactory hf = new HibernateFactory();
  private String channeltitle = "";
  private String channelUrl = "";
    private String itemLink = "";
    public String verify = "";
  String title = "";
  public RssParser()
  public void startDocument() throws SAXException
    System.out.println("START DOCUMENT");
  public void endDocument() throws SAXException
    System.out.println("END DOCUMENT");
public void startElement(String namespaceURI, String sName, String qName, Attributes attrs) throws SAXException
    String eName = sName; // element name
    if ("".equals(eName)) eName = qName; // not namespaceAware
    if (attrs != null)
      for (int i = 0; i < attrs.getLength(); i++)
        String aName = attrs.getLocalName(i);
        if ("".equals(aName)) aName = attrs.getQName(i);
        //System.out.print(aName +"=\""+attrs.getValue(i)+"\"");
      if (eName.equals("channel"))
      inChannel = true;
     if(eName.equals("title") && inChannel &&!inImage && !inItem )
       inChannelTitle = true; 
      if(eName.equals("url") && inChannel && inImage && !inItem )
        inChannelUrl = true;       
     if(eName.equals("image"))
       inImage=true;
      if(eName.equals("item"))
       inItem = true;
        rss.setMakeCon("");
     if(eName.equals("title") && inItem)
          inTitle = true; 
     if(eName.equals("description")&& inItem)
       inItemDescription=true;
     if(eName.equals("link")&&!inImage)
       inItemLink=true;
  public void endElement(String namespaceURI, String sName, String qName) throws SAXException
    String eName = sName; // element name
    if ("".equals(eName)) eName = qName; // not namespaceAware
       if (eName.equals("channel"))
      inChannel = false;
     if(eName.equals("title") && inChannel && !inImage && !inItem )
          inChannelTitle = false; 
            mainRss.setChannelTitle(channeltitle);
            if(channeltitle != null){
            rss.setMakeCon("OK");}
            //hf.channelTitle();
          System.out.println("///////////////////////////");
      if (eName.equals("url")&& inChannel && inImage && !inItem)
      inChannelUrl = false;
          mainRss.setChannelUrl(channelUrl);
         // System.out.println("the CHANNEL URLIS:   "+sc);
          //hf.channelUrl();
          System.out.println("///////////////////////////");
         if(eName.equals("image"))
       inImage=false;
     if(eName.equals("item"))
       inItem = false;
       channeltitle = "";
//         rss.setMakeCon("");
     if(eName.equals("title") && inItem)
          inTitle = false; 
     if(eName.equals("description"))
       inItemDescription=false;
       System.out.println("\n");
    if(eName.equals("link")&&!inImage)
       inItemLink=false;
  public void connect() throws Exception
    String file;
    file = ConfigServlet.getAddress();
    //con.setRequestMethod("POST");
    // Use the default (non-validating) parser
    SAXParserFactory factory = SAXParserFactory.newInstance();
    //Set validation on
    factory.setValidating(true);
    // Parse the input
    SAXParser saxParser = factory.newSAXParser();
    saxParser.parse(file, this); 
  public void characters (char ch[], int start, int length)
    String sc = new String( ch, start, length ); 
    if(inChannelTitle)
      //System.out.print(sc);
      channeltitle = channeltitle + sc;
    if(inTitle)
      //System.out.println(sc);
      rss.setTitle(sc);
      //hf.title();
      //System.out.println("///////////////////////////");
    if(inItemDescription)
     // System.out.println("///////////////////////////");
     rss.setItemDescription(sc);
     //hf.itemDescription();
      if(inChannelUrl){ 
          channelUrl = channelUrl + sc;
    if(inItemLink)
        rss.setItemLink(sc);
        itemLink = sc;
        System.out.println("the item link   "+itemLink);
     //   hf.itemLink();
     // System.out.println(sc);
}There are many things for testing in there. Code is not in its best condition. Thing might be wrong implemented, trying my best here...:)

Similar Messages

  • T61p, Vista and hibernate problems

    There are some other threads on the issue, but I didn't see anyone with the exact same problem.
    The basics; T61p (6457-5gg) with Windows Vista Ultimate. Latest BIOS and drivers.
    - The sleep-function in Vista ain't possible to use at all.
    - When i choose to hibernate, the systems goes into hibernation, and then wakes up again. I put the system into hibernation and put the pc in my bag. Took it up a couple of hours later and it was extremly hot. It was really uncomfortable to touch the system. Battery had been completly drained.
    - BIOS-settings should be ok. The option for waking to do scheduled tasks is disabled.
    Suggestions? I was thinking about a complete reinstall of the system to see what happens then, but I was hoping for a 2 minute fix instead of a days work :-|
    * W520 4284-49G (Upgrades: 256GB Corsair Performance Pro & 256GB OCZ Octane) * T61p (Upgrades: 128GB OCZ Vertex, Wi-Fi Link 6300)

    Hi,
    I am having the same issue on my T60 on Windows XP.
    I have had major issues with Standby and Hibernation from the beginning (less with Hibernation, so I use that more), but I have had weird issues where hibernating the system while plugged into AC power and waking it up while on battery will cause all kinds of issues to the point where the system will nearly freeze and cannot be shut down normally (this I can reproduce any time).
    A friend told me there was a BIOS update that had been released recently - guess what: Since I installed that, I am getting freezes after a fresh reboot within minutes - my external USB mouse will stop working first, then the Start menu button and the content will start losing text (only the icons will show), and at some point it will no longer do anything.
    But today all of a sudden out of the blue after showing these signs, I get the mentioned blue screen:
    0x000000A0
    Internal_power_error
    (0x00000101, 0x00000007, 0xBA50507420, 0x00000000)
    There appears to be a hotfix for Vista that you can request from Microsoft, but nothing for XP.
    I would really like Lenovo to look into this as I am fairly certain there is something in their power management drivers and software that is causing this.
    Does anyone have a paid support plan with Lenovo and can ask them about this?

  • T510 Sleep vs Hibernate Problem

    Hello,
    I recently did a clean install of Windows 7 Professional on my T510. I've updated all software and everything seems to be working except for the sleep function. I've checked the settings in the ThinkVantage power manager and in Windows itself, and all seems to be in order, except that when I close the laptop's lid (or even select "sleep" from the Start menu options) the computer will sleep for a minute or two, with the moon LED indicator light on, and then go into hibernation. This happens every time I try to put the computer to sleep. I can't seem to find anyone online who's experienced this problem--any suggestions? Thanks!

    hey ep251,
    could you uninstall the power manager software and then try to sleep and also hibernate your unit. see if the same error occurs.
    also try to just start your your unit, do not open any application and just sleep / hibernate. does the problem occur even if you didnt launch any program ?
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • Hibernate Problems

    I have problems with my computer going into hibernate mode, even when I'm actively working on it.  I have a Satellite A305-S6905, less than 5 months old, and have already had one hard drive replaced.  Afraid it might be an operating system problem.  

    Satellite A305-S6905 
    Something new? Try resetting the system to before it started.
       What is System Restore?
    -Jerry

  • Axis + Hibernate Problem

    Hello,
    I have developed a small app for a spike using spring + hibernate. Then I generated a web service using IBM RAD Web Services tools. My main problem is when i acces the web service even though my hibernate relations are configured to load lazily -and runs as expected during tests- hibernate starts to load the whole object graph. I believe while axis servlet is serializing the objects it calls the get method on the parent class and it continues like this. So can anyone suggest me a way to prevent this?
    Thanks in advance

    Of course the exception looks like:
    Exception in thread "main" java.lang.NoClassDefFoundError: /org/apache/axis/
    client/AdminClientSorry for the confusion...

  • Powerbook G4 Hibernate problem

    Computer will not come out of hibernate when I press a key or the power on button. I have to remove the battery and press the power button before I can restart the computer. Does anyone have a similar problem??

    yeah, i was thinking that might be the case.
    just did a test with some old(still good, just 512mb) memory and no go.
    seems the logic board/memory slot is the culprit. the computer has been acting wonky for the past couple of months(no waking from sleep, randomly shutting down) so i think it has been giving us signs it was on it's way out.
    too, bad. this puppy was my first mac. i guess it will just have to go to the farm now.
    thanks for your help. cheers!

  • Hibernate Problems on J2EE Engine

    Hi,
    I have a project in JBoss with Struts and Hibernate Components and now I am trying to migrate it to Netweaver but when runs the application Hibernates components it shows the following error messages on default.trace.trc
    #1.5#000854E05820006200000012000006040004233CBBDADFC6#1164643663468#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/GestionCamaleon#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#Guest#2####69f7b3e07e3111db87ad000854e05820#SAPEngine_Application_Thread[impl:3]_23##0#0#Error##Plain###Cannot send an http error response [500 Application error occurred during the request procession. (details: <pre>&\#60;b&\#62;Exception:&\#60;/b&\#62;
    javax.servlet.ServletException: Error creating bean with name &\#39;/ActionObjetivosPei&\#39; defined in ServletContext resource [/WEB&\#45;INF/Spring/action&\#45;servlet.xml]: Can&\#39;t resolve reference to bean &\#39;ctrlPei&\#39; while setting property &\#39;ctrlPei&\#39;&\#59; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named &\#39;ctrlPei&\#39; is defined
         at org.apache.struts.action.RequestProcessor.processException&\#40;RequestProcessor.java:516&\#41;
         at org.apache.struts.action.RequestProcessor.processActionPerform&\#40;RequestProcessor.java:423&\#41;
         at org.apache.struts.action.RequestProcessor.process&\#40;RequestProcessor.java:226&\#41;
         at org.apache.struts.action.ActionServlet.process&\#40;ActionServlet.java:1164&\#41;
         at org.apache.struts.action.ActionServlet.doGet&\#40;ActionServlet.java:397&\#41;
         at javax.servlet.http.HttpServlet.service&\#40;HttpServlet.java:740&\#41;
         at javax.servlet.http.HttpServlet.service&\#40;HttpServlet.java:853&\#41;
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork&\#40;RequestDispatcherImpl.java:290&\#41;
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward&\#40;RequestDispatcherImpl.java:394&\#41;
         at com.sap.engine.services.servlets_jsp.server.jsp.PageContextImpl.forward&\#40;PageContextImpl.java:197&\#41;
         at jsp_fwd_obje_pei1164643388453._jspService&\#40;jsp_fwd_obje_pei1164643388453.java:2&\#41;
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service&\#40;JSPServlet.java:537&\#41;
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service&\#40;JSPServlet.java:186&\#41;
         at javax.servlet.http.HttpServlet.service&\#40;HttpServlet.java:853&\#41;
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet&\#40;FilterChainImpl.java:117&\#41;
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter&\#40;FilterChainImpl.java:62&\#41;
         at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter&\#40;ProfilingFilter.java:132&\#41;
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter&\#40;FilterChainImpl.java:58&\#41;
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet&\#40;HttpHandlerImpl.java:374&\#41;
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest&\#40;HttpHandlerImpl.java:265&\#41;
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet&\#40;RequestAnalizer.java:345&\#41;
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet&\#40;RequestAnalizer.java:323&\#41;
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer&\#40;RequestAnalizer.java:865&\#41;
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle&\#40;RequestAnalizer.java:240&\#41;
         at com.sap.engine.services.httpserver.server.Client.handle&\#40;Client.java:92&\#41;
         at com.sap.engine.services.httpserver.server.Processor.request&\#40;Processor.java:148&\#41;
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process&\#40;ApplicationSessionMessageListener.java:37&\#41;
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run&\#40;UnorderedChannel.java:71&\#41;
         at com.sap.engine.core.thread.impl3.ActionObject.run&\#40;ActionObject.java:37&\#41;
         at java.security.AccessController.doPrivileged&\#40;Native Method&\#41;
         at com.sap.engine.core.thread.impl3.SingleThread.execute&\#40;SingleThread.java:94&\#41;
         at com.sap.engine.core.thread.impl3.SingleThread.run&\#40;SingleThread.java:162&\#41;
    &\#60;BR&\#62;&\#60;BR&\#62;&\#60;b&\#62;Root cause:&\#60;/b&\#62;
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name &\#39;/ActionObjetivosPei&\#39; defined in ServletContext resource [/WEB&\#45;INF/Spring/action&\#45;servlet.xml]: Can&\#39;t resolve reference to bean &\#39;ctrlPei&\#39; while setting property &\#39;ctrlPei&\#39;&\#59; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named &\#39;ctrlPei&\#39; is defined
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named &\#39;ctrlPei&\#39; is defined
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition&\#40;DefaultListableBeanFactory.java:352&\#41;
         at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition&\#40;AbstractBeanFactory.java:671&\#41;
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&\#40;AbstractBeanFactory.java:198&\#41;
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&\#40;AbstractBeanFactory.java:147&\#41;
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference&\#40;BeanDefinitionValueResolver.java:176&\#41;
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary&\#40;BeanDefinitionValueResolver.java:105&\#41;
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues&\#40;AbstractAutowireCapableBeanFactory.java:1013&\#41;
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean&\#40;AbstractAutowireCapableBeanFactory.java:824&\#41;
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&\#40;AbstractAutowireCapableBeanFactory.java:345&\#41;
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&\#40;AbstractBeanFactory.java:239&\#41;
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&\#40;AbstractBeanFactory.java:151&\#41;
         at org.springframework.context.support.AbstractApplicationContext.getBean&\#40;AbstractApplicationContext.java:559&\#41;
         at org.springframework.web.struts.DelegatingActionProxy.getDelegateAction&\#40;DelegatingActionProxy.java:122&\#41;
         at org.springframework.web.struts.DelegatingActionProxy.execute&\#40;DelegatingActionProxy.java:105&\#41;
         at org.apache.struts.action.RequestProcessor.processActionPerform&\#40;RequestProcessor.java:421&\#41;
         at org.apache.struts.action.RequestProcessor.process&\#40;RequestProcessor.java:226&\#41;
         at org.apache.struts.action.ActionServlet.process&\#40;ActionServlet.java:1164&\#41;
         at org.apache.struts.action.ActionServlet.doGet&\#40;ActionServlet.java:397&\#41;
         at javax.servlet.http.HttpServlet.service&\#40;HttpServlet.java:740&\#41;
         at javax.servlet.http.HttpServlet.service&\#40;HttpServlet.java:853&\#41;
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork&\#40;RequestDispatcherImpl.java:290&\#41;
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward&\#40;RequestDispatcherImpl.java:394&\#41;
         at com.sap.engine.services.servlets_jsp.server.jsp.PageContextImpl.forward&\#40;PageContextImpl.java:197&\#41;
         at jsp_fwd_obje_pei1164643388453._jspService&\#40;jsp_fwd_obje_pei1164643388453.java:2&\#41;
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service&\#40;JSPServlet.java:537&\#41;
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service&\#40;JSPServlet.java:186&\#41;
         at javax.servlet.http.HttpServlet.service&\#40;HttpServlet.java:853&\#41;
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet&\#40;FilterChainImpl.java:117&\#41;
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter&\#40;FilterChainImpl.java:62&\#41;
         at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter&\#40;ProfilingFilter.java:132&\#41;
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter&\#40;FilterChainImpl.java:58&\#41;
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet&\#40;HttpHandlerImpl.java:374&\#41;
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest&\#40;HttpHandlerImpl.java:265&\#41;
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet&\#40;RequestAnalizer.java:345&\#41;
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet&\#40;RequestAnalizer.java:323&\#41;
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer&\#40;RequestAnalizer.java:865&\#41;
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle&\#40;RequestAnalizer.java:240&\#41;
         at com.sap.engine.services.httpserver.server.Client.handle&\#40;Client.java:92&\#41;
         at com.sap.engine.services.httpserver.server.Processor.request&\#40;Processor.java:148&\#41;
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process&\#40;ApplicationSessionMessageListener.java:37&\#41;
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run&\#40;UnorderedChannel.java:71&\#41;
         at com.sap.engine.core.thread.impl3.ActionObject.run&\#40;ActionObject.java:37&\#41;
         at java.security.AccessController.doPrivileged&\#40;Native Method&\#41;
         at com.sap.engine.core.thread.impl3.SingleThread.execute&\#40;SingleThread.java:94&\#41;
         at com.sap.engine.core.thread.impl3.SingleThread.run&\#40;SingleThread.java:162&\#41;
    </pre>)]. The error is: java.lang.StackOverflowError
    any help will be apreciate

    Hello Indira,
    it seems to as if you are having problems with the spring framework, struts and Hirbernate - in combination
    The potential error sources are huge.
    We have written a demo combining struts and Hibernate. You can have the sources and the IDE projects. Just shoot me a mail on [email protected]
    I'll be glad to provide you with support on this.
    Cheers, Goran

  • MSI Wind Box DC100 Hibernate Problem!!

    Hi there.
    i have a problem whit my MSI Wind Box DC100.
    its brandnew btw.
    i just install Windows 7 on it and got all the msi driver install to then i startet duing windows update and all was fine
    and the computer was ready just wating for me to type my login on the welcome screen. so i toke a bath
    and came back and the screen was black but the box still running like hibernate but i wont come online again what do i do ?.
    Btw sry for my bad english iam danish and not good at typing Eng
    -Carsten

    okey, thanks. anyway the fps jumps between 40-100 is there anything i can install on the computer or that i can do to make this go away?
    I've tried everything when it comes to the game settings. so i guess its just simply the little cpu that does it?
    you should think counter-strike 1.6 didnt take much to drive on a computer!

  • A665-s6094 starting from sleep problem/hibernate problem and starting form shutdown problem

    hey i have a 2 day old toshiba a665-s6094 laptop and whenever i put it to sleep(as in closing the screen not from the button nor the start menu) it cant start again so i have to remove and put back the battery for it to work.
    Also it on hibernate, only the display turns off and it doesnt hibernate.
    and i have the same problem with shutdown, sometimes doesnt start after shutdown, and only removing the battery and putting it back in makes it start.
    Any help would be appreciated. 

    I am 99% sure that you have the option set to require a password when waking from sleep. If that's the case, the Mac will go back to sleep after a few minutes if no password is entered on wake.
    Two workarounds:
    1) Turn off the password-on-wake preference, or:
    2) Fast-user-switch to the login window before sleeping your Mac. When it wakes it will stay awake; and you still have the security of needing a password to get back into your user account.
    Message was edited by: Király

  • Sleep and Hibernate problems

    Hi,
    Been using Win7-64bit dual-booted for a while now. Sleep on it has been problematic for a while but I did have it all working fine. Since the update to bootcamp 3.2 though, I can't get it to Sleep or Hibernate.
    When I try, the screen goes dark, but the Hard Disk stays on and the system never 'sleeps'.
    My only option at that point is to hard-power-off. When windows then resumes it complains it wasn't shutdown properly.
    I've posted onto an MS forum, who said I should really try here. Based on their feedback and my gut I suspect its some driver thats causing the problem.
    I've tried closing down any apps I can see running that might cause it (BBC iPlayer, Skype, Live, etc), but still no good.
    Theres nothing in the event logs of any issues.
    I've tried updating the Nvidia drivers to the latest from them - no difference.
    Anyone have any ideas how to debug it ?
    I could try dropping back to 3.1, but I'd rather find out the cause.

    I'm using WindowsXP Pro on my 2008 Macbook Pro (Mac Side had no sleep issues), but perhaps there's a similar culprit since I solved my standby issues here using the debugger tools from Microsoft.  It was giving me a blue screen of death crash every time I would attempt to wake from sleep.  I updated by video drivers but still no joy.  I used the debugging tools (PITA, but useful) and it pointed squarely at my 1394 Firewire driver as the culprit.  Apparently, Microsoft's Firewire drivers suck.  Texas Instruments (the supplier for Apple's FW chips) recommended Unibrain (at Unibrain.com) drivers for their chipset (they're FREE drivers, btw).  Unibrain claims to be 100% compliant, even under XP and runs at full FW800 speeds, etc.  I don't know about that one way or another, but what I do know is as soon as I installed their FW driver and rebooted, my machine would now work PERFECTLY in Standby mode.  I imagine FW devices would work right now as well (many have reported crashes or slowness when trying to use them in Windows; I only use FW in OSX so I never tried them out in Windows and hadn't even used Windows until my recent trip (boredeom and wanted to play some old Windows games from Steam). 
    Anyway, the Unibrain drivers are for XP, Vista and Windows7, so it's not impossible that it's also causing issues in Vista or Win7 as well, even if the behaviors are slightly different.  The debugging tools would tell you for sure, but it's easier to try out the replacement drivers (you can always drop back to previous drivers if you don't like them).   I'd be curious to know if the drivers solve standby issues in Win7 as I'll be putting that on my next Mac.

  • Hibernate problem in Tomcat-jsf. Please help me!

    Hello!
    So...I'm using Hiberbate API to deal with database data
    and The Tomcat web server to deploy my app, my page shows
    a database data list, the problem is when I reload (click
    on the browser button or on the originated link) the page
    the data just vanish, I don't know the why.have
    you any suggestion?
    my page.jsf :
    <%
        try{
            HibBean data = new HibBean();
            Iterator i = data.getList().iterator();
            Session sessionH = HibernateUtil.getSessionFactory().getCurrentSession();
            sessionH.beginTransaction();
    (show data from database)
    HibernateUtil.getSessionFactory().close();
    .Thanks!

    This question has asked a lot in different forums. I had same problen, when I compiled RunUSBControllerTest. I got I/O Exception: USB Host support is unavailable. I think I resolve this problem: I think that jusb.dll has compiled in older java version and depends on version. I had Java 1.4.2_05 and it dosen't worked out. I remove it and install java 1.4.1_03. Now the RunUSBControllerTest works fine. I hope this is the answer.

  • X200 Hibernate Problem (Problem Event Name: BlueScreen)

    I am having a problem with the hibernation feature on my new Thinkpad X200. Anytime the system goes into hibernation (forced or automatic), it blue screens and then instantly reboots.
    Problem signature:
    Problem Event Name: BlueScreen
    OS Version: 6.0.6001.2.1.0.256.6
    Additional information about the problem:
    BCCode: 9f
    BCP1: 00000003
    BCP2: 88D12900
    BCP3: 84A2B380
    BCP4: 85F2BDB8
    OS Version: 6_0_6001
    Service Pack: 1_0
    Product: 256_1
    The machine sleeps with no problem.
    I update all drive , windows update and all lenovo update.
    What specific drive I need to update? Any workaround for this?
    Message Edited by thinkpadGuru on 08-18-2009 08:15 AM

    Hi,
    This is called the blue screen of death, and here is a WIKI article talking about it:
    Blue Screen of Death (BSOD)
    Please first take a look at the article above, and if you would like to analyze the dump by yourself, here is a KB article talking about how to read the dump files, or please upload the dump file into skydrive and paste us the link here and we will be happy
    to help:
    How to read the small memory dump file that is created by Windows if a crash occurs
    Best regards
    Michael Shao
    TechNet Community Support

  • Hibernate problem..... using projection and conjunction together..

    hi all ,
    can we use projection and conjunction together??
    i want to execute a query like this..
    select column_1 , column_2 from table_name where column_1 like '%a' ;

    hi ian
    you could also try verifying if the jar libraries containing your Document and Paragraph classes are defined in your class path OR if you are using an IDE, did you include that under your LIbraries?
    The previous suggestion below also is a stop-gap to the library inclusion problem.
    Hope that helps

  • Hibernate problems with Mysql

    Hi, we are using Hibernate with MySQL and c3p0 in our Struts Web application. Hibernate appers to give us errors in a random fashion when we're accesing our web pages. usually after 1 reload everything works fine
    any idea on what could be wrong?
    javax.servlet.ServletException: could not execute query
         org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)
         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    org.hibernate.exception.JDBCConnectionException: could not execute query
         org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:74)
         org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
         org.hibernate.loader.Loader.doList(Loader.java:2148)
         org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
         org.hibernate.loader.Loader.list(Loader.java:2024)
         org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:375)
         org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:308)
         org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:153)
         org.hibernate.impl.SessionImpl.list(SessionImpl.java:1106)
         org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
         cz.roster.business.destinations.hotels.DestinationsHotelsListRead.perform(DestinationsHotelsListRead.java:22)
         cz.roster.actions.destinations.hotels.HotelsListAction.execute(HotelsListAction.java:41)
         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Message was edited by:
    snoopy_cz

    Huh? DAOs abstract your data access layer away from the specific underlying implementation.
    Unless you fancy writing an HQL implementation that can liaise with flat files (or whatever you're swapping it for) there's no way you can just swap Hibernate out for something else otherwise.
    Whereas if you put Hibernate behind a decent set of DAOs you can easily do this. So they don't have much in common. It's true that you can generate DAOs using Hibernate, but that's (a) not the same thing and (b) not a great idea.

  • 1) Sleep and Hibernate Problem, 2) Laptop sometimes doesn't boot in G560 (Intel P6200)

    hello everyone,
    i am using lenovo g560 laptop from past 2-3 years without any problems..
    now i am having some issues with my laptop and i have some questions as well..
    First,
    whenever i try to wake the laptop from sleep, fan starts and all LEDs responds as well..but there is nothing on the screen..it's just shows nothing..!!
    it doesn't even shows black screen..
    Second,
    sometimes, my laptop gets crashed (don't know if it is called crashed or what, don't know exact word to explain)
    laptop shows no responce to anything...no response to touchpad..cursor doesn't move at all..
    no response to keyboard..
    screen just hangs there..nothing works..
    fan keeps running like normal..
    i had to remove battery and reboot laptop to make my laptop work..!!
    Third,
    well this problem is i think connected to second problem..
    whenever my laptop crashes (as explained in second problem), and i reboot it. sometimes it doesn't boot..
    all leds turns on, fan starts and laptop turns off !!
    and when i try to boot the laptop after some time (say 15-25 mins), it boots without any problem..
    please give me solution of my problems..
    first i thought, the second problem is occuring due to overheating..
    but i have cleaned the cooling fan and removed the dust from it..
    normally temperature remains between 50-55 degre celcius..!!
    is that normal?
    is it the problem with lid ?
    please give some solution..
    you help will be much appriciated.
    thanks !!

    Hi srt99,
    Thanks for posting and welcome to the Lenovo Community,
    Am sorry to hear about the issue that and I’d like to help you with the issue that you’re facing,
    And first I’d like to ask you to share with us the operating system version installed on your machine to be able to help you more.
    Thanks and Best Regards,
    Soha
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

Maybe you are looking for

  • How to view pdf files inside firefox?

    I spent hours on this. pdf.js sucks ass. Neither foxit nor adobe reader works. I have been using firefox since 2.0.0.20. I will have to quit if I can't view the pdf files inside my browser! The worst thing that has ever happened to firefox is the pdf

  • Open button in App World

    Why is there no open button in app worls, if I already installed an app and visit it's description page. It would be really nice to not only see the "delete"-button but also be able to quickly start the app instead of having to search for the app in

  • ICI 3.0 Adaptor development - How to start?

    Hi, We need to integrate SAP-ICI with our contact center solution. (SAP CRM 4.0 IC WebClient.) I need to test the connectivity between SAP and my connector/adaptor software by exchanging at least one message. I have been trying to write such a progra

  • Vir2 Acoustic Legends HD compatible with Logic Express 8?

    I am blown away by the realism of this (http://www.vir2.com/vir2/products/acousticlegendshd/index.html) guitar sampler by Vir2. Although I am a bit disappointed by what the website says: "Intel-powered Macs are supported via a free downloadable updat

  • There is a sign screen error, probably due to insufficient memory.

    When I open a pdf (MacOSX 10.8.5) I get this message 'There is a sign screen error, probably due to insufficient memory.' (translation out of Dutch). Via Photoshop I can open the file, that's the strange thing about it. Someone an idea what the probl