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...

Similar Messages

  • Axis Example problem (CLASSPATH-related ?)

    Hi
    I am trying to deploy the example5 BeanSerializer example (after successfully completing exercises 1-4). I am running the following command from the samples/userguide/example5 directory:
    c:>java org.apache.axis.client.AdminClient -llocal:///AdminService deploy.wsdd
    This produces the following non-fatal error:
    SEVERE: Unable to deploy typemapping: {urn:BeanService}Order
    java.lang.ClassNotFoundException: samples.userguide.example5.Order
    I have "." in my CLASSPATH. The compiled .class files have been placed in the tomcat\webapps\axis\WEB-INF\classes\samples\userguide\example5\ folder. But the deployer is unable to locate the Order.class file.
    Any clue would be helpful. TIA.
    Sierra Bravo

    Hello All,
    I am having the same kind of problem. I can compile the samples but I cannot run them. As a result, I could not even install the sample webservices.
    Here's my description...
    I do not know if this is a Java environment problem or my Axis environment problem. So bear with me. I am having difficulty executing the samples that came with Axis 1.4.
    I know that my Java environment is OK because I had no problems compiling and executing the included Java JDK samples.
    Platform:
    =========
    Windows XP, SP2
    Apached Http Server 2.2 [installed at C:\wtSoftware\Apache2.2]
    Tomcat 5.5.17 [installed at C:\wtSoftware\Tomcat5.5]
    Axis 1.4 [installed at C:\wtSoftware\Tomcat5.5\webapps\axis]
    Sun jdk1.5.0_08 [installed at C:\wtSoftware\jdk1.5.0_08]
    copied JAF 1.1 JAR to AXIS_LIB
    copied tools.jar to AXIS_LIB
    copied JavaMail 1.4 to AXIS_LIB
    copied Xerces 2.8.0 to AXIS_LIB
    copied XML Security 1.3.0 to AXIS_LIB
    AXIS_HOME=C:\wtSoftware\Tomcat5.5\webapps\axis
    AXIS_LIB=%AXIS_HOME%\WEB-INF\lib
    AXISCLASSPATH=%AXIS_LIB%\axis.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\xercesImpl.jar;%AXIS_LIB%\xml-apis.jar;%AXIS_LIB%\saaj.jar;%AXIS_LIB%\wsdl4j-1.5.1.jar;%AXIS_LIB%\axis-ant.jar;%AXIS_LIB%\commons-discovery-0.2.jar;%AXIS_LIB%\commons-logging-1.0.4.jar;%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\mail.jar;%AXIS_LIB%\resolver.jar;%AXIS_LIB%\serializer.jar;%AXIS_LIB%\xalan.jar;%AXIS_LIB%\xmlsec-1.3.0.jar;%AXIS_LIB%\activation.jar;%AXIS_LIB%\tools.jar;
    CLASSPATH=%AXISCLASSPATH%
    I have correctly installed Axis as per the documentation and all pages work.
    When I tried to run the example as specified in the Axis User Guide, I would get an exception. The following is the command I used:
    java -verbose -cp "%CLASSPATH%" samples.userguide.example1.TestClient
    [Loaded java.io.BufferedReader from shared objects file]
    [Loaded java.io.InputStreamReader from shared objects file]
    [Loaded sun.nio.cs.StreamDecoder from shared objects file]
    [Loaded sun.nio.cs.StreamDecoder$CharsetSD from shared objects file]
    [Loaded java.util.AbstractSequentialList from shared objects file]
    [Loaded java.util.Queue from shared objects file]
    [Loaded java.util.LinkedList from shared objects file]
    [Loaded java.util.LinkedList$Entry from shared objects file]
    [Loaded java.io.IOException from shared objects file]
    [Loaded java.io.FileNotFoundException from shared objects file]
    Exception in thread "main" java.lang.NoClassDefFoundError: samples/userguide/example1/TestClient
    [Loaded java.lang.Shutdown from shared objects file]
    [Loaded java.lang.Shutdown$Lock from shared objects file]
    i have also tried to add all JAR files from the JDK into the CLASSPATH and still I would get an exception when running the class. Although the exception would be FileNotFoundException for another class.
    Any help would be greatly appreciated.
    Thanks

  • SOAP Axis adapter - problem with XML formatting

    Hello All,
    We are using SOAP Axis adapter on our scenario (because of NTLM authenticatiom) and faced a problem that some module in a module chain is pretty-formatting XML message (inserting newlines and spaces).
    Receiving WebService is REALLY strict on format and doesn't allow spaces and newlines between XML elements.
    Formatting is for sure done already in adapter as in sxmb_moni message is still one-liner.
    After different tests this formatting is most likely done by XI30OutboundHandler.
    Are there any parameters to prevent this formatting?
    If there are no parameters, than maybe there is a standard module to remove this XML indentation?
    Where I can found source code for XI30OutboundHandler to check how it is extracting payload from XI message?
    Thanks in advance for your answers!
    Best Regards,
    Artsiom Anichenka

    Hi, have you find a solution for this problem?
    I've tried set the parameter “disablePrettyXML”, as mentioned in SAP note 1039369 (search for “disabling pretty XML”), but apparently it didn’t work too. Have you tried that?
    I still get linefeeds and carriage return in the post requisition to the WebService.
    Regards,
    Ronaldo Schork.

  • Apache axis deserialization problem

    Can anybody help?
    We are using Apache's Axis web service framework for consuming web services. One of the web services has "nested" or complex types in the response, and the Axis framework is not processing it properly.
    Is there something that we need to configure to get this to work? Any suggestions are much appreciated.
    It gives the following message:
    org.xml.sax.SAXException: Invalid element in com.chase.egw._GWProfile - Product
    at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:260)
    at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:963)
    at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)
    at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:722)
    at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:323)
    at org.apache.axis.message.RPCElement.getParams(RPCElement.java:347)
    at org.apache.axis.client.Call.invoke(Call.java:2272)
    at org.apache.axis.client.Call.invoke(Call.java:2171)
    at org.apache.axis.client.Call.invoke(Call.java:1691)
    at com.chase.egw.GWProfilePortTypeSoapBindingStub.getProfile(GWProfilePortTypeSoapBindingStub.java:185)
    at com.echase.common.mf.sso.SSOGatewayServiceDelegate.getGWProfile(SSOGatewayServiceDelegate.java:178)

    I am having the same problem as you describe.
    Checkout out this link:
    http://dev-forums.ebay.com/thread.jsp?forum=1002&thread=100000782
    It talks about adding the following to the complex type defintion in the WSDL
    <xsd:any processContents = "lax"/>
    The good news is this solved the exception problem.
    The bad news is that my complex objects are not being deserialed. I've posted to the AXIS users mailing list.
    Here is what I posted:
    Hi,
    I need a little help getting started with AXIS.
    I've done some SOAP web services development a few years back using SUN JAXM, but I will be using AXIS for a webservice project in the near term.
    In order to get familiar with AXIS I did the GOOGLE thing and aquired a sample WDSL to try out.
    I am using 1.2RC3 version of AXIS with Tomcat 5.0.28.
    Here is the WSDL I first used:
    <wsdl:definitions
    name="PhotoCatalogService"
    targetNamespace="http://examples.com/PhotoCatalog"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:types="http://examples.com/PhotoCatalog/types"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns="http://examples.com/PhotoCatalog">
    <wsdl:types>
    <xsd:schema targetNamespace="http://examples.com/PhotoCatalog/types"
    xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
    xmlns:types="http://examples.com/PhotoCatalog/types">
    <xsd:import namespace="http://ws-i.org/profiles/basic/1.1/xsd" schemaLocation="WS-ISwA.xsd"/>
    <!-- Status contains the references the old photo available as attachment. -->
    <xsd:element name="Status" type="wsi:swaRef" />
    <!-- passed in as parameter of replacePhoto operation, contains the order. -->
    <xsd:element name="PhotoInfo">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="customerName" type="xsd:string"/>
    <xsd:element name="photoID" type="xsd:int"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="addPhotoRequest">
    <wsdl:part name="oldPhoto" element="types:PhotoInfo"/>
    <wsdl:part name="photo" type="xsd:hexBinary"/>
    </wsdl:message>
    <wsdl:message name="addPhotoResponse">
    <wsdl:part name="status" type="xsd:string"/>
    </wsdl:message>
    <wsdl:message name="replacePhotoRequest">
    <wsdl:part name="oldPhoto" element="types:PhotoInfo"/>
    <wsdl:part name="newPhoto" type="xsd:hexBinary"/>
    </wsdl:message>
    <wsdl:message name="replacePhotoResponse">
    <wsdl:part name="status" element="types:Status"/>
    </wsdl:message>
    <wsdl:portType name="PhotoCatalog">
    <wsdl:operation name="addPhoto">
    <wsdl:input message="tns:addPhotoRequest"/>
    <wsdl:output message="tns:addPhotoResponse"/>
    </wsdl:operation>
    <wsdl:operation name="replacePhoto">
    <wsdl:input message="tns:replacePhotoRequest"/>
    <wsdl:output message="tns:replacePhotoResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="PhotoCatalogBinding" type="tns:PhotoCatalog">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="addPhoto">
    <wsdl:input>
    <mime:multipartRelated>
    <mime:part>
    <soap:body parts="oldPhoto" use="literal"/>
    </mime:part>
    <mime:part>
    <mime:content part="photo" type="image/jpeg"/>
    </mime:part>
    </mime:multipartRelated>
    </wsdl:input>
    <wsdl:output>
    <mime:multipartRelated>
    <mime:part>
    <soap:body use="literal"/>
    </mime:part>
    <mime:part>
    <mime:content part="status" type="text/plain"/>
    <mime:content part="status" type="text/xml"/>
    </mime:part>
    </mime:multipartRelated>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="replacePhoto">
    <wsdl:input>
    <mime:multipartRelated>
    <mime:part>
    <soap:body parts="oldPhoto" use="literal"/>
    </mime:part>
    <mime:part>
    <mime:content part="newPhoto" type="image/jpeg"/>
    </mime:part>
    </mime:multipartRelated>
    </wsdl:input>
    <wsdl:output>
    <mime:multipartRelated>
    <mime:part>
    <soap:body parts="status" use="literal"/>
    </mime:part>
    </mime:multipartRelated>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="PhotoCatalogService">
    <wsdl:port name="PhotoCatalogPort" binding="tns:PhotoCatalogBinding">
    <soap:address location="http://localhost:8080/jaxrpc-AttachmentsSample/photocatalog"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    When I used the previous WSDL to generate a service and then a client I got the following error on the client side when trying the "addPhoto" service:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: org.xml.sax.SAXException: Invalid element in com.examples.PhotoCatalog.types.PhotoInfo - PhotoInfo
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}hostname:tislaptop
    org.xml.sax.SAXException: Invalid element in com.examples.PhotoCatalog.types.PhotoInfo - PhotoInfo
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
    at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:745)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:141)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2754)
    at org.apache.axis.client.Call.invoke(Call.java:2737)
    at org.apache.axis.client.Call.invoke(Call.java:2413)
    at org.apache.axis.client.Call.invoke(Call.java:2336)
    at org.apache.axis.client.Call.invoke(Call.java:1793)
    at com.examples.PhotoCatalog.PhotoCatalogBindingStub.addPhoto(PhotoCatalogBindingStub.java:190)
    at com.examples.PhotoCatalog.PhotoCatalogProxy.addPhoto(PhotoCatalogProxy.java:45)
    at com.examples.PhotoCatalog.TestPhotoService.main(TestPhotoService.java:41)
    Here is an abridged network trace of the SOAP request sent from client to server...
    POST /axis/services/PhotoCatalogPort HTTP/ 1.0
    Content-Type: multipart/related;type="text/xml";start="<DBB2B5537065926A4CBC8F8ED8D88F15>";boundary="----=_Part_0_20983130.1113483759295"
    Accept: application/soap+xml, application/dime, multipart/related, text/*
    User-Agent:Axis/1.2RC3
    Host: xxx.xxx.xxx.xxx:8080
    Cache-Control: no-cache
    Pragma: no-cache
    SOAPAction: ""
    Content-Length: 8466
    ------=_Part_0_209831301113483759295
    Content-Type: text/xml; charset=UTF-8
    Content-Transfer-Encoding: binary
    Content-Id: <DBB2B5537065926A4CBC8F8ED8D88F15>
    <?xml version="1.0" encoding="UTF-8" ?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XML Schema-instance">
    <soapenv:Body>
    <addPhoto xmlns="">
    <ns1:PhotoInfo xmlns:ns1="http://examples.com/PhotoCatalog/types">
    <customerName>karl</customerName>
    <photoID>100</photoID>
    </ns1:PhotoInfo>
    <photo href="cid:9AD6390B491EF0EE0B0FCEA7AA945655" xsi:type="ns2:Image" xmlns:ns2="http://xml.apache.org/xml-soap"/>
    </addPhoto>
    </soapenv:Body>
    </soapenv:Envelope>
    ------=_ Part_0_20983130.1113483759295
    Content-Type:image/jpeg
    Content -Transfer-Encoding:binary
    Content-Id: <F2369DA809C4B1B0ADBA8538372E6F23>
    ...QE..QE.......
    ------=_Part_0_20983130.1113483759295
    After a little searching I found some info that led me to change the WSDL a little. I redefined the "PhotoInfo" type as follows
    <xsd:element name="PhotoInfo">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="customerName" type="xsd:string"/>
    <xsd:element name="photoID" type="xsd:int"/>
    <xsd:any processContents = "lax"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    Now there is no exception thrown, but the PhotoInfo and photo objects are not deserialized. I get null values passed to the PhotoCatalogBindingImpl class.
    I noticed that an org.apache.axis.message.MessageElement[] object and associated methods was added to the PhotoInfo class, which I assume is due to adding the <xsd:any processContents = "lax"/> line to the WSDL.
    Here is the PhotoInfo and PhotoCatalogBindingImpl class source for reference:
    * PhotoCatalogBindingImpl.java
    * This file was auto-generated from WSDL
    * by the Apache Axis 1.2RC3 Feb 28, 2005 (10:15:14 EST) WSDL2Java emitter.
    package com.examples.PhotoCatalog;
    import javax.xml.transform.Source;
    public class PhotoCatalogBindingImpl implements com.examples.PhotoCatalog.PhotoCatalog{
    public javax.xml.transform.Source
    addPhoto(com.examples.PhotoCatalog.types.PhotoInfo oldPhoto, java.awt.Image photo) throws java.rmi.RemoteException {
    return null;
    public org.apache.axis.types.URI replacePhoto(com.examples.PhotoCatalog.types.PhotoInfo oldPhoto, java.awt.Image newPhoto) throws java.rmi.RemoteException {
    return null;
    * PhotoInfo.java
    * This file was auto-generated from WSDL
    * by the Apache Axis 1.2RC3 Feb 28, 2005 (10:15:14 EST) WSDL2Java emitter.
    package com.examples.PhotoCatalog.types;
    public class PhotoInfo implements java.io.Serializable, org.apache.axis.encoding.AnyContentType {
    private java.lang.String customerName;
    private int photoID;
    private org.apache.axis.message.MessageElement [] _any;
    public PhotoInfo() {
    public PhotoInfo(
    org.apache.axis.message.MessageElement [] _any,
    java.lang.String customerName,
    int photoID) {
    this.customerName = customerName;
    this.photoID = photoID;
    this._any = _any;
    * Gets the customerName value for this PhotoInfo.
    * @return customerName
    public java.lang.String getCustomerName() {
    return customerName;
    * Sets the customerName value for this PhotoInfo.
    * @param customerName
    public void setCustomerName(java.lang.String customerName) {
    this.customerName = customerName;
    * Gets the photoID value for this PhotoInfo.
    * @return photoID
    public int getPhotoID() {
    return photoID;
    * Sets the photoID value for this PhotoInfo.
    * @param photoID
    public void setPhotoID(int photoID) {
    this.photoID = photoID;
    * Gets the _any value for this PhotoInfo.
    * @return _any
    public org.apache.axis.message.MessageElement [] get_any() {
    return _any;
    * Sets the _any value for this PhotoInfo.
    * @param _any
    public void set_any(org.apache.axis.message.MessageElement [] _any) {
    this._any = _any;
    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
    if (!(obj instanceof PhotoInfo)) return false;
    PhotoInfo other = (PhotoInfo) obj;
    if (obj == null) return false;
    if (this == obj) return true;
    if (__equalsCalc != null) {
    return (__equalsCalc == obj);
    __equalsCalc = obj;
    boolean _equals;
    _equals = true &&
    ((this.customerName==null && other.getCustomerName()==null) ||
    (this.customerName!=null &&
    this.customerName.equals(other.getCustomerName()))) &&
    this.photoID == other.getPhotoID() &&
    ((this._any==null && other.get_any()==null) ||
    (this._any!=null &&
    java.util.Arrays.equals(this._any, other.get_any())));
    __equalsCalc = null;
    return _equals;
    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
    if (__hashCodeCalc) {
    return 0;
    __hashCodeCalc = true;
    int _hashCode = 1;
    if (getCustomerName() != null) {
    _hashCode += getCustomerName().hashCode();
    _hashCode += getPhotoID();
    if (get_any() != null) {
    for (int i=0;
    i<java.lang.reflect.Array.getLength(get_any());
    i++) {
    java.lang.Object obj = java.lang.reflect.Array.get(get_any(), i);
    if (obj != null &&
    !obj.getClass().isArray()) {
    _hashCode += obj.hashCode();
    __hashCodeCalc = false;
    return _hashCode;
    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
    new org.apache.axis.description.TypeDesc(PhotoInfo.class, true);
    static {
    typeDesc.setXmlType(new javax.xml.namespace.QName("http://examples.com/PhotoCatalog/types", ">PhotoInfo"));
    org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
    elemField.setFieldName("customerName");
    elemField.setXmlName(new javax.xml.namespace.QName("", "customerName"));
    elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
    typeDesc.addFieldDesc(elemField);
    elemField = new org.apache.axis.description.ElementDesc();
    elemField.setFieldName("photoID");
    elemField.setXmlName(new javax.xml.namespace.QName("", "photoID"));
    elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
    typeDesc.addFieldDesc(elemField);
    * Return type metadata object
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
    return typeDesc;
    * Get Custom Serializer
    public static org.apache.axis.encoding.Serializer getSerializer(
    java.lang.String mechType,
    java.lang.Class _javaType, 
    javax.xml.namespace.QName _xmlType) {
    return
    new org.apache.axis.encoding.ser.BeanSerializer(
    javaType, xmlType, typeDesc);
    * Get Custom Deserializer
    public static org.apache.axis.encoding.Deserializer getDeserializer(
    java.lang.String mechType,
    java.lang.Class _javaType, 
    javax.xml.namespace.QName _xmlType) {
    return
    new org.apache.axis.encoding.ser.BeanDeserializer(
    javaType, xmlType, typeDesc);
    I guess my questions are as follows:
    1. Why is exception thrown in the first scenario? Is there something wrong with the WSDL? I guess there is, but I can't figure it out.
    2. When the change is made to the WDSL(adding <xsd:any processContents = "lax"/>) is there something that I need to add to the PhotoInfo class
    to process the org.apache.axis.message.MessageElement[] object. Do I need to "manually" parse that object in the PhotoCatalogBindingImpl class to get
    the values of customerName and photoID?
    Any other help would be appreciated..
    thanks,
    Karl Schwarz
    System Architect
    Northrop Grumman

  • 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...:)

  • Charts data axis scaling problem

    Post Author: rameshp
    CA Forum: Charts and Graphs
    Hi ,
    I work on crystal reports XI.
    I'm facing problem regarding scaling data axis. I have illustrated that in the following lines:
    case1) if i have high values (sum of bytes) like more than 600 etc. its scaling data axis from 0 to say 1000.
    case 2) if i have low values like 0,1 (bytes)   then its scaling from -4 to say 6 .
    I don't want negative values on data axis .  I want from 0 to max. So what's the better way to do this using chart expert.
    Your suggestion is highly appreciated !
    Thanks,
    Ramesh.

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    satwar,
    There is no "trick", we're just victims of the limitation that WebI has in portraying XYZ type charts to our better liking.  I submitted a request to Business Objects Tech Support in Oct 2006 and became the proud holder of two ADAPTs:
    ADAPT00676587 u2013 for the scaling issueADAPT00676609 u2013 for the stacked bar chart, line graph issue
    When fully implemented, the scaling for Y and Z should be able to correspond to each other.  For instance, max value of Y and max value of Z will set on both scales the same max value.  I don't discourage you from submitting a trouble-ticket, perhaps if they get more noise on this situation they'll resolve my (our) ADPAT sooner, but just hoping....

  • 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 Installation Problem

    Hi,I followed the steps shown in the installation guide,and when i test it,i can see the start page,but when it jumps to http://localhost:8080/axis/index.jsp or http://localhost:8080/axis/happyaxis.jsp,the following exception was thrown:
    java.util.MissingResourceException: Can't find bundle for base name i18n, locale zh_CN
         java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
         java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
         java.util.ResourceBundle.getBundle(ResourceBundle.java:538)
         org.apache.jsp.axis.happyaxis_jsp.getRB(happyaxis_jsp.java:325)
         org.apache.jsp.axis.happyaxis_jsp.getMessage(happyaxis_jsp.java:421)
         org.apache.jsp.axis.happyaxis_jsp.getMessage(happyaxis_jsp.java:359)
         org.apache.jsp.axis.happyaxis_jsp._jspService(happyaxis_jsp.java:558)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:268)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:258)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:205)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)I checked the code of index.jsp under the axis directory,it has one code segment like this:
    <%@ include file="i18nLib.jsp" %>
    <%
        // initialize a private HttpServletRequest
        setRequest(request);
        // set a resouce base
        setResouceBase("i18n");
    %>As you see,it sets the resource base to "i18n", and it is the root cause of the exception.so what does i18n stands for?and how could i solve the problem?
    regards!

    i18n stands for "Internationalization"
    Do you have "i18nLib.jsp" in the same folder as index.jsp ?
    Maybe you might get better help in the Axis user forum.

  • 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.

Maybe you are looking for