Using longblob in hibernate

I'm new to the hibernate world and i am using it to map a table that stores files of all types. i am however recieving a very strange error :
javax.servlet.ServletException: java.lang.ClassCastException: [B cannot be cast to java.sql.Blob
I have mapped my MySql LONGBLOB column has: `<property name="fileData" type="blob" .../>` and `<property name="fileData" type="longblog" .../>` but both dont work.
I'm currently using spring mvc version 3.x the latest version and tomcant 7 if that helps.
edit: here is how my POJO looks like for fileObject:
[CODE]package com.kc.models;
public class FileObject {
     private String fileName;
     private String type;
     private double size;
     private byte[] file;
     private int id;
     public int getId() {
          return id;
     public void setId(int id) {
          this.id = id;
     public String getFileName() {
          return fileName;
     public void setFileName(String fileName) {
          this.fileName = fileName;
     public String getType() {
          return type;
     public void setType(String type) {
          this.type = type;
     public double getSize() {
          return size;
     public void setSize(double size) {
          this.size = size;
     public byte[] getFile() {
          return file;
     public void setFile(byte[] file) {
          this.file = file;
And here is how my hbm.xml file looks like:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="com.kc.models.FileObject" >
     <class name="com.kc.models.FileObject" table="FILES">
          <id name="id" column="ID">
               <generator class="native" />
          </id>
          <property name="fileName" type="string" column="FILENAME" />
          <property name="type" type="string" column="TYPE" />
          <property name="size" type="double" column="SIZE" />
          <property name="file" type="blob" column="FILE" />
     </class>
</hibernate-mapping>O and here is a print screen of mySql:

shienna17 wrote:
javax.servlet.ServletException: java.lang.ClassCastException: [B cannot be cast to java.sql.Blob
That means you're trying to cast a byte array to Blob.                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • How to use Ejb with Hibernate in netbeans

    hello everybody
    i am developing a project using ejb and hibernate as a persistance provider. i need some idea how to develop a web application in netbeans. I went through a example in netbeans but it's not helping me.If any body can give me some idea
    many thanks
    sri

    Well, I've never used a JProgressBar before, so I'm
    not sure. If I add it to the frame, can I call it
    whenever I need to use it like when I click the
    JMenuItem do I just call it?Questions like these are better answered by the tutorials:
    http://java.sun.com/docs/books/tutorial/uiswing/components/progress.html

  • How to store an image into MySQL db using BlazeDS and Hibernate?

    Hi!
    I am using Flash Builder 4.6, BlazeDS, and Hibernate. How to store a webcam snapshot into the MySql Database. I stored Form Items by using RemoteObject into the database. But I failed to store webcam snapshot. I captured that image on Panel component.I converted that image to ByteArray. Now I want to save that image into the database. Please help me in this regard.
    thanks in advance.
    Here the Code:
    VisitorEntryForm.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TitleWindow
              xmlns:mx="http://www.adobe.com/2006/mxml"
              xmlns:vo="com.visitor.vo.*"
              width="600"
              height="300"
              defaultButton="{submitButton}"
              showCloseButton="true"
              creationComplete="creationCompleteHandler();"
              close="PopUpManager.removePopUp(this);"
              title="Visitor Entry Form" xmlns:text="flash.text.*">
              <mx:RemoteObject id="saveService" destination="visitorService" result="handleSaveResult(event)" fault="handleFault(event)" showBusyCursor="true" />
              <vo:Visitor id="visitor"
                                               vType="{vTypeField.text}"
                                               vPurpose="{vPurposeField.text}"
                                               vName="{vNameField.text}"
                                               vAddress="{vAddressField.text}"
                                               cPerson="{cPersonField.text}"
                                               cAddress="{cAddressField.text}"
                                     />
                        <mx:Script>
                        <![CDATA[
                        import mx.managers.PopUpManager;
                        import flash.media.Camera;
                        import com.visitor.vo.WebCam;
                        import com.visitor.vo.Base64;
                        import mx.core.UIComponent;
                        import mx.graphics.codec.JPEGEncoder;
                        import mx.controls.Alert;
                        import mx.containers.Canvas;
                        import mx.rpc.events.ResultEvent;
                        import mx.rpc.events.FaultEvent;
                        import mx.events.ValidationResultEvent;
                        import mx.validators.Validator;
                                  [Bindable]
                                  private var webCam: com.visitor.vo.WebCam;
                                  [Bindable]
                                  private var message:String;
                                  [Bindable]
                                  private var formIsValid:Boolean = false;
                                  [Bindable]
                                  public var formIsEmpty:Boolean;
                                  private var focussedFormControl:DisplayObject;
                                  private function handleSaveResult(ev:ResultEvent):void {
                                            clearFormHandler();
                                            validateForm(ev);
                                            Alert.show("Visitor successfully created/updated.", "Information", Alert.OK, null, null, null, Alert.OK);
                                            // Reload the list.
                                            parentApplication.listConsultants.loaderService.getConsultants();
                                            PopUpManager.removePopUp(this);
                                  private function handleFault(ev:FaultEvent):void {
                                            message = "Error: " + ev.fault.faultCode + " \n "
                                                      + "Detail: " + ev.fault.faultDetail + " \n "
                                                      + "Message: " + ev.fault.faultString;
                                  public function saveVisitor():void {
                                            saveService.addUpdateVisitor(visitor);
                                  private function creationCompleteHandler():void {
                                            init();
                                            PopUpManager.centerPopUp(this);
                                            resetFocus();
                                  private function resetFocus():void {
                                            focusManager.setFocus(vTypeField);
                                  public function validateForm(event:Event):void  {
                                            focussedFormControl = event.target as DisplayObject;   
                                            formIsValid = true;
                                            // Check if form is empty
                                            formIsEmpty = (vTypeField.text == "" && vPurposeField.text == "" && vNameField.text == "" && vAddressField.text == "" && cPersonField.text == "" && cAddressField.text == "");
                                            validate(vTypeValidator);               
                                            validate(vPurposeValidator);
                                            validate(vNameValidator);
                                            validate(vAddressValidator);
                                            validate(cPersonValidator);
                                            validate(cAddressValidator);
                                  private function validate(validator:Validator):Boolean {
                                            var validatorSource:DisplayObject = validator.source as DisplayObject;
                                            var suppressEvents:Boolean = (validatorSource != focussedFormControl);
                                            var event:ValidationResultEvent = validator.validate(null, suppressEvents);
                                            var currentControlIsValid:Boolean = (event.type == ValidationResultEvent.VALID);
                                            formIsValid = formIsValid && currentControlIsValid;
                                            return currentControlIsValid;
                                  private function clearFormHandler():void {
                                            // Clear all input fields.
                                            vTypeField.text = "";
                                            vPurposeField.text = "";
                                            vNameField.text = "";
                                            vAddressField.text = "";
                                            cPersonField.text = "";
                                            cAddressField.text = "";
                                            message = "";
                                            // Clear validation error messages.
                                            vTypeField.errorString = "";
                                            vPurposeField.errorString = "";
                                            vNameField.errorString = "";
                                            vAddressField.errorString = "";
                                            cPersonField.errorString = "";
                                            cAddressField.errorString = "";
                                            formIsEmpty = true;
                                            formIsValid = false;
                                            resetFocus();
                                  private function init():void {
                                  webCam = new WebCam(97,97);
                                  var ref:UIComponent = new UIComponent();
                                  preview.removeAllChildren();
                                  preview.addChild(ref);
                                  ref.addChild(webCam);
                                  private function takeSnapshot():void {
                                  imageViewer.visible = true;
                                  imageViewer.width = preview.width;
                                  imageViewer.height = preview.height;
                                  var uiComponent : UIComponent = new UIComponent();
                                  uiComponent.width = webCam.width;
                                  uiComponent.height = webCam.height;
                                  var photoData:Bitmap = webCam.getSnapshot();
                                  var photoBitmap:BitmapData = photoData.bitmapData;
                                  uiComponent.addChild(photoData);
                                  imageViewer.removeAllChildren();
                                  imageViewer.addChild(uiComponent);
                                  private function uploadSnapshot():void
                                            if (imageViewer.getChildren().length > 0)
                                                      var uic:UIComponent = imageViewer.getChildAt(0) as UIComponent;
                                                      var bitmap:Bitmap = uic.getChildAt(0) as Bitmap;
                                                      var jpgEncoder:JPEGEncoder = new JPEGEncoder(75);
                                                      var jpgBytes:ByteArray = jpgEncoder.encode(bitmap.bitmapData);
                                  private function deleteSnapshot():void
                                            imageViewer.removeAllChildren();
                        ]]>
                        </mx:Script>
              <mx:StringValidator id="vTypeValidator"          source="{vTypeField}"          property="text" minLength="2" required="true" />
              <mx:StringValidator id="vPurposeValidator" source="{vPurposeField}"          property="text" minLength="2" required="true" />
              <mx:StringValidator id="vNameValidator"          source="{vNameField}"          property="text" minLength="2" required="true" />
              <mx:StringValidator id="vAddressValidator"          source="{vAddressField}"          property="text" minLength="5" required="true" />
              <mx:StringValidator id="cPersonValidator" source="{cPersonField}"          property="text" minLength="2" required="true" />
              <mx:StringValidator id="cAddressValidator"          source="{cAddressField}"          property="text" minLength="5" required="true" />
              <mx:Grid width="575" height="211">
                        <mx:GridRow width="575" height="211">
                                  <mx:GridItem width="301" height="235">
                                            <mx:Form width="301" height="208">
                                                      <mx:FormItem label="Visitor's Type">
                                                                <mx:ComboBox id="vTypeField" text="{visitor.vType}" change="validateForm(event);" editable="true">
                                                                          <mx:Array>
                                                                                    <mx:String></mx:String>
                                                                                    <mx:String>Contractor</mx:String>
                                                                                    <mx:String>Supplier</mx:String>
                                                                                    <mx:String>Transporter</mx:String>
                                                                                    <mx:String>Plant</mx:String>
                                                                                    <mx:String>Non-Plant</mx:String>
                                                                          </mx:Array>
                                                                </mx:ComboBox>
                                                      </mx:FormItem>
                                                      <mx:FormItem label="Visit Purpose">
                                                                <mx:ComboBox id="vPurposeField" text="{visitor.vPurpose}" change="validateForm(event);" editable="true">
                                                                          <mx:Array>
                                                                                    <mx:String></mx:String>
                                                                                    <mx:String>Official</mx:String>
                                                                                    <mx:String>Personal</mx:String>
                                                                          </mx:Array>
                                                                </mx:ComboBox>
                                                      </mx:FormItem>
                                                      <mx:FormItem label="Visitor's Name">
                                                                <mx:TextInput id="vNameField"  text="{visitor.vName}" change="validateForm(event);"/>
                                                      </mx:FormItem>
                                                      <mx:FormItem label="Address">
                                                                <mx:TextInput id="vAddressField"   text="{visitor.vAddress}" change="validateForm(event);"/>
                                                      </mx:FormItem>
                                                      <mx:FormItem label="Contact Person">
                                                                <mx:TextInput id="cPersonField"  text="{visitor.cPerson}" change="validateForm(event);"/>
                                                      </mx:FormItem>
                                                      <mx:FormItem label="Address">
                                                                <mx:TextInput id="cAddressField"  text="{visitor.cAddress}" change="validateForm(event);"/>
                                                      </mx:FormItem>
                                                      </mx:Form>
                                  </mx:GridItem>
                                  <mx:GridItem width="264" height="193">
                                            <mx:Grid width="241" height="206">
                                                      <mx:GridRow width="100%" height="100%">
                                                                <mx:GridItem width="100%" height="100%" horizontalAlign="center" verticalAlign="middle">
                                                                          <mx:Panel width="100" height="132" title="Snap" id="preview" layout="absolute"/>
                                                                </mx:GridItem>
                                                                <mx:GridItem width="100%" height="100%" horizontalAlign="center" verticalAlign="middle">
                                                                          <mx:Panel width="100" height="132" title="Preview" id="imageViewer"  layout="absolute"/>
                                                                </mx:GridItem>
                                                      </mx:GridRow>
                                                      <mx:GridRow width="100%" height="27" >
                                                                <mx:GridItem width="100%" height="100%" horizontalAlign="center">
                                                                          <mx:Button id="snapshot" x="2" width="106" height="27" label="Snap"
                                                                                                  click="takeSnapshot();"/>
                                                                </mx:GridItem>
                                                                <mx:GridItem width="100%" height="100%" horizontalAlign="center">
                                                                          <mx:Button id="deleteButton" x="1" width="106" height="27" label="Delete"
                                                                                                  click="deleteSnapshot();"/>
                                                                </mx:GridItem>
                                                      </mx:GridRow>
                                            </mx:Grid>
                                  </mx:GridItem>
                        </mx:GridRow>
              </mx:Grid>
              <mx:ControlBar height="40" horizontalAlign="center">
                        <mx:Button label="Save Visitor"          id="submitButton" enabled="{formIsValid}" click="saveVisitor();" />
                        <mx:Button label="Clear form" enabled="{!formIsEmpty}"          click="clearFormHandler();" />
                        <mx:Button label="Cancel" click="PopUpManager.removePopUp(this);"/>
                        <mx:Label width="211" id="state"/>
              </mx:ControlBar>
              <mx:Text text="{message}" fontWeight="bold" width="300"/>
    </mx:TitleWindow>
    ListVisitors.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Panel
              xmlns:mx="http://www.adobe.com/2006/mxml"
              xmlns:view="com.visitor.view.*"
              width="100%"
              height="100%"
              title="Visitor Management System - Found {visitorRecords} visitors."
              creationComplete="loadVisitors();">
              <mx:RemoteObject id="loaderService" destination="visitorService" result="handleLoadResult(event)"          fault="handleFault(event)" showBusyCursor="true" />
              <mx:RemoteObject id="deleteService" destination="visitorService" result="handleDeleteResult(event)"          fault="handleFault(event)" showBusyCursor="true" />
              <mx:Script>
                        <![CDATA[
                                  import com.visitor.vo.Visitor;
                                  import mx.controls.Alert;
                                  import mx.managers.PopUpManager;
                                  import mx.containers.TitleWindow;
                                  import mx.collections.ArrayCollection;
                                  import mx.rpc.events.ResultEvent;
                                  import mx.rpc.events.FaultEvent;
                                  [Bindable]
                                  private var message:String;
                                  [Bindable]
                                  private var visitors:ArrayCollection = new ArrayCollection();
                                  [Bindable]
                                  private var visitorRecords:int = 0;
                                  public function loadVisitors():void {
                                            loaderService.getVisitors();
                                  private function deleteVisitor():void {
                                            if(dataGrid.selectedItem != null) {
                                                      var selectedItem:Visitor = dataGrid.selectedItem as Visitor;
                                                      deleteService.deleteVisitor(selectedItem.visitorId);
                                  private function createVisitor():void {
                                            var titleWindow:VisitorEntryForm = VisitorEntryForm(PopUpManager.createPopUp(this, VisitorEntryForm, true));
                                            titleWindow.setStyle("borderAlpha", 0.9);
                                            titleWindow.formIsEmpty = true;
                                  private function updateVisitor():void {
                                            var titleWindow:VisitorEntryForm = VisitorEntryForm(PopUpManager.createPopUp(this, VisitorEntryForm, true));
                                            titleWindow.setStyle("borderAlpha", 0.9);
                                            titleWindow.visitor = dataGrid.selectedItem as Visitor;
                                            titleWindow.formIsEmpty = false;
                                  private function handleLoadResult(ev:ResultEvent):void {
                                            visitors = ev.result as ArrayCollection;
                                            visitorRecords = visitors.length;
                                  private function handleDeleteResult(ev:ResultEvent):void {
                                            Alert.show("The visitor has been deleted.", "Information", Alert.OK, null, null, null, Alert.OK);
                                            loadVisitors();
                                  private function handleFault(ev:FaultEvent):void {
                                            message = "Error: "
                                                      + ev.fault.faultCode + " - "
                                                      + ev.fault.faultDetail + " - "
                                                      + ev.fault.faultString;
                        ]]>
              </mx:Script>
              <mx:VBox width="100%" height="100%">
                        <mx:Label text="{message}" fontWeight="bold" includeInLayout="false" />
                        <mx:DataGrid
                                  id="dataGrid"
                                  width="100%"
                                  height="100%"
                                  dataProvider="{visitors}"
                                  doubleClickEnabled="true"
                                  doubleClick="updateVisitor()" >
                                  <mx:columns>
                                            <mx:DataGridColumn dataField="visitorId"          headerText="Visitor ID" width="100"/>
                                            <mx:DataGridColumn dataField="vType"                    headerText="Visitor's Type" />
                                            <mx:DataGridColumn dataField="vPurpose"           headerText="Visit Purpose" />
                                            <mx:DataGridColumn dataField="vName"                     headerText="Visitor's Name" />
                                            <mx:DataGridColumn dataField="vAddress"                    headerText="Visitor's Address" />
                                            <mx:DataGridColumn dataField="cPerson"                     headerText="Contact Person" />
                                            <mx:DataGridColumn dataField="cAddress"                    headerText="Contact Address" />
                                            <mx:DataGridColumn dataField="timeIn"                     headerText="Time-In" />
                                            <mx:DataGridColumn dataField="timeOut"                     headerText="Time-Out" />
                                            <mx:DataGridColumn dataField="vPhoto"                     headerText="Visitor's Photo" />
                                  </mx:columns>
                        </mx:DataGrid>
                        <mx:ControlBar horizontalAlign="center">
                                  <mx:Button label="Create Visitor"          click="createVisitor()"          toolTip="Create a new visitor and store it in the database." />
                                  <mx:Button label="Update Visitor"          click="updateVisitor()"           enabled="{dataGrid.selectedItem}" toolTip="Update an existing database visitor." />
                                  <mx:Button label="Delete Visitor"          click="deleteVisitor()"          enabled="{dataGrid.selectedItem}" toolTip="Delete the visitor from the database." />
                                  <mx:Button label="Reload Data"                    click="loadVisitors()"           toolTip="Reload the visitor list from the database." />
                        </mx:ControlBar>
              </mx:VBox>
    </mx:Panel>
    Visitor.as
    package com.visitor.vo
              import mx.controls.Image;
              import spark.primitives.BitmapImage;
              [Bindable]
              [RemoteClass(alias="com.visitor.Visitor")]
              public class Visitor
                        public function Visitor()
                        public var visitorId:Number;
                        public var vType:String;
                        public var vPurpose:String;
                        public var vName:String;
                        public var vAddress:String;
                        public var cPerson:String;
                        public var cAddress:String;
                        public var timeIn:Date;
                        public var timeOut:Date;
                       public var vPhoto: Image;
    Visitor.java
    package com.visitor;
    import java.sql.Blob;
    import java.sql.Timestamp;
    import javax.persistence.Basic;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.GeneratedValue;
    import javax.persistence.GenerationType;
    import javax.persistence.Id;
    import javax.persistence.NamedQueries;
    import javax.persistence.NamedQuery;
    import javax.persistence.Table;
    import org.hibernate.annotations.Index;
    @Entity
    @Table(name = "visitors")
    @NamedQueries( {
                        @NamedQuery(name = "visitors.findAll", query = "from Visitor"),
                        @NamedQuery(name = "visitors.byId", query = "select v from Visitor v where v.visitorId= :visitorId") })
    public class Visitor {
              @Id
              @GeneratedValue(strategy = GenerationType.AUTO)
              @Column(name = "visitorId", nullable = false)
              private Long visitorId;
              @Basic
              @Index(name = "vType_idx_1")
              @Column(name = "vType", nullable = true, unique = false)
              private String vType;
              @Basic
              @Column(name = "vPurpose", nullable = true, unique = false)
              private String vPurpose;
              @Basic
              @Column(name = "vName", nullable = true, unique = false)
              private String vName;
              @Basic
              @Column(name = "vAddress", nullable = true, unique = false)
              private String vAddress;
              @Basic
              @Column(name = "cPerson", nullable = true, unique = false)
              private String cPerson;
              @Basic
              @Column(name = "cAddress", nullable = true, unique = false)
              private String cAddress;
              @Basic
              @Column(name = "timeIn", nullable = false, unique = false)
              private Timestamp timeIn;
              @Basic
              @Column(name = "timeOut", nullable = true, unique = false)
              private Timestamp timeOut;
              @Basic
              @Column(name = "vPhoto", nullable = true, unique = false)
              private Blob vPhoto;
              public Visitor() {
                        super();
              public Long getVisitorId() {
                        return visitorId;
              public void setVisitorId(Long visitorId) {
                        this.visitorId = visitorId;
              public String getvType() {
                        return vType;
              public void setvType(String vType) {
                        this.vType = vType;
              public String getvPurpose() {
                        return vPurpose;
              public void setvPurpose(String vPurpose) {
                        this.vPurpose = vPurpose;
              public String getvName() {
                        return vName;
              public void setvName(String vName) {
                        this.vName = vName;
              public String getvAddress() {
                        return vAddress;
              public void setvAddress(String vAddress) {
                        this.vAddress = vAddress;
              public String getcPerson() {
                        return cPerson;
              public void setcPerson(String cPerson) {
                        this.cPerson = cPerson;
              public String getcAddress() {
                        return cAddress;
              public void setcAddress(String cAddress) {
                        this.cAddress = cAddress;
              public Timestamp getTimeIn() {
                        return timeIn;
              public void setTimeIn(Timestamp timeIn) {
                        this.timeIn = timeIn;
              public Timestamp getTimeOut() {
                        return timeOut;
              public void setTimeOut(Timestamp timeOut) {
                        this.timeOut = timeOut;
              public Blob getvPhoto() {
                        return vPhoto;
              public void setvPhoto(Blob vPhoto) {
                        this.vPhoto = vPhoto;
    VisitorService.java
    package com.visitor;
    import java.sql.Timestamp;
    import java.util.Date;
    import java.util.List;
    import javax.persistence.EntityManager;
    import javax.persistence.EntityManagerFactory;
    import javax.persistence.EntityTransaction;
    import javax.persistence.Persistence;
    import javax.persistence.Query;
    import org.apache.log4j.Logger;
    public class VisitorService {
              private static final String PERSISTENCE_UNIT = "visitor_db";
              private static Logger logger = Logger.getLogger(VisitorService.class);
              public VisitorService() {
                        super();
              public List<Visitor> getvisitors() {
                        logger.debug("** getVisitors called...");
                        EntityManagerFactory entityManagerFactory = Persistence
                                            .createEntityManagerFactory(PERSISTENCE_UNIT);
                        EntityManager em = entityManagerFactory.createEntityManager();
                        Query findAllQuery = em.createNamedQuery("visitors.findAll");
                        List<Visitor> visitors = findAllQuery.getResultList();
                        if (visitors != null)
                                  logger.debug("** Found " + visitors.size() + " records:");
                        return visitors;
              public void addUpdateVisitor(Visitor visitor) throws Exception {
                        logger.debug("** addUpdateVisitor called...");
                        EntityManagerFactory emf = Persistence
                                            .createEntityManagerFactory(PERSISTENCE_UNIT);
                        EntityManager em = emf.createEntityManager();
                        // When passing Boolean and Number values from the Flash client to a
                        // Java object, Java interprets null values as the default values for
                        // primitive types; for example, 0 for double, float, long, int, short,
                        // byte.
                        if (visitor.getVisitorId() == null          || visitor.getVisitorId() == 0) {
                                  // New consultant is created
                                  visitor.setVisitorId(null);
                                  visitor.setTimeIn(new Timestamp(new Date().getTime()));
                        } else {
                                  visitor.setTimeOut(new Timestamp(new Date().getTime()));
                                  // Existing consultant is updated - do nothing.
                        EntityTransaction tx = em.getTransaction();
                        tx.begin();
                        try {
                                  em.merge(visitor);
                                  tx.commit();
                        } catch (Exception e) {
                                  logger.error("** Error: " + e.getMessage());
                                  tx.rollback();
                                  throw new Exception(e.getMessage());
                        } finally {
                                  logger.info("** Closing Entity Manager.");
                                  em.close();
              public void deleteVisitor(Long visitorId) {
                        logger.debug("** deleteVisitor called...");
                        EntityManagerFactory emf = Persistence
                                            .createEntityManagerFactory(PERSISTENCE_UNIT);
                        EntityManager em = emf.createEntityManager();
                        Query q = em.createNamedQuery("visitors.byId");
                        q.setParameter("visitorId", visitorId);
                        Visitor visitor = (Visitor) q.getSingleResult();
                        if (visitor != null) {
                                  EntityTransaction tx = em.getTransaction();
                                  tx.begin();
                                  try {
                                            em.remove(visitor);
                                            tx.commit();
                                  } catch (Exception e) {
                                            logger.error("** Error: " + e.getMessage());
                                            tx.rollback();
                                  } finally {
                                            logger.info("** Closing Entity Manager.");
                                            em.close();
    remoting-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <service id="remoting-service" class="flex.messaging.services.RemotingService">
              <adapters>
                        <adapter-definition id="java-object"
                                  class="flex.messaging.services.remoting.adapters.JavaAdapter"
                                  default="true" />
              </adapters>
              <default-channels>
                        <channel ref="my-amf" />
              </default-channels>
              <!-- ADC Demo application -->
              <destination id="visitorService">
                        <properties>
                                  <source>com.visitor.VisitorService</source>
                        </properties>
              </destination>
    </service>

    Hi!
    I am using Flash Builder 4.6, BlazeDS, and Hibernate. How to store a webcam snapshot into the MySql Database. I stored Form Items by using RemoteObject into the database. But I failed to store webcam snapshot. I captured that image on Panel component.I converted that image to ByteArray. Now I want to save that image into the database. Please help me in this regard.
    thanks in advance.
    Here the Code:
    VisitorEntryForm.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TitleWindow
              xmlns:mx="http://www.adobe.com/2006/mxml"
              xmlns:vo="com.visitor.vo.*"
              width="600"
              height="300"
              defaultButton="{submitButton}"
              showCloseButton="true"
              creationComplete="creationCompleteHandler();"
              close="PopUpManager.removePopUp(this);"
              title="Visitor Entry Form" xmlns:text="flash.text.*">
              <mx:RemoteObject id="saveService" destination="visitorService" result="handleSaveResult(event)" fault="handleFault(event)" showBusyCursor="true" />
              <vo:Visitor id="visitor"
                                               vType="{vTypeField.text}"
                                               vPurpose="{vPurposeField.text}"
                                               vName="{vNameField.text}"
                                               vAddress="{vAddressField.text}"
                                               cPerson="{cPersonField.text}"
                                               cAddress="{cAddressField.text}"
                                     />
                        <mx:Script>
                        <![CDATA[
                        import mx.managers.PopUpManager;
                        import flash.media.Camera;
                        import com.visitor.vo.WebCam;
                        import com.visitor.vo.Base64;
                        import mx.core.UIComponent;
                        import mx.graphics.codec.JPEGEncoder;
                        import mx.controls.Alert;
                        import mx.containers.Canvas;
                        import mx.rpc.events.ResultEvent;
                        import mx.rpc.events.FaultEvent;
                        import mx.events.ValidationResultEvent;
                        import mx.validators.Validator;
                                  [Bindable]
                                  private var webCam: com.visitor.vo.WebCam;
                                  [Bindable]
                                  private var message:String;
                                  [Bindable]
                                  private var formIsValid:Boolean = false;
                                  [Bindable]
                                  public var formIsEmpty:Boolean;
                                  private var focussedFormControl:DisplayObject;
                                  private function handleSaveResult(ev:ResultEvent):void {
                                            clearFormHandler();
                                            validateForm(ev);
                                            Alert.show("Visitor successfully created/updated.", "Information", Alert.OK, null, null, null, Alert.OK);
                                            // Reload the list.
                                            parentApplication.listConsultants.loaderService.getConsultants();
                                            PopUpManager.removePopUp(this);
                                  private function handleFault(ev:FaultEvent):void {
                                            message = "Error: " + ev.fault.faultCode + " \n "
                                                      + "Detail: " + ev.fault.faultDetail + " \n "
                                                      + "Message: " + ev.fault.faultString;
                                  public function saveVisitor():void {
                                            saveService.addUpdateVisitor(visitor);
                                  private function creationCompleteHandler():void {
                                            init();
                                            PopUpManager.centerPopUp(this);
                                            resetFocus();
                                  private function resetFocus():void {
                                            focusManager.setFocus(vTypeField);
                                  public function validateForm(event:Event):void  {
                                            focussedFormControl = event.target as DisplayObject;   
                                            formIsValid = true;
                                            // Check if form is empty
                                            formIsEmpty = (vTypeField.text == "" && vPurposeField.text == "" && vNameField.text == "" && vAddressField.text == "" && cPersonField.text == "" && cAddressField.text == "");
                                            validate(vTypeValidator);               
                                            validate(vPurposeValidator);
                                            validate(vNameValidator);
                                            validate(vAddressValidator);
                                            validate(cPersonValidator);
                                            validate(cAddressValidator);
                                  private function validate(validator:Validator):Boolean {
                                            var validatorSource:DisplayObject = validator.source as DisplayObject;
                                            var suppressEvents:Boolean = (validatorSource != focussedFormControl);
                                            var event:ValidationResultEvent = validator.validate(null, suppressEvents);
                                            var currentControlIsValid:Boolean = (event.type == ValidationResultEvent.VALID);
                                            formIsValid = formIsValid && currentControlIsValid;
                                            return currentControlIsValid;
                                  private function clearFormHandler():void {
                                            // Clear all input fields.
                                            vTypeField.text = "";
                                            vPurposeField.text = "";
                                            vNameField.text = "";
                                            vAddressField.text = "";
                                            cPersonField.text = "";
                                            cAddressField.text = "";
                                            message = "";
                                            // Clear validation error messages.
                                            vTypeField.errorString = "";
                                            vPurposeField.errorString = "";
                                            vNameField.errorString = "";
                                            vAddressField.errorString = "";
                                            cPersonField.errorString = "";
                                            cAddressField.errorString = "";
                                            formIsEmpty = true;
                                            formIsValid = false;
                                            resetFocus();
                                  private function init():void {
                                  webCam = new WebCam(97,97);
                                  var ref:UIComponent = new UIComponent();
                                  preview.removeAllChildren();
                                  preview.addChild(ref);
                                  ref.addChild(webCam);
                                  private function takeSnapshot():void {
                                  imageViewer.visible = true;
                                  imageViewer.width = preview.width;
                                  imageViewer.height = preview.height;
                                  var uiComponent : UIComponent = new UIComponent();
                                  uiComponent.width = webCam.width;
                                  uiComponent.height = webCam.height;
                                  var photoData:Bitmap = webCam.getSnapshot();
                                  var photoBitmap:BitmapData = photoData.bitmapData;
                                  uiComponent.addChild(photoData);
                                  imageViewer.removeAllChildren();
                                  imageViewer.addChild(uiComponent);
                                  private function uploadSnapshot():void
                                            if (imageViewer.getChildren().length > 0)
                                                      var uic:UIComponent = imageViewer.getChildAt(0) as UIComponent;
                                                      var bitmap:Bitmap = uic.getChildAt(0) as Bitmap;
                                                      var jpgEncoder:JPEGEncoder = new JPEGEncoder(75);
                                                      var jpgBytes:ByteArray = jpgEncoder.encode(bitmap.bitmapData);
                                  private function deleteSnapshot():void
                                            imageViewer.removeAllChildren();
                        ]]>
                        </mx:Script>
              <mx:StringValidator id="vTypeValidator"          source="{vTypeField}"          property="text" minLength="2" required="true" />
              <mx:StringValidator id="vPurposeValidator" source="{vPurposeField}"          property="text" minLength="2" required="true" />
              <mx:StringValidator id="vNameValidator"          source="{vNameField}"          property="text" minLength="2" required="true" />
              <mx:StringValidator id="vAddressValidator"          source="{vAddressField}"          property="text" minLength="5" required="true" />
              <mx:StringValidator id="cPersonValidator" source="{cPersonField}"          property="text" minLength="2" required="true" />
              <mx:StringValidator id="cAddressValidator"          source="{cAddressField}"          property="text" minLength="5" required="true" />
              <mx:Grid width="575" height="211">
                        <mx:GridRow width="575" height="211">
                                  <mx:GridItem width="301" height="235">
                                            <mx:Form width="301" height="208">
                                                      <mx:FormItem label="Visitor's Type">
                                                                <mx:ComboBox id="vTypeField" text="{visitor.vType}" change="validateForm(event);" editable="true">
                                                                          <mx:Array>
                                                                                    <mx:String></mx:String>
                                                                                    <mx:String>Contractor</mx:String>
                                                                                    <mx:String>Supplier</mx:String>
                                                                                    <mx:String>Transporter</mx:String>
                                                                                    <mx:String>Plant</mx:String>
                                                                                    <mx:String>Non-Plant</mx:String>
                                                                          </mx:Array>
                                                                </mx:ComboBox>
                                                      </mx:FormItem>
                                                      <mx:FormItem label="Visit Purpose">
                                                                <mx:ComboBox id="vPurposeField" text="{visitor.vPurpose}" change="validateForm(event);" editable="true">
                                                                          <mx:Array>
                                                                                    <mx:String></mx:String>
                                                                                    <mx:String>Official</mx:String>
                                                                                    <mx:String>Personal</mx:String>
                                                                          </mx:Array>
                                                                </mx:ComboBox>
                                                      </mx:FormItem>
                                                      <mx:FormItem label="Visitor's Name">
                                                                <mx:TextInput id="vNameField"  text="{visitor.vName}" change="validateForm(event);"/>
                                                      </mx:FormItem>
                                                      <mx:FormItem label="Address">
                                                                <mx:TextInput id="vAddressField"   text="{visitor.vAddress}" change="validateForm(event);"/>
                                                      </mx:FormItem>
                                                      <mx:FormItem label="Contact Person">
                                                                <mx:TextInput id="cPersonField"  text="{visitor.cPerson}" change="validateForm(event);"/>
                                                      </mx:FormItem>
                                                      <mx:FormItem label="Address">
                                                                <mx:TextInput id="cAddressField"  text="{visitor.cAddress}" change="validateForm(event);"/>
                                                      </mx:FormItem>
                                                      </mx:Form>
                                  </mx:GridItem>
                                  <mx:GridItem width="264" height="193">
                                            <mx:Grid width="241" height="206">
                                                      <mx:GridRow width="100%" height="100%">
                                                                <mx:GridItem width="100%" height="100%" horizontalAlign="center" verticalAlign="middle">
                                                                          <mx:Panel width="100" height="132" title="Snap" id="preview" layout="absolute"/>
                                                                </mx:GridItem>
                                                                <mx:GridItem width="100%" height="100%" horizontalAlign="center" verticalAlign="middle">
                                                                          <mx:Panel width="100" height="132" title="Preview" id="imageViewer"  layout="absolute"/>
                                                                </mx:GridItem>
                                                      </mx:GridRow>
                                                      <mx:GridRow width="100%" height="27" >
                                                                <mx:GridItem width="100%" height="100%" horizontalAlign="center">
                                                                          <mx:Button id="snapshot" x="2" width="106" height="27" label="Snap"
                                                                                                  click="takeSnapshot();"/>
                                                                </mx:GridItem>
                                                                <mx:GridItem width="100%" height="100%" horizontalAlign="center">
                                                                          <mx:Button id="deleteButton" x="1" width="106" height="27" label="Delete"
                                                                                                  click="deleteSnapshot();"/>
                                                                </mx:GridItem>
                                                      </mx:GridRow>
                                            </mx:Grid>
                                  </mx:GridItem>
                        </mx:GridRow>
              </mx:Grid>
              <mx:ControlBar height="40" horizontalAlign="center">
                        <mx:Button label="Save Visitor"          id="submitButton" enabled="{formIsValid}" click="saveVisitor();" />
                        <mx:Button label="Clear form" enabled="{!formIsEmpty}"          click="clearFormHandler();" />
                        <mx:Button label="Cancel" click="PopUpManager.removePopUp(this);"/>
                        <mx:Label width="211" id="state"/>
              </mx:ControlBar>
              <mx:Text text="{message}" fontWeight="bold" width="300"/>
    </mx:TitleWindow>
    ListVisitors.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Panel
              xmlns:mx="http://www.adobe.com/2006/mxml"
              xmlns:view="com.visitor.view.*"
              width="100%"
              height="100%"
              title="Visitor Management System - Found {visitorRecords} visitors."
              creationComplete="loadVisitors();">
              <mx:RemoteObject id="loaderService" destination="visitorService" result="handleLoadResult(event)"          fault="handleFault(event)" showBusyCursor="true" />
              <mx:RemoteObject id="deleteService" destination="visitorService" result="handleDeleteResult(event)"          fault="handleFault(event)" showBusyCursor="true" />
              <mx:Script>
                        <![CDATA[
                                  import com.visitor.vo.Visitor;
                                  import mx.controls.Alert;
                                  import mx.managers.PopUpManager;
                                  import mx.containers.TitleWindow;
                                  import mx.collections.ArrayCollection;
                                  import mx.rpc.events.ResultEvent;
                                  import mx.rpc.events.FaultEvent;
                                  [Bindable]
                                  private var message:String;
                                  [Bindable]
                                  private var visitors:ArrayCollection = new ArrayCollection();
                                  [Bindable]
                                  private var visitorRecords:int = 0;
                                  public function loadVisitors():void {
                                            loaderService.getVisitors();
                                  private function deleteVisitor():void {
                                            if(dataGrid.selectedItem != null) {
                                                      var selectedItem:Visitor = dataGrid.selectedItem as Visitor;
                                                      deleteService.deleteVisitor(selectedItem.visitorId);
                                  private function createVisitor():void {
                                            var titleWindow:VisitorEntryForm = VisitorEntryForm(PopUpManager.createPopUp(this, VisitorEntryForm, true));
                                            titleWindow.setStyle("borderAlpha", 0.9);
                                            titleWindow.formIsEmpty = true;
                                  private function updateVisitor():void {
                                            var titleWindow:VisitorEntryForm = VisitorEntryForm(PopUpManager.createPopUp(this, VisitorEntryForm, true));
                                            titleWindow.setStyle("borderAlpha", 0.9);
                                            titleWindow.visitor = dataGrid.selectedItem as Visitor;
                                            titleWindow.formIsEmpty = false;
                                  private function handleLoadResult(ev:ResultEvent):void {
                                            visitors = ev.result as ArrayCollection;
                                            visitorRecords = visitors.length;
                                  private function handleDeleteResult(ev:ResultEvent):void {
                                            Alert.show("The visitor has been deleted.", "Information", Alert.OK, null, null, null, Alert.OK);
                                            loadVisitors();
                                  private function handleFault(ev:FaultEvent):void {
                                            message = "Error: "
                                                      + ev.fault.faultCode + " - "
                                                      + ev.fault.faultDetail + " - "
                                                      + ev.fault.faultString;
                        ]]>
              </mx:Script>
              <mx:VBox width="100%" height="100%">
                        <mx:Label text="{message}" fontWeight="bold" includeInLayout="false" />
                        <mx:DataGrid
                                  id="dataGrid"
                                  width="100%"
                                  height="100%"
                                  dataProvider="{visitors}"
                                  doubleClickEnabled="true"
                                  doubleClick="updateVisitor()" >
                                  <mx:columns>
                                            <mx:DataGridColumn dataField="visitorId"          headerText="Visitor ID" width="100"/>
                                            <mx:DataGridColumn dataField="vType"                    headerText="Visitor's Type" />
                                            <mx:DataGridColumn dataField="vPurpose"           headerText="Visit Purpose" />
                                            <mx:DataGridColumn dataField="vName"                     headerText="Visitor's Name" />
                                            <mx:DataGridColumn dataField="vAddress"                    headerText="Visitor's Address" />
                                            <mx:DataGridColumn dataField="cPerson"                     headerText="Contact Person" />
                                            <mx:DataGridColumn dataField="cAddress"                    headerText="Contact Address" />
                                            <mx:DataGridColumn dataField="timeIn"                     headerText="Time-In" />
                                            <mx:DataGridColumn dataField="timeOut"                     headerText="Time-Out" />
                                            <mx:DataGridColumn dataField="vPhoto"                     headerText="Visitor's Photo" />
                                  </mx:columns>
                        </mx:DataGrid>
                        <mx:ControlBar horizontalAlign="center">
                                  <mx:Button label="Create Visitor"          click="createVisitor()"          toolTip="Create a new visitor and store it in the database." />
                                  <mx:Button label="Update Visitor"          click="updateVisitor()"           enabled="{dataGrid.selectedItem}" toolTip="Update an existing database visitor." />
                                  <mx:Button label="Delete Visitor"          click="deleteVisitor()"          enabled="{dataGrid.selectedItem}" toolTip="Delete the visitor from the database." />
                                  <mx:Button label="Reload Data"                    click="loadVisitors()"           toolTip="Reload the visitor list from the database." />
                        </mx:ControlBar>
              </mx:VBox>
    </mx:Panel>
    Visitor.as
    package com.visitor.vo
              import mx.controls.Image;
              import spark.primitives.BitmapImage;
              [Bindable]
              [RemoteClass(alias="com.visitor.Visitor")]
              public class Visitor
                        public function Visitor()
                        public var visitorId:Number;
                        public var vType:String;
                        public var vPurpose:String;
                        public var vName:String;
                        public var vAddress:String;
                        public var cPerson:String;
                        public var cAddress:String;
                        public var timeIn:Date;
                        public var timeOut:Date;
                       public var vPhoto: Image;
    Visitor.java
    package com.visitor;
    import java.sql.Blob;
    import java.sql.Timestamp;
    import javax.persistence.Basic;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.GeneratedValue;
    import javax.persistence.GenerationType;
    import javax.persistence.Id;
    import javax.persistence.NamedQueries;
    import javax.persistence.NamedQuery;
    import javax.persistence.Table;
    import org.hibernate.annotations.Index;
    @Entity
    @Table(name = "visitors")
    @NamedQueries( {
                        @NamedQuery(name = "visitors.findAll", query = "from Visitor"),
                        @NamedQuery(name = "visitors.byId", query = "select v from Visitor v where v.visitorId= :visitorId") })
    public class Visitor {
              @Id
              @GeneratedValue(strategy = GenerationType.AUTO)
              @Column(name = "visitorId", nullable = false)
              private Long visitorId;
              @Basic
              @Index(name = "vType_idx_1")
              @Column(name = "vType", nullable = true, unique = false)
              private String vType;
              @Basic
              @Column(name = "vPurpose", nullable = true, unique = false)
              private String vPurpose;
              @Basic
              @Column(name = "vName", nullable = true, unique = false)
              private String vName;
              @Basic
              @Column(name = "vAddress", nullable = true, unique = false)
              private String vAddress;
              @Basic
              @Column(name = "cPerson", nullable = true, unique = false)
              private String cPerson;
              @Basic
              @Column(name = "cAddress", nullable = true, unique = false)
              private String cAddress;
              @Basic
              @Column(name = "timeIn", nullable = false, unique = false)
              private Timestamp timeIn;
              @Basic
              @Column(name = "timeOut", nullable = true, unique = false)
              private Timestamp timeOut;
              @Basic
              @Column(name = "vPhoto", nullable = true, unique = false)
              private Blob vPhoto;
              public Visitor() {
                        super();
              public Long getVisitorId() {
                        return visitorId;
              public void setVisitorId(Long visitorId) {
                        this.visitorId = visitorId;
              public String getvType() {
                        return vType;
              public void setvType(String vType) {
                        this.vType = vType;
              public String getvPurpose() {
                        return vPurpose;
              public void setvPurpose(String vPurpose) {
                        this.vPurpose = vPurpose;
              public String getvName() {
                        return vName;
              public void setvName(String vName) {
                        this.vName = vName;
              public String getvAddress() {
                        return vAddress;
              public void setvAddress(String vAddress) {
                        this.vAddress = vAddress;
              public String getcPerson() {
                        return cPerson;
              public void setcPerson(String cPerson) {
                        this.cPerson = cPerson;
              public String getcAddress() {
                        return cAddress;
              public void setcAddress(String cAddress) {
                        this.cAddress = cAddress;
              public Timestamp getTimeIn() {
                        return timeIn;
              public void setTimeIn(Timestamp timeIn) {
                        this.timeIn = timeIn;
              public Timestamp getTimeOut() {
                        return timeOut;
              public void setTimeOut(Timestamp timeOut) {
                        this.timeOut = timeOut;
              public Blob getvPhoto() {
                        return vPhoto;
              public void setvPhoto(Blob vPhoto) {
                        this.vPhoto = vPhoto;
    VisitorService.java
    package com.visitor;
    import java.sql.Timestamp;
    import java.util.Date;
    import java.util.List;
    import javax.persistence.EntityManager;
    import javax.persistence.EntityManagerFactory;
    import javax.persistence.EntityTransaction;
    import javax.persistence.Persistence;
    import javax.persistence.Query;
    import org.apache.log4j.Logger;
    public class VisitorService {
              private static final String PERSISTENCE_UNIT = "visitor_db";
              private static Logger logger = Logger.getLogger(VisitorService.class);
              public VisitorService() {
                        super();
              public List<Visitor> getvisitors() {
                        logger.debug("** getVisitors called...");
                        EntityManagerFactory entityManagerFactory = Persistence
                                            .createEntityManagerFactory(PERSISTENCE_UNIT);
                        EntityManager em = entityManagerFactory.createEntityManager();
                        Query findAllQuery = em.createNamedQuery("visitors.findAll");
                        List<Visitor> visitors = findAllQuery.getResultList();
                        if (visitors != null)
                                  logger.debug("** Found " + visitors.size() + " records:");
                        return visitors;
              public void addUpdateVisitor(Visitor visitor) throws Exception {
                        logger.debug("** addUpdateVisitor called...");
                        EntityManagerFactory emf = Persistence
                                            .createEntityManagerFactory(PERSISTENCE_UNIT);
                        EntityManager em = emf.createEntityManager();
                        // When passing Boolean and Number values from the Flash client to a
                        // Java object, Java interprets null values as the default values for
                        // primitive types; for example, 0 for double, float, long, int, short,
                        // byte.
                        if (visitor.getVisitorId() == null          || visitor.getVisitorId() == 0) {
                                  // New consultant is created
                                  visitor.setVisitorId(null);
                                  visitor.setTimeIn(new Timestamp(new Date().getTime()));
                        } else {
                                  visitor.setTimeOut(new Timestamp(new Date().getTime()));
                                  // Existing consultant is updated - do nothing.
                        EntityTransaction tx = em.getTransaction();
                        tx.begin();
                        try {
                                  em.merge(visitor);
                                  tx.commit();
                        } catch (Exception e) {
                                  logger.error("** Error: " + e.getMessage());
                                  tx.rollback();
                                  throw new Exception(e.getMessage());
                        } finally {
                                  logger.info("** Closing Entity Manager.");
                                  em.close();
              public void deleteVisitor(Long visitorId) {
                        logger.debug("** deleteVisitor called...");
                        EntityManagerFactory emf = Persistence
                                            .createEntityManagerFactory(PERSISTENCE_UNIT);
                        EntityManager em = emf.createEntityManager();
                        Query q = em.createNamedQuery("visitors.byId");
                        q.setParameter("visitorId", visitorId);
                        Visitor visitor = (Visitor) q.getSingleResult();
                        if (visitor != null) {
                                  EntityTransaction tx = em.getTransaction();
                                  tx.begin();
                                  try {
                                            em.remove(visitor);
                                            tx.commit();
                                  } catch (Exception e) {
                                            logger.error("** Error: " + e.getMessage());
                                            tx.rollback();
                                  } finally {
                                            logger.info("** Closing Entity Manager.");
                                            em.close();
    remoting-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <service id="remoting-service" class="flex.messaging.services.RemotingService">
              <adapters>
                        <adapter-definition id="java-object"
                                  class="flex.messaging.services.remoting.adapters.JavaAdapter"
                                  default="true" />
              </adapters>
              <default-channels>
                        <channel ref="my-amf" />
              </default-channels>
              <!-- ADC Demo application -->
              <destination id="visitorService">
                        <properties>
                                  <source>com.visitor.VisitorService</source>
                        </properties>
              </destination>
    </service>

  • Using EJB with Hibernate on Weblogic Server ADF platform

    Hi all,
    We use Jdeveloper 11.1.1.4 and WLS 10.3
    I tried to use Hibernate on my project according to this link well, EJB with Hibernate On Weblogic
    I wanto use Hibernate tool because toplink and eclipselink can not achieve the issue about generating update* ddl on schema, they can just only re-create the tables -not real update.
    Firstly i got the related jars from internet: http://www.2hotfile.com/di-LSBU.png
    cglib-2.2
    antlr-2.7.6
    commons-collections-3.1
    dom4j-1.6.1
    hibernate3
    hibernate-validator-4.1.0.Final
    javassist-3.9.0.GA
    jta-1.1
    slf4j-api-1.5.11
    slf4j-nop-1.5.11
    Then i added to model project as library dependencies: http://www.2hotfile.com/di-GMSZ.png
    configured persistence.xml as below:
    <?xml version="1.0" encoding="windows-1252" ?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
    version="1.0">
    <persistence-unit name="VakkoEJBModel" transaction-type="RESOURCE_LOCAL">
    <provider>org.hibernate.ejb.HibernatePersistence</provider>
    <jta-data-source>jdbc/VakkoDS</jta-data-source>
    <properties>
    <property name="hibernate.jndi.url" value="t3://127.0.0.1:7001" />
    <property name="hibernate.connection.datasource" value="jdbc/VakkoDS" />
    <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.WeblogicTransactionManagerLookup" />
    <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect" />
    <property name="hibernate.hbm2ddl.auto" value="update" />
    <property name="hibernate.current_session_context_class" value="jta" />
    </properties>
    </persistence-unit>
    </persistence>
    weblogic-application.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <weblogic-application>
    <prefer-application-packages>
    <package-name>antlr.*</package-name>
    <package-name>org.hibernate.*</package-name>
    <!-- package-name>org.apache.commons.logging.*</package-name -->
    <!-- package-name>org.w3c.dom.*</package-name -->
    </prefer-application-packages>
    </weblogic-application>
    weblogic-ejb-jar.xml
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <weblogic-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-ejb-jar http://www.bea.com/ns/weblogic/weblogic-ejb-jar/1.0/weblogic-ejb-jar.xsd"
    xmlns="http://www.bea.com/ns/weblogic/weblogic-ejb-jar">
    </weblogic-ejb-jar>
    ejb-jar.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <ejb-jar/>
    And i added to setDomainEnv.cmd that line:
    set EXT_PRE_CLASSPATH=C:\jarlar\hibernate-3.3.2\antlr-2.7.6.jar;C:\jarlar\hibernate-3.3.2\commons-collections-3.1.jar;C:\jarlar\hibernate-3.3.2\dom4j-1.6.1.jar;C:\jarlar\hibernate-3.3.2\hibernate3.jar;C:\jarlar\hibernate-3.3.2\javassist-3.9.0.GA.jar;C:\jarlar\hibernate-3.3.2\jta-1.1.jar;C:\jarlar\hibernate-3.3.2\slf4j-api-1.5.11.jar;C:\jarlar\hibernate-3.3.2\slf4j-nop-1.5.11.jar;C:\jarlar\hibernate-3.3.2\bytecode\cglib\cglib-2.2.jar;C:\Oracle\Middleware_11.1.1.4\modules\ejb3-persistence-3.3.1.jar;hibernate-validator-4.1.0.Final.jar;
    deployment profile could be seen by clicking those links:
    http://www.2hotfile.com/di-XV68.png
    http://www.2hotfile.com/di-8YC9.png
    http://www.2hotfile.com/di-ADR4.png
    And i tried to manipulate the ear file contents according to these informations: http://middlewaremagic.com/weblogic/wp-content/uploads/2010/06/EAR_Application_Diagram.jpg
    under ear\META-INF\application.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5" xmlns="http://java.sun.com/xml/ns/javaee">
    <display-name>ejb1</display-name>
    <module>
    <ejb>ejb1.jar</ejb>
    </module>
    </application>
    under ear\META-INF\weblogic-application.xml
    <?xml version = '1.0' encoding = 'windows-1254'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
    <prefer-application-packages>
    <package-name>org.hibernate.*</package-name>
    <package-name>antlr.*</package-name>
    <!-- package-name>org.apache.commons.logging.*</package-name -->
    <!-- package-name>org.w3c.dom.*</package-name -->
    </prefer-application-packages>
    <listener>
    <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
    </listener>
    <listener>
    <listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
    </listener>
    <library-ref>
    <library-name>adf.oracle.domain</library-name>
    </library-ref>
    </weblogic-application>
    The files which existed in ejb1.ear\ejb1.jar\META-INF\ directory same with source folder of model project (these were created by jdeveloper deployment process according to deployment profile which previously explaint)
    ear contents shown that link : http://www.2hotfile.com/di-23X6.png
    When i deploy the project to weblogic by using JDeveloper or http://127.0.0.1:7101/console/ method. But occured exception
    <10-Dec-2012 16:31:54 o'clock EET> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=AppDeploymentsControlPage.>
    <10-Dec-2012 16:32:45 o'clock EET> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1355149965087' for task '2'. Error is: 'weblogic.application.ModuleException: Exception preparing module: EJBModule(ejb1.jar)
    weblogic.application.ModuleException: Exception preparing module: EJBModule(ejb1.jar)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:469)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.deployment.EnvironmentException: Error processing persistence unit VakkoEJBModel of module ejb1.jar: Error instantiating the Persistence Provider class org.hibernate.ejb.HibernatePersistence of the PersistenceUnit VakkoEJBModel: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence
         at weblogic.deployment.BasePersistenceUnitInfoImpl.getPersistenceProvider(BasePersistenceUnitInfoImpl.java:375)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:393)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:386)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.<init>(BasePersistenceUnitInfoImpl.java:158)
         at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:39)
         Truncated. see log file for complete stacktrace
    >
    <10-Dec-2012 16:32:45 o'clock EET> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'ejb1'.>
    <10-Dec-2012 16:32:45 o'clock EET> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Exception preparing module: EJBModule(ejb1.jar)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:469)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.deployment.EnvironmentException: Error processing persistence unit VakkoEJBModel of module ejb1.jar: Error instantiating the Persistence Provider class org.hibernate.ejb.HibernatePersistence of the PersistenceUnit VakkoEJBModel: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence
         at weblogic.deployment.BasePersistenceUnitInfoImpl.getPersistenceProvider(BasePersistenceUnitInfoImpl.java:375)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:393)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:386)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.<init>(BasePersistenceUnitInfoImpl.java:158)
         at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:39)
         Truncated. see log file for complete stacktrace
    >
    <10-Dec-2012 16:32:45 o'clock EET> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException: Exception preparing module: EJBModule(ejb1.jar)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:469)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: weblogic.deployment.EnvironmentException: Error processing persistence unit VakkoEJBModel of module ejb1.jar: Error instantiating the Persistence Provider class org.hibernate.ejb.HibernatePersistence of the PersistenceUnit VakkoEJBModel: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence
         at weblogic.deployment.BasePersistenceUnitInfoImpl.getPersistenceProvider(BasePersistenceUnitInfoImpl.java:375)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:393)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:386)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.<init>(BasePersistenceUnitInfoImpl.java:158)
         at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:39)
         at weblogic.deployment.AbstractPersistenceUnitRegistry.storeDescriptors(AbstractPersistenceUnitRegistry.java:349)
         at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptor(AbstractPersistenceUnitRegistry.java:263)
         at weblogic.deployment.ModulePersistenceUnitRegistry.<init>(ModulePersistenceUnitRegistry.java:69)
         at weblogic.ejb.container.deployer.EJBModule.setupPersistenceUnitRegistry(EJBModule.java:223)
         at weblogic.ejb.container.deployer.EJBModule$1.execute(EJBModule.java:324)
         at weblogic.deployment.PersistenceUnitRegistryInitializer.setupPersistenceUnitRegistries(PersistenceUnitRegistryInitializer.java:62)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:393)
    What are my mistake/s or incompletes?
    Please help me and excuse my poor English. Thanks in advance

    Thanks again for your consideration.
    I double checked CLASSPATH. And seen starting wls with classpath which i defined, but no change about ecxeption.
    you can see wls starting classpath through the link: http://www.2hotfile.com/image.php?di=BQNE
    setDomainEnv.cmd
    @ECHO OFF
    @REM WARNING: This file is created by the Configuration Wizard.
    @REM Any changes to this script may be lost when adding extensions to this configuration.
    @REM *************************************************************************
    @REM This script is used to setup the needed environment to be able to start Weblogic Server in this domain.
    @REM
    @REM This script initializes the following variables before calling commEnv to set other variables:
    @REM
    @REM WL_HOME - The BEA home directory of your WebLogic installation.
    @REM JAVA_VM - The desired Java VM to use. You can set this environment variable before calling
    @REM this script to switch between Sun or BEA or just have the default be set.
    @REM JAVA_HOME - Location of the version of Java used to start WebLogic
    @REM Server. Depends directly on which JAVA_VM value is set by default or by the environment.
    @REM USER_MEM_ARGS - The variable to override the standard memory arguments
    @REM passed to java.
    @REM PRODUCTION_MODE - The variable that determines whether Weblogic Server is started in production mode.
    @REM DOMAIN_PRODUCTION_MODE
    @REM - The variable that determines whether the workshop related settings like the debugger,
    @REM testconsole or iterativedev should be enabled. ONLY settable using the
    @REM command-line parameter named production
    @REM NOTE: Specifying the production command-line param will force
    @REM the server to start in production mode.
    @REM
    @REM Other variables used in this script include:
    @REM SERVER_NAME - Name of the weblogic server.
    @REM JAVA_OPTIONS - Java command-line options for running the server. (These
    @REM will be tagged on to the end of the JAVA_VM and
    @REM MEM_ARGS)
    @REM
    @REM For additional information, refer to "Managing Server Startup and Shutdown for Oracle WebLogic Server"
    @REM (http://download.oracle.com/docs/cd/E17904_01/web.1111/e13708/overview.htm).
    @REM *************************************************************************
    set COMMON_COMPONENTS_HOME=C:\Oracle\Middleware_11.1.1.4\oracle_common
    for %%i in ("%COMMON_COMPONENTS_HOME%") do set COMMON_COMPONENTS_HOME=%%~fsi
    @REM C:\jarlar\hibernate-3.3.2\antlr-2.7.6.jar;C:\jarlar\hibernate-3.3.2\commons-collections-3.1.jar;C:\jarlar\hibernate-3.3.2\dom4j-1.6.1.jar;C:\jarlar\hibernate-3.3.2\hibernate3.jar;C:\jarlar\hibernate-3.3.2\javassist-3.9.0.GA.jar;C:\jarlar\hibernate-3.3.2\jta-1.1.jar;C:\jarlar\hibernate-3.3.2\slf4j-api-1.5.11.jar;C:\jarlar\hibernate-3.3.2\slf4j-nop-1.5.11.jar;C:\jarlar\hibernate-3.3.2\bytecode\cglib\cglib-2.2.jar;C:\Oracle\Middleware_11.1.1.4\modules\ejb3-persistence-3.3.1.jar;hibernate-validator-4.1.0.Final.jar;
    set CLASSPATH=C:\jarlar\hibernate-3.3.2\antlr-2.7.6.jar;C:\jarlar\hibernate-3.3.2\commons-collections-3.1.jar;C:\jarlar\hibernate-3.3.2\dom4j-1.6.1.jar;C:\jarlar\hibernate-3.3.2\hibernate3.jar;C:\jarlar\hibernate-3.3.2\javassist-3.9.0.GA.jar;C:\jarlar\hibernate-3.3.2\jta-1.1.jar;C:\jarlar\hibernate-3.3.2\slf4j-api-1.5.11.jar;C:\jarlar\hibernate-3.3.2\slf4j-nop-1.5.11.jar;C:\jarlar\hibernate-3.3.2\bytecode\cglib\cglib-2.2.jar;C:\Oracle\Middleware_11.1.1.4\modules\ejb3-persistence-3.3.1.jar;hibernate-validator-4.1.0.Final.jar;%CLASSPATH%;
    set WC_ORACLE_HOME=C:\Oracle\Middleware_11.1.1.4\jdeveloper
    set PORTLET_ORACLE_HOME=C:\Oracle\Middleware_11.1.1.4\jdeveloper
    set WC_ORACLE_HOME=C:\Oracle\Middleware_11.1.1.4\jdeveloper
    set WL_HOME=C:\Oracle\Middleware_11.1.1.4\wlserver_10.3
    for %%i in ("%WL_HOME%") do set WL_HOME=%%~fsi
    set BEA_JAVA_HOME=
    set SUN_JAVA_HOME=C:\Program Files\Java\jdk1.6.0_30x64
    if "%JAVA_VENDOR%"=="Oracle" (
         set JAVA_HOME=%BEA_JAVA_HOME%
    ) else (
         if "%JAVA_VENDOR%"=="Sun" (
              set JAVA_HOME=%SUN_JAVA_HOME%
         ) else (
              set JAVA_VENDOR=Sun
              set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_30x64
              @REM set JAVA_HOME=C:\Oracle\Middleware_11.1.1.4\jdk160_21
    @REM We need to reset the value of JAVA_HOME to get it shortened AND
    @REM we can not shorten it above because immediate variable expansion will blank it
    set JAVA_HOME=%JAVA_HOME%
    for %%i in ("%JAVA_HOME%") do set JAVA_HOME=%%~fsi
    set SAMPLES_HOME=%WL_HOME%\samples
    set DOMAIN_HOME=C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain
    for %%i in ("%DOMAIN_HOME%") do set DOMAIN_HOME=%%~fsi
    set LONG_DOMAIN_HOME=C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain
    if "%DEBUG_PORT%"=="" (
         set DEBUG_PORT=8453
    if "%SERVER_NAME%"=="" (
         set SERVER_NAME=DefaultServer
    set DERBY_FLAG=false
    set enableHotswapFlag=
    set PRODUCTION_MODE=
    set doExitFlag=false
    set verboseLoggingFlag=false
    for %%p in (%*) do call :SET_PARAM %%p
    GOTO :CMD_LINE_DONE
         :SET_PARAM
         for %%q in (%1) do set noQuotesParam=%%~q
         if /i "%noQuotesParam%" == "nodebug" (
              set debugFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "production" (
              set DOMAIN_PRODUCTION_MODE=true
              GOTO :EOF
         if /i "%noQuotesParam%" == "notestconsole" (
              set testConsoleFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "noiterativedev" (
              set iterativeDevFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "noLogErrorsToConsole" (
              set logErrorsToConsoleFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "noderby" (
              set DERBY_FLAG=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "doExit" (
              set doExitFlag=true
              GOTO :EOF
         if /i "%noQuotesParam%" == "noExit" (
              set doExitFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "verbose" (
              set verboseLoggingFlag=true
              GOTO :EOF
         if /i "%noQuotesParam%" == "enableHotswap" (
              set enableHotswapFlag=-javaagent:%WL_HOME%\server\lib\diagnostics-agent.jar
              GOTO :EOF
         ) else (
              set PROXY_SETTINGS=%PROXY_SETTINGS% %1
         GOTO :EOF
    :CMD_LINE_DONE
    set MEM_DEV_ARGS=
    if "%DOMAIN_PRODUCTION_MODE%"=="true" (
         set PRODUCTION_MODE=%DOMAIN_PRODUCTION_MODE%
    if "%PRODUCTION_MODE%"=="true" (
         set debugFlag=false
         set testConsoleFlag=false
         set iterativeDevFlag=false
         set logErrorsToConsoleFlag=false
    @REM If you want to override the default Patch Classpath, Library Path and Path for this domain,
    @REM Please uncomment the following lines and add a valid value for the environment variables
    @REM set PATCH_CLASSPATH=[myPatchClasspath] (windows)
    @REM set PATCH_LIBPATH=[myPatchLibpath] (windows)
    @REM set PATCH_PATH=[myPatchPath] (windows)
    @REM PATCH_CLASSPATH=[myPatchClasspath] (unix)
    @REM PATCH_LIBPATH=[myPatchLibpath] (unix)
    @REM PATCH_PATH=[myPatchPath] (unix)
    call "%WL_HOME%\common\bin\commEnv.cmd"
    set WLS_HOME=%WL_HOME%\server
    set XMS_SUN_64BIT=256
    set XMS_SUN_32BIT=256
    set XMX_SUN_64BIT=512
    set XMX_SUN_32BIT=512
    set XMS_JROCKIT_64BIT=256
    set XMS_JROCKIT_32BIT=256
    set XMX_JROCKIT_64BIT=512
    set XMX_JROCKIT_32BIT=512
    if "%JAVA_VENDOR%"=="Sun" (
         set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx600m -XX:PermSize=128M -XX:MaxPermSize=256M
         set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx600m -XX:PermSize=128M -XX:MaxPermSize=256M
         echo this is suuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuun
    ) else (
         set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx600m -XX:PermSize=128M -XX:MaxPermSize=256M
         set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx600m -XX:PermSize=128M -XX:MaxPermSize=256M
         echo this is noooooooooooooooooooooooooooooooooooooooooooooooot sun
    if "%JAVA_VENDOR%"=="Oracle" (
         set CUSTOM_MEM_ARGS_64BIT=-Xms%XMS_JROCKIT_64BIT%m -Xmx%XMX_JROCKIT_64BIT%m
         set CUSTOM_MEM_ARGS_32BIT=-Xms%XMS_JROCKIT_32BIT%m -Xmx%XMX_JROCKIT_32BIT%m
    ) else (
         set CUSTOM_MEM_ARGS_64BIT=-Xms%XMS_SUN_64BIT%m -Xmx%XMX_SUN_64BIT%m
         set CUSTOM_MEM_ARGS_32BIT=-Xms%XMS_SUN_32BIT%m -Xmx%XMX_SUN_32BIT%m
    set MEM_ARGS_64BIT=%CUSTOM_MEM_ARGS_64BIT%
    set MEM_ARGS_32BIT=%CUSTOM_MEM_ARGS_32BIT%
    if "%JAVA_USE_64BIT%"=="true" (
         set MEM_ARGS=%MEM_ARGS_64BIT%
    ) else (
         set MEM_ARGS=%MEM_ARGS_32BIT%
    set MEM_PERM_SIZE_64BIT=-XX:PermSize=128m
    set MEM_PERM_SIZE_32BIT=-XX:PermSize=128m
    if "%JAVA_USE_64BIT%"=="true" (
         set MEM_PERM_SIZE=%MEM_PERM_SIZE_64BIT%
    ) else (
         set MEM_PERM_SIZE=%MEM_PERM_SIZE_32BIT%
    set MEM_MAX_PERM_SIZE_64BIT=-XX:MaxPermSize=512m
    set MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=512m
    if "%JAVA_USE_64BIT%"=="true" (
         set MEM_MAX_PERM_SIZE=%MEM_MAX_PERM_SIZE_64BIT%
    ) else (
         set MEM_MAX_PERM_SIZE=%MEM_MAX_PERM_SIZE_32BIT%
    if "%JAVA_VENDOR%"=="Sun" (
         if "%PRODUCTION_MODE%"=="" (
              set MEM_DEV_ARGS=-XX:CompileThreshold=8000 %MEM_PERM_SIZE%
    @REM Had to have a separate test here BECAUSE of immediate variable expansion on windows
    if "%JAVA_VENDOR%"=="Sun" (
         set MEM_ARGS=%MEM_ARGS% %MEM_DEV_ARGS% %MEM_MAX_PERM_SIZE%
    if "%JAVA_VENDOR%"=="HP" (
         set MEM_ARGS=%MEM_ARGS% %MEM_MAX_PERM_SIZE%
    if "%JAVA_VENDOR%"=="Apple" (
         set MEM_ARGS=%MEM_ARGS% %MEM_MAX_PERM_SIZE%
    @REM IF USER_MEM_ARGS the environment variable is set, use it to override ALL MEM_ARGS values
    set USER_MEM_ARGS=-Xms256m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    if NOT "%USER_MEM_ARGS%"=="" (
         set MEM_ARGS=%USER_MEM_ARGS%
    set ORACLE_DOMAIN_CONFIG_DIR=%DOMAIN_HOME%\config\fmwconfig
    for %%i in ("%ORACLE_DOMAIN_CONFIG_DIR%") do set ORACLE_DOMAIN_CONFIG_DIR=%%~fsi
    set WLS_JDBC_REMOTE_ENABLED=-Dweblogic.jdbc.remoteEnabled=false
    if "%WC_OHOME_ARGUMENT%"=="" (
         set WC_OHOME_ARGUMENT=-Dwc.oracle.home=%WC_ORACLE_HOME%
         set EXTRA_JAVA_PROPERTIES=-Dwc.oracle.home=%WC_ORACLE_HOME% %EXTRA_JAVA_PROPERTIES%
    if "%PORTLET_OHOME_ARGUMENT%"=="" (
         set PORTLET_OHOME_ARGUMENT=-Dportlet.oracle.home=%PORTLET_ORACLE_HOME%
         set EXTRA_JAVA_PROPERTIES=-Dportlet.oracle.home=%PORTLET_ORACLE_HOME% %EXTRA_JAVA_PROPERTIES%
    if "%WC_OHOME_ARGUMENT%"=="" (
         set WC_OHOME_ARGUMENT=-Dwc.oracle.home=%WC_ORACLE_HOME%
         set EXTRA_JAVA_PROPERTIES=-Dwc.oracle.home=%WC_ORACLE_HOME% %EXTRA_JAVA_PROPERTIES%
    set JAVA_PROPERTIES=-Dplatform.home=%WL_HOME% -Dwls.home=%WLS_HOME% -Dweblogic.home=%WLS_HOME%
    set ALT_TYPES_DIR=%COMMON_COMPONENTS_HOME%\modules\oracle.ossoiap_11.1.1,%COMMON_COMPONENTS_HOME%\modules\oracle.oamprovider_11.1.1
    set PROTOCOL_HANDLERS=oracle.mds.net.protocol
    if "%JAVA_VENDOR%"=="Sun" (
         set EXTRA_JAVA_PROPERTIES=-XX:+UseParallelGC -XX:+DisableExplicitGC %EXTRA_JAVA_PROPERTIES%
    ) else (
         if "%JAVA_VENDOR%"=="Oracle" (
              set EXTRA_JAVA_PROPERTIES=-Djrockit.codegen.newlockmatching=true %EXTRA_JAVA_PROPERTIES%
         ) else (
              set EXTRA_JAVA_PROPERTIES=-XX:+UseParallelGC -XX:+DisableExplicitGC %EXTRA_JAVA_PROPERTIES%
    set PROTOCOL_HANDLERS=%PROTOCOL_HANDLERS:;="|"%
    @REM To use Java Authorization Contract for Containers (JACC) in this domain,
    @REM please uncomment the following section. If there are multiple machines in
    @REM your domain, be sure to edit the setDomainEnv in the associated domain on
    @REM each machine.
    @REM
    @REM -Djava.security.manager
    @REM -Djava.security.policy=location of weblogic.policy
    @REM -Djavax.security.jacc.policy.provider=weblogic.security.jacc.simpleprovider.SimpleJACCPolicy
    @REM -Djavax.security.jacc.PolicyConfigurationFactory.provider=weblogic.security.jacc.simpleprovider.PolicyConfigurationFactoryImpl
    @REM -Dweblogic.security.jacc.RoleMapperFactory.provider=weblogic.security.jacc.simpleprovider.RoleMapperFactoryImpl
    set EXTRA_JAVA_PROPERTIES=-Doracle.webcenter.tagging.scopeTags=false %EXTRA_JAVA_PROPERTIES%
    set EXTRA_JAVA_PROPERTIES=-Doracle.webcenter.analytics.disable-native-partitioning=false %EXTRA_JAVA_PROPERTIES%
    set EXTRA_JAVA_PROPERTIES=-DUSE_JAAS=false -Djps.policystore.hybrid.mode=false -Djps.combiner.optimize.lazyeval=true -Djps.combiner.optimize=true -Djps.auth=ACC -Doracle.core.ojdl.logging.usercontextprovider=oracle.core.ojdl.logging.impl.UserContextImpl -noverify %EXTRA_JAVA_PROPERTIES%
    set EXTRA_JAVA_PROPERTIES=-Dwsm.repository.path=%DOMAIN_HOME%\oracle\store\gmds %EXTRA_JAVA_PROPERTIES%
    set EXTRA_JAVA_PROPERTIES=-Dcommon.components.home=%COMMON_COMPONENTS_HOME% -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=%DOMAIN_HOME% -Djrockit.optfile=%COMMON_COMPONENTS_HOME%\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=%ORACLE_DOMAIN_CONFIG_DIR%\servers\%SERVER_NAME% -Doracle.domain.config.dir=%ORACLE_DOMAIN_CONFIG_DIR% -Digf.arisidbeans.carmlloc=%ORACLE_DOMAIN_CONFIG_DIR%\carml -Digf.arisidstack.home=%ORACLE_DOMAIN_CONFIG_DIR%\arisidprovider -Doracle.security.jps.config=%DOMAIN_HOME%\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=%DOMAIN_HOME%\servers\%SERVER_NAME%\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=%ALT_TYPES_DIR% -Djava.protocol.handler.pkgs=%PROTOCOL_HANDLERS% %WLS_JDBC_REMOTE_ENABLED% %EXTRA_JAVA_PROPERTIES%
    set EXTRA_JAVA_PROPERTIES=-Djps.app.credential.overwrite.allowed=true %EXTRA_JAVA_PROPERTIES%
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %EXTRA_JAVA_PROPERTIES%
    set ARDIR=%WL_HOME%\server\lib
    pushd %LONG_DOMAIN_HOME%
    @REM Clustering support (edit for your cluster!)
    if "%ADMIN_URL%"=="" (
         @REM The then part of this block is telling us we are either starting an admin server OR we are non-clustered
         set CLUSTER_PROPERTIES=-Dweblogic.management.discover=true
    ) else (
         set CLUSTER_PROPERTIES=-Dweblogic.management.discover=false -Dweblogic.management.server=%ADMIN_URL%
    if NOT "%LOG4J_CONFIG_FILE%"=="" (
         set JAVA_PROPERTIES=%JAVA_PROPERTIES% -Dlog4j.configuration=file:%LOG4J_CONFIG_FILE%
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %CLUSTER_PROPERTIES%
    set JAVA_DEBUG=
    if "%debugFlag%"=="true" (
         set JAVA_DEBUG=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=%DEBUG_PORT%,server=y,suspend=n -Djava.compiler=NONE
         set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole...
    ) else (
         set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -da
    if NOT exist %JAVA_HOME%\lib (
         echo The JRE was not found in directory %JAVA_HOME%. ^(JAVA_HOME^)
         echo Please edit your environment and set the JAVA_HOME
         echo variable to point to the root directory of your Java installation.
         popd
         pause
         GOTO :EOF
    if "%DERBY_FLAG%"=="true" (
         set DATABASE_CLASSPATH=%DERBY_CLASSPATH%
    ) else (
         set DATABASE_CLASSPATH=%DERBY_CLIENT_CLASSPATH%
    if NOT "%POST_CLASSPATH%"=="" (
         set POST_CLASSPATH=%COMMON_COMPONENTS_HOME%\modules\oracle.jrf_11.1.1\jrf.jar;%POST_CLASSPATH%
    ) else (
         set POST_CLASSPATH=%COMMON_COMPONENTS_HOME%\modules\oracle.jrf_11.1.1\jrf.jar
    if NOT "%PRE_CLASSPATH%"=="" (
         set PRE_CLASSPATH=%COMMON_COMPONENTS_HOME%\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;%PRE_CLASSPATH%
    ) else (
         set PRE_CLASSPATH=%COMMON_COMPONENTS_HOME%\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar
    if "%PORTLET_ORACLE_HOME%"=="" (
         set POST_CLASSPATH=%WC_ORACLE_HOME%\webcenter\modules\oracle.portlet.server_11.1.1\oracle-portlet-api.jar;%POST_CLASSPATH%
    if NOT "%POST_CLASSPATH%"=="" (
         set POST_CLASSPATH=C:\Oracle\Middleware_11.1.1.4\jdeveloper\webcenter\modules\wcps_11.1.1.4.0\wcps-connection-mbeans.jar;%POST_CLASSPATH%
    ) else (
         set POST_CLASSPATH=C:\Oracle\Middleware_11.1.1.4\jdeveloper\webcenter\modules\wcps_11.1.1.4.0\wcps-connection-mbeans.jar
    set POST_CLASSPATH=%PORTLET_ORACLE_HOME%\webcenter\modules\oracle.portlet.server_11.1.1\oracle-portlet-api.jar;%POST_CLASSPATH%
    set POST_CLASSPATH=%DOMAIN_HOME%\wcps-lib\derby-10.6.1.0.jar;%DOMAIN_HOME%\wcps-lib\derbytools-10.6.1.0.jar;%POST_CLASSPATH%
    if NOT "%DATABASE_CLASSPATH%"=="" (
         if NOT "%POST_CLASSPATH%"=="" (
              set POST_CLASSPATH=%POST_CLASSPATH%;%DATABASE_CLASSPATH%
         ) else (
              set POST_CLASSPATH=%DATABASE_CLASSPATH%
    if NOT "%ARDIR%"=="" (
         if NOT "%POST_CLASSPATH%"=="" (
              set POST_CLASSPATH=%POST_CLASSPATH%;%ARDIR%\xqrl.jar
         ) else (
              set POST_CLASSPATH=%ARDIR%\xqrl.jar
    @REM PROFILING SUPPORT
    set JAVA_PROFILE=
    set SERVER_CLASS=weblogic.Server
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %WLP_JAVA_PROPERTIES%
    set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES% -Dwlw.iterativeDev=%iterativeDevFlag% -Dwlw.testConsole=%testConsoleFlag% -Dwlw.logErrorsToConsole=%logErrorsToConsoleFlag%
    if "%PRODUCTION_MODE%"=="true" (
         set JAVA_OPTIONS= -Dweblogic.ProductionModeEnabled=true %JAVA_OPTIONS%
    @REM -- Setup properties so that we can save stdout and stderr to files
    if NOT "%WLS_STDOUT_LOG%"=="" (
         echo Logging WLS stdout to %WLS_STDOUT_LOG%
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.Stdout=%WLS_STDOUT_LOG%
    if NOT "%WLS_STDERR_LOG%"=="" (
         echo Logging WLS stderr to %WLS_STDERR_LOG%
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.Stderr=%WLS_STDERR_LOG%
    @REM ADD EXTENSIONS TO CLASSPATHS
    @REM set EXT_PRE_CLASSPATH=C:\jarlar\hibernate-3.3.2\antlr-2.7.6.jar;C:\jarlar\hibernate-3.3.2\commons-collections-3.1.jar;C:\jarlar\hibernate-3.3.2\dom4j-1.6.1.jar;C:\jarlar\hibernate-3.3.2\hibernate3.jar;C:\jarlar\hibernate-3.3.2\javassist-3.9.0.GA.jar;C:\jarlar\hibernate-3.3.2\jta-1.1.jar;C:\jarlar\hibernate-3.3.2\slf4j-api-1.5.11.jar;C:\jarlar\hibernate-3.3.2\slf4j-nop-1.5.11.jar;C:\jarlar\hibernate-3.3.2\bytecode\cglib\cglib-2.2.jar;C:\Oracle\Middleware_11.1.1.4\modules\ejb3-persistence-3.3.1.jar;hibernate-validator-4.1.0.Final.jar;
    if NOT "%EXT_PRE_CLASSPATH%"=="" (
         if NOT "%PRE_CLASSPATH%"=="" (
              set PRE_CLASSPATH=%EXT_PRE_CLASSPATH%;%PRE_CLASSPATH%
         ) else (
              set PRE_CLASSPATH=%EXT_PRE_CLASSPATH%
    if NOT "%EXT_POST_CLASSPATH%"=="" (
         if NOT "%POST_CLASSPATH%"=="" (
              set POST_CLASSPATH=%POST_CLASSPATH%;%EXT_POST_CLASSPATH%
         ) else (
              set POST_CLASSPATH=%EXT_POST_CLASSPATH%
    if NOT "%WEBLOGIC_EXTENSION_DIRS%"=="" (
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.ext.dirs=%WEBLOGIC_EXTENSION_DIRS%
    set JAVA_OPTIONS=%JAVA_OPTIONS%
    @REM SET THE CLASSPATH
    if NOT "%WLP_POST_CLASSPATH%"=="" (
         if NOT "%CLASSPATH%"=="" (
              set CLASSPATH=%WLP_POST_CLASSPATH%;%CLASSPATH%
         ) else (
              set CLASSPATH=%WLP_POST_CLASSPATH%
    if NOT "%POST_CLASSPATH%"=="" (
         if NOT "%CLASSPATH%"=="" (
              set CLASSPATH=%POST_CLASSPATH%;%CLASSPATH%
         ) else (
              set CLASSPATH=%POST_CLASSPATH%
    if NOT "%WEBLOGIC_CLASSPATH%"=="" (
         if NOT "%CLASSPATH%"=="" (
              set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH%
         ) else (
              set CLASSPATH=%WEBLOGIC_CLASSPATH%
    if NOT "%PRE_CLASSPATH%"=="" (
         set CLASSPATH=%PRE_CLASSPATH%;%CLASSPATH%
    if NOT "%JAVA_VENDOR%"=="BEA" (
         set JAVA_VM=%JAVA_VM% %JAVA_DEBUG% %JAVA_PROFILE%
    ) else (
         set JAVA_VM=%JAVA_VM% %JAVA_DEBUG% %JAVA_PROFILE%
    startWebLogic.cmd
    @ECHO OFF
    @REM WARNING: This file is created by the Configuration Wizard.
    @REM Any changes to this script may be lost when adding extensions to this configuration.
    SETLOCAL
    @REM --- Start Functions ---
    @REM set JAVA_OPTIONS=-javaagent:C:\jarlar\jrebel\jrebel.jar %JAVA_OPTIONS%
    @REM set CLASS_CACHE=false
    GOTO :ENDFUNCTIONS
    :stopAll
         @REM We separate the stop commands into a function so we are able to use the trap command in Unix (calling a function) to stop these services
         if NOT "X%ALREADY_STOPPED%"=="X" (
              GOTO :EOF
         @REM STOP DERBY (only if we started it)
         if "%DERBY_FLAG%"=="true" (
              echo Stopping Derby server...
              call "%WL_HOME%\common\derby\bin\stopNetworkServer.cmd" >"%DOMAIN_HOME%\derbyShutdown.log" 2>&1
              echo Derby server stopped.
         set ALREADY_STOPPED=true
    GOTO :EOF
    :classCaching
         echo Class caching enabled...
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dlaunch.main.class=%SERVER_CLASS% -Dlaunch.class.path="%CLASSPATH%" -Dlaunch.complete=weblogic.store.internal.LockManagerImpl -cp %WL_HOME%\server\lib\pcl2.jar
         set SERVER_CLASS=com.oracle.classloader.launch.Launcher
    GOTO :EOF
    :ENDFUNCTIONS
    @REM --- End Functions ---
    @REM *************************************************************************
    @REM This script is used to start WebLogic Server for this domain.
    @REM
    @REM To create your own start script for your domain, you can initialize the
    @REM environment by calling @USERDOMAINHOME\setDomainEnv.
    @REM
    @REM setDomainEnv initializes or calls commEnv to initialize the following variables:
    @REM
    @REM BEA_HOME - The BEA home directory of your WebLogic installation.
    @REM JAVA_HOME - Location of the version of Java used to start WebLogic
    @REM Server.
    @REM JAVA_VENDOR - Vendor of the JVM (i.e. BEA, HP, IBM, Sun, etc.)
    @REM PATH - JDK and WebLogic directories are added to system path.
    @REM WEBLOGIC_CLASSPATH
    @REM - Classpath needed to start WebLogic Server.
    @REM PATCH_CLASSPATH - Classpath used for patches
    @REM PATCH_LIBPATH - Library path used for patches
    @REM PATCH_PATH - Path used for patches
    @REM WEBLOGIC_EXTENSION_DIRS - Extension dirs for WebLogic classpath patch
    @REM JAVA_VM - The java arg specifying the VM to run. (i.e.
    @REM - server, -hotspot, etc.)
    @REM USER_MEM_ARGS - The variable to override the standard memory arguments
    @REM passed to java.
    @REM PRODUCTION_MODE - The variable that determines whether Weblogic Server is started in production mode.
    @REM DERBY_HOME - Derby home directory.
    @REM DERBY_CLASSPATH
    @REM - Classpath needed to start Derby.
    @REM
    @REM Other variables used in this script include:
    @REM SERVER_NAME - Name of the weblogic server.
    @REM JAVA_OPTIONS - Java command-line options for running the server. (These
    @REM will be tagged on to the end of the JAVA_VM and
    @REM MEM_ARGS)
    @REM CLASS_CACHE - Enable class caching of system classpath.
    @REM
    @REM For additional information, refer to "Managing Server Startup and Shutdown for Oracle WebLogic Server"
    @REM (http://download.oracle.com/docs/cd/E17904_01/web.1111/e13708/overview.htm).
    @REM *************************************************************************
    @REM Call setDomainEnv here.
    set DOMAIN_HOME=C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain
    for %%i in ("%DOMAIN_HOME%") do set DOMAIN_HOME=%%~fsi
    call "%DOMAIN_HOME%\bin\setDomainEnv.cmd" %*
    set SAVE_JAVA_OPTIONS=%JAVA_OPTIONS%
    set SAVE_CLASSPATH=%CLASSPATH%
    @REM Start Derby
    set DERBY_DEBUG_LEVEL=0
    if "%DERBY_FLAG%"=="true" (
         call "%WL_HOME%\common\derby\bin\startNetworkServer.cmd" >"%DOMAIN_HOME%\derby.log" 2>&1
    set JAVA_OPTIONS=%SAVE_JAVA_OPTIONS%
    set SAVE_JAVA_OPTIONS=
    set CLASSPATH=%SAVE_CLASSPATH%
    set SAVE_CLASSPATH=
    if "%PRODUCTION_MODE%"=="true" (
         set WLS_DISPLAY_MODE=Production
    ) else (
         set WLS_DISPLAY_MODE=Development
    if NOT "%WLS_USER%"=="" (
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.management.username=%WLS_USER%
    if NOT "%WLS_PW%"=="" (
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.management.password=%WLS_PW%
    if NOT "%MEDREC_WEBLOGIC_CLASSPATH%"=="" (
         if NOT "%CLASSPATH%"=="" (
              set CLASSPATH=%CLASSPATH%;%MEDREC_WEBLOGIC_CLASSPATH%
         ) else (
              set CLASSPATH=%MEDREC_WEBLOGIC_CLASSPATH%
    echo .
    echo .
    echo JAVA Memory arguments: %MEM_ARGS%
    echo .
    echo WLS Start Mode=%WLS_DISPLAY_MODE%
    echo .
    echo CLASSPATH=%CLASSPATH%
    echo .
    echo PATH=%PATH%
    echo .
    echo ***************************************************
    echo * To start WebLogic Server, use a username and *
    echo * password assigned to an admin-level user. For *
    echo * server administration, use the WebLogic Server *
    echo * console at http:\\hostname:port\console *
    echo ***************************************************
    @REM CLASS CACHING
    if "%CLASS_CACHE%"=="true" (
         CALL :classCaching
    @REM START WEBLOGIC
    echo starting weblogic with Java version:
    %JAVA_HOME%\bin\java %JAVA_VM% -version
    if "%WLS_REDIRECT_LOG%"=="" (
         echo Starting WLS with line:
         echo %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS%
         %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS%
    ) else (
         echo Redirecting output from WLS window to %WLS_REDIRECT_LOG%
         %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS% >"%WLS_REDIRECT_LOG%" 2>&1
    CALL :stopAll
    popd
    @REM Exit this script only if we have been told to exit.
    if "%doExitFlag%"=="true" (
         exit
    ENDLOCAL
    Edited by: webyildirim on 11.Ara.2012 02:38

  • Many-to-one relationship using annotations in hibernates...

    my pojo class is M_Product_Category
    package com.netree.model;
    import java.io.Serializable;
    import java.util.HashSet;
    import java.util.Set;
    import javax.persistence.CascadeType;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.FetchType;
    import javax.persistence.GeneratedValue;
    import javax.persistence.Id;
    import javax.persistence.Table;
    import javax.persistence.OneToMany;
    import javax.persistence.JoinColumn;
    @Entity
    @Table(name="m_product_category")
    public class M_Product_Category implements Serializable{
         @Id
         @Column(name="MPC_ID")
         @GeneratedValue
         private int mpc_Id;
         @Column(name="IsActive")
         private int isActive;
         @Column(name="Category_Name")
         private String category_Name;
         @Column(name="Category_Description")
         private String category_Description;
         @Column(name="Parent_MPC_ID")
         private int parent_MPC_ID;
         public M_Product_Category(){
         public M_Product_Category(int mpc_Id, int isActive, String category_Name,
                   String category_Description, int parent_MPC_ID) {
              super();
              this.mpc_Id = mpc_Id;
              this.isActive = isActive;
              this.category_Name = category_Name;
              this.category_Description = category_Description;
              this.parent_MPC_ID = parent_MPC_ID;
         public int getMpc_Id() {
              return mpc_Id;
         public void setMpc_Id(int mpc_Id) {
              this.mpc_Id = mpc_Id;
         public int getIsActive() {
              return isActive;
         public void setIsActive(int isActive) {
              this.isActive = isActive;
         public String getCategory_Name() {
              return category_Name;
         public void setCategory_Name(String category_Name) {
              this.category_Name = category_Name;
         public String getCategory_Description() {
              return category_Description;
         public void setCategory_Description(String category_Description) {
              this.category_Description = category_Description;
         @OneToMany(cascade=CascadeType.ALL)
         @JoinColumn(name="Parent_MPC_ID", referencedColumnName="MPC_ID")
         public int getParent_MPC_ID() {
              return parent_MPC_ID;
         public void setParent_MPC_ID(int parent_MPC_ID) {
              this.parent_MPC_ID = parent_MPC_ID;
    This is anothe pojo class i.e., ProductMaster:
    package com.netree.model;
    import java.io.Serializable;
    import javax.persistence.CascadeType;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.GeneratedValue;
    import javax.persistence.Id;
    import javax.persistence.JoinColumn;
    import javax.persistence.ManyToOne;
    import javax.persistence.Table;
    @Entity
    @Table(name = "M_Product_Master")
    public class ProductMaster implements Serializable {
         @Id
         @GeneratedValue
         @Column(name = "MPM_ID")
         private int mpmID;
         @Column(name = "Product_Name")
         private String productName;
         @Column(name = "Product_Description")
         private String productDescription;
         @Column(name = "Standard_Cost")
         private String price;
         @Column(name = "Image_URL_Big")
         private String image;
         @Column(name = "MPC_ID")
         private int mpc_id;
         public int getMpc_id() {
              return mpc_id;
         public void setMpc_id(int mpc_id) {
              this.mpc_id = mpc_id;
         private M_Product_Category product_Category;
         @ManyToOne(cascade = CascadeType.ALL)
         @JoinColumn(name = "mpc_id", referencedColumnName = "MPC_ID")
         public M_Product_Category getProduct_Category() {
              return product_Category;
         public void setProduct_Category(M_Product_Category product_Category) {
              this.product_Category = product_Category;
         public int getMpmID() {
              return mpmID;
         public void setMpmID(int mpmID) {
              this.mpmID = mpmID;
         public String getProductName() {
              return productName;
         public void setProductName(String productName) {
              this.productName = productName;
         public String getProductDescription() {
              return productDescription;
         public void setProductDescription(String productDescription) {
              this.productDescription = productDescription;
         public String getPrice() {
              return price;
         public void setPrice(String price) {
              this.price = price;
         public String getImage() {
              return image;
         public void setImage(String image) {
              this.image = image;
    util class...
    package com.netree.Util;
    import org.hibernate.SessionFactory;
    import org.hibernate.cfg.AnnotationConfiguration;
    public class HibernateUtil {
         public static SessionFactory getSessionFactory() {
              System.out.println("sessionFactory");
              AnnotationConfiguration annotationConfiguration = new AnnotationConfiguration();
              System.out.println("annotationConfiguration");
              annotationConfiguration=annotationConfiguration.configure("com/netree/Cfg/Hibernate.cfg.xml");
              SessionFactory sessionFactory = annotationConfiguration.buildSessionFactory();
              return sessionFactory;
    package com.netree.DaoImpl;
    import java.util.Iterator;
    import java.util.List;
    import org.hibernate.Criteria;
    import org.hibernate.Session;
    import org.hibernate.SessionFactory;
    import org.hibernate.Transaction;
    import org.hibernate.criterion.Restrictions;
    import com.netree.Util.HibernateUtil;
    import com.netree.model.ProductMaster;
    public class ProductMasterImpl {
    public static void main(String args[]) {
                             try{
                                  System.out.println("sessionFactory starts");
              SessionFactory sessionFactory=HibernateUtil.getSessionFactory();
              System.out.println("sessionFactory ends");
              Session session=sessionFactory.getCurrentSession();
                                  Transaction transaction=session.beginTransaction();
         Criteria ctr=session.createCriteria(ProductMaster.class).add(Restrictions.eq("mpc_id",new Integer(39)));
         List<ProductMaster> list=ctr.list();
                   @SuppressWarnings("rawtypes")
                                  Iterator iterator = list.iterator();
                   while (iterator.hasNext()) {
                        ProductMaster productMaster = (ProductMaster) iterator.next();
    System.out.println(productMaster.getMpmID());
    System.out.println(productMaster.getProductName());
    System.out.println(productMaster.getProductDescription());
    System.out.println(productMaster.getPrice());
    System.out.println(productMaster.getImage());
    System.out.println(productMaster.getProduct_Category().getMpc_Id());
    System.out.println(productMaster.getProduct_Category().getCategoryName());
    System.out.println(productMaster.getProduct_Category().getCategory_Description());
                   session.close();
         catch(Exception ex){
         System.out.println(ex.getMessage());
                        finally{
    Already i have two tables in database with the suitable records... I want to retrieve the data by using MPC_ID from both tables....
    when i run this program i am getting query but it is showing exception i.e....
    Hibernate: select this_.MPM_ID as MPM1_1_0_, this_.Image_URL_Big as Image2_1_0_, this_.MPC_ID as MPC3_1_0_, this_.Standard_Cost as Standard4_1_0_, this_.Product_Description as Product5_1_0_, this_.Product_Name as Product6_1_0_, this_.product_Category as product7_1_0_ from M_Product_Master this_ where this_.MPC_ID=?
    could not execute query
    could u pls help me in this regard.....

    in the cube do you have both of these values
    PT02 211886
    PT02 211887
    or its always either one of them. I dont think changing your cube design would prove any helpful in this scenario. I believe its more of a data issue than the design issue. You would need to change the way the data is entered into the cube with the different measurement assigned to the unit.
    on a second thought(I understand that you dont have a luxury to change the cube design),  when you say you can see diff measurement type assigned to one unit in the masterdata, you can make the unit attribute as a navigational attribute in both the IO and cube. And just map measurent type in the update rules and derive the units from the masterdata table in the report.... does it make sense?
    Message was edited by:
            voodi

  • How to execute Oracle "CONNECT BY" using JPA or Hibernate annotation?

    hihi
    I want to uses ORACLE "CONNECT BY" to obtain each level of tree structure, like:
    A
    |-B
    --|-D
    |-C
    --|-E
    The result should be: A = 1 and B,C = 2 and D,E = 3
    Do I have any hibernate or JPA annotation to do this?
    Thanks.

    Thank you for your reply,r035198x .
    but when I using native query, the program throws the NullPointerException, how can I solve this problem. (the query object is NOT NULL)
    Query query = entityManager.createNativeQuery("SELECT group.*,level FROM GROUP group "+
                         "WHERE GROUP_TYPE = 'ACTIVE' START WITH (PARENT_GROUP_ID IS NULL) "+
                         "CONNECT BY PARENT_GROUP_ID = PRIOR GROUP_ID",GROUP.class);
    log4jLogger.info("query: "+query);
    List<GROUP> groups = query.getResultList();
    Result:
    INFO [http-8080-2] service.GroupAction (getGroups:36) - query: org.hibernate.ejb.QueryImpl@1a5db9c
    Caused by: java.lang.NullPointerException
        at org.hibernate.loader.DefaultEntityAliases.intern(DefaultEntityAliases.java:157)
        at org.hibernate.loader.DefaultEntityAliases.getSuffixedPropertyAliases(DefaultEntityAliases.java:130)
        at org.hibernate.loader.DefaultEntityAliases.<init>(DefaultEntityAliases.java:76)
        at org.hibernate.loader.ColumnEntityAliases.<init>(ColumnEntityAliases.java:40)
    at org.hibernate.loader.custom.sql.SQLCustomQuery.<init>(SQLCustomQuery.java:152)
    at org.hibernate.engine.query.NativeSQLQueryPlan.<init>(NativeSQLQueryPlan.java:67)
    at org.hibernate.engine.query.QueryPlanCache.getNativeSQLQueryPlan(QueryPlanCache.java:136)
    at org.hibernate.impl.AbstractSessionImpl.getNativeSQLQueryPlan(AbstractSessionImpl.java:160)
    at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:165)
    at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:175)
    at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:67)
    at test.GroupAction.getGroups(GroupAction.java:38)

  • Using Clob in hibernate+oracle10g+spring

    I hava a problem on ClobStringType.
    I set the type of Clob in XXXPO is String.and also is "org.springframework.orm.hibernate.support.ClobStringType" in xxxPO.hbm.xml.In applicationContext.xml ,decalaring it with Bean:
    <bean id="nativeJdbcExtractor" class="org.springframework.jdbc.support.nativejdbc.SimpleNativeJdbcExtractor"/>
    <bean id="oracleLobHandler" class="org.springframework.jdbc.support.lob.OracleLobHandler">
    <property name="nativeJdbcExtractor"><ref local="nativeJdbcExtractor"/></property>
    </bean>
    In Class LocalSessionFactoryBean,it's "<property name="lobHandler"><ref bean="oracleLobHandler"/></property>"
    But the problem has existed,and I got the warning:
    java.lang.IllegalStateException: ClobStringType requires active transaction synchronization.
    Who can tell me should I how to solve it ,and I leaked which step?
    Beg your answer. Please quick,my problem is waitting you,Thanks.

    shienna17 wrote:
    javax.servlet.ServletException: java.lang.ClassCastException: [B cannot be cast to java.sql.Blob
    That means you're trying to cast a byte array to Blob.                                                                                                                                                                                                                                                                                                                                                                                                   

  • Unable to read one-to-many relations using Hibernate

    Hi,
    I am trying with a very simple one-to-many relationship. When I am storing the objects, there are no problems. But when I am trying to read out the collection, it says invalid descriptor index. Please help.
    Regards,
    Hibernate version:
    hibernate-3.1rc2
    Mapping documents:
    <?xml version="1.0"?>
    <!DOCTYPE hibernate-mapping PUBLIC
    "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
    <hibernate-mapping>
         <class name="Parent">
              <id name="id">
                   <generator class="identity"/>
              </id>
              <set name="children">
                   <key column="parent_id"/>
                   <one-to-many class="Child"/>
              </set>
         </class>
         <class name="Child">
              <id name="id">
                   <generator class="identity"/>
              </id>
              <property name="name"/>
         </class>
    </hibernate-mapping>
    Code between sessionFactory.openSession() and session.close():
    The Parent class:
    public class Parent
         private Long id ;     
         private Set children;
         Parent(){}
         public Long getId()
              return id;
         public void setId(Long id)
              this.id=id;
         public Set getChildren()
              return children;
         public void setChildren(Set children)
              this.children=children;
    The Child class:
    public class Child
         private Long id;
         private String name;
         Child(){}
         public Long getId()
              return id;
         private void setId(Long id)
              this.id=id;
         public String getName()
              return name;
         public void setName(String name)
              this.name=name;
    The Main class:
    public class PCManager
         public static void main(String[] args)
              PCManager mgr = new PCManager();
              List lt = null;
              if (args[0].equals("store"))
                   mgr.createAndStoreParent(new HashSet(3));
              else if (args[0].equals("list"))
                   mgr.listEvents();
              HibernateUtil.getSessionFactory().close();
         private void createAndStoreParent(HashSet s)
              HibernateUtil.getSessionFactory().getCurrentSession().beginTransaction();
              Parent p1 = new Parent();
              int size = 3;
              for (int i=size; i>0; i--)
                   Child c = new Child();
                   c.setName("Child"+i);
                   s.add(c);
              p1.setChildren (s);
              Iterator elems = s.iterator();
              do {     
                   Child ch = (Child) elems.next();
                   HibernateUtil.getSessionFactory().getCurrentSession().save(ch);
              }while(elems.hasNext());
              HibernateUtil.getSessionFactory().getCurrentSession().save(p1);
              HibernateUtil.getSessionFactory().getCurrentSession().getTransaction().commit();
         private void listEvents()
              HibernateUtil.getSessionFactory().getCurrentSession().beginTransaction();
              Parent result = (Parent) HibernateUtil.getSessionFactory().getCurrentSession().load(Parent.class, new Long(1));
              System.out.println("Id is :"+ result.getId());
              Set children = result.getChildren();
              Iterator elems = children.iterator();
              do {     
                   Child ch = (Child) elems.next();
                   System.out.println("Child Name"+ ch.getName());
              }while(elems.hasNext());
              HibernateUtil.getSessionFactory().getCurrentSession().getTransaction().commit();          
    Full stack trace of any exception that occurs:
    When I run with "hbm2ddl.auto" property as validate and trying to list the contents, I get the following out put.
    C:\Documents and Settings\mirza\Desktop\hibernate-3.1rc2\MyHibernate>ant run -Da
    ction=list
    Buildfile: build.xml
    clean:
    [delete] Deleting directory C:\Documents and Settings\mirza\Desktop\hibernate
    -3.1rc2\MyHibernate\bin
    [mkdir] Created dir: C:\Documents and Settings\mirza\Desktop\hibernate-3.1rc
    2\MyHibernate\bin
    copy-resources:
    [copy] Copying 4 files to C:\Documents and Settings\mirza\Desktop\hibernate
    -3.1rc2\MyHibernate\bin
    compile:
    [javac] Compiling 5 source files to C:\Documents and Settings\mirza\Desktop\
    hibernate-3.1rc2\MyHibernate\bin
    run:
    [java] 09:09:23,433 INFO Environment:474 - Hibernate 3.1 rc2
    [java] 09:09:23,449 INFO Environment:489 - loaded properties from resource
    hibernate.properties: {hibernate.cglib.use_reflection_optimizer=true, hibernate
    .cache.provider_class=org.hibernate.cache.HashtableCacheProvider, hibernate.dial
    ect=org.hibernate.dialect.SQLServerDialect, hibernate.max_fetch_depth=1, hiberna
    te.jdbc.use_streams_for_binary=true, hibernate.format_sql=true, hibernate.query.
    substitutions=yes 'Y', no 'N', hibernate.proxool.pool_alias=pool1, hibernate.cac
    he.region_prefix=hibernate.test, hibernate.jdbc.batch_versioned_data=true, hiber
    nate.connection.pool_size=1}
    [java] 09:09:23,465 INFO Environment:519 - using java.io streams to persis
    t binary types
    [java] 09:09:23,465 INFO Environment:520 - using CGLIB reflection optimize
    r
    [java] 09:09:23,481 INFO Environment:550 - using JDK 1.4 java.sql.Timestam
    p handling
    [java] 09:09:23,559 INFO Configuration:1257 - configuring from resource: /
    hibernate.cfg.xml
    [java] 09:09:23,559 INFO Configuration:1234 - Configuration resource: /hib
    ernate.cfg.xml
    [java] 09:09:23,872 INFO Configuration:460 - Reading mappings from resourc
    e: PCMapping.hbm.xml
    [java] 09:09:24,013 INFO HbmBinder:266 - Mapping class: Parent -> Parent
    [java] 09:09:24,045 INFO HbmBinder:266 - Mapping class: Child -> Child
    [java] 09:09:24,045 INFO Configuration:1368 - Configured SessionFactory: n
    ull
    [java] 09:09:24,061 INFO Configuration:1014 - processing extends queue
    [java] 09:09:24,061 INFO Configuration:1018 - processing collection mappin
    gs
    [java] 09:09:24,061 INFO HbmBinder:2233 - Mapping collection: Parent.child
    ren -> Child
    [java] 09:09:24,076 INFO Configuration:1027 - processing association prope
    rty references
    [java] 09:09:24,076 INFO Configuration:1049 - processing foreign key const
    raints
    [java] 09:09:24,155 INFO DriverManagerConnectionProvider:41 - Using Hibern
    ate built-in connection pool (not for production use!)
    [java] 09:09:24,170 INFO DriverManagerConnectionProvider:42 - Hibernate co
    nnection pool size: 1
    [java] 09:09:24,170 INFO DriverManagerConnectionProvider:45 - autocommit m
    ode: false
    [java] 09:09:24,170 INFO DriverManagerConnectionProvider:80 - using driver
    : sun.jdbc.odbc.JdbcOdbcDriver at URL: jdbc:odbc:MySQL
    [java] 09:09:24,170 INFO DriverManagerConnectionProvider:86 - connection p
    roperties: {}
    [java] 09:09:24,264 INFO SettingsFactory:77 - RDBMS: Microsoft SQL Server,
    version: 08.00.0194
    [java] 09:09:24,264 INFO SettingsFactory:78 - JDBC driver: JDBC-ODBC Bridg
    e (SQLSRV32.DLL), version: 2.0001 (03.85.1117)
    [java] 09:09:24,296 INFO Dialect:100 - Using dialect: org.hibernate.dialec
    t.SQLServerDialect
    [java] 09:09:24,311 INFO TransactionFactoryFactory:31 - Using default tran
    saction strategy (direct JDBC transactions)
    [java] 09:09:24,327 INFO TransactionManagerLookupFactory:33 - No Transacti
    onManagerLookup configured (in JTA environment, use of read-write or transaction
    al second-level cache is not recommended)
    [java] 09:09:24,327 INFO SettingsFactory:125 - Automatic flush during befo
    reCompletion(): disabled
    [java] 09:09:24,327 INFO SettingsFactory:129 - Automatic session close at
    end of transaction: disabled
    [java] 09:09:24,343 INFO SettingsFactory:144 - Scrollable result sets: ena
    bled
    [java] 09:09:24,343 INFO SettingsFactory:152 - JDBC3 getGeneratedKeys(): d
    isabled
    [java] 09:09:24,343 INFO SettingsFactory:160 - Connection release mode: au
    to
    [java] 09:09:24,358 INFO SettingsFactory:184 - Maximum outer join fetch de
    pth: 1
    [java] 09:09:24,358 INFO SettingsFactory:187 - Default batch fetch size: 1
    [java] 09:09:24,358 INFO SettingsFactory:191 - Generate SQL with comments:
    disabled
    [java] 09:09:24,358 INFO SettingsFactory:195 - Order SQL updates by primar
    y key: disabled
    [java] 09:09:24,358 INFO SettingsFactory:338 - Query translator: org.hiber
    nate.hql.ast.ASTQueryTranslatorFactory
    [java] 09:09:24,374 INFO ASTQueryTranslatorFactory:21 - Using ASTQueryTran
    slatorFactory
    [java] 09:09:24,374 INFO SettingsFactory:203 - Query language substitution
    s: {no='N', yes='Y'}
    [java] 09:09:24,374 INFO SettingsFactory:209 - Second-level cache: enabled
    [java] 09:09:24,374 INFO SettingsFactory:213 - Query cache: disabled
    [java] 09:09:24,374 INFO SettingsFactory:325 - Cache provider: org.hiberna
    te.cache.HashtableCacheProvider
    [java] 09:09:24,374 INFO SettingsFactory:228 - Optimize cache for minimal
    puts: disabled
    [java] 09:09:24,374 INFO SettingsFactory:233 - Cache region prefix: hibern
    ate.test
    [java] 09:09:24,405 INFO SettingsFactory:237 - Structured second-level cac
    he entries: disabled
    [java] 09:09:24,437 INFO SettingsFactory:257 - Echoing all SQL to stdout
    [java] 09:09:24,452 INFO SettingsFactory:264 - Statistics: disabled
    [java] 09:09:24,452 INFO SettingsFactory:268 - Deleted entity synthetic id
    entifier rollback: disabled
    [java] 09:09:24,452 INFO SettingsFactory:283 - Default entity-mode: POJO
    [java] 09:09:24,593 INFO SessionFactoryImpl:155 - building session factory
    [java] 09:09:24,938 INFO SessionFactoryObjectFactory:82 - Not binding fact
    ory to JNDI, no JNDI name configured
    [java] 09:09:24,954 INFO SchemaValidator:99 - Running schema validator
    [java] 09:09:24,954 INFO SchemaValidator:107 - fetching database metadata
    [java] 09:09:24,954 INFO Configuration:1014 - processing extends queue
    [java] 09:09:24,954 INFO Configuration:1018 - processing collection mappin
    gs
    [java] 09:09:24,954 INFO Configuration:1027 - processing association prope
    rty references
    [java] 09:09:24,954 INFO Configuration:1049 - processing foreign key const
    raints
    [java] 09:09:24,985 WARN JDBCExceptionReporter:71 - SQL Error: 0, SQLState
    : S1002
    [java] 09:09:24,985 ERROR JDBCExceptionReporter:72 - [Microsoft][ODBC SQL S
    erver Driver]Invalid Descriptor Index
    [java] 09:09:25,001 ERROR SchemaValidator:129 - Error closing connection
    [java] java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Invalid transaction state
    [java] Initial SessionFactory creation failed.org.hibernate.exception.Gener
    icJDBCException: could not get table metadata: Child
    [java] java.lang.ExceptionInInitializerError
    [java] at HibernateUtil.<clinit>(Unknown Source)
    [java] at PCManager.listEvents(Unknown Source)
    [java] at PCManager.main(Unknown Source)
    [java] Caused by: org.hibernate.exception.GenericJDBCException: could not g
    et table metadata: Child
    [java] at org.hibernate.exception.SQLStateConverter.handledNonSpecificE
    xception(SQLStateConverter.java:91)
    [java] at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6879)
    [java] at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7036)
    [java] at sun.jdbc.odbc.JdbcOdbc.SQLDisconnect(JdbcOdbc.java:2988)
    [java] at sun.jdbc.odbc.JdbcOdbcDriver.disconnect(JdbcOdbcDriver.java:9
    80)
    [java] at sun.jdbc.odbc.JdbcOdbcConnection.close(JdbcOdbcConnection.jav
    a:739)
    [java] at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaVal
    idator.java:125)
    [java] at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryIm
    pl.java:299)
    [java] at org.hibernate.cfg.Configuration.buildSessionFactory(Configura
    tion.java:1145)
    [java] at HibernateUtil.<clinit>(Unknown Source)
    [java] at org.hibernate.exception.SQLStateConverter.convert(SQLStateCon
    verter.java:79)
    [java] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExcep
    tionHelper.java:43)
    [java] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExcep
    tionHelper.java:29)
    [java] at org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(
    DatabaseMetadata.java:100)
    [java] at org.hibernate.cfg.Configuration.validateSchema(Configuration.
    java:946)
    [java] at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaVal
    idator.java:116)
    [java] at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryIm
    pl.java:299)
    [java] at org.hibernate.cfg.Configuration.buildSessionFactory(Configura
    tion.java:1145)
    [java] ... 3 more
    [java] Caused by: java.sql.SQLException: [Microsoft][ODBC SQL Server Driver
    ]Invalid Descriptor Index
    [java] at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6879)
    [java] at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7036)
    [java] at sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(JdbcOdbc.java:3862)
    [java] at sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(JdbcOdbcResultS
    et.java:5561)
    [java] at sun.jdbc.odbc.JdbcOdbcResultSet.getString(JdbcOdbcResultSet.j
    ava:338)
    [java] at sun.jdbc.odbc.JdbcOdbcResultSet.getString(JdbcOdbcResultSet.j
    ava:395)
    [java] at PCManager.listEvents(Unknown Source)
    [java] at PCManager.main(Unknown Source)
    [java] at org.hibernate.tool.hbm2ddl.TableMetadata.<init>(TableMetadata
    .java:30)
    [java] at org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(
    DatabaseMetadata.java:85)
    [java] ... 7 more
    [java] Exception in thread "main"
    [java] Java Result: 1
    BUILD SUCCESSFUL
    Total time: 4 seconds
    Name and version of the database you are using:
    Microsoft SQLServer2000
    The generated SQL (show_sql=true):
    When the program is run with "hbm2ddl.auto" property as create, I get the following output.
    C:\Documents and Settings\mirza\Desktop\hibernate-3.1rc2\MyHibernate>ant run -Daction=store
    Buildfile: build.xml
    clean:
    [delete] Deleting directory C:\Documents and Settings\mirza\Desktop\hibernate
    -3.1rc2\MyHibernate\bin
    [mkdir] Created dir: C:\Documents and Settings\mirza\Desktop\hibernate-3.1rc
    2\MyHibernate\bin
    copy-resources:
    [copy] Copying 4 files to C:\Documents and Settings\mirza\Desktop\hibernate
    -3.1rc2\MyHibernate\bin
    compile:
    [javac] Compiling 5 source files to C:\Documents and Settings\mirza\Desktop\
    hibernate-3.1rc2\MyHibernate\bin
    run:
    [java] 09:12:54,820 INFO Environment:474 - Hibernate 3.1 rc2
    [java] 09:12:54,836 INFO Environment:489 - loaded properties from resource
    hibernate.properties: {hibernate.cglib.use_reflection_optimizer=true, hibernate
    .cache.provider_class=org.hibernate.cache.HashtableCacheProvider, hibernate.dial
    ect=org.hibernate.dialect.SQLServerDialect, hibernate.max_fetch_depth=1, hiberna
    te.jdbc.use_streams_for_binary=true, hibernate.format_sql=true, hibernate.query.
    substitutions=yes 'Y', no 'N', hibernate.proxool.pool_alias=pool1, hibernate.cac
    he.region_prefix=hibernate.test, hibernate.jdbc.batch_versioned_data=true, hiber
    nate.connection.pool_size=1}
    [java] 09:12:54,852 INFO Environment:519 - using java.io streams to persis
    t binary types
    [java] 09:12:54,852 INFO Environment:520 - using CGLIB reflection optimize
    r
    [java] 09:12:54,867 INFO Environment:550 - using JDK 1.4 java.sql.Timestam
    p handling
    [java] 09:12:54,946 INFO Configuration:1257 - configuring from resource: /
    hibernate.cfg.xml
    [java] 09:12:54,946 INFO Configuration:1234 - Configuration resource: /hib
    ernate.cfg.xml
    [java] 09:12:55,259 INFO Configuration:460 - Reading mappings from resourc
    e: PCMapping.hbm.xml
    [java] 09:12:55,400 INFO HbmBinder:266 - Mapping class: Parent -> Parent
    [java] 09:12:55,447 INFO HbmBinder:266 - Mapping class: Child -> Child
    [java] 09:12:55,447 INFO Configuration:1368 - Configured SessionFactory: n
    ull
    [java] 09:12:55,447 INFO Configuration:1014 - processing extends queue
    [java] 09:12:55,447 INFO Configuration:1018 - processing collection mappin
    gs
    [java] 09:12:55,447 INFO HbmBinder:2233 - Mapping collection: Parent.child
    ren -> Child
    [java] 09:12:55,463 INFO Configuration:1027 - processing association prope
    rty references
    [java] 09:12:55,479 INFO Configuration:1049 - processing foreign key const
    raints
    [java] 09:12:55,557 INFO DriverManagerConnectionProvider:41 - Using Hibern
    ate built-in connection pool (not for production use!)
    [java] 09:12:55,557 INFO DriverManagerConnectionProvider:42 - Hibernate co
    nnection pool size: 1
    [java] 09:12:55,557 INFO DriverManagerConnectionProvider:45 - autocommit m
    ode: false
    [java] 09:12:55,573 INFO DriverManagerConnectionProvider:80 - using driver
    : sun.jdbc.odbc.JdbcOdbcDriver at URL: jdbc:odbc:MySQL
    [java] 09:12:55,573 INFO DriverManagerConnectionProvider:86 - connection p
    roperties: {}
    [java] 09:12:55,651 INFO SettingsFactory:77 - RDBMS: Microsoft SQL Server,
    version: 08.00.0194
    [java] 09:12:55,667 INFO SettingsFactory:78 - JDBC driver: JDBC-ODBC Bridg
    e (SQLSRV32.DLL), version: 2.0001 (03.85.1117)
    [java] 09:12:55,682 INFO Dialect:100 - Using dialect: org.hibernate.dialec
    t.SQLServerDialect
    [java] 09:12:55,698 INFO TransactionFactoryFactory:31 - Using default tran
    saction strategy (direct JDBC transactions)
    [java] 09:12:55,714 INFO TransactionManagerLookupFactory:33 - No Transacti
    onManagerLookup configured (in JTA environment, use of read-write or transaction
    al second-level cache is not recommended)
    [java] 09:12:55,714 INFO SettingsFactory:125 - Automatic flush during befo
    reCompletion(): disabled
    [java] 09:12:55,714 INFO SettingsFactory:129 - Automatic session close at
    end of transaction: disabled
    [java] 09:12:55,729 INFO SettingsFactory:144 - Scrollable result sets: ena
    bled
    [java] 09:12:55,729 INFO SettingsFactory:152 - JDBC3 getGeneratedKeys(): d
    isabled
    [java] 09:12:55,745 INFO SettingsFactory:160 - Connection release mode: au
    to
    [java] 09:12:55,745 INFO SettingsFactory:184 - Maximum outer join fetch de
    pth: 1
    [java] 09:12:55,745 INFO SettingsFactory:187 - Default batch fetch size: 1
    [java] 09:12:55,745 INFO SettingsFactory:191 - Generate SQL with comments:
    disabled
    [java] 09:12:55,745 INFO SettingsFactory:195 - Order SQL updates by primar
    y key: disabled
    [java] 09:12:55,745 INFO SettingsFactory:338 - Query translator: org.hiber
    nate.hql.ast.ASTQueryTranslatorFactory
    [java] 09:12:55,777 INFO ASTQueryTranslatorFactory:21 - Using ASTQueryTran
    slatorFactory
    [java] 09:12:55,792 INFO SettingsFactory:203 - Query language substitution
    s: {no='N', yes='Y'}
    [java] 09:12:55,792 INFO SettingsFactory:209 - Second-level cache: enabled
    [java] 09:12:55,792 INFO SettingsFactory:213 - Query cache: disabled
    [java] 09:12:55,792 INFO SettingsFactory:325 - Cache provider: org.hiberna
    te.cache.HashtableCacheProvider
    [java] 09:12:55,808 INFO SettingsFactory:228 - Optimize cache for minimal
    puts: disabled
    [java] 09:12:55,808 INFO SettingsFactory:233 - Cache region prefix: hibern
    ate.test
    [java] 09:12:55,808 INFO SettingsFactory:237 - Structured second-level cac
    he entries: disabled
    [java] 09:12:55,839 INFO SettingsFactory:257 - Echoing all SQL to stdout
    [java] 09:12:55,839 INFO SettingsFactory:264 - Statistics: disabled
    [java] 09:12:55,839 INFO SettingsFactory:268 - Deleted entity synthetic id
    entifier rollback: disabled
    [java] 09:12:55,839 INFO SettingsFactory:283 - Default entity-mode: POJO
    [java] 09:12:55,980 INFO SessionFactoryImpl:155 - building session factory
    [java] 09:12:56,325 INFO SessionFactoryObjectFactory:82 - Not binding fact
    ory to JNDI, no JNDI name configured
    [java] 09:12:56,341 INFO Configuration:1014 - processing extends queue
    [java] 09:12:56,341 INFO Configuration:1018 - processing collection mappin
    gs
    [java] 09:12:56,341 INFO Configuration:1027 - processing association prope
    rty references
    [java] 09:12:56,341 INFO Configuration:1049 - processing foreign key const
    raints
    [java] 09:12:56,356 INFO Configuration:1014 - processing extends queue
    [java] 09:12:56,356 INFO Configuration:1018 - processing collection mappin
    gs
    [java] 09:12:56,356 INFO Configuration:1027 - processing association prope
    rty references
    [java] 09:12:56,372 INFO Configuration:1049 - processing foreign key const
    raints
    [java] 09:12:56,372 INFO SchemaExport:153 - Running hbm2ddl schema export
    [java] 09:12:56,388 DEBUG SchemaExport:171 - import file not found: /import
    .sql
    [java] 09:12:56,388 INFO SchemaExport:180 - exporting generated schema to
    database
    [java] 09:12:56,403 DEBUG SchemaExport:283 -
    [java] alter table Child
    [java] drop constraint FK3E104FC976A59A
    [java] 09:12:56,466 DEBUG SchemaExport:283 -
    [java] drop table Child
    [java] 09:12:56,544 DEBUG SchemaExport:283 -
    [java] drop table Parent
    [java] 09:12:56,654 DEBUG SchemaExport:283 -
    [java] create table Child (
    [java] id numeric(19,0) identity not null,
    [java] name varchar(255) null,
    [java] parent_id numeric(19,0) null,
    [java] primary key (id)
    [java] )
    [java] 09:12:56,779 DEBUG SchemaExport:283 -
    [java] create table Parent (
    [java] id numeric(19,0) identity not null,
    [java] primary key (id)
    [java] )
    [java] 09:12:56,873 DEBUG SchemaExport:283 -
    [java] alter table Child
    [java] add constraint FK3E104FC976A59A
    [java] foreign key (parent_id)
    [java] references Parent
    [java] 09:12:56,952 INFO SchemaExport:200 - schema export complete
    [java] 09:12:56,952 WARN JDBCExceptionReporter:48 - SQL Warning: 5701, SQL
    State: 01000
    [java] 09:12:56,952 WARN JDBCExceptionReporter:49 - [Microsoft][ODBC SQL S
    erver Driver][SQL Server]Changed database context to 'master'.
    [java] 09:12:56,952 WARN JDBCExceptionReporter:48 - SQL Warning: 5703, SQL
    State: 01000
    [java] 09:12:56,952 WARN JDBCExceptionReporter:49 - [Microsoft][ODBC SQL S
    erver Driver][SQL Server]Changed language setting to us_english.
    [java] 09:12:56,983 INFO SessionFactoryImpl:432 - Checking 0 named queries
    [java] Hibernate:
    [java] insert
    [java] into
    [java] Child
    [java] (name)
    [java] values
    [java] (?) select
    [java] scope_identity()
    [java] Hibernate:
    [java] insert
    [java] into
    [java] Child
    [java] (name)
    [java] values
    [java] (?) select
    [java] scope_identity()
    [java] Hibernate:
    [java] insert
    [java] into
    [java] Child
    [java] (name)
    [java] values
    [java] (?) select
    [java] scope_identity()
    [java] Hibernate:
    [java] insert
    [java] into
    [java] Parent
    [java] default
    [java] values
    [java] select
    [java] scope_identity()
    [java] Hibernate:
    [java] update
    [java] Child
    [java] set
    [java] parent_id=?
    [java] where
    [java] id=?
    [java] Hibernate:
    [java] update
    [java] Child
    [java] set
    [java] parent_id=?
    [java] where
    [java] id=?
    [java] Hibernate:
    [java] update
    [java] Child
    [java] set
    [java] parent_id=?
    [java] where
    [java] id=?
    [java] 09:12:57,390 INFO SessionFactoryImpl:831 - closing
    [java] 09:12:57,390 INFO DriverManagerConnectionProvider:147 - cleaning up
    connection pool: jdbc:odbc:MySQL
    BUILD SUCCESSFUL
    Total time: 5 seconds
    Debug level Hibernate log excerpt:
    Included in the above description.

    That's not the right mapping for the 1:m relationship in Hibernate.
    First of all, I believe the recommendation is to have a separate .hbm.xml file for each class, so you should have one for Parent and Child.
    Second, you'll find the proper syntax for a one-to-many relationship here:
    http://www.hibernate.org/hib_docs/v3/reference/en/html/tutorial.html#tutorial-associations
    See if those help.
    The tutorial docs for Hibernate are quite good. I'd recommend going through them carefully.
    %

  • Using Hibernate Functionality and pass it on to the JCAPS Oracle eWay

    Hi All,
    I need to use the Existing Hibernate API's and pass it on to the JCAPS oracle eWay to persist the Data.
    As the present Application is using the Hibernate for persisting the Data as we have parent child relation with multiple tables , so we need to push the whole thing in to JCAPS.
    Thanks & regards
    Srikanth

    narayanaa wrote:
    Hi,
    You cannot use hibernate using oracle or any other database eWays. If you want to leverage the same or the existing code you have for the Data Access you use JCD.
    So what you can do is have the required jars available for the application and then use the available classes with in the JCD.
    Thanks,
    NarayanaaI don't think that is secesarily true. You can use oracle eWay to handle the database connection, pooling and XA transactions. You just retrieve the java.sql.Connection object from the eWay and use that in you hibernate code.
    -Mario

  • Must I use spring Framework with JSF2 and Hibernate?

    Hi all,
    I'm starting to develop a web portal and I would use JSF2 and Hibernate.
    Now I don't know JSF2 so I searched some tutorial.
    I found a tutorial on JSF2 that seems very complete but in this tutorial I found a section where the author use Hibernate for the "model section", JSF2 for the "view section" and Spring for the "controller section"!
    Now I have a doubt, can I develop a web portal without Spring MVC or I can't develop any controller's component with JSF2?
    Thank you for your replies!

    For Ram, do you mean that JSF2 isn't a MVC framework with your reply?
    For Kayaman, the author did some examples how implements some frameworks with JSF2 and he do 3 examples:
    1) JSF2 and JDBC;
    2) JSF2 and Spring;
    3) JSF2, Spring and Hibernate!
    However, after this thread, I found a forum in linked to the tutorial and I asked why they use JSF2 and Spring together! Now Im waiting the answer!
    For Gimbla2: well, I'm novice on JSF2 but I develop for some years with ADF and JBO framework!
    You are right to tell me "On the official sites you can find all informations" but I would know some things from some one that used both frameworks!
    Thanks again to all.
    Edited by: Filippo Tenaglia on 20-giu-2011 14.16

  • X200 cannot sleep/hibernate after WWAN has been used

    Since upgrading to Windows 7 I experience problem using Sleep or Hibernate.
    If I have been using WWAN (the Ericsson card) the computer will not Sleep or Hibernate afterwards (sometimes it will work, maybe 1 out of 10 times). The computer will start preparing for Sleep/Hibernate and will switch off the screen. But it never finished (caps lock will not work, but the HD LED can be seen blinking every 3 second or so) and will stay on until the battery is drained or a hard reset is performed.
    It was working ok in the beginning after installing Window 7, but stopped working somes in june/juli this year.
    /MF

    HI, thanks, but I know I can set a new password. I just wanted to get my old one back cos I have used it a long time & can therefore remember it.

  • System hangs on hibernate boot using uswsusp, s2disk, systemd

    I am using systemd to put my computer into hibernation with the following setup using uswsusp/s2disk (these follow the setup on the wiki):
    /etc/suspend.conf
    snapshot device = /dev/snapshot
    resume device = /dev/sda2
    #image size = 350000000
    #suspend loglevel = 2
    #compute checksum = y
    #compress = y
    #encrypt = y
    #early writeout = y
    #splash = y
    relevant part of /etc/mkinitcpio.conf
    HOOKS="base udev autodetect modconf block uresume filesystems keyboard fsck"
    /etc/systemd/system/systemd-hibernate.service
    [Unit]
    Description=Hibernate
    Documentation=man:systemd-suspend.service(8)
    DefaultDependencies=no
    Requires=sleep.target
    After=sleep.target
    [Service]
    Type=oneshot
    ExecStart=/bin/sh -c 's2disk && run-parts --regex .\* -a post /usr/lib/systemd/system-sleep'
    This setup worked until recently.  One time, going into hibernation, s2disk said that there wasn't enough swap space available (/dev/sda2 is 2gb, but this issue is probably not related to the current issue).  Now, when I use
    sudo systemctl hibernate
    the computer goes into hibernation as usual and when booting back up again it successfully decompresses the disk image file, but then hangs on an all black screen with a single underscore character in the top left.
    I was not diligent enough to connect the breaking of this with the update of a particular package.  Any ideas?

    Have you tried to downgarde linux kernel with dependancies (i had the same problem with suspend to ram on 3.11, i had to downgarde to 3.9.8.1 with acpi headers and linux-firmware packages in order to resume from suspend to ram - i had black screen with unblinking cursor on the left).

  • Is there anyone use Hibernate?help me

    Hi everyone:
    I study hibernate recently.There is a problem puzzled me all the time.:(
    What time should I use proxy in hibernate(For example: <class name="eg.Order" proxy="eg.Order">) It can help the hibernate "lazy=true"? They is any association between the proxy and Lazy? Please help me
    Thks !
    :rolleyes:

    Hi
    You know JDO? It's very like it but Hibernate more strong than that.
    Hibernate is an O/R Mapping technology.It is used to map database table to entity object.(like EntityBean). jsp+DAO+Hibernate. Hibernate is a light wrapper of jdbc. See so www.hibernate.com

  • Laptop screen does not turn on after resume from suspend/hibernate

    I use systemctl suspend/hibernate to resume,  but the screen does not turn on from resume. everything else still functions just fine, meaning i can type in reboot and reboot, but a "turned off" black screen.
    00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Complex
    00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] BeaverCreek [Radeon HD 6520G]
    00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G series]
    00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Port
    00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
    00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
    00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
    00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
    00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
    00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 13)
    00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD] FCH IDE Controller
    00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
    00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
    00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge (rev 40)
    00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 0)
    00:15.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 1)
    00:15.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 2)
    00:16.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
    00:16.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
    00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 (rev 43)
    00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1
    00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2
    00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3
    00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4
    00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6
    00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5
    00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7
    04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)
    05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 3.19.0-1-ARCH (builduser@tobias) (gcc version 4.9.2 20150204 (prerelease) (GCC) ) #1 SMP PREEMPT Mon Feb 9 07:08:20 CET 2015
    [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=70f3d39a-cd3c-4127-84d2-9af3430201ab rw quiet rootfstype=xfs i8042.nomux=1 i8042.reset
    [ 0.000000] tseg: 009ff00000
    [ 0.000000] e820: BIOS-provided physical RAM map:
    [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ebff] usable
    [ 0.000000] BIOS-e820: [mem 0x000000000009ec00-0x000000000009ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000009f8f4fff] usable
    [ 0.000000] BIOS-e820: [mem 0x000000009f8f5000-0x000000009f939fff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x000000009f93a000-0x000000009f951fff] ACPI data
    [ 0.000000] BIOS-e820: [mem 0x000000009f952000-0x000000009f954fff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x000000009f955000-0x000000009f955fff] usable
    [ 0.000000] BIOS-e820: [mem 0x000000009f956000-0x000000009f96cfff] reserved
    [ 0.000000] BIOS-e820: [mem 0x000000009f96d000-0x000000009f974fff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x000000009f975000-0x000000009f9a4fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x000000009f9a5000-0x000000009f9a5fff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x000000009f9a6000-0x000000009f9b5fff] usable
    [ 0.000000] BIOS-e820: [mem 0x000000009f9b6000-0x000000009f9c3fff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x000000009f9c4000-0x000000009f9c5fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x000000009f9c6000-0x000000009f9ccfff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x000000009f9cd000-0x000000009fa02fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x000000009fa03000-0x000000009fc05fff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x000000009fc06000-0x000000009fd78fff] usable
    [ 0.000000] BIOS-e820: [mem 0x000000009fd79000-0x000000009fef5fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x000000009fef6000-0x000000009fefffff] usable
    [ 0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fec10000-0x00000000fec10fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fed00000-0x00000000fed00fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fed61000-0x00000000fed70fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fed80000-0x00000000fed8ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x0000000100001000-0x000000023effffff] usable
    [ 0.000000] NX (Execute Disable) protection: active
    [ 0.000000] SMBIOS 2.7 present.
    [ 0.000000] DMI: TOSHIBA Satellite L775D/TKBSS, BIOS 1.40 07/22/2011
    [ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
    [ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
    [ 0.000000] AGP: No AGP bridge found
    [ 0.000000] e820: last_pfn = 0x23f000 max_arch_pfn = 0x400000000
    [ 0.000000] MTRR default type: uncachable
    [ 0.000000] MTRR fixed ranges enabled:
    [ 0.000000] 00000-9FFFF write-back
    [ 0.000000] A0000-BFFFF write-through
    [ 0.000000] C0000-CFFFF write-protect
    [ 0.000000] D0000-E7FFF uncachable
    [ 0.000000] E8000-FFFFF write-protect
    [ 0.000000] MTRR variable ranges enabled:
    [ 0.000000] 0 base 0000000000 mask FF00000000 write-back
    [ 0.000000] 1 base 009FF00000 mask FFFFF00000 uncachable
    [ 0.000000] 2 base 00A0000000 mask FFE0000000 uncachable
    [ 0.000000] 3 base 00C0000000 mask FFC0000000 uncachable
    [ 0.000000] 4 disabled
    [ 0.000000] 5 disabled
    [ 0.000000] 6 disabled
    [ 0.000000] 7 disabled
    [ 0.000000] TOM2: 000000023f000000 aka 9200M
    [ 0.000000] PAT configuration [0-7]: WB WC UC- UC WB WC UC- UC
    [ 0.000000] e820: update [mem 0x9ff00000-0xffffffff] usable ==> reserved
    [ 0.000000] e820: last_pfn = 0x9ff00 max_arch_pfn = 0x400000000
    [ 0.000000] found SMP MP-table at [mem 0x000fcf30-0x000fcf3f] mapped at [ffff8800000fcf30]
    [ 0.000000] Scanning 1 areas for low memory corruption
    [ 0.000000] Base memory trampoline at [ffff880000098000] 98000 size 24576
    [ 0.000000] Using GB pages for direct mapping
    [ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
    [ 0.000000] [mem 0x00000000-0x000fffff] page 4k
    [ 0.000000] BRK [0x01b32000, 0x01b32fff] PGTABLE
    [ 0.000000] BRK [0x01b33000, 0x01b33fff] PGTABLE
    [ 0.000000] BRK [0x01b34000, 0x01b34fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0x23ee00000-0x23effffff]
    [ 0.000000] [mem 0x23ee00000-0x23effffff] page 2M
    [ 0.000000] BRK [0x01b35000, 0x01b35fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0x220000000-0x23edfffff]
    [ 0.000000] [mem 0x220000000-0x23edfffff] page 2M
    [ 0.000000] init_memory_mapping: [mem 0x200000000-0x21fffffff]
    [ 0.000000] [mem 0x200000000-0x21fffffff] page 2M
    [ 0.000000] init_memory_mapping: [mem 0x00100000-0x9f8f4fff]
    [ 0.000000] [mem 0x00100000-0x001fffff] page 4k
    [ 0.000000] [mem 0x00200000-0x3fffffff] page 2M
    [ 0.000000] [mem 0x40000000-0x7fffffff] page 1G
    [ 0.000000] [mem 0x80000000-0x9f7fffff] page 2M
    [ 0.000000] [mem 0x9f800000-0x9f8f4fff] page 4k
    [ 0.000000] init_memory_mapping: [mem 0x9f955000-0x9f955fff]
    [ 0.000000] [mem 0x9f955000-0x9f955fff] page 4k
    [ 0.000000] init_memory_mapping: [mem 0x9f9a6000-0x9f9b5fff]
    [ 0.000000] [mem 0x9f9a6000-0x9f9b5fff] page 4k
    [ 0.000000] init_memory_mapping: [mem 0x9fc06000-0x9fd78fff]
    [ 0.000000] [mem 0x9fc06000-0x9fd78fff] page 4k
    [ 0.000000] BRK [0x01b36000, 0x01b36fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0x9fef6000-0x9fefffff]
    [ 0.000000] [mem 0x9fef6000-0x9fefffff] page 4k
    [ 0.000000] BRK [0x01b37000, 0x01b37fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0x100001000-0x1ffffffff]
    [ 0.000000] [mem 0x100001000-0x1001fffff] page 4k
    [ 0.000000] [mem 0x100200000-0x13fffffff] page 2M
    [ 0.000000] [mem 0x140000000-0x1ffffffff] page 1G
    [ 0.000000] RAMDISK: [mem 0x37652000-0x37b20fff]
    [ 0.000000] ACPI: Early table checksum verification disabled
    [ 0.000000] ACPI: RSDP 0x00000000000F0450 000024 (v02 TOSASU)
    [ 0.000000] ACPI: XSDT 0x000000009F93A070 000064 (v01 TOSASU TOSASU00 01072009 AMI 00010013)
    [ 0.000000] ACPI: FACP 0x000000009F94E438 0000F4 (v04 TOSASU TOSASU00 01072009 AMI 00010013)
    [ 0.000000] ACPI BIOS Warning (bug): Optional FADT field Pm2ControlBlock has zero address or length: 0x0000000000000000/0x1 (20141107/tbfadt-649)
    [ 0.000000] ACPI: DSDT 0x000000009F93A168 0142CF (v02 TOSASU TOSASU00 00000140 INTL 20051117)
    [ 0.000000] ACPI: FACS 0x000000009F9C6F80 000040
    [ 0.000000] ACPI: APIC 0x000000009F94E530 000072 (v03 TOSASU TOSASU00 01072009 AMI 00010013)
    [ 0.000000] ACPI: ECDT 0x000000009F94E5A8 0000C1 (v01 TOSASU TOSASU00 01072009 AMI. 00000004)
    [ 0.000000] ACPI: SLIC 0x000000009F94E670 000176 (v01 TOSASU TOSASU00 01072009 MSFT 00000001)
    [ 0.000000] ACPI: MCFG 0x000000009F94E7E8 00003C (v01 A M I GMCH945. 01072009 MSFT 00000097)
    [ 0.000000] ACPI: HPET 0x000000009F94E828 000038 (v01 TOSASU TOSASU00 01072009 AMI 00000004)
    [ 0.000000] ACPI: SSDT 0x000000009F94E860 000E34 (v01 AMD POWERNOW 00000001 AMD 00000001)
    [ 0.000000] ACPI: SSDT 0x000000009F94F698 00193D (v02 AMD ALIB 00000001 MSFT 04000000)
    [ 0.000000] ACPI: Local APIC address 0xfee00000
    [ 0.000000] No NUMA configuration found
    [ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000023effffff]
    [ 0.000000] NODE_DATA(0) allocated [mem 0x23eff8000-0x23effbfff]
    [ 0.000000] [ffffea0000000000-ffffea0008ffffff] PMD -> [ffff880236e00000-ffff88023e5fffff] on node 0
    [ 0.000000] Zone ranges:
    [ 0.000000] DMA [mem 0x00001000-0x00ffffff]
    [ 0.000000] DMA32 [mem 0x01000000-0xffffffff]
    [ 0.000000] Normal [mem 0x100000000-0x23effffff]
    [ 0.000000] Movable zone start for each node
    [ 0.000000] Early memory node ranges
    [ 0.000000] node 0: [mem 0x00001000-0x0009dfff]
    [ 0.000000] node 0: [mem 0x00100000-0x9f8f4fff]
    [ 0.000000] node 0: [mem 0x9f955000-0x9f955fff]
    [ 0.000000] node 0: [mem 0x9f9a6000-0x9f9b5fff]
    [ 0.000000] node 0: [mem 0x9fc06000-0x9fd78fff]
    [ 0.000000] node 0: [mem 0x9fef6000-0x9fefffff]
    [ 0.000000] node 0: [mem 0x100001000-0x23effffff]
    [ 0.000000] Initmem setup node 0 [mem 0x00001000-0x23effffff]
    [ 0.000000] On node 0 totalpages: 1960479
    [ 0.000000] DMA zone: 64 pages used for memmap
    [ 0.000000] DMA zone: 21 pages reserved
    [ 0.000000] DMA zone: 3997 pages, LIFO batch:0
    [ 0.000000] DMA32 zone: 10155 pages used for memmap
    [ 0.000000] DMA32 zone: 649859 pages, LIFO batch:31
    [ 0.000000] Normal zone: 20416 pages used for memmap
    [ 0.000000] Normal zone: 1306623 pages, LIFO batch:31
    [ 0.000000] ACPI: PM-Timer IO Port: 0x808
    [ 0.000000] ACPI: Local APIC address 0xfee00000
    [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
    [ 0.000000] ACPI: IOAPIC (id[0x05] address[0xfec00000] gsi_base[0])
    [ 0.000000] IOAPIC[0]: apic_id 5, version 33, address 0xfec00000, GSI 0-23
    [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
    [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
    [ 0.000000] ACPI: IRQ0 used by override.
    [ 0.000000] ACPI: IRQ9 used by override.
    [ 0.000000] Using ACPI (MADT) for SMP configuration information
    [ 0.000000] ACPI: HPET id: 0xffffffff base: 0xfed00000
    [ 0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
    [ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009efff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x9f8f5000-0x9f939fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x9f93a000-0x9f951fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x9f952000-0x9f954fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x9f956000-0x9f96cfff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x9f96d000-0x9f974fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x9f975000-0x9f9a4fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x9f9a5000-0x9f9a5fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x9f9b6000-0x9f9c3fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x9f9c4000-0x9f9c5fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x9f9c6000-0x9f9ccfff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x9f9cd000-0x9fa02fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x9fa03000-0x9fc05fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x9fd79000-0x9fef5fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x9ff00000-0xdfffffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xe0000000-0xefffffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xf0000000-0xfebfffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfec01000-0xfec0ffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfec10000-0xfec10fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfec11000-0xfecfffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfed00000-0xfed00fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfed01000-0xfed60fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfed61000-0xfed70fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfed71000-0xfed7ffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfed80000-0xfed8ffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfed90000-0xfeffffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xff000000-0xffffffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x100000000-0x100000fff]
    [ 0.000000] e820: [mem 0x9ff00000-0xdfffffff] available for PCI devices
    [ 0.000000] Booting paravirtualized kernel on bare hardware
    [ 0.000000] setup_percpu: NR_CPUS:128 nr_cpumask_bits:128 nr_cpu_ids:4 nr_node_ids:1
    [ 0.000000] PERCPU: Embedded 31 pages/cpu @ffff88023ec00000 s86336 r8192 d32448 u524288
    [ 0.000000] pcpu-alloc: s86336 r8192 d32448 u524288 alloc=1*2097152
    [ 0.000000] pcpu-alloc: [0] 0 1 2 3
    [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 1929823
    [ 0.000000] Policy zone: Normal
    [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=70f3d39a-cd3c-4127-84d2-9af3430201ab rw quiet rootfstype=xfs i8042.nomux=1 i8042.reset
    [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
    [ 0.000000] AGP: Checking aperture...
    [ 0.000000] AGP: No AGP bridge found
    [ 0.000000] Calgary: detecting Calgary via BIOS EBDA area
    [ 0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
    [ 0.000000] Memory: 7635708K/7841916K available (5531K kernel code, 917K rwdata, 1744K rodata, 1164K init, 1156K bss, 206208K reserved, 0K cma-reserved)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
    [ 0.000000] RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=4.
    [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [ 0.000000] NR_IRQS:8448 nr_irqs:456 16
    [ 0.000000] spurious 8259A interrupt: IRQ7.
    [ 0.000000] Console: colour dummy device 80x25
    [ 0.000000] console [tty0] enabled
    [ 0.000000] hpet clockevent registered
    [ 0.000000] tsc: Fast TSC calibration using PIT
    [ 0.000000] tsc: Detected 1397.380 MHz processor
    [ 0.000043] Calibrating delay loop (skipped), value calculated using timer frequency.. 2795.20 BogoMIPS (lpj=4657933)
    [ 0.000046] pid_max: default: 32768 minimum: 301
    [ 0.000053] ACPI: Core revision 20141107
    [ 0.000055] TOSHIBA Satellite detected - force copy of DSDT to local memory
    [ 0.000123] ACPI: Forced DSDT copy: length 0x142CF copied locally, original unmapped
    [ 0.015021] ACPI: All ACPI Tables successfully acquired
    [ 0.016280] Security Framework initialized
    [ 0.016286] Yama: becoming mindful.
    [ 0.016907] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
    [ 0.019182] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
    [ 0.020189] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
    [ 0.020201] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
    [ 0.020472] Initializing cgroup subsys memory
    [ 0.020479] Initializing cgroup subsys devices
    [ 0.020482] Initializing cgroup subsys freezer
    [ 0.020484] Initializing cgroup subsys net_cls
    [ 0.020487] Initializing cgroup subsys blkio
    [ 0.020510] CPU: Physical Processor ID: 0
    [ 0.020511] CPU: Processor Core ID: 0
    [ 0.020513] mce: CPU supports 6 MCE banks
    [ 0.020522] Last level iTLB entries: 4KB 512, 2MB 16, 4MB 8
    Last level dTLB entries: 4KB 1024, 2MB 128, 4MB 64, 1GB 0
    [ 0.020644] Freeing SMP alternatives memory: 20K (ffffffff81a0a000 - ffffffff81a0f000)
    [ 0.021880] ftrace: allocating 21166 entries in 83 pages
    [ 0.035456] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
    [ 0.068473] smpboot: CPU0: AMD A6-3400M APU with Radeon(tm) HD Graphics (fam: 12, model: 01, stepping: 00)
    [ 0.174081] Performance Events: AMD PMU driver.
    [ 0.174086] ... version: 0
    [ 0.174087] ... bit width: 48
    [ 0.174088] ... generic registers: 4
    [ 0.174089] ... value mask: 0000ffffffffffff
    [ 0.174090] ... max period: 00007fffffffffff
    [ 0.174091] ... fixed-purpose events: 0
    [ 0.174092] ... event mask: 000000000000000f
    [ 0.191034] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
    [ 0.197738] x86: Booting SMP configuration:
    [ 0.197744] .... node #0, CPUs: #1 #2 #3
    [ 0.250891] x86: Booted up 1 node, 4 CPUs
    [ 0.250896] smpboot: Total of 4 processors activated (11183.83 BogoMIPS)
    [ 0.252264] devtmpfs: initialized
    [ 0.257696] PM: Registering ACPI NVS region [mem 0x9f8f5000-0x9f939fff] (282624 bytes)
    [ 0.257715] PM: Registering ACPI NVS region [mem 0x9f952000-0x9f954fff] (12288 bytes)
    [ 0.257718] PM: Registering ACPI NVS region [mem 0x9f96d000-0x9f974fff] (32768 bytes)
    [ 0.257721] PM: Registering ACPI NVS region [mem 0x9f9a5000-0x9f9a5fff] (4096 bytes)
    [ 0.257724] PM: Registering ACPI NVS region [mem 0x9f9b6000-0x9f9c3fff] (57344 bytes)
    [ 0.257727] PM: Registering ACPI NVS region [mem 0x9f9c6000-0x9f9ccfff] (28672 bytes)
    [ 0.257729] PM: Registering ACPI NVS region [mem 0x9fa03000-0x9fc05fff] (2109440 bytes)
    [ 0.258125] pinctrl core: initialized pinctrl subsystem
    [ 0.258173] RTC time: 18:50:52, date: 02/22/15
    [ 0.258343] NET: Registered protocol family 16
    [ 0.270952] cpuidle: using governor ladder
    [ 0.284279] cpuidle: using governor menu
    [ 0.284490] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
    [ 0.284493] ACPI: bus type PCI registered
    [ 0.284495] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
    [ 0.284605] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
    [ 0.284608] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
    [ 0.285035] PCI: Using configuration type 1 for base access
    [ 0.299021] ACPI: Added _OSI(Module Device)
    [ 0.299025] ACPI: Added _OSI(Processor Device)
    [ 0.299027] ACPI: Added _OSI(3.0 _SCP Extensions)
    [ 0.299029] ACPI: Added _OSI(Processor Aggregator Device)
    [ 0.300870] ACPI : EC: EC description table is found, configuring boot EC
    [ 0.302900] ACPI: Executed 2 blocks of module-level executable AML code
    [ 0.831121] ACPI: Interpreter enabled
    [ 0.831132] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20141107/hwxface-580)
    [ 0.831140] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20141107/hwxface-580)
    [ 0.831167] ACPI: (supports S0 S3 S4 S5)
    [ 0.831169] ACPI: Using IOAPIC for interrupt routing
    [ 0.831382] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
    [ 0.842727] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
    [ 0.842738] acpi PNP0A03:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
    [ 0.843157] acpi PNP0A03:00: _OSC: OS now controls [PCIeHotplug PME AER PCIeCapability]
    [ 0.843782] PCI host bridge to bus 0000:00
    [ 0.843788] pci_bus 0000:00: root bus resource [bus 00-ff]
    [ 0.843792] pci_bus 0000:00: root bus resource [io 0x0000-0x03af]
    [ 0.843796] pci_bus 0000:00: root bus resource [io 0x03e0-0x0cf7]
    [ 0.843800] pci_bus 0000:00: root bus resource [io 0x03b0-0x03df]
    [ 0.843803] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff]
    [ 0.843806] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
    [ 0.843810] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000dffff]
    [ 0.843813] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xffffffff]
    [ 0.843825] pci 0000:00:00.0: [1022:1705] type 00 class 0x060000
    [ 0.843978] pci 0000:00:01.0: [1002:9647] type 00 class 0x030000
    [ 0.843993] pci 0000:00:01.0: reg 0x10: [mem 0xc0000000-0xcfffffff pref]
    [ 0.844002] pci 0000:00:01.0: reg 0x14: [io 0xf000-0xf0ff]
    [ 0.844011] pci 0000:00:01.0: reg 0x18: [mem 0xfeb00000-0xfeb3ffff]
    [ 0.844070] pci 0000:00:01.0: supports D1 D2
    [ 0.844185] pci 0000:00:01.1: [1002:1714] type 00 class 0x040300
    [ 0.844197] pci 0000:00:01.1: reg 0x10: [mem 0xfeb44000-0xfeb47fff]
    [ 0.844272] pci 0000:00:01.1: supports D1 D2
    [ 0.844388] pci 0000:00:02.0: [1022:1707] type 01 class 0x060400
    [ 0.844483] pci 0000:00:02.0: PME# supported from D0 D3hot D3cold
    [ 0.844641] pci 0000:00:11.0: [1022:7801] type 00 class 0x010601
    [ 0.844665] pci 0000:00:11.0: reg 0x10: [io 0xf190-0xf197]
    [ 0.844678] pci 0000:00:11.0: reg 0x14: [io 0xf180-0xf183]
    [ 0.844690] pci 0000:00:11.0: reg 0x18: [io 0xf170-0xf177]
    [ 0.844703] pci 0000:00:11.0: reg 0x1c: [io 0xf160-0xf163]
    [ 0.844715] pci 0000:00:11.0: reg 0x20: [io 0xf150-0xf15f]
    [ 0.844728] pci 0000:00:11.0: reg 0x24: [mem 0xfeb4e000-0xfeb4e7ff]
    [ 0.844896] pci 0000:00:12.0: [1022:7807] type 00 class 0x0c0310
    [ 0.844914] pci 0000:00:12.0: reg 0x10: [mem 0xfeb4d000-0xfeb4dfff]
    [ 0.845044] pci 0000:00:12.0: System wakeup disabled by ACPI
    [ 0.845114] pci 0000:00:12.2: [1022:7808] type 00 class 0x0c0320
    [ 0.845138] pci 0000:00:12.2: reg 0x10: [mem 0xfeb4c000-0xfeb4c0ff]
    [ 0.845242] pci 0000:00:12.2: supports D1 D2
    [ 0.845245] pci 0000:00:12.2: PME# supported from D0 D1 D2 D3hot
    [ 0.845313] pci 0000:00:12.2: System wakeup disabled by ACPI
    [ 0.845383] pci 0000:00:13.0: [1022:7807] type 00 class 0x0c0310
    [ 0.845400] pci 0000:00:13.0: reg 0x10: [mem 0xfeb4b000-0xfeb4bfff]
    [ 0.845529] pci 0000:00:13.0: System wakeup disabled by ACPI
    [ 0.845599] pci 0000:00:13.2: [1022:7808] type 00 class 0x0c0320
    [ 0.845623] pci 0000:00:13.2: reg 0x10: [mem 0xfeb4a000-0xfeb4a0ff]
    [ 0.845727] pci 0000:00:13.2: supports D1 D2
    [ 0.845730] pci 0000:00:13.2: PME# supported from D0 D1 D2 D3hot
    [ 0.845799] pci 0000:00:13.2: System wakeup disabled by ACPI
    [ 0.845867] pci 0000:00:14.0: [1022:780b] type 00 class 0x0c0500
    [ 0.846051] pci 0000:00:14.1: [1022:780c] type 00 class 0x01018a
    [ 0.846069] pci 0000:00:14.1: reg 0x10: [io 0xf140-0xf147]
    [ 0.846081] pci 0000:00:14.1: reg 0x14: [io 0xf130-0xf133]
    [ 0.846094] pci 0000:00:14.1: reg 0x18: [io 0xf120-0xf127]
    [ 0.846107] pci 0000:00:14.1: reg 0x1c: [io 0xf110-0xf113]
    [ 0.846119] pci 0000:00:14.1: reg 0x20: [io 0xf100-0xf10f]
    [ 0.846145] pci 0000:00:14.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
    [ 0.846148] pci 0000:00:14.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
    [ 0.846151] pci 0000:00:14.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
    [ 0.846154] pci 0000:00:14.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
    [ 0.846275] pci 0000:00:14.2: [1022:780d] type 00 class 0x040300
    [ 0.846303] pci 0000:00:14.2: reg 0x10: [mem 0xfeb40000-0xfeb43fff 64bit]
    [ 0.846387] pci 0000:00:14.2: PME# supported from D0 D3hot D3cold
    [ 0.846454] pci 0000:00:14.2: System wakeup disabled by ACPI
    [ 0.846515] pci 0000:00:14.3: [1022:780e] type 00 class 0x060100
    [ 0.846704] pci 0000:00:14.4: [1022:780f] type 01 class 0x060401
    [ 0.846806] pci 0000:00:14.4: System wakeup disabled by ACPI
    [ 0.846879] pci 0000:00:15.0: [1022:43a0] type 01 class 0x060400
    [ 0.846982] pci 0000:00:15.0: supports D1 D2
    [ 0.847053] pci 0000:00:15.0: System wakeup disabled by ACPI
    [ 0.847122] pci 0000:00:15.1: [1022:43a1] type 01 class 0x060400
    [ 0.847225] pci 0000:00:15.1: supports D1 D2
    [ 0.847296] pci 0000:00:15.1: System wakeup disabled by ACPI
    [ 0.847363] pci 0000:00:15.2: [1022:43a2] type 01 class 0x060400
    [ 0.847466] pci 0000:00:15.2: supports D1 D2
    [ 0.847537] pci 0000:00:15.2: System wakeup disabled by ACPI
    [ 0.847610] pci 0000:00:16.0: [1022:7807] type 00 class 0x0c0310
    [ 0.847628] pci 0000:00:16.0: reg 0x10: [mem 0xfeb49000-0xfeb49fff]
    [ 0.847757] pci 0000:00:16.0: System wakeup disabled by ACPI
    [ 0.847827] pci 0000:00:16.2: [1022:7808] type 00 class 0x0c0320
    [ 0.847851] pci 0000:00:16.2: reg 0x10: [mem 0xfeb48000-0xfeb480ff]
    [ 0.847956] pci 0000:00:16.2: supports D1 D2
    [ 0.847959] pci 0000:00:16.2: PME# supported from D0 D1 D2 D3hot
    [ 0.848026] pci 0000:00:16.2: System wakeup disabled by ACPI
    [ 0.848093] pci 0000:00:18.0: [1022:1700] type 00 class 0x060000
    [ 0.848228] pci 0000:00:18.1: [1022:1701] type 00 class 0x060000
    [ 0.848359] pci 0000:00:18.2: [1022:1702] type 00 class 0x060000
    [ 0.848490] pci 0000:00:18.3: [1022:1703] type 00 class 0x060000
    [ 0.848632] pci 0000:00:18.4: [1022:1704] type 00 class 0x060000
    [ 0.848762] pci 0000:00:18.5: [1022:1718] type 00 class 0x060000
    [ 0.848892] pci 0000:00:18.6: [1022:1716] type 00 class 0x060000
    [ 0.849021] pci 0000:00:18.7: [1022:1719] type 00 class 0x060000
    [ 0.849252] pci 0000:00:02.0: PCI bridge to [bus 01]
    [ 0.849360] pci 0000:00:14.4: PCI bridge to [bus 02] (subtractive decode)
    [ 0.849372] pci 0000:00:14.4: bridge window [io 0x0000-0x03af] (subtractive decode)
    [ 0.849376] pci 0000:00:14.4: bridge window [io 0x03e0-0x0cf7] (subtractive decode)
    [ 0.849379] pci 0000:00:14.4: bridge window [io 0x03b0-0x03df] (subtractive decode)
    [ 0.849383] pci 0000:00:14.4: bridge window [io 0x0d00-0xffff] (subtractive decode)
    [ 0.849387] pci 0000:00:14.4: bridge window [mem 0x000a0000-0x000bffff] (subtractive decode)
    [ 0.849390] pci 0000:00:14.4: bridge window [mem 0x000c0000-0x000dffff] (subtractive decode)
    [ 0.849394] pci 0000:00:14.4: bridge window [mem 0xc0000000-0xffffffff] (subtractive decode)
    [ 0.849483] pci 0000:00:15.0: PCI bridge to [bus 03]
    [ 0.849617] pci 0000:04:00.0: [10ec:8176] type 00 class 0x028000
    [ 0.849646] pci 0000:04:00.0: reg 0x10: [io 0xe000-0xe0ff]
    [ 0.849687] pci 0000:04:00.0: reg 0x18: [mem 0xfea00000-0xfea03fff 64bit]
    [ 0.849834] pci 0000:04:00.0: supports D1 D2
    [ 0.849837] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
    [ 0.849878] pci 0000:04:00.0: System wakeup disabled by ACPI
    [ 0.854467] pci 0000:00:15.1: PCI bridge to [bus 04]
    [ 0.854488] pci 0000:00:15.1: bridge window [io 0xe000-0xefff]
    [ 0.854499] pci 0000:00:15.1: bridge window [mem 0xfea00000-0xfeafffff]
    [ 0.854661] pci 0000:05:00.0: [10ec:8136] type 00 class 0x020000
    [ 0.854688] pci 0000:05:00.0: reg 0x10: [io 0xd000-0xd0ff]
    [ 0.854722] pci 0000:05:00.0: reg 0x18: [mem 0xd0004000-0xd0004fff 64bit pref]
    [ 0.854743] pci 0000:05:00.0: reg 0x20: [mem 0xd0000000-0xd0003fff 64bit pref]
    [ 0.854860] pci 0000:05:00.0: supports D1 D2
    [ 0.854863] pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold
    [ 0.854907] pci 0000:05:00.0: System wakeup disabled by ACPI
    [ 0.861144] pci 0000:00:15.2: PCI bridge to [bus 05]
    [ 0.861165] pci 0000:00:15.2: bridge window [io 0xd000-0xdfff]
    [ 0.861180] pci 0000:00:15.2: bridge window [mem 0xd0000000-0xd00fffff 64bit pref]
    [ 0.861237] acpi PNP0A03:00: Disabling ASPM (FADT indicates it is unsupported)
    [ 0.861791] ACPI: PCI Interrupt Link [LN24] (IRQs *24)
    [ 0.861823] ACPI: PCI Interrupt Link [LN25] (IRQs *25)
    [ 0.861855] ACPI: PCI Interrupt Link [LN26] (IRQs *26)
    [ 0.861887] ACPI: PCI Interrupt Link [LN27] (IRQs *27)
    [ 0.861918] ACPI: PCI Interrupt Link [LN28] (IRQs *28)
    [ 0.861951] ACPI: PCI Interrupt Link [LN29] (IRQs *29)
    [ 0.861981] ACPI: PCI Interrupt Link [LN30] (IRQs *30)
    [ 0.862011] ACPI: PCI Interrupt Link [LN31] (IRQs *31)
    [ 0.862041] ACPI: PCI Interrupt Link [LN32] (IRQs *32)
    [ 0.862071] ACPI: PCI Interrupt Link [LN33] (IRQs *33)
    [ 0.862101] ACPI: PCI Interrupt Link [LN34] (IRQs *34)
    [ 0.862130] ACPI: PCI Interrupt Link [LN35] (IRQs *35)
    [ 0.862160] ACPI: PCI Interrupt Link [LN36] (IRQs *36)
    [ 0.862190] ACPI: PCI Interrupt Link [LN37] (IRQs *37)
    [ 0.862219] ACPI: PCI Interrupt Link [LN38] (IRQs *38)
    [ 0.862249] ACPI: PCI Interrupt Link [LN39] (IRQs *39)
    [ 0.862279] ACPI: PCI Interrupt Link [LN40] (IRQs *40)
    [ 0.862309] ACPI: PCI Interrupt Link [LN41] (IRQs *41)
    [ 0.862338] ACPI: PCI Interrupt Link [LN42] (IRQs *42)
    [ 0.862368] ACPI: PCI Interrupt Link [LN43] (IRQs *43)
    [ 0.862398] ACPI: PCI Interrupt Link [LN44] (IRQs *44)
    [ 0.862428] ACPI: PCI Interrupt Link [LN45] (IRQs *45)
    [ 0.862457] ACPI: PCI Interrupt Link [LN46] (IRQs *46)
    [ 0.862487] ACPI: PCI Interrupt Link [LN47] (IRQs *47)
    [ 0.862517] ACPI: PCI Interrupt Link [LN48] (IRQs *48)
    [ 0.862546] ACPI: PCI Interrupt Link [LN49] (IRQs *49)
    [ 0.862576] ACPI: PCI Interrupt Link [LN50] (IRQs *50)
    [ 0.862606] ACPI: PCI Interrupt Link [LN51] (IRQs *51)
    [ 0.862635] ACPI: PCI Interrupt Link [LN52] (IRQs *52)
    [ 0.862665] ACPI: PCI Interrupt Link [LN53] (IRQs *53)
    [ 0.862695] ACPI: PCI Interrupt Link [LN54] (IRQs *54)
    [ 0.862726] ACPI: PCI Interrupt Link [LN55] (IRQs *55)
    [ 0.862781] ACPI: PCI Interrupt Link [LNKA] (IRQs 4 5 7 10 11 14 15) *0
    [ 0.862883] ACPI: PCI Interrupt Link [LNKB] (IRQs 4 5 7 10 11 14 15) *0
    [ 0.862986] ACPI: PCI Interrupt Link [LNKC] (IRQs 4 5 7 10 11 14 15) *0
    [ 0.863084] ACPI: PCI Interrupt Link [LNKD] (IRQs 4 5 7 10 11 14 15) *0
    [ 0.863164] ACPI: PCI Interrupt Link [LNKE] (IRQs 4 5 7 10 11 14 15) *0
    [ 0.863228] ACPI: PCI Interrupt Link [LNKF] (IRQs 4 5 7 10 11 14 15) *0
    [ 0.863292] ACPI: PCI Interrupt Link [LNKG] (IRQs 4 5 7 10 11 14 15) *0
    [ 0.863356] ACPI: PCI Interrupt Link [LNKH] (IRQs 4 5 7 10 11 14 15) *0
    [ 0.864141] ACPI : EC: GPE = 0xc, I/O: command/status = 0x66, data = 0x62
    [ 0.864446] vgaarb: setting as boot device: PCI:0000:00:01.0
    [ 0.864452] vgaarb: device added: PCI:0000:00:01.0,decodes=io+mem,owns=io+mem,locks=none
    [ 0.864464] vgaarb: loaded
    [ 0.864466] vgaarb: bridge control possible 0000:00:01.0
    [ 0.864788] PCI: Using ACPI for IRQ routing
    [ 0.874741] PCI: pci_cache_line_size set to 64 bytes
    [ 0.874840] e820: reserve RAM buffer [mem 0x0009ec00-0x0009ffff]
    [ 0.874844] e820: reserve RAM buffer [mem 0x9f8f5000-0x9fffffff]
    [ 0.874848] e820: reserve RAM buffer [mem 0x9f956000-0x9fffffff]
    [ 0.874851] e820: reserve RAM buffer [mem 0x9f9b6000-0x9fffffff]
    [ 0.874854] e820: reserve RAM buffer [mem 0x9fd79000-0x9fffffff]
    [ 0.874856] e820: reserve RAM buffer [mem 0x9ff00000-0x9fffffff]
    [ 0.874859] e820: reserve RAM buffer [mem 0x23f000000-0x23fffffff]
    [ 0.875079] NetLabel: Initializing
    [ 0.875081] NetLabel: domain hash size = 128
    [ 0.875083] NetLabel: protocols = UNLABELED CIPSOv4
    [ 0.875101] NetLabel: unlabeled traffic allowed by default
    [ 0.875143] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
    [ 0.875149] hpet0: 3 comparators, 32-bit 14.318180 MHz counter
    [ 0.877246] Switched to clocksource hpet
    [ 0.884868] pnp: PnP ACPI init
    [ 0.885072] system 00:00: [mem 0xe0000000-0xefffffff] has been reserved
    [ 0.885079] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
    [ 0.886017] system 00:01: [io 0x04d0-0x04d1] has been reserved
    [ 0.886021] system 00:01: [io 0x040b] has been reserved
    [ 0.886025] system 00:01: [io 0x04d6] has been reserved
    [ 0.886029] system 00:01: [io 0x0c00-0x0c01] has been reserved
    [ 0.886032] system 00:01: [io 0x0c14] has been reserved
    [ 0.886036] system 00:01: [io 0x0c50-0x0c51] has been reserved
    [ 0.886039] system 00:01: [io 0x0c52] has been reserved
    [ 0.886042] system 00:01: [io 0x0c6c] has been reserved
    [ 0.886046] system 00:01: [io 0x0c6f] has been reserved
    [ 0.886049] system 00:01: [io 0x0cd0-0x0cd1] has been reserved
    [ 0.886052] system 00:01: [io 0x0cd2-0x0cd3] has been reserved
    [ 0.886056] system 00:01: [io 0x0cd4-0x0cd5] has been reserved
    [ 0.886059] system 00:01: [io 0x0cd6-0x0cd7] has been reserved
    [ 0.886063] system 00:01: [io 0x0cd8-0x0cdf] has been reserved
    [ 0.886067] system 00:01: [io 0x0800-0x089f] could not be reserved
    [ 0.886070] system 00:01: [io 0x0b20-0x0b3f] has been reserved
    [ 0.886074] system 00:01: [io 0x0900-0x090f] has been reserved
    [ 0.886082] system 00:01: [io 0x0910-0x091f] has been reserved
    [ 0.886086] system 00:01: [io 0xfe00-0xfefe] has been reserved
    [ 0.886091] system 00:01: [mem 0xfec00000-0xfec00fff] could not be reserved
    [ 0.886096] system 00:01: [mem 0xfee00000-0xfee00fff] has been reserved
    [ 0.886100] system 00:01: [mem 0xfed80000-0xfed8ffff] has been reserved
    [ 0.886104] system 00:01: [mem 0xfed61000-0xfed70fff] has been reserved
    [ 0.886107] system 00:01: [mem 0xfec10000-0xfec10fff] has been reserved
    [ 0.886112] system 00:01: [mem 0xfed00000-0xfed00fff] could not be reserved
    [ 0.886116] system 00:01: [mem 0xff000000-0xffffffff] has been reserved
    [ 0.886120] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.886180] pnp 00:02: Plug and Play ACPI device, IDs PNP0b00 (active)
    [ 0.886279] system 00:03: [io 0x04d0-0x04d1] has been reserved
    [ 0.886283] system 00:03: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.886353] system 00:04: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.886420] system 00:05: [io 0x0240-0x0259] has been reserved
    [ 0.886424] system 00:05: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.886523] pnp 00:06: Plug and Play ACPI device, IDs TOS0220 SYN1d00 SYN0002 PNP0f13 (active)
    [ 0.886596] pnp 00:07: Plug and Play ACPI device, IDs PNP0303 PNP030b (active)
    [ 0.886784] system 00:08: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.887277] pnp: PnP ACPI: found 9 devices
    [ 0.895955] pci 0000:00:02.0: bridge window [io 0x1000-0x0fff] to [bus 01] add_size 1000
    [ 0.895964] pci 0000:00:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 01] add_size 200000
    [ 0.895969] pci 0000:00:02.0: bridge window [mem 0x00100000-0x000fffff] to [bus 01] add_size 200000
    [ 0.896008] pci 0000:00:02.0: res[14]=[mem 0x00100000-0x000fffff] get_res_add_size add_size 200000
    [ 0.896012] pci 0000:00:02.0: res[15]=[mem 0x00100000-0x000fffff 64bit pref] get_res_add_size add_size 200000
    [ 0.896016] pci 0000:00:02.0: res[13]=[io 0x1000-0x0fff] get_res_add_size add_size 1000
    [ 0.896026] pci 0000:00:02.0: BAR 14: assigned [mem 0xd0100000-0xd02fffff]
    [ 0.896039] pci 0000:00:02.0: BAR 15: assigned [mem 0xd0300000-0xd04fffff 64bit pref]
    [ 0.896046] pci 0000:00:02.0: BAR 13: assigned [io 0x1000-0x1fff]
    [ 0.896051] pci 0000:00:02.0: PCI bridge to [bus 01]
    [ 0.896056] pci 0000:00:02.0: bridge window [io 0x1000-0x1fff]
    [ 0.896061] pci 0000:00:02.0: bridge window [mem 0xd0100000-0xd02fffff]
    [ 0.896067] pci 0000:00:02.0: bridge window [mem 0xd0300000-0xd04fffff 64bit pref]
    [ 0.896073] pci 0000:00:14.4: PCI bridge to [bus 02]
    [ 0.896089] pci 0000:00:15.0: PCI bridge to [bus 03]
    [ 0.896103] pci 0000:00:15.1: PCI bridge to [bus 04]
    [ 0.896107] pci 0000:00:15.1: bridge window [io 0xe000-0xefff]
    [ 0.896114] pci 0000:00:15.1: bridge window [mem 0xfea00000-0xfeafffff]
    [ 0.896124] pci 0000:00:15.2: PCI bridge to [bus 05]
    [ 0.896129] pci 0000:00:15.2: bridge window [io 0xd000-0xdfff]
    [ 0.896138] pci 0000:00:15.2: bridge window [mem 0xd0000000-0xd00fffff 64bit pref]
    [ 0.896147] pci_bus 0000:00: resource 4 [io 0x0000-0x03af]
    [ 0.896151] pci_bus 0000:00: resource 5 [io 0x03e0-0x0cf7]
    [ 0.896154] pci_bus 0000:00: resource 6 [io 0x03b0-0x03df]
    [ 0.896157] pci_bus 0000:00: resource 7 [io 0x0d00-0xffff]
    [ 0.896160] pci_bus 0000:00: resource 8 [mem 0x000a0000-0x000bffff]
    [ 0.896164] pci_bus 0000:00: resource 9 [mem 0x000c0000-0x000dffff]
    [ 0.896167] pci_bus 0000:00: resource 10 [mem 0xc0000000-0xffffffff]
    [ 0.896171] pci_bus 0000:01: resource 0 [io 0x1000-0x1fff]
    [ 0.896174] pci_bus 0000:01: resource 1 [mem 0xd0100000-0xd02fffff]
    [ 0.896178] pci_bus 0000:01: resource 2 [mem 0xd0300000-0xd04fffff 64bit pref]
    [ 0.896182] pci_bus 0000:02: resource 4 [io 0x0000-0x03af]
    [ 0.896185] pci_bus 0000:02: resource 5 [io 0x03e0-0x0cf7]
    [ 0.896188] pci_bus 0000:02: resource 6 [io 0x03b0-0x03df]
    [ 0.896191] pci_bus 0000:02: resource 7 [io 0x0d00-0xffff]
    [ 0.896194] pci_bus 0000:02: resource 8 [mem 0x000a0000-0x000bffff]
    [ 0.896198] pci_bus 0000:02: resource 9 [mem 0x000c0000-0x000dffff]
    [ 0.896201] pci_bus 0000:02: resource 10 [mem 0xc0000000-0xffffffff]
    [ 0.896205] pci_bus 0000:04: resource 0 [io 0xe000-0xefff]
    [ 0.896208] pci_bus 0000:04: resource 1 [mem 0xfea00000-0xfeafffff]
    [ 0.896212] pci_bus 0000:05: resource 0 [io 0xd000-0xdfff]
    [ 0.896215] pci_bus 0000:05: resource 2 [mem 0xd0000000-0xd00fffff 64bit pref]
    [ 0.896259] NET: Registered protocol family 2
    [ 0.896597] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
    [ 0.896863] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
    [ 0.897301] TCP: Hash tables configured (established 65536 bind 65536)
    [ 0.897360] TCP: reno registered
    [ 0.897379] UDP hash table entries: 4096 (order: 5, 131072 bytes)
    [ 0.897467] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
    [ 0.897618] NET: Registered protocol family 1
    [ 0.897646] pci 0000:00:01.0: Video device with shadowed ROM
    [ 1.838171] PCI: CLS 64 bytes, default 64
    [ 1.838242] Unpacking initramfs...
    [ 1.934095] Freeing initrd memory: 4924K (ffff880037652000 - ffff880037b21000)
    [ 1.934107] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
    [ 1.934110] software IO TLB [mem 0x9b8f5000-0x9f8f5000] (64MB) mapped at [ffff88009b8f5000-ffff88009f8f4fff]
    [ 1.934495] microcode: CPU0: patch_level=0x03000014
    [ 1.934537] microcode: CPU1: patch_level=0x03000014
    [ 1.934580] microcode: CPU2: patch_level=0x03000014
    [ 1.934625] microcode: CPU3: patch_level=0x03000014
    [ 1.934758] microcode: Microcode Update Driver: v2.00 <[email protected]>, Peter Oruba
    [ 1.934766] LVT offset 0 assigned for vector 0x400
    [ 1.934817] perf: AMD IBS detected (0x000000ff)
    [ 1.934854] Scanning for low memory corruption every 60 seconds
    [ 1.935293] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [ 1.935315] Initialise system trusted keyring
    [ 1.935789] HugeTLB registered 2 MB page size, pre-allocated 0 pages
    [ 1.937285] zpool: loaded
    [ 1.937288] zbud: loaded
    [ 1.937658] VFS: Disk quotas dquot_6.5.2
    [ 1.937709] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [ 1.937948] Key type big_key registered
    [ 1.938436] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [ 1.938508] io scheduler noop registered
    [ 1.938511] io scheduler deadline registered
    [ 1.938546] io scheduler cfq registered (default)
    [ 1.939375] pcieport 0000:00:02.0: Signaling PME through PCIe PME interrupt
    [ 1.939380] pcie_pme 0000:00:02.0:pcie01: service driver pcie_pme loaded
    [ 1.939399] pcieport 0000:00:15.0: Signaling PME through PCIe PME interrupt
    [ 1.939403] pcie_pme 0000:00:15.0:pcie01: service driver pcie_pme loaded
    [ 1.939421] pcieport 0000:00:15.1: Signaling PME through PCIe PME interrupt
    [ 1.939423] pci 0000:04:00.0: Signaling PME through PCIe PME interrupt
    [ 1.939428] pcie_pme 0000:00:15.1:pcie01: service driver pcie_pme loaded
    [ 1.939447] pcieport 0000:00:15.2: Signaling PME through PCIe PME interrupt
    [ 1.939449] pci 0000:05:00.0: Signaling PME through PCIe PME interrupt
    [ 1.939453] pcie_pme 0000:00:15.2:pcie01: service driver pcie_pme loaded
    [ 1.939461] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    [ 1.939494] pciehp 0000:00:02.0:pcie04: Slot #2 AttnBtn- AttnInd- PwrInd- PwrCtrl- MRL- Interlock- NoCompl+ LLActRep+
    [ 1.939528] pciehp 0000:00:02.0:pcie04: service driver pciehp loaded
    [ 1.939533] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
    [ 1.939550] vesafb: mode is 1152x864x32, linelength=4608, pages=0
    [ 1.939552] vesafb: scrolling: redraw
    [ 1.939554] vesafb: Truecolor: size=0:8:8:8, shift=0:16:8:0
    [ 1.939576] vesafb: framebuffer at 0xc0000000, mapped to 0xffffc90010e80000, using 3904k, total 3904k
    [ 1.955978] Console: switching to colour frame buffer device 144x54
    [ 1.972261] fb0: VESA VGA frame buffer device
    [ 1.972328] GHES: HEST is not enabled!
    [ 1.972535] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [ 1.973720] Linux agpgart interface v0.103
    [ 1.973797] rtc_cmos 00:02: RTC can wake from S4
    [ 1.973936] rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
    [ 1.973964] rtc_cmos 00:02: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
    [ 1.973983] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.974434] TCP: cubic registered
    [ 1.974593] NET: Registered protocol family 10
    [ 1.975020] NET: Registered protocol family 17
    [ 1.975476] Loading compiled-in X.509 certificates
    [ 1.975502] registered taskstats version 1
    [ 1.976231] Magic number: 3:326:848
    [ 1.976341] rtc_cmos 00:02: setting system clock to 2015-02-22 18:50:54 UTC (1424631054)
    [ 1.976444] PM: Hibernation image not present or could not be loaded.
    [ 1.977023] Freeing unused kernel memory: 1164K (ffffffff818e7000 - ffffffff81a0a000)
    [ 1.977027] Write protecting the kernel read-only data: 8192k
    [ 1.977495] Freeing unused kernel memory: 600K (ffff88000156a000 - ffff880001600000)
    [ 1.977718] Freeing unused kernel memory: 304K (ffff8800017b4000 - ffff880001800000)
    [ 1.979659] random: systemd urandom read with 1 bits of entropy available
    [ 1.980307] systemd[1]: systemd 219 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD +IDN)
    [ 1.980576] systemd[1]: Detected architecture 'x86-64'.
    [ 1.980581] systemd[1]: Running in initial RAM disk.
    [ 1.980590] systemd[1]: Running with unpopulated /etc.
    [ 1.980603] systemd[1]: No hostname configured.
    [ 1.980609] systemd[1]: Set hostname to <localhost>.
    [ 1.980655] systemd[1]: Initializing machine ID from random generator.
    [ 1.996373] systemd[1]: Populated /etc with preset unit settings.
    [ 1.999327] systemd[1]: Unit type .busname is not supported on this system.
    [ 2.003390] systemd[1]: Created slice -.slice.
    [ 2.003412] systemd[1]: Starting -.slice.
    [ 2.005054] systemd[1]: Listening on Journal Audit Socket.
    [ 2.005188] systemd[1]: Created slice system.slice.
    [ 2.005200] systemd[1]: Starting system.slice.
    [ 2.005218] systemd[1]: Reached target Swap.
    [ 2.005226] systemd[1]: Starting Swap.
    [ 2.005288] systemd[1]: Listening on udev Control Socket.
    [ 2.005296] systemd[1]: Starting udev Control Socket.
    [ 2.005312] systemd[1]: Reached target Slices.
    [ 2.005320] systemd[1]: Starting Slices.
    [ 2.005335] systemd[1]: Reached target Local File Systems.
    [ 2.005342] systemd[1]: Starting Local File Systems.
    [ 2.005358] systemd[1]: Reached target Timers.
    [ 2.005366] systemd[1]: Starting Timers.
    [ 2.005398] systemd[1]: Listening on udev Kernel Socket.
    [ 2.005409] systemd[1]: Starting udev Kernel Socket.
    [ 2.005430] systemd[1]: Reached target Paths.
    [ 2.005441] systemd[1]: Starting Paths.
    [ 2.005497] systemd[1]: Listening on Journal Socket.
    [ 2.005510] systemd[1]: Starting Journal Socket.
    [ 2.006097] systemd[1]: Starting udev Coldplug all Devices...
    [ 2.006689] systemd[1]: Starting Create list of required static device nodes for the current kernel...
    [ 2.006801] systemd[1]: Created slice system-systemd\x2dfsck.slice.
    [ 2.006811] systemd[1]: Starting system-systemd\x2dfsck.slice.
    [ 2.006860] systemd[1]: Listening on Journal Socket (/dev/log).
    [ 2.006870] systemd[1]: Starting Journal Socket (/dev/log).
    [ 2.007428] systemd[1]: Starting Journal Service...
    [ 2.007472] systemd[1]: Reached target Sockets.
    [ 2.007494] systemd[1]: Starting Sockets.
    [ 2.011399] systemd[1]: Started Create list of required static device nodes for the current kernel.
    [ 2.012026] systemd[1]: Starting Create Static Device Nodes in /dev...
    [ 2.012842] systemd-journald[63]: Failed to set file attributes: Inappropriate ioctl for device
    [ 2.016230] systemd[1]: Started Create Static Device Nodes in /dev.
    [ 2.016999] systemd[1]: Starting udev Kernel Device Manager...
    [ 2.021212] systemd[1]: Started udev Kernel Device Manager.
    [ 2.024169] systemd[1]: Started udev Coldplug all Devices.
    [ 2.029792] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
    [ 2.032026] serio: i8042 KBD port at 0x60,0x64 irq 1
    [ 2.032044] serio: i8042 AUX port at 0x60,0x64 irq 12
    [ 2.041719] SCSI subsystem initialized
    [ 2.042505] ACPI: bus type USB registered
    [ 2.042538] usbcore: registered new interface driver usbfs
    [ 2.042552] usbcore: registered new interface driver hub
    [ 2.042588] usbcore: registered new device driver usb
    [ 2.044174] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 2.045154] systemd[1]: Started Journal Service.
    [ 2.045633] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [ 2.045840] ohci-pci: OHCI PCI platform driver
    [ 2.045993] QUIRK: Enable AMD PLL fix
    [ 2.046022] ohci-pci 0000:00:12.0: OHCI PCI host controller
    [ 2.046033] ohci-pci 0000:00:12.0: new USB bus registered, assigned bus number 1
    [ 2.046079] ohci-pci 0000:00:12.0: irq 18, io mem 0xfeb4d000
    [ 2.046697] ehci-pci: EHCI PCI platform driver
    [ 2.047833] libata version 3.00 loaded.
    [ 2.084196] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
    [ 2.102273] hub 1-0:1.0: USB hub found
    [ 2.102287] hub 1-0:1.0: 5 ports detected
    [ 2.102593] ohci-pci 0000:00:13.0: OHCI PCI host controller
    [ 2.102600] ohci-pci 0000:00:13.0: new USB bus registered, assigned bus number 2
    [ 2.102631] ohci-pci 0000:00:13.0: irq 18, io mem 0xfeb4b000
    [ 2.159071] hub 2-0:1.0: USB hub found
    [ 2.159085] hub 2-0:1.0: 5 ports detected
    [ 2.160195] ohci-pci 0000:00:16.0: OHCI PCI host controller
    [ 2.160202] ohci-pci 0000:00:16.0: new USB bus registered, assigned bus number 3
    [ 2.160235] ohci-pci 0000:00:16.0: irq 18, io mem 0xfeb49000
    [ 2.215699] hub 3-0:1.0: USB hub found
    [ 2.215713] hub 3-0:1.0: 4 ports detected
    [ 2.271489] ehci-pci 0000:00:12.2: EHCI Host Controller
    [ 2.271502] ehci-pci 0000:00:12.2: new USB bus registered, assigned bus number 4
    [ 2.271509] ehci-pci 0000:00:12.2: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
    [ 2.271523] ehci-pci 0000:00:12.2: debug port 1
    [ 2.271574] ehci-pci 0000:00:12.2: irq 17, io mem 0xfeb4c000
    [ 2.281276] ehci-pci 0000:00:12.2: USB 2.0 started, EHCI 1.00
    [ 2.281694] hub 4-0:1.0: USB hub found
    [ 2.281705] hub 4-0:1.0: 5 ports detected
    [ 2.338086] hub 1-0:1.0: USB hub found
    [ 2.338100] hub 1-0:1.0: 5 ports detected
    [ 2.338571] ehci-pci 0000:00:13.2: EHCI Host Controller
    [ 2.338579] ehci-pci 0000:00:13.2: new USB bus registered, assigned bus number 5
    [ 2.338584] ehci-pci 0000:00:13.2: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
    [ 2.338596] ehci-pci 0000:00:13.2: debug port 1
    [ 2.338634] ehci-pci 0000:00:13.2: irq 17, io mem 0xfeb4a000
    [ 2.347963] ehci-pci 0000:00:13.2: USB 2.0 started, EHCI 1.00
    [ 2.348396] hub 5-0:1.0: USB hub found
    [ 2.348414] hub 5-0:1.0: 5 ports detected
    [ 2.404806] hub 2-0:1.0: USB hub found
    [ 2.404820] hub 2-0:1.0: 5 ports detected
    [ 2.461536] ehci-pci 0000:00:16.2: EHCI Host Controller
    [ 2.461550] ehci-pci 0000:00:16.2: new USB bus registered, assigned bus number 6
    [ 2.461557] ehci-pci 0000:00:16.2: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
    [ 2.461571] ehci-pci 0000:00:16.2: debug port 1
    [ 2.461611] ehci-pci 0000:00:16.2: irq 17, io mem 0xfeb48000
    [ 2.471331] ehci-pci 0000:00:16.2: USB 2.0 started, EHCI 1.00
    [ 2.471768] hub 6-0:1.0: USB hub found
    [ 2.471780] hub 6-0:1.0: 4 ports detected
    [ 2.528139] hub 3-0:1.0: USB hub found
    [ 2.528154] hub 3-0:1.0: 4 ports detected
    [ 2.528415] ahci 0000:00:11.0: version 3.0
    [ 2.528689] ahci 0000:00:11.0: AHCI 0001.0300 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
    [ 2.528693] ahci 0000:00:11.0: flags: 64bit ncq sntf ilck pm led clo pmp pio slum part sxs
    [ 2.529180] scsi host0: ahci
    [ 2.529664] scsi host1: ahci
    [ 2.529777] ata1: SATA max UDMA/133 abar m2048@0xfeb4e000 port 0xfeb4e100 irq 28
    [ 2.529781] ata2: SATA max UDMA/133 abar m2048@0xfeb4e000 port 0xfeb4e180 irq 28
    [ 2.530551] scsi host2: pata_atiixp
    [ 2.530815] scsi host3: pata_atiixp
    [ 2.530912] ata3: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xf100 irq 14
    [ 2.530914] ata4: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xf108 irq 15
    [ 2.654798] usb 5-4: new high-speed USB device number 2 using ehci-pci
    [ 2.934859] tsc: Refined TSC clocksource calibration: 1397.458 MHz
    [ 3.014908] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [ 3.014947] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    [ 3.016183] ata1.00: ATA-8: Hitachi HTS547550A9E384, JE3OA60B, max UDMA/133
    [ 3.016190] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
    [ 3.016972] ata2.00: ATAPI: TSSTcorp CDDVDW TS-L633F, TF01, max UDMA/100
    [ 3.017307] ata1.00: configured for UDMA/133
    [ 3.017807] scsi 0:0:0:0: Direct-Access ATA Hitachi HTS54755 A60B PQ: 0 ANSI: 5
    [ 3.019278] ata2.00: configured for UDMA/100
    [ 3.025787] scsi 1:0:0:0: CD-ROM TSSTcorp CDDVDW TS-L633F TF01 PQ: 0 ANSI: 5
    [ 3.044649] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
    [ 3.044654] sd 0:0:0:0: [sda] 4096-byte physical blocks
    [ 3.044859] sd 0:0:0:0: [sda] Write Protect is off
    [ 3.044865] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [ 3.044918] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [ 3.061859] sr 1:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
    [ 3.061874] cdrom: Uniform CD-ROM driver Revision: 3.20
    [ 3.062232] sr 1:0:0:0: Attached scsi CD-ROM sr0
    [ 3.084075] sda: sda1 sda2 sda3
    [ 3.085567] sd 0:0:0:0: [sda] Attached SCSI disk
    [ 3.414041] SGI XFS with ACLs, security attributes, realtime, no debug enabled
    [ 3.528901] XFS (sda1): Mounting V4 Filesystem
    [ 3.710527] XFS (sda1): Ending clean mount
    [ 3.935255] Switched to clocksource tsc
    [ 3.999076] systemd-journald[63]: Received SIGTERM from PID 1 (systemd).
    [ 4.799287] random: nonblocking pool is initialized
    [ 6.377516] systemd-journald[187]: Failed to set file attributes: Inappropriate ioctl for device
    [ 7.417234] ACPI: acpi_idle registered with cpuidle
    [ 7.464892] acpi-cpufreq: overriding BIOS provided _PSD data
    [ 7.544509] wmi: Mapper loaded
    [ 7.612504] ACPI: Video Device [VGA1] (multi-head: yes rom: no post: no)
    [ 7.626522] acpi device:2b: registered as cooling_device4
    [ 7.626631] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:01/input/input2
    [ 7.700708] ACPI Warning: SystemIO range 0x0000000000000b00-0x0000000000000b07 conflicts with OpRegion 0x0000000000000b00-0x0000000000000b0f (\SMBX) (20141107/utaddress-258)
    [ 7.700729] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
    [ 7.734642] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input3
    [ 7.737166] thermal LNXTHERM:00: registered as thermal_zone0
    [ 7.737173] ACPI: Thermal Zone [THRM] (50 C)
    [ 7.746486] ACPI: Lid Switch [LID]
    [ 7.746714] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input4
    [ 7.746725] ACPI: Power Button [SLPB]
    [ 7.746874] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input5
    [ 7.746880] ACPI: Power Button [PWRF]
    [ 7.749494] ACPI: Battery Slot [BAT0] (battery present)
    [ 7.749951] ACPI: AC Adapter [AC0] (on-line)
    [ 7.755509] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
    [ 7.961538] input: PC Speaker as /devices/platform/pcspkr/input/input6
    [ 8.061752] [drm] Initialized drm 1.1.0 20060810
    [ 8.296521] cfg80211: Calling CRDA to update world regulatory domain
    [ 8.319199] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
    [ 8.319231] r8169 0000:05:00.0: can't disable ASPM; OS doesn't have ASPM control
    [ 8.320035] r8169 0000:05:00.0 eth0: RTL8105e at 0xffffc90000032000, 38:60:77:69:8f:16, XID 00a00000 IRQ 29
    [ 8.363138] kvm: Nested Virtualization enabled
    [ 8.363151] kvm: Nested Paging enabled
    [ 8.704039] [drm] radeon kernel modesetting enabled.
    [ 8.794078] r8169 0000:05:00.0 enp5s0: renamed from eth0
    [ 8.832358] AMD IOMMUv2 driver by Joerg Roedel <[email protected]>
    [ 8.832364] AMD IOMMUv2 functionality not available on this system
    [ 8.959092] rtl8192ce: Using firmware rtlwifi/rtl8192cfw.bin
    [ 8.961187] snd_hda_codec_hdmi: unknown parameter 'index' ignored
    [ 8.965010] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/sound/card1/input8
    [ 9.031523] media: Linux media interface: v0.10
    [ 9.102014] CRAT table not found
    [ 9.102024] Finished initializing topology ret=0
    [ 9.102177] kfd kfd: Initialized module
    [ 9.102941] checking generic (c0000000 3d0000) vs hw (c0000000 10000000)
    [ 9.102951] fb: switching to radeondrmfb from VESA VGA
    [ 9.103002] Console: switching to colour dummy device 80x25
    [ 9.104030] [drm] initializing kernel modesetting (SUMO 0x1002:0x9647 0x1179:0xFC62).
    [ 9.104059] [drm] register mmio base: 0xFEB00000
    [ 9.104063] [drm] register mmio size: 262144
    [ 9.104144] ATOM BIOS: Toshiba
    [ 9.104219] radeon 0000:00:01.0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
    [ 9.104227] radeon 0000:00:01.0: GTT: 1024M 0x0000000020000000 - 0x000000005FFFFFFF
    [ 9.104231] [drm] Detected VRAM RAM=512M, BAR=256M
    [ 9.104235] [drm] RAM width 32bits DDR
    [ 9.104379] [TTM] Zone kernel: Available graphics memory: 3821360 kiB
    [ 9.104390] [TTM] Zone dma32: Available graphics memory: 2097152 kiB
    [ 9.104394] [TTM] Initializing pool allocator
    [ 9.104407] [TTM] Initializing DMA pool allocator
    [ 9.104455] [drm] radeon: 512M of VRAM memory ready
    [ 9.104459] [drm] radeon: 1024M of GTT memory ready.
    [ 9.104497] [drm] Loading SUMO Microcode
    [ 9.124664] psmouse serio1: synaptics: Touchpad model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04733/0xa40000/0xa0000, board id: 3655, fw id: 582762
    [ 9.124685] psmouse serio1: synaptics: Toshiba Satellite L775D detected, limiting rate to 40pps.
    [ 9.160285] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input7
    [ 9.170455] Linux video capture interface: v2.00
    [ 9.179293] mousedev: PS/2 mouse device common for all mice
    [ 9.223473] [drm] Internal thermal controller without fan control
    [ 9.223622] [drm] Found smc ucode version: 0x00011200
    [ 9.223730] [drm] radeon: dpm initialized
    [ 9.266919] [drm] GART: num cpu pages 262144, num gpu pages 262144
    [ 9.282200] [drm] PCIE GART of 1024M enabled (table at 0x0000000000274000).
    [ 9.282345] radeon 0000:00:01.0: WB enabled
    [ 9.282349] radeon 0000:00:01.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff88009b70ac00
    [ 9.282351] radeon 0000:00:01.0: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0xffff88009b70ac0c
    [ 9.283078] radeon 0000:00:01.0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0xffffc90010f32118
    [ 9.283081] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 9.283082] [drm] Driver supports precise vblank timestamp query.
    [ 9.283084] radeon 0000:00:01.0: radeon: MSI limited to 32-bit
    [ 9.283121] radeon 0000:00:01.0: radeon: using MSI.
    [ 9.283145] [drm] radeon: irq initialized.
    [ 9.298245] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
    [ 9.298931] rtlwifi: rtlwifi: wireless switch is on
    [ 9.299718] [drm] ring test on 0 succeeded in 1 usecs
    [ 9.299728] [drm] ring test on 3 succeeded in 3 usecs
    [ 9.307045] sound hdaudioC0D2: autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
    [ 9.307049] sound hdaudioC0D2: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
    [ 9.307053] sound hdaudioC0D2: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
    [ 9.307055] sound hdaudioC0D2: mono: mono_out=0x0
    [ 9.307058] sound hdaudioC0D2: inputs:
    [ 9.307061] sound hdaudioC0D2: Mic=0x18
    [ 9.307065] sound hdaudioC0D2: Internal Mic=0x12
    [ 9.315899] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/sound/card0/hdaudioC0D2/input9
    [ 9.316387] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input10
    [ 9.316507] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:14.2/sound/card0/input11
    [ 9.349814] [drm] ring test on 5 succeeded in 1 usecs
    [ 9.369840] [drm] UVD initialized successfully.
    [ 9.370279] [drm] ib test on ring 0 succeeded in 0 usecs
    [ 9.370314] [drm] ib test on ring 3 succeeded in 0 usecs
    [ 9.524205] rtl8192ce 0000:04:00.0 wlp4s0: renamed from wlan0
    [ 9.769931] uvcvideo: Found UVC 1.00 device TOSHIBA Web Camera - MP (04f2:b289)
    [ 9.788893] input: TOSHIBA Web Camera - MP as /devices/pci0000:00/0000:00:13.2/usb5/5-4/5-4:1.0/input/input12
    [ 9.789309] usbcore: registered new interface driver uvcvideo
    [ 9.789319] USB Video Class driver (1.1.1)
    [ 9.871399] cfg80211: World regulatory domain updated:
    [ 9.871412] cfg80211: DFS Master region: unset
    [ 9.871417] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [ 9.871425] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 9.871431] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 9.871436] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    [ 9.871441] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [ 9.871447] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [ 9.871453] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    [ 9.871457] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [ 9.871463] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    [ 9.890507] [drm] ib test on ring 5 succeeded
    [ 9.911771] [drm] radeon atom DIG backlight initialized
    [ 9.911776] [drm] Radeon Display Connectors
    [ 9.911777] [drm] Connector 0:
    [ 9.911779] [drm] VGA-1
    [ 9.911780] [drm] HPD2
    [ 9.911782] [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c
    [ 9.911783] [drm] Encoders:
    [ 9.911784] [drm] CRT1: INTERNAL_UNIPHY2
    [ 9.911786] [drm] CRT1: NUTMEG
    [ 9.911787] [drm] Connector 1:
    [ 9.911788] [drm] LVDS-1
    [ 9.911789] [drm] HPD1
    [ 9.911790] [drm] DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
    [ 9.911791] [drm] Encoders:
    [ 9.911792] [drm] LCD1: INTERNAL_UNIPHY2
    [ 9.911793] [drm] LCD1: TRAVIS
    [ 9.911794] [drm] Connector 2:
    [ 9.911795] [drm] HDMI-A-1
    [ 9.911796] [drm] HPD5
    [ 9.911798] [drm] DDC: 0x6470 0x6470 0x6474 0x6474 0x6478 0x6478 0x647c 0x647c
    [ 9.911799] [drm] Encoders:
    [ 9.911800] [drm] DFP1: INTERNAL_UNIPHY1
    [ 10.016569] [drm] fb mappable at 0xC0478000
    [ 10.016576] [drm] vram apper at 0xC0000000
    [ 10.016578] [drm] size 5787648
    [ 10.016580] [drm] fb depth is 24
    [ 10.016582] [drm] pitch is 6400
    [ 10.016970] fbcon: radeondrmfb (fb0) is primary device
    [ 10.078763] Adding 8388604k swap on /dev/sda2. Priority:-1 extents:1 across:8388604k FS
    [ 10.143532] Console: switching to colour frame buffer device 200x56
    [ 10.150308] radeon 0000:00:01.0: fb0: radeondrmfb frame buffer device
    [ 10.150312] radeon 0000:00:01.0: registered panic notifier
    [ 10.164191] [drm] Initialized radeon 2.40.0 20080528 for 0000:00:01.0 on minor 0
    [ 10.194853] cfg80211: Calling CRDA for country: US
    [ 10.231380] cfg80211: Regulatory domain changed to country: US
    [ 10.231393] cfg80211: DFS Master region: FCC
    [ 10.231397] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [ 10.231406] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
    [ 10.231413] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
    [ 10.231419] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
    [ 10.231425] cfg80211: (5490000 KHz - 5600000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
    [ 10.231429] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2300 mBm), (0 s)
    [ 10.231434] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
    [ 10.231439] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
    [ 10.422003] XFS (sda3): Mounting V5 Filesystem
    [ 10.837256] XFS (sda3): Ending clean mount
    [ 10.899226] systemd-journald[187]: Received request to flush runtime journal from PID 1
    [ 11.195453] microcode: CPU0: new patch_level=0x03000027
    [ 11.195496] microcode: CPU1: new patch_level=0x03000027
    [ 11.195601] microcode: CPU2: new patch_level=0x03000027
    [ 11.195693] microcode: CPU3: new patch_level=0x03000027
    [ 12.465476] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
    [ 13.726328] wlp4s0: authenticate with 00:1e:2a:6f:46:f8
    [ 13.745730] wlp4s0: send auth to 00:1e:2a:6f:46:f8 (try 1/3)
    [ 13.753012] wlp4s0: authenticated
    [ 13.755130] wlp4s0: associate with 00:1e:2a:6f:46:f8 (try 1/3)
    [ 13.758031] wlp4s0: RX AssocResp from 00:1e:2a:6f:46:f8 (capab=0x411 status=0 aid=3)
    [ 13.758283] wlp4s0: associated
    [ 13.758302] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
    [ 23.961417] PM: Syncing filesystems ... done.
    [ 24.305227] PM: Preparing system for mem sleep
    [ 24.310243] Freezing user space processes ... (elapsed 0.001 seconds) done.
    [ 24.311535] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    [ 24.311542] PM: Entering mem sleep
    [ 24.311898] Suspending console(s) (use no_console_suspend to debug)
    [ 24.320753] wlp4s0: deauthenticating f

    Suspend has always been problematic under Linux. It seems to be hit or miss for the most part, but here are some things you can try:
    Use an LTS kernel, tuxonice, pm-utils, etc. See Suspend and Hibernate
    Try a different graphics driver
    Tweak the driver module parameters or build your own driver.
    Unfortunately I don't have experience with the radeon driver, so I can only give you ideas.

  • Org.hibernate.PropertyNotFoundException: Could not find a getter for id in

    [skumar@aithdell3 events]$ java EventManager
    May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
    INFO: Hibernate 3.2.3
    May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
    INFO: hibernate.properties not found
    May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment buildBytecodeProvider
    INFO: Bytecode provider name : cglib
    May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
    INFO: using JDK 1.4 java.sql.Timestamp handling
    May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration configure
    INFO: configuring from resource: /hibernate.cfg.xml
    May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration getConfigurationInputStream
    INFO: Configuration resource: /hibernate.cfg.xml
    May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration addResource
    INFO: Reading mappings from resource : Event.hbm.xml
    May 15, 2008 8:39:43 PM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
    INFO: Mapping class: Event -> EVENTS
    May 15, 2008 8:39:43 PM org.hibernate.cfg.Configuration doConfigure
    INFO: Configured SessionFactory: null
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: Using Hibernate built-in connection pool (not for production use!)
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: Hibernate connection pool size: 1
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: autocommit mode: false
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:sql://localhost
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: connection properties: {user=sa, password=****}
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: RDBMS: HSQL Database Engine, version: 1.8.0
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC driver: HSQL Database Engine Driver, version: 1.8.0
    May 15, 2008 8:39:44 PM org.hibernate.dialect.Dialect <init>
    INFO: Using dialect: org.hibernate.dialect.HSQLDialect
    May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
    INFO: Using default transaction strategy (direct JDBC transactions)
    May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
    INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Automatic flush during beforeCompletion(): disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Automatic session close at end of transaction: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC batch size: 15
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC batch updates for versioned data: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Scrollable result sets: enabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC3 getGeneratedKeys(): disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Connection release mode: auto
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Default batch fetch size: 1
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Generate SQL with comments: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Order SQL updates by primary key: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
    INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
    May 15, 2008 8:39:44 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
    INFO: Using ASTQueryTranslatorFactory
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Query language substitutions: {}
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JPA-QL strict compliance: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Second-level cache: enabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Query cache: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createCacheProvider
    INFO: Cache provider: org.hibernate.cache.NoCacheProvider
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Optimize cache for minimal puts: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Structured second-level cache entries: disabled
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Echoing all SQL to stdout
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Statistics: disabled
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Deleted entity synthetic identifier rollback: disabled
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Default entity-mode: pojo
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Named query checking : enabled
    May 15, 2008 8:39:45 PM org.hibernate.impl.SessionFactoryImpl <init>
    INFO: building session factory
    Intial session factory creation failed org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at HibernateUtil.<clinit>(HibernateUtil.java:18)
    at EventManager.main(EventManager.java:11)
    Caused by: org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
    at org.hibernate.property.BasicPropertyAccessor.createGetter(BasicPropertyAccessor.java:282)
    at org.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:275)
    at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:168)
    at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
    at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:123)
    at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
    at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
    at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
    at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
    at HibernateUtil.<clinit>(HibernateUtil.java:14)
    How can i fix this exception
    Please help me.
    Thanks in advance

    [skumar@aithdell3 events]$ java EventManager
    May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
    INFO: Hibernate 3.2.3
    May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
    INFO: hibernate.properties not found
    May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment buildBytecodeProvider
    INFO: Bytecode provider name : cglib
    May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
    INFO: using JDK 1.4 java.sql.Timestamp handling
    May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration configure
    INFO: configuring from resource: /hibernate.cfg.xml
    May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration getConfigurationInputStream
    INFO: Configuration resource: /hibernate.cfg.xml
    May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration addResource
    INFO: Reading mappings from resource : Event.hbm.xml
    May 15, 2008 8:39:43 PM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
    INFO: Mapping class: Event -> EVENTS
    May 15, 2008 8:39:43 PM org.hibernate.cfg.Configuration doConfigure
    INFO: Configured SessionFactory: null
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: Using Hibernate built-in connection pool (not for production use!)
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: Hibernate connection pool size: 1
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: autocommit mode: false
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:sql://localhost
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: connection properties: {user=sa, password=****}
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: RDBMS: HSQL Database Engine, version: 1.8.0
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC driver: HSQL Database Engine Driver, version: 1.8.0
    May 15, 2008 8:39:44 PM org.hibernate.dialect.Dialect <init>
    INFO: Using dialect: org.hibernate.dialect.HSQLDialect
    May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
    INFO: Using default transaction strategy (direct JDBC transactions)
    May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
    INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Automatic flush during beforeCompletion(): disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Automatic session close at end of transaction: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC batch size: 15
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC batch updates for versioned data: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Scrollable result sets: enabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC3 getGeneratedKeys(): disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Connection release mode: auto
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Default batch fetch size: 1
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Generate SQL with comments: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Order SQL updates by primary key: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
    INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
    May 15, 2008 8:39:44 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
    INFO: Using ASTQueryTranslatorFactory
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Query language substitutions: {}
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JPA-QL strict compliance: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Second-level cache: enabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Query cache: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createCacheProvider
    INFO: Cache provider: org.hibernate.cache.NoCacheProvider
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Optimize cache for minimal puts: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Structured second-level cache entries: disabled
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Echoing all SQL to stdout
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Statistics: disabled
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Deleted entity synthetic identifier rollback: disabled
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Default entity-mode: pojo
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Named query checking : enabled
    May 15, 2008 8:39:45 PM org.hibernate.impl.SessionFactoryImpl <init>
    INFO: building session factory
    Intial session factory creation failed org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at HibernateUtil.<clinit>(HibernateUtil.java:18)
    at EventManager.main(EventManager.java:11)
    Caused by: org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
    at org.hibernate.property.BasicPropertyAccessor.createGetter(BasicPropertyAccessor.java:282)
    at org.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:275)
    at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:168)
    at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
    at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:123)
    at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
    at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
    at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
    at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
    at HibernateUtil.<clinit>(HibernateUtil.java:14)
    How can i fix this exception
    Please help me.
    Thanks in advance

Maybe you are looking for

  • How do I get follow-up on Service?

    I'm hoping that this will generate some attention from Verizon. As the other methods aren't working. I have had a line that was severed nearly 2 months ago still not fully repaired. A repair man did come and do a temporary splice, but had to leave th

  • Can I get my Macbook Pro just checked out and tuned up at the genius bar?

    I'm having a hard time getting my questions answered. Basically I've had my Macbook Pro for four and a half years, but it's still doing mostly fine. It's just showing it's age slightly I think, with more spinning wheels than usual and odd things like

  • Command Link in ADF table is not working/ PPR event not getting fired

    Hi All, I am having ADF Table, in that one column is with command link if click on command link, it is not navigating to corresponding page or method of a bean. If i give same command link out of the table it working fine, this issue i am facing is i

  • Logic node keeps quitting

    Im running LP7 on a dual g5 2.7 and a Logic node on a MDD DP 1.25 G4 with 2 gigs of Ram but the node app keeps quitting.Im only using the node on tracks which have only logic au's and fx etc(not a mixture of 3rd party and logic plugs) but logic node

  • Opening forms in maximize mode help

    Hi all I put the property of forms to run in maximize mode in forms but its starting in normal mode.I am looking some some attributes to set in forms serverside configuration file for all the forms in the application.Can anybody help to solve this is