Persist entity in ApplicationLifecycleListener

hi,
i would like to persist some entities at deployment time in a postStart method of a class which extends ApplicationLifecycleListener.
the problem is that the entites are not in the db although i dont get any exceptions and the entities even get their id after persist.
it looks like the transaction is not committed. i tried to commit manually but i got an exception that i cannot do this with a JTA entity manager.
is there a way to 'force' the commit?
or how could i use application managed entity manager? i tried to jndi lookup, but did not succeed:( i found only my datasource which is an instance of RmiDataSource.
thanks a lot for the help,
cheers,
gg

Database access inside events is allowed, whether JPA events or descriptor events, but you need to be careful. Basically you need to understand what you are doing and its affects and are on your own if you screw something up. You must keep in mind that the persistence context is in the process of a commit. So calling persist() or changing objects can have issues, the objects may not get inserted or changes applied depending on the event. Performing direct database access such as native SQL queries is probably safer, but you need to be careful of locks and violating database constraints. You can use insertObject within a UnitOfWork during write events, but you need to be careful.
Normally you would use the same transaction, if you created a new transaction/EntityManager/UnitOfWork, then you need to be careful or performance, and of deadlocking with yourself.

Similar Messages

  • Persist Entity Bean in flat file?

    Is it possible to persist entity bean in a flat file? I need to persist a single value (sequence number) and I can not use database to do so.
    I would need to run this in a clustered environment and need to recover the value if something goes wrong. The statefull bean would almost do except when one server fails before it replicates value onto another box.
    thx.

    Steve Edens wrote:
    I'm also trying to get a grip on the best way to handle some static application properties in a clustered environment. My need mostly relates to
    a need to read in some flat file type properties and then store them someplace
    where business logic can call them as needed.. Like a static hashmap or
    something. But someone mentioned Entity beans, BMP, etc..
    Now.. here's the strange part of the message.
    Back in 1999 I traveled over to our west coast office in San Francisco. I was meeting and greeting the staff there and along the way I had a short
    meeting with someone named Bisera Ferrero. I mention this event because I
    was really impressed with the beauty and charm of Bisera. Therefore, I guess
    I'm a fan. I rememered the name.. a little. Really, I had sort of forgotten
    about it until reading this forum this morning. So.. who knows. I guess
    there could be a lot of Bisera Ferrero names on our planet.
    Good luck in your quests..

  • ManyToMany persist entity problem

    Hi, I'm beginning with EJB 3.0 and I've wrote this code to persist data from two tables, whitch have ManyToMany relationship.
    When I want to persist objects I gives me a error... How to reduce this problem?
    Thanks!!!
    Entity #1:
    @Entity
    @Table(name = "kategorie")
    @NamedQueries({@NamedQuery(name = "Kategorie.findById", query = "SELECT k FROM Kategorie k WHERE k.id = :id"), @NamedQuery(name = "Kategorie.findByNazev", query = "SELECT k FROM Kategorie k WHERE k.nazev = :nazev")})
    public class Kategorie implements Serializable {
        private static final long serialVersionUID = 1L;
        @Id
        @GeneratedValue
        @Column(name = "id", nullable = false)
        private Integer id;
        @Column(name = "nazev")
        private String nazev;
        @JoinTable(name = "kategorieprodukty",
                   joinColumns = {@JoinColumn(name = "kategorie", referencedColumnName = "id")},
                   inverseJoinColumns = {@JoinColumn(name = "produkt", referencedColumnName = "id")})
        @ManyToMany
        private Collection<Produkty> produktCollection;
        public Kategorie() {
        public Kategorie(Integer id) {
            this.id = id;
        public Integer getId() {
            return id;
        public void setId(Integer id) {
            this.id = id;
        public String getNazev() {
            return nazev;
        public void setNazev(String nazev) {
            this.nazev = nazev;
        public Collection<Produkty> getProduktCollection() {
            return produktCollection;
        public void setProduktCollection(Collection<Produkty> produktCollection) {
            this.produktCollection = produktCollection;
        public void addProdukt(Produkty produkt) {
            this.getProduktCollection().add(produkt);
        }Entity #2:
    @Entity
    @Table(name = "produkty")
    @NamedQueries({@NamedQuery(name = "Produkty.findById", query = "SELECT p FROM Produkty p WHERE p.id = :id"), @NamedQuery(name = "Produkty.findByNazev", query = "SELECT p FROM Produkty p WHERE p.nazev = :nazev")})
    public class Produkty implements Serializable {
        private static final long serialVersionUID = 1L;
        @Id
        @Column(name = "id", nullable = false)
        private Integer id;
        @Column(name = "nazev")
        private String nazev;
        @Lob
        @Column(name = "popis")
        private String popis;
        @ManyToMany(mappedBy = "produktCollection")
        private Collection<Kategorie> kategorieCollection;
        public Produkty() {
        public Produkty(Integer id) {
            this.id = id;
        public Integer getId() {
            return id;
        public void setId(Integer id) {
            this.id = id;
        public String getNazev() {
            return nazev;
        public void setNazev(String nazev) {
            this.nazev = nazev;
        public String getPopis() {
            return popis;
        public void setPopis(String popis) {
            this.popis = popis;
        public Collection<Kategorie> getKategorieCollection() {
            return kategorieCollection;
        public void setKategorieCollection(Collection<Kategorie> kategorieCollection) {
            this.kategorieCollection = kategorieCollection;
        }Session Bean:
    @Stateless
    public class ProduktyFacade implements ProduktyFacadeRemote {
        @PersistenceContext
        private EntityManager em;
        public void create(Produkty produkt, Collection<Kategorie> kategorie)
            em.persist(produkt);
            em.refresh(produkt);
            for (Kategorie kat : kategorie) {
                kat.addProdukt(produkt);
        public void edit(Produkty produkty) {
            em.merge(produkty);
        public void remove(Produkty produkty) {
            em.remove(em.merge(produkty));
        public Produkty find(Object id) {
            return em.find(domain.Produkty.class, id);
        public List<Produkty> findAll() {
            return em.createQuery("select object(o) from Produkty as o").getResultList();
    }When I call:
    @EJB
        private ProduktyFacadeRemote produktyFacade;
    produkt = new Produkty();
    Collection<Kategorie> kategorie = new ArrayList<Kategorie>();
    kategorie.add(...
    produktyFacade.create(produkt, kategorie);
    ...It gives me this error (I'm using Netbeans 6.0.1 with GlassFish V2):
    "IOP00810257: (MARSHAL) Could not load class domain.Kategorie"
    org.omg.CORBA.MARSHAL:   vmcid: SUN  minor code: 257 completed: Maybe
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.couldNotFindClass(ORBUtilSystemException.java:9684)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.couldNotFindClass(ORBUtilSystemException.java:9699)
            at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1042)
            at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:896)
            at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:890)
            at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:880)
            at com.sun.corba.ee.impl.encoding.CDRInputStream.read_abstract_interface(CDRInputStream.java:511)
            at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectDelegate(IIOPInputStream.java:386)
            at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectOverride(IIOPInputStream.java:547)
            at java.io.ObjectInputStream.readObject(ObjectInputStream.java:345)
            at java.util.ArrayList.readObject(ArrayList.java:593)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.corba.ee.impl.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1679)
            at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1202)
            at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:422)
            at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:362)
            at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:328)
            at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.readRMIIIOPValueType(CDRInputStream_1_0.java:966)
            at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1052)
            at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:475)
            at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$14.read(DynamicMethodMarshallerImpl.java:368)
            at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.readArguments(DynamicMethodMarshallerImpl.java:435)
            at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:687)
            at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:227)
            at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846)
            at com.sun.corba.ee.impl.protocol.SharedCDRClientRequestDispatcherImpl.marshalingComplete(SharedCDRClientRequestDispatcherImpl.java:183)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:219)
            at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:192)
            at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
            at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225)
            at session.__ProduktyFacadeRemote_Remote_DynamicStub.create(session/__ProduktyFacadeRemote_Remote_DynamicStub.java)
            at session._ProduktyFacadeRemote_Wrapper.create(session/_ProduktyFacadeRemote_Wrapper.java)
            at jsf.ProduktyController.create(ProduktyController.java:62)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
            at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
            at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
            at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
            at javax.faces.component.UICommand.broadcast(UICommand.java:383)
            at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
            at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
            at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
            at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
            at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
            at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
            at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
            at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    nested exception is: java.rmi.MarshalException: CORBA MARSHAL 1398079745 Maybe; nested exception is: org.omg.CORBA.MARSHAL: ----------BEGIN server-side stack trace---------- org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 257 completed: Maybe at com.sun.corba.ee.impl.logging.ORBUtilSystemException.couldNotFindClass(ORBUtilSystemException.java:9684) at com.sun.corba.ee.impl.logging.ORBUtilSystemException.couldNotFindClass(ORBUtilSystemException.java:9699) at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1042) at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:896) at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:890) at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:880) at com.sun.corba.ee.impl.encoding.CDRInputStream.read_abstract_interface(CDRInputStream.java:511) at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectDelegate(IIOPInputStream.java:386) at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectOverride(IIOPInputStream.java:547) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:345) at java.util.ArrayList.readObject(ArrayList.java:593) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.corba.ee.impl.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1679) at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1202) at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:422) at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:362) at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:328) at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.readRMIIIOPValueType(CDRInputStream_1_0.java:966) at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1052) at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:475) at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$14.read(DynamicMethodMarshallerImpl.java:368) at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.readArguments(DynamicMethodMarshallerImpl.java:435) at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:152) at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:687) at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:227) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846) at com.sun.corba.ee.impl.protocol.SharedCDRClientRequestDispatcherImpl.marshalingComplete(SharedCDRClientRequestDispatcherImpl.java:183) at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:219) at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:192) at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152) at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225) at session.__ProduktyFacadeRemote_Remote_DynamicStub.create(session/__ProduktyFacadeRemote_Remote_DynamicStub.java) at session._ProduktyFacadeRemote_Wrapper.create(session/_ProduktyFacadeRemote_Wrapper.java) at jsf.ProduktyController.create(ProduktyController.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:187) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91) at javax.faces.component.UICommand.broadcast(UICommand.java:383) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106) ----------END server-side stack trace---------- vmcid: SUN minor code: 257 completed: Maybe

    Steve Edens wrote:
    I'm also trying to get a grip on the best way to handle some static application properties in a clustered environment. My need mostly relates to
    a need to read in some flat file type properties and then store them someplace
    where business logic can call them as needed.. Like a static hashmap or
    something. But someone mentioned Entity beans, BMP, etc..
    Now.. here's the strange part of the message.
    Back in 1999 I traveled over to our west coast office in San Francisco. I was meeting and greeting the staff there and along the way I had a short
    meeting with someone named Bisera Ferrero. I mention this event because I
    was really impressed with the beauty and charm of Bisera. Therefore, I guess
    I'm a fan. I rememered the name.. a little. Really, I had sort of forgotten
    about it until reading this forum this morning. So.. who knows. I guess
    there could be a lot of Bisera Ferrero names on our planet.
    Good luck in your quests..

  • Bean-Managed Persistent Entity Bean - SDA

    Hello,
    I wrote a BMP Entity Bean and it should use a data dictionary that i already have defined, but i do not know what should i write in the ejb-jar.xml file in order to get it works. Could you please tell me what should i write?
    <resource-ref>
      <res-ref-name>???</res-ref-name>
      <res-type>????<res-type>
    </resource-ref>
    Thanks for your help,
    SAPLernen

    Hello,
    I wrote a BMP Entity Bean and it should use a data dictionary that i already have defined, but i do not know what should i write in the ejb-jar.xml file in order to get it works. Could you please tell me what should i write?
    <resource-ref>
      <res-ref-name>???</res-ref-name>
      <res-type>????<res-type>
    </resource-ref>
    Thanks for your help,
    SAPLernen

  • Entity beans caching non-persistent data between transactions

    Some of the properties in our entity bean implementation classes are not declared
    in our descriptor files, and therefore, are non-persistent (we are using container-managed
    persistence); I will refer to these properties as "non-persistent properties".
    In WebLogic 5.1, we've noticed that the non-persistent properties are cached in
    between transactions. For instance, I ask for a particular Person (Person(James)),
    and I set one of the non-persistent properties (Property(X)) inside Transaction(A).
    In Transaction(B) (which is exclusive of Transaction(A)), I access Property(X)
    and find that it is the same value as I had set in Transaction(A)- this gives
    the appearance that non-persistent entity properties are being cached in between
    transactions.
    The same appears to hold true in WebLogic 7 SP1, however, we must use the "Exclusive"
    concurrency-strategy to maintain this consistency.
    I am worried that this assumption we are making of non-persistent properties is
    not valid in all cases, and the documentation does not promise anything in the
    way of such an assumption. I am worried that the container could kill the Person(James)
    entity implementation instance in the pool after Transaction(A), and create a
    new Person(James) instance to serve Transaction(B)- once that happens our assumption
    fails.
    "Database" concurrency strategy seems to fail our assumption on a regular basis,
    but that makes sense, since the documentation states that the "database will maintain
    the cache", and the container seems more willing to kill instances when they are
    finished with, or create new instances for new transactions.
    So my question is this: What is exactly guaranteed by the "Exclusive" concurrency-strategy?
    Will the assumption that we've made above ever fail under this strategy?
    Thanks in advance for any help.
    Regards,
    James

    It simply means that there is only one entity bean instance per PK in the
    server, and transaction which uses it locks it exclusively.
    James DeFelice <[email protected]> wrote:
    Thank you for the suggestion. I have considered taking this path, but before I
    make a final decision, I was hoping to get a clear answer to the question that
    I stated below:
    What EXACTLY is guaranteed by the "Exclusive" concurrency-strategy? Maybe someone
    from BEA knows?
    "Cameron Purdy" <[email protected]> wrote:
    To be safe: You should clear those values before the ejb load or set
    them
    after (or both).
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com/coherence.jsp
    Tangosol Coherence: Clustered Replicated Cache for Weblogic
    "James DeFelice" <[email protected]> wrote in message
    news:[email protected]...
    Some of the properties in our entity bean implementation classes arenot
    declared
    in our descriptor files, and therefore, are non-persistent (we areusing
    container-managed
    persistence); I will refer to these properties as "non-persistentproperties".
    In WebLogic 5.1, we've noticed that the non-persistent properties arecached in
    between transactions. For instance, I ask for a particular Person(Person(James)),
    and I set one of the non-persistent properties (Property(X)) insideTransaction(A).
    In Transaction(B) (which is exclusive of Transaction(A)), I accessProperty(X)
    and find that it is the same value as I had set in Transaction(A)-this
    gives
    the appearance that non-persistent entity properties are being cachedin
    between
    transactions.
    The same appears to hold true in WebLogic 7 SP1, however, we must usethe
    "Exclusive"
    concurrency-strategy to maintain this consistency.
    I am worried that this assumption we are making of non-persistentproperties is
    not valid in all cases, and the documentation does not promise anythingin
    the
    way of such an assumption. I am worried that the container could killthe
    Person(James)
    entity implementation instance in the pool after Transaction(A), andcreate a
    new Person(James) instance to serve Transaction(B)- once that happensour
    assumption
    fails.
    "Database" concurrency strategy seems to fail our assumption on a regularbasis,
    but that makes sense, since the documentation states that the "databasewill maintain
    the cache", and the container seems more willing to kill instanceswhen
    they are
    finished with, or create new instances for new transactions.
    So my question is this: What is exactly guaranteed by the "Exclusive"concurrency-strategy?
    Will the assumption that we've made above ever fail under this strategy?
    Thanks in advance for any help.
    Regards,
    James
    Dimitri

  • EJB3.0 Entity cannot get attributes of extended class

    Hi ,
    Have a very simple issue ..quite baisc one. So hopefully I"ll get an answer !
    Am using EJB3.0 with WL10.3. Like any other application , every entity has id and version column. So I decided to put these fields in EntityBase.java
    Other Entities will extend this entity .
    For EG : Entity Organisation extends EntityBase. Organisation will have only other setter/getter for attributes. Setter/Getter for id/version will be in EntityBase. Application is deployed sucessfully and I dont get any exception, But when I try to getOrganisation Entity , id and version is null. Looks like WL is not able set id and version in EntityBase.
    Am I missing something here ? How can we make an Entity extends any other class and at the same time tell the container to set/get inhertied values ? Code for EntityBase and Organisation goes something like below
    public class EntityBase implements Serializable{
         private static final long serialVersionUID = 1L;
         // ---- Entity id
         @Id     
         @GeneratedValue(strategy=GenerationType.SEQUENCE ,generator="ID_SEQ")
         @SequenceGenerator(name="ID_SEQ" ,sequenceName="OBJECT_ID_SEQ" )
         @Column(name="ID")
         private int id ;
         public int getId() {
              return this.id;
         // ---- Entity version
         @Version
         private int version ;
         public int getVersion() { return this.version; }
    Organisation.java is
    @Entity
    @Table(name="TYPED_T")
    @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
    public class Organisation extends EntityBase{
         private static final long serialVersionUID = 1L;
    ..setter/getter for other attributes
    Thanks in advance

    Hi, if you want your entity to inherit from a superclass that provides persistent entity state and mapping information, please use @MappedSuperclass.
    You can find the definition and example from EJB3.0 Spec, chapter 2.1.9.2.
    E.g.
    @MappedSuperclass
    public class Employee {
    @Id protected Integer empId;
    @Version protected Integer version;
    @ManyToOne @JoinColumn(name="ADDR")
    protected Address address;
    public Integer getEmpId() { ... }
    public void setEmpId(Integer id) { ... }
    public Address getAddress() { ... }
    public void setAddress(Address addr) { ... }
    // Default table is FTEMPLOYEE table
    @Entity
    public class FTEmployee extends Employee {
    // Inherited empId field mapped to FTEMPLOYEE.EMPID
    // Inherited version field mapped to FTEMPLOYEE.VERSION
    // Inherited address field mapped to FTEMPLOYEE.ADDR fk
    // Defaults to FTEMPLOYEE.SALARY
    protected Integer salary;
    public FTEmployee() {}
    public Integer getSalary() { ... }
    public void setSalary(Integer salary) { ... }
    Thanks,
    Amy

  • EJB 3.0 entity tables not getting created

    I'm trying to use EJB 3.0 and can't seem to get JDeveloper to create a table in the database for an EJB 3.0 entity.
    I'm using JDeveloper Studio Edition Version 10.1.3.1.0.3914 on WinXP SP 2, Java 1.5.0_06, with Oracle Express, running in the debugger using the embedded OC4J server.
    I have created 1 entity (Customer), 1 stateless session bean (CustomerFacade), and 1 JSF (index.jspx, which allows data entry to create a Customer entity). I'm able to input fields for a Customer instance on the index.jspx form, and transmit that to the CustomerFacadeBean to persist. The call to em.persist(entity) returns without error, however, when the transaction is committed, I get the following exception indicating that the table CUSTOMER does not exist.
    Partial Exception Trace:
    javax.faces.FacesException: #{customer.saveCustomer}: javax.faces.el.EvaluationException: javax.ejb.EJBException: An exception occurred during transaction completion: ; nested exception is:
         javax.transaction.RollbackException: returning error in transaction: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.7 (Build 060720)): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist
    Error Code: 942
    Call:INSERT INTO CUSTOMER (ID, EMAILADDR, LASTNAME, VERSION, FIRSTNAME) VALUES (?, ?, ?, ?, ?)
         bind => [null, [email protected], Hart, 1, Rick]
    Query:InsertObjectQuery(com.toolcafe.model.Customer@11ca701); nested exception is: oracle.oc4j.rmi.OracleRemoteException: An exception occurred during transaction completion: ; nested exception is:
         javax.transaction.RollbackException: returning error in transaction: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.7 (Build 060720)): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist
    Error Code: 942
    The full stack trace is at the bottom of this message if that will help.
    I want to generate the database schema from the EJB entities, and have setup persistence.xml to do so -- at least I think so.
    Following is all the relevant data. I sure hope someone can help with this. I've been struggling with various problems for days (for something that should just easily work) and I'm on a tight schedule. Please help!!
    persisence.xml:
    <?xml version="1.0" encoding="windows-1252" ?>
    <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_1_0.xsd"
    version="1.0" xmlns="http://java.sun.com/xml/ns/persistence">
    <persistence-unit name="SmashPU">
    <properties>
    <property name="toplink.logging.level" value="FINEST"/>
    <property name="toplink.ddl-generation" value="drop-and-create-tables"/>
    </properties>
    </persistence-unit>
    </persistence>
    Customer.java
    package com.toolcafe.model;
    import java.io.Serializable;
    import javax.persistence.Entity;
    import javax.persistence.GeneratedValue;
    import javax.persistence.GenerationType;
    import javax.persistence.Id;
    import javax.persistence.NamedQuery;
    import javax.persistence.SequenceGenerator;
    import javax.persistence.TableGenerator;
    import javax.persistence.Version;
    @Entity
    @NamedQuery(name = "Customer.findAll", query = "select o from Customer o")
    @SequenceGenerator(name="myseq")
    public class Customer implements Serializable {
    private Integer id;
    private Integer version;
    private String firstName;
    private String lastName;
    private String emailAddr;
    public Customer() {
    @Id
    public Integer getId() {
    return id;
    public void setId(Integer id) {
    this.id = id;
    @Version
    public Integer getVersion() {
    return version;
    public void setVersion(Integer version) {
    this.version = version;
    public String getFirstName() {
    return firstName;
    public void setFirstName(String firstName) {
    this.firstName = firstName;
    public String getLastName() {
    return lastName;
    public void setLastName(String lastName) {
    this.lastName = lastName;
    public String getEmailAddr() {
    return emailAddr;
    public void setEmailAddr(String emailAddr) {
    this.emailAddr = emailAddr;
    Database Info:
    I created a schema called, "SMASH", in Oracle Express.
    he Offline Database Sources contain the Customer table, but only the ID and VERSION columns, as does the Oracle Express schema.
    Exception Trace:
    javax.faces.FacesException: #{customer.saveCustomer}: javax.faces.el.EvaluationException: javax.ejb.EJBException: An exception occurred during transaction completion: ; nested exception is:
         javax.transaction.RollbackException: returning error in transaction: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.7 (Build 060720)): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist
    Error Code: 942
    Call:INSERT INTO CUSTOMER (ID, EMAILADDR, LASTNAME, VERSION, FIRSTNAME) VALUES (?, ?, ?, ?, ?)
         bind => [null, [email protected], Hart, 1, Rick]
    Query:InsertObjectQuery(com.toolcafe.model.Customer@11ca701); nested exception is: oracle.oc4j.rmi.OracleRemoteException: An exception occurred during transaction completion: ; nested exception is:
         javax.transaction.RollbackException: returning error in transaction: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.7 (Build 060720)): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist
    Error Code: 942
    Call:INSERT INTO CUSTOMER (ID, EMAILADDR, LASTNAME, VERSION, FIRSTNAME) VALUES (?, ?, ?, ?, ?)
         bind => [null, [email protected], Hart, 1, Rick]
    Query:InsertObjectQuery(com.toolcafe.model.Customer@11ca701)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)
         at javax.faces.component.UICommand.broadcast(UICommand.java:332)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:105)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.faces.el.EvaluationException: javax.ejb.EJBException: An exception occurred during transaction completion: ; nested exception is:
         javax.transaction.RollbackException: returning error in transaction: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.7 (Build 060720)): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist
    Error Code: 942
    Call:INSERT INTO CUSTOMER (ID, EMAILADDR, LASTNAME, VERSION, FIRSTNAME) VALUES (?, ?, ?, ?, ?)
         bind => [null, [email protected], Hart, 1, Rick]
    Query:InsertObjectQuery(com.toolcafe.model.Customer@11ca701); nested exception is: oracle.oc4j.rmi.OracleRemoteException: An exception occurred during transaction completion: ; nested exception is:
         javax.transaction.RollbackException: returning error in transaction: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.7 (Build 060720)): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist
    Error Code: 942
    Call:INSERT INTO CUSTOMER (ID, EMAILADDR, LASTNAME, VERSION, FIRSTNAME) VALUES (?, ?, ?, ?, ?)
         bind => [null, [email protected], Hart, 1, Rick]
    Query:InsertObjectQuery(com.toolcafe.model.Customer@11ca701)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
         ... 25 more
    Caused by: javax.ejb.EJBException: An exception occurred during transaction completion: ; nested exception is:
         javax.transaction.RollbackException: returning error in transaction: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.7 (Build 060720)): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist
    Error Code: 942
    Call:INSERT INTO CUSTOMER (ID, EMAILADDR, LASTNAME, VERSION, FIRSTNAME) VALUES (?, ?, ?, ?, ?)
         bind => [null, [email protected], Hart, 1, Rick]
    Query:InsertObjectQuery(com.toolcafe.model.Customer@11ca701); nested exception is: oracle.oc4j.rmi.OracleRemoteException: An exception occurred during transaction completion: ; nested exception is:
         javax.transaction.RollbackException: returning error in transaction: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.7 (Build 060720)): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist
    Error Code: 942
    Call:INSERT INTO CUSTOMER (ID, EMAILADDR, LASTNAME, VERSION, FIRSTNAME) VALUES (?, ?, ?, ?, ?)
         bind => [null, [email protected], Hart, 1, Rick]
    Query:InsertObjectQuery(com.toolcafe.model.Customer@11ca701)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.ejb.EJBUtils.createEJBException(EJBUtils.java:365)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.ejb.EJBUtils.createEJBException(EJBUtils.java:356)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.ejb.AbstractEJBObject.OC4J_handleUncheckedException(AbstractEJBObject.java:396)
         at CustomerFacade_RemoteProxy_51ldkeg.persistEntity(Unknown Source)
         at form.CustomerForm.saveCustomer(CustomerForm.java:66)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
         ... 26 more
    Caused by: oracle.oc4j.rmi.OracleRemoteException: An exception occurred during transaction completion: ; nested exception is:
         javax.transaction.RollbackException: returning error in transaction: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.7 (Build 060720)): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist
    Error Code: 942
    Call:INSERT INTO CUSTOMER (ID, EMAILADDR, LASTNAME, VERSION, FIRSTNAME) VALUES (?, ?, ?, ?, ?)
         bind => [null, [email protected], Hart, 1, Rick]
    Query:InsertObjectQuery(com.toolcafe.model.Customer@11ca701)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:141)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         ... 33 more
    Caused by: javax.transaction.RollbackException: returning error in transaction: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.7 (Build 060720)): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist
    Error Code: 942
    Call:INSERT INTO CUSTOMER (ID, EMAILADDR, LASTNAME, VERSION, FIRSTNAME) VALUES (?, ?, ?, ?, ?)
         bind => [null, [email protected], Hart, 1, Rick]
    Query:InsertObjectQuery(com.toolcafe.model.Customer@11ca701)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit(ApplicationServerTransaction.java:582)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:247)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:130)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:433)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:132)
         ... 39 more
    Caused by: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.7 (Build 060720)): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist
    Error Code: 942
    Call:INSERT INTO CUSTOMER (ID, EMAILADDR, LASTNAME, VERSION, FIRSTNAME) VALUES (?, ?, ?, ?, ?)
         bind => [null, [email protected], Hart, 1, Rick]
    Query:InsertObjectQuery(com.toolcafe.model.Customer@11ca701)
         at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:295)
         at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:639)
         at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:688)
         at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:477)
         at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:437)
         at oracle.toplink.essentials.internal.sessions.AbstractSession.executeCall(AbstractSession.java:675)
         at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:213)
         at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:199)
         at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.insertObject(DatasourceCallQueryMechanism.java:331)
         at oracle.toplink.essentials.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:176)
         at oracle.toplink.essentials.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:192)
         at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(DatabaseQueryMechanism.java:457)
         at oracle.toplink.essentials.queryframework.InsertObjectQuery.executeCommit(InsertObjectQuery.java:74)
         at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.performUserDefinedWrite(DatabaseQueryMechanism.java:635)
         at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.performUserDefinedInsert(DatabaseQueryMechanism.java:599)
         at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.insertObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:495)
         at oracle.toplink.essentials.queryframework.WriteObjectQuery.executeCommitWithChangeSet(WriteObjectQuery.java:130)
         at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:283)
         at oracle.toplink.essentials.queryframework.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:67)
         at oracle.toplink.essentials.queryframework.DatabaseQuery.execute(DatabaseQuery.java:609)
         at oracle.toplink.essentials.queryframework.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:536)
         at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:123)
         at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:95)
         at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2218)
         at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:937)
         at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:894)
         at oracle.toplink.essentials.internal.sessions.CommitManager.commitNewObjectsForClassWithChangeSet(CommitManager.java:254)
         at oracle.toplink.essentials.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:175)
         at oracle.toplink.essentials.internal.sessions.AbstractSession.writeAllObjectsWithChangeSet(AbstractSession.java:2638)
         at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitToDatabase(UnitOfWorkImpl.java:1030)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.RepeatableWriteUnitOfWork.commitToDatabase(RepeatableWriteUnitOfWork.java:353)
         at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithChangeSet(UnitOfWorkImpl.java:1112)
         at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.issueSQLbeforeCompletion(UnitOfWorkImpl.java:2428)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.RepeatableWriteUnitOfWork.issueSQLbeforeCompletion(RepeatableWriteUnitOfWork.java:177)
         at oracle.toplink.essentials.transaction.AbstractSynchronizationListener.beforeCompletion(AbstractSynchronizationListener.java:116)
         at oracle.toplink.essentials.transaction.JTASynchronizationListener.beforeCompletion(JTASynchronizationListener.java:76)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.ApplicationServerTransaction.callBeforeCompletion(ApplicationServerTransaction.java:1019)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:246)
         ... 42 more
    Caused by: java.sql.SQLException: ORA-00942: table or view does not exist
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3074)
         at oracle.oc4j.sql.proxy.PreparedStatementBCELProxy.executeUpdate(PreparedStatementBCELProxy.java:37)
         at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:632)
         ... 78 more

    You have to add the property toplink.ddl-generation.output-mode to your persistence.xml file, for example:
    <?xml version="1.0" encoding="windows-1252" ?>
    <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_1_0.xsd"
    version="1.0" xmlns="http://java.sun.com/xml/ns/persistence">
    <persistence-unit name="model">
    <jta-data-source>jdbc/jdm-akoDS</jta-data-source>
    <properties>
    <property name="toplink.logging.level" value="INFO"/>
    <property name="toplink.target-database" value="Oracle"/>
    <property name="toplink.ddl-generation" value="drop-and-create-tables"/>
    <property name="toplink.ddl-generation.output-mode" value="database"/>
    </properties>
    </persistence-unit>
    </persistence>

  • Error while running Client Program of Entity Bean (BMP) : javax.naming.Name

    Hi,
    I have tried an entity bean application. I am able to deploy my entity bean in WebLogic 7.0 server. But when I ran the client program I am getting the following error.
    javax.naming.NameNotFoundException : Unable to resolve 'java:comp.env/ejb/AccountBean' Resolved: ' ' unresolved : 'java:comp': remaining name 'java:comp.env/ejb/AccountBean'
    My ejb-jar.xml is as follows:
    <ejb-jar>
    <enterprise-beans>
    <entity>
    <ejb-name>AccountBean</ejb-name>
    <home>AccountHome</home>
    <remote>Account</remote>
    <ejb-class>AccountBean<ejb-class>
    <persistance-type>Bean</persistance-type>
    <prim-key-class>AccountPK</prim-key-class>
    <reentrant>False</reentrant>
    <primkey-field>AccountID</primkey-field>
    <env-entry>
    <env-entry-name>jdbc.drivers</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>oracle.jdbc.driver.OracleDriver</env-entry-value>
         </env-entry>
    <env-entry>
    <env-entry-name>JDBC-URL</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>jdbc:oracle:thin:@erp:1521:Oracle9i</env-entry-value>
         </env-entry>
         <ejb-ref>
                   <ejb-ref-name>ejb/AccountBean</ejb-ref-name>
                   <ejb-ref-type>Entity</ejb-ref-type>
                   <home>AccountHome</home>
                   <remote>Account</Account>
                   <ejb-link>AccountBean</ejb-link>
              <ejb-ref>
              <resource-ref>
                   <resource-ref-name>jdbc/bmp-account</resource-ref-name>
                   <resouce-ref-type>javax.sql.DataSource</resource-ref-type>
                   <res-auth>Container</res-auth>
                   <res-sharing-scope>sharable</res-sharing-sope>
              <resource-ref>
         </entity>
    </enterprise-beans>
    <assembly-descriptor>
    </assembly-descriptor>
    <ejb-jar>
    My weblogic-ejb-jar.xml is as follows:
    <weblogic-ejb-jar>
         <weblogic-enterprise-bean>
              <ejb-name>AccountBean</ejb-name>
              <entity-descriptor>
                   <pool>
                   </pool>
                   <entity-cache>
                        <cache-between-transaction>false</cache-between-transcation>
                   </entity-cache>
                   <persistance>
                   </persistance>
                   <entity-clustering>
                   </entity-clustering>
              </entity-descripto>
              <transaction-descriptor>
              </transaction-descriptor>     
              <reference-descriptor>
                   <resource-descriptor>
                        <res-ref-name>jdbc/bmp-accoun</res-ref-name>
                        <jndi-name>MariJNDI</jndi-name>
                   </resource-descriptor>
                   <ejb-reference-descriptor>
                        <ejb-ref-name>ejb/AccountBean</ejb-ref-name>
                        <jndi-name>AccountBean</jndi-name>
                   </ejb-reference-descriptor>
              </reference-descriptor>
              </weblogic-enterprise-bean>
         </weblogic-ejb-jar>
    My Client Program is as follows:
    import javax.ejb.*;
    public class Client{
    public static void main(String[] args){
    Account account = null;
         try{
         Context = new InitialContext(System.getProperties());
         AccountHome home = (AccountHome) ctx.lookup("java:comp/env/ejb/AccountBean");
         home.create("123-456-7890","John");
         }catch(...){
    Any help is appreciated.
    Thanks in advance.
    Regards,
    Mari.

    Hi,
    My Client Program is as follows:
    import javax.ejb.*;
    public class Client{
    public static void main(String[] args){
    Account account = null;
         try{
    Context = new
    Context = new
    InitialContext(System.getProperties());
    AccountHome home = (AccountHome)
    AccountHome)
    ctx.lookup("java:comp/env/ejb/AccountBean");
         home.create("123-456-7890","John");
         }catch(...){
    }What are the System Properties? Are you running the client remotely? Are you running the client as a stand alone Java app or using the Weblogic's Client Runner? 'java:comp' as the jndi name is usually used when the client runs inside the container... But it doesn't seem to be the case.
    Kexkey

  • New Entity is not managed?

    I have created several EJB 3.0 persistence Entities using the wizard provided by netBeans 5.5 all with success. However, when I try to create my own persistent entity outside the wizard, I get an error when trying to use the .refresh method on it.
    Why would it be a non managed object?
    EJB5018: An exception was thrown during an ejb invocation on [PromoFacade]
    javax.ejb.EJBException
    at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:3730)
    at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3630)
    at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3431)
    at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1247)
    at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:192)
    at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:118)
    at $Proxy244.findByRootandPrefix(Unknown Source)
    at highsmith.servlets.AddTo.processRequest(AddTo.java:185)
    at highsmith.servlets.AddTo.doGet(AddTo.java:247)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Caused by: java.lang.IllegalArgumentException: Can not refresh not managed object: [highsmith.entities.Promo[item_number=10078]].

    Here is the code for the entire entity. it includes the code to declare the entity manager. I am not doing anything else except declaring the em object.
    * PromoFacade.java
    * Created on March 14, 2007, 8:37 AM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package highsmith.ejbs;
    import highsmith.entities.Promo;
    import java.util.List;
    import javax.ejb.Stateless;
    import javax.persistence.EntityManager;
    import javax.persistence.PersistenceContext;
    import javax.persistence.Query;
    * @author pamadon
    @Stateless
    public class PromoFacade implements PromoFacadeLocal {
         @PersistenceContext
         private EntityManager em;
        /** Creates a new instance of PromoFacade */
        public PromoFacade() {
         public void create(Promo promo) {
              em.persist(promo);
         public void edit(Promo promo) {
              em.merge(promo);
         public void destroy(Promo promo) {
              em.merge(promo);
              em.remove(promo);
         public Promo find(Object pk) {
              return (Promo) em.find(Promo.class, pk);
         public List findAll() {
              return em.createQuery("select object(o) from Promo as o").getResultList();
         /** Created 03/14/07 PA
         * creates a new List of Promo instances using the root.
         public List findByRoot(String root) {
             //  built by PA
                Query query = em.createNamedQuery("Promo.findByRoot");
             query.setParameter("root", root);
             List<Promo> list = (List) query.getResultList();
                em.refresh(list);
             return list;
         /** Created 03/14/07 PA
         * creates a new instance of Promo using the root and prefix.  Returns a single promo instance
         public Promo findByRootandPrefix(String root, String prefix) {
             //  built by PA
                Query query = em.createNamedQuery("Promo.findByRootandPrefix");
             query.setParameter("item_number", root+"%");
             query.setParameter("prefix", prefix);
             List <Promo>list = (List) query.getResultList();
             em.merge(list);
                em.refresh(list);
             Promo returnedPromo = null;
             for (Promo promo : list) {
             //  just loop thru the list & return the last one.  if any root/suffix combo is on promo, the entire root will be too by rule.
              returnedPromo = promo; 
             return returnedPromo;
    }Thanks!

  • How to create PSI entity

    Hi All!
    I don't want to use bc4j persistance in my entity. How to create PSI persistance entity.
    Samples and documentation will be appreciated.
    P.S.Is it diffrence in deployment only?
    Mike

    Hi!
    Ok! Oracle have two implementation of cmp -
    BC4J and PSI. I don't like BC4J in any way...
    To change type of persistance You must change oracle deployment descriptor. Take as starting point oracle JVM samples (entities/customer)
    Find in doc theme about deployment descriptors. It's contain all information you need. As I say, type of persistance depends on deployement only. Nothing changed in code.
    Good luck!
    null

  • Persist and merge

    Hi!
    I am not clear about difference between persist() and merge() in EntityManager.
    If i use persist(entity) two times in one conversation, then exception occurs.
    But if i use persist(entity) first time, and second time use merge(entity), it does work well.
    So can you explain differences between them?
    Cheers!!!

    persist() is for new objects (inserts) merge() is for existing objects (updates).
    You should only call persist() for new objects the first time you persist them. It will make the new objects managed in the current transaction context to be inserted on commit or flush. You can call persist() on any object that is managed in the current transaction context, but not on detached objects.
    merge() is only required to merge the changes from a detached object (such as serialized objects) into the current transaction context. If you read the object in the current transaction context, you should not call merge on it, it is already managed. After the merge the detached object will still be detached, only the changes in the managed object will be committed.
    -- James : [http://www.eclipselink.org]

  • Confused with Entity Beans

    Hello:
    I ve been trying to learn EJBs using Wrox's Professional EJB.
    At page number 145 sequence diagram, it shows that ( for a bean
    managed persistance Entity bean ) every find<METHOD>(args) invoked on
    an EJBHome object will be delegated to a corresponding
    ejbFind<METHOD>(args) method on the bean implementation object. I m a
    bit confused here.
    1. Since from the OO point of view, "find" is about finding, shouldn t
    this have been a method on some kind of broker object, that should
    have created/found the corresponding implementation objects and
    returned the corresponding handles ( object references ). In the case
    of findInRange() that returns multiple objects this becomes more
    apparent, wherein one need to have an ejb implementation object to
    start with in order to get the collection of objects he has been
    looking for. Where did I 'didn t get it'
    2. One of my friends says Container managed persistence ( CMP ) is not
    at all popular due to the inefficiency compared to BMP, and that only
    very few projects will be actually using it. Is there any truth in
    this.
    3. Is there a vendor neutral newsgroup ( and more specific that
    comp.java.lang.help ) for posting ejb related discussions.
    Thanks
    --sony

    Hi Sony,
    "Sony Antony" <[email protected]> wrote in message
    news:[email protected]..
    Hello:
    I ve been trying to learn EJBs using Wrox's Professional EJB.
    At page number 145 sequence diagram, it shows that ( for a bean
    managed persistance Entity bean ) every find<METHOD>(args) invoked on
    an EJBHome object will be delegated to a corresponding
    ejbFind<METHOD>(args) method on the bean implementation object. I m a
    bit confused here.
    1. Since from the OO point of view, "find" is about finding, shouldn t
    this have been a method on some kind of broker object, that should
    have created/found the corresponding implementation objects and
    returned the corresponding handles ( object references ). In the case
    of findInRange() that returns multiple objects this becomes more
    apparent, wherein one need to have an ejb implementation object to
    start with in order to get the collection of objects he has been
    looking for. Where did I 'didn t get it'In fact, a bean serves as the "broker" object, though I don't like
    the name that much. Finally, this is the Spec, and you have to
    live with it.
    2. One of my friends says Container managed persistence ( CMP ) is not
    at all popular due to the inefficiency compared to BMP, and that only
    very few projects will be actually using it. Is there any truth in
    this.It depends on application requirements. CMP are perfect for writing
    simple persistance objects with "one object per one DB table" pattern.
    From efficiency point of view weblogic does it's best to optimize
    bean's behaiviour. You shouldn't be concerned about it.
    BMPs are good when you need to deal with coarse-grained persistance.
    I'd recomend you to get hands on experience with CMPs and
    BMPs. Practice is invaluable source of knowlege.
    3. Is there a vendor neutral newsgroup ( and more specific that
    comp.java.lang.help ) for posting ejb related discussions.weblogic.developer.interest.ejb is a perfect place for this type of
    discussions.
    Regards,
    Slava Imeshev

  • NotSerializableException on Entity Bean Client

    hi
    Am new to entity beans, specifically Bean-Managed Persistent Entity Beans. I am trying to return a DTO back from the business method of entity bean. In short the code in bean is this
    public EmployeeDetailsDTO getEmployeeDetails(int empNo){
         // Code to fetch emp details
         // Set values in DTO
        return empDetails;
    }On the client side its
    AccountPK pk = new AccountPK("4");
    account = home.findByPrimaryKey(pk);
    EmployeeDetailsDTO empDetails = account.getEmployeeDetails(4);However, i get this excpetion on the cleint.
    java.rmi.MarshalException: error marshalling return; nested exception is: java.io.NotSerializableException:com.tpt.practice.entityBeans.bmp.EmployeeDetailsDTO
    Note: The EmployeeDetailsDTO does implement the Serializable interface. Any other reason why i should get this error?

    Is it possible that a field on the DTO is throwing the Serializable Exception? ..is serialVersionUID manually declared? Perhaps that would help?

  • Error in Starting WebSphere Application Server

    Hello, when I'm starting my WebSphere Aplication Server 6.0, it get an error. I tried a lot of things, but I don't know where is the problem. Can yo help me???
    Thank you very much,
    KiM
    =============================================
    Console Output:
    =============================================
    Host Operating System is Windows XP, version 5.1
    Java version = J2RE 1.4.2 IBM Windows 32 build cn142sr1w-20041028 (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
    was.install.root = C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6
    user.install.root = C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default
    Java Home = C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\java\jre
    ws.ext.dirs = C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/java/lib;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default/classes;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/classes;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/lib;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/installedChannels;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/lib/ext;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/web/help;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime
    Classpath = C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default/properties;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/properties;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/lib/bootstrap.jar;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/lib/j2ee.jar;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/lib/lmproxy.jar;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/lib/urlprotocols.jar
    Java Library path = C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\java\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\bin;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\java\bin;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\java\jre\bin;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\GTK\2.0\bin
    ************* End Display Current Environment *************
    [14/10/05 17:23:13:642 CEST] 0000000a ManagerAdmin I TRAS0017I: L'�tat de d�marrage de la trace est *=info.
    [14/10/05 17:23:14:049 CEST] 0000000a MBeanDescript W ADMN0001W: Le service n'a pas pu analyser le fichier de descripteur de MBean com/ibm/ws/management/descriptor/xml/mbeans.xml.
    [14/10/05 17:23:14:268 CEST] 0000000a AdminInitiali A ADMN0015I: Le service d''administration est initialis�.
    [14/10/05 17:23:15:878 CEST] 0000000a SystemOut O PLGC0057I: Le service de configuration du plug-in a d�marr� avec succ�s.
    [14/10/05 17:23:15:909 CEST] 0000000a PMIImpl A PMON0001A: PMI activ�
    [14/10/05 17:23:16:800 CEST] 0000000a CGBridgeServi I CWRCB0204E: Le service de passerelle de groupe central est d�sactiv� car il peut ne pas s''ex�cuter sur un noeud non g�r�.
    [14/10/05 17:23:16:862 CEST] 0000000a SibMessage I [:] CWSIU0000I: Version : WAS60.SIB Niveau : o0444.10
    [14/10/05 17:23:16:956 CEST] 0000000a SecurityDM I SECJ0231I: L'enregistrement du module de diagnostic FFDC du composant de s�curit� com.ibm.ws.security.core.SecurityDM a abouti : true.
    [14/10/05 17:23:17:284 CEST] 0000000a AuditServiceI A SECJ6004I: Security Auditing est d�sactiv�.
    [14/10/05 17:23:17:456 CEST] 0000000a distSecurityC I SECJ0309I: La s�curit� Java 2 est d�sactiv�e.
    [14/10/05 17:23:17:613 CEST] 0000000a Configuration A SECJ0215I: La d�finition de la classe de configuration du fournisseur de connexion JAAS par com.ibm.ws.security.auth.login.Configuration a abouti.
    [14/10/05 17:23:17:628 CEST] 0000000a distSecurityC I SECJ0212I: L''int�gration des informations de configuration JAAS WCCM dans la classe du fournisseur de connexion a abouti.
    [14/10/05 17:23:17:691 CEST] 0000000a distSecurityC I SECJ0240I: L''initialisation du service de s�curit� a abouti
    [14/10/05 17:23:17:972 CEST] 0000000a ObjectPoolSer I OBPL0007I: Service Object Pool Manager d�sactiv�.
    [14/10/05 17:23:18:050 CEST] 0000000a J2EEServiceMa I ASYN0059I: L''initialisation du service Work Manager a r�ussi.
    [14/10/05 17:23:18:191 CEST] 0000000a CScopeCompone I CSCP0002I: Le service de compensation est d�sactiv�.
    [14/10/05 17:23:18:300 CEST] 0000000a SibMessage I [:] CWSID0006I: Le service SIB n'a pas �t� activ� et ne sera pas d�marr�.
    [14/10/05 17:23:18:363 CEST] 0000000a ActivitySessi I WACS0045I: Service ActivitySession d�sactiv�.
    [14/10/05 17:23:18:379 CEST] 0000000a SOAPContainer I WSWS1062I: Le service de conteneur SOAP a �t� initialis�.
    [14/10/05 17:23:18:457 CEST] 0000000a SchedulerServ I SCHD0036I: Le service Scheduler est en cours d'initialisation.
    [14/10/05 17:23:18:488 CEST] 0000000a SchedulerServ I SCHD0037I: Le service Scheduler a �t� initialis�.
    [14/10/05 17:23:18:910 CEST] 0000000a StartUpServic I STUP0008I: Le service Startup Beans est d�sactiv�.
    [14/10/05 17:23:18:973 CEST] 0000000a I18nService I I18N0010I: Le service Internationalization est cr�� sur server1.
    [14/10/05 17:23:18:988 CEST] 0000000a I18nServiceSe I I18N0010I: Le service Internationalization est d�sactiv� sur server1.
    [14/10/05 17:23:21:395 CEST] 0000000a CoordinatorIm I HMGR0206I: Le coordinateur est un coordinateur actif pour le groupe central DefaultCoreGroup.
    [14/10/05 17:23:21:427 CEST] 0000000a DCSPluginSing I HMGR0005I: Le transport Single Server DCS Core Stack a �t� d�marr� pour le groupe central DefaultCoreGroup.
    [14/10/05 17:23:21:677 CEST] 0000000a NameServerImp A NMSV0018I: Serveur de noms disponible sur le port d'amor�age 2809.
    [14/10/05 17:23:22:568 CEST] 0000000a J2EEServiceMa I ASYN0055I: Service Work Manager correctement d�marr�.
    [14/10/05 17:23:22:646 CEST] 0000000a RecoveryDirec A WTRN0100E: Performing recovery processing for this WebSphere server (FileFailureScope: mctpcp-kserradellNode01Cell\mctpcp-kserradellNode01\server1 [-1728551292])
    [14/10/05 17:23:22:661 CEST] 0000000a RecoveryDirec A WTRN0100E: All persistant services have been directed to perform recovery processing for this WebSphere server (FileFailureScope: mctpcp-kserradellNode01Cell\mctpcp-kserradellNode01\server1 [-1728551292])
    [14/10/05 17:23:22:693 CEST] 0000000a RecoveryDirec A WTRN0100E: All persistant services have been directed to perform recovery processing for this WebSphere server (FileFailureScope: mctpcp-kserradellNode01Cell\mctpcp-kserradellNode01\server1 [-1728551292])
    [14/10/05 17:23:23:255 CEST] 00000010 RecoveryManag A WTRN0028I: Le service de transaction reprend 0 transactions.
    [14/10/05 17:23:23:787 CEST] 0000000a ResourceMgrIm I WSVR0049I: Liaison de DefaultEJBTimerDataSource en tant que jdbc/DefaultEJBTimerDataSource
    [14/10/05 17:23:23:818 CEST] 0000000a ResourceMgrIm I WSVR0049I: Liaison de Default_CF en tant que eis/DefaultDatasource_CMP
    [14/10/05 17:23:23:865 CEST] 0000000a ResourceMgrIm I WSVR0049I: Liaison de Default Datasource en tant que DefaultDatasource
    [14/10/05 17:23:23:865 CEST] 0000000a ResourceMgrIm I WSVR0049I: Liaison de DefaultWorkManager en tant que wm/default
    [14/10/05 17:23:23:943 CEST] 0000000a ResourceMgrIm I WSVR0049I: Liaison de DefaultTimerManager en tant que tm/default
    [14/10/05 17:23:23:974 CEST] 0000000a WorkAreaServi A ACWA0002I: Le service WorkArea n'est pas activ� sur server1.
    [14/10/05 17:23:24:897 CEST] 0000000a AppProfileCom I ACIN0007I: Le service Application Profiling est d�marr�.
    [14/10/05 17:23:24:944 CEST] 0000000a SOAPAcceptorC I WSSC1019I: Le canal de l''accepteur SOAP a �t� configur�.
    [14/10/05 17:23:25:131 CEST] 0000000a CacheServiceI I DYNA0048I: WebSphere Dynamic Cache initialis� avec succ�s.
    [14/10/05 17:23:25:819 CEST] 0000000a JMXSoapAdapte A ADMC0013I: Le connecteur SOAP est disponible sur le port 8880
    [14/10/05 17:23:25:850 CEST] 0000000a distSecurityC I SECJ0243I: Le d�marrage du service de s�curit� a abouti
    [14/10/05 17:23:25:850 CEST] 0000000a distSecurityC I SECJ0210I: S�curit� activ�e false
    [14/10/05 17:23:25:913 CEST] 0000000a SchedulerServ I SCHD0031I: Le service Scheduler est en cours de d�marrage.
    [14/10/05 17:23:26:007 CEST] 0000000a SchedulerServ I SCHD0001I: Le service Scheduler a d�marr�.
    [14/10/05 17:23:26:413 CEST] 0000000a WebContainer A SRVE0239I: La fabrique d'extension [class com.ibm.ws.jsp.webcontainerext.JSPExtensionFactory] a �t� enregistr�e avec succ�s.
    [14/10/05 17:23:26:444 CEST] 0000000a WebContainer A SRVE0240I: La fabrique d'extension [class com.ibm.ws.jsp.webcontainerext.JSPExtensionFactory] a �t� associ�e aux masques [*.jsp *.jspx *.jsw *.jsv ].
    [14/10/05 17:23:26:460 CEST] 0000000a WebContainer A SRVE0239I: La fabrique d'extension [class com.ibm.ws.jsf.extprocessor.JSFExtensionFactory] a �t� enregistr�e avec succ�s.
    [14/10/05 17:23:26:569 CEST] 0000000a WebContainer A SRVE0240I: La fabrique d'extension [class com.ibm.ws.jsf.extprocessor.JSFExtensionFactory] a �t� associ�e aux masques [""].
    [14/10/05 17:23:29:461 CEST] 00000013 ApplicationMg A WSVR0200I: Lancement de l'application DefaultApplication
    [14/10/05 17:23:29:524 CEST] 00000019 ApplicationMg A WSVR0200I: Lancement de l'application adminconsole
    [14/10/05 17:23:29:492 CEST] 00000016 ApplicationMg A WSVR0200I: Lancement de l'application IBMUTC
    [14/10/05 17:23:29:492 CEST] 00000017 ApplicationMg A WSVR0200I: Lancement de l'application ManagementEJB
    [14/10/05 17:23:29:524 CEST] 0000001a ApplicationMg A WSVR0200I: Lancement de l'application SchedulerCalendars
    [14/10/05 17:23:29:492 CEST] 00000014 ApplicationMg A WSVR0200I: Lancement de l'application ivtApp
    [14/10/05 17:23:29:492 CEST] 00000015 ApplicationMg A WSVR0200I: Lancement de l'application query
    [14/10/05 17:23:29:492 CEST] 00000018 ApplicationMg A WSVR0200I: Lancement de l'application filetransfer
    [14/10/05 17:23:29:914 CEST] 00000018 WebContainer A SRVE0161I: IBM WebSphere Application Server - Conteneur Web. Copyright IBM Corp. 1998-2004
    [14/10/05 17:23:30:399 CEST] 00000017 EJBContainerI I WSVR0207I: Pr�paration du d�marrage du JAR d'EJB : mejb.jar
    [14/10/05 17:23:30:524 CEST] 00000018 WebContainer A SRVE0162I: Niveau de sp�cification du servlet : 2.4
    [14/10/05 17:23:30:602 CEST] 0000001a EJBContainerI I WSVR0207I: Pr�paration du d�marrage du JAR d'EJB : Calendars.jar
    [14/10/05 17:23:30:602 CEST] 00000018 WebContainer A SRVE0163I: Niveau de sp�cification JSP pris en charge : 2.0
    [14/10/05 17:23:30:618 CEST] 00000015 EJBContainerI I WSVR0207I: Pr�paration du d�marrage du JAR d'EJB : querybean.jar
    [14/10/05 17:23:30:618 CEST] 00000017 EJBContainerI I WSVR0037I: Lancement du fichier jar EJB : mejb.jar
    [14/10/05 17:23:30:962 CEST] 00000013 EJBContainerI I WSVR0207I: Pr�paration du d�marrage du JAR d'EJB : Increment.jar
    [14/10/05 17:23:30:977 CEST] 00000018 WebContainer A SRVE0239I: La fabrique d'extension [class com.ibm.ws.webcontainer.extension.ExtHandshakeVHostExtensionFactory] a �t� enregistr�e avec succ�s.
    [14/10/05 17:23:31:055 CEST] 00000014 EJBContainerI I WSVR0207I: Pr�paration du d�marrage du JAR d'EJB : ivtEJB.jar
    [14/10/05 17:23:31:087 CEST] 00000018 WebContainer A SRVE0240I: La fabrique d'extension [class com.ibm.ws.webcontainer.extension.ExtHandshakeVHostExtensionFactory] a �t� associ�e aux masques [VH:_WS_EH* ].
    [14/10/05 17:23:31:102 CEST] 0000001a EJBContainerI I WSVR0037I: Lancement du fichier jar EJB : Calendars.jar
    [14/10/05 17:23:31:102 CEST] 00000017 ApplicationMg A WSVR0221I: L'application est lanc�e : ManagementEJB
    [14/10/05 17:23:31:352 CEST] 00000018 WebGroup A SRVE0169I: Chargement du module Web : WebSphere Admin File Transfer Application.
    [14/10/05 17:23:31:368 CEST] 00000015 EJBContainerI I WSVR0037I: Lancement du fichier jar EJB : querybean.jar
    [14/10/05 17:23:31:384 CEST] 0000001a ApplicationMg A WSVR0221I: L'application est lanc�e : SchedulerCalendars
    [14/10/05 17:23:31:415 CEST] 00000014 EJBContainerI I WSVR0037I: Lancement du fichier jar EJB : ivtEJB.jar
    [14/10/05 17:23:31:462 CEST] 00000015 ApplicationMg A WSVR0221I: L'application est lanc�e : query
    [14/10/05 17:23:31:524 CEST] 00000013 EJBContainerI I WSVR0037I: Lancement du fichier jar EJB : Increment.jar
    [14/10/05 17:23:31:884 CEST] 00000018 VirtualHost I SRVE0250I: Module Web WebSphere Admin File Transfer Application li� � admin_host[*:9060,*:9043].
    [14/10/05 17:23:31:993 CEST] 00000014 WebGroup A SRVE0169I: Chargement du module Web : IVT Application.
    [14/10/05 17:23:32:071 CEST] 00000018 ApplicationMg A WSVR0221I: L'application est lanc�e : filetransfer
    [14/10/05 17:23:32:071 CEST] 00000014 VirtualHost I SRVE0250I: Module Web IVT Application li� � default_host[*:9080,*:80,*:9443].
    [14/10/05 17:23:32:103 CEST] 00000013 WebGroup A SRVE0169I: Chargement du module Web : Default Web Application.
    [14/10/05 17:23:32:165 CEST] 00000014 ApplicationMg A WSVR0221I: L'application est lanc�e : ivtApp
    [14/10/05 17:23:32:165 CEST] 00000013 VirtualHost I SRVE0250I: Module Web Default Web Application li� � default_host[*:9080,*:80,*:9443].
    [14/10/05 17:23:32:306 CEST] 00000016 WebGroup A SRVE0169I: Chargement du module Web : Universal Test Client.
    [14/10/05 17:23:32:353 CEST] 00000013 ApplicationMg A WSVR0221I: L'application est lanc�e : DefaultApplication
    [14/10/05 17:23:32:744 CEST] 00000016 VirtualHost I SRVE0250I: Module Web Universal Test Client li� � default_host[*:9080,*:80,*:9443].
    [14/10/05 17:23:32:962 CEST] 00000016 ApplicationMg A WSVR0221I: L'application est lanc�e : IBMUTC
    [14/10/05 17:23:36:026 CEST] 00000019 WebGroup A SRVE0169I: Chargement du module Web : adminconsole.
    [14/10/05 17:23:39:559 CEST] 00000019 ServletWrappe A SRVE0242I: [EventInitializer] : L'initialisation a abouti.
    [14/10/05 17:23:39:699 CEST] 00000019 ActionServlet I inside init....
    [14/10/05 17:23:41:997 CEST] 00000019 ServletWrappe A SRVE0242I: [action] : L'initialisation a abouti.
    [14/10/05 17:23:42:075 CEST] 00000019 ServletWrappe A SRVE0242I: [SecureCleanup] : L'initialisation a abouti.
    [14/10/05 17:23:42:091 CEST] 00000019 VirtualHost I SRVE0250I: Module Web adminconsole li� � admin_host[*:9060,*:9043].
    [14/10/05 17:23:42:153 CEST] 00000019 WebGroup A SRVE0169I: Chargement du module Web : adminconsole redirector.
    [14/10/05 17:23:42:263 CEST] 00000019 VirtualHost I SRVE0250I: Module Web adminconsole redirector li� � admin_host[*:9060,*:9043].
    [14/10/05 17:23:42:325 CEST] 00000019 ApplicationMg A WSVR0221I: L'application est lanc�e : adminconsole
    [14/10/05 17:23:42:513 CEST] 0000000a TCPChannel A TCPC0001I: Le canal TCP TCP_1 �coute sur l'h�te * (IPv4) port 9060.
    [14/10/05 17:23:42:575 CEST] 0000000a WSChannelFram A CHFW0019I: Le service Transport Channel Service a d�marr� la cha�ne WCInboundAdmin.
    [14/10/05 17:23:42:607 CEST] 0000000a TCPChannel A TCPC0001I: Le canal TCP TCP_2 �coute sur l'h�te * (IPv4) port 9080.
    [14/10/05 17:23:42:701 CEST] 0000000a WSChannelFram A CHFW0019I: Le service Transport Channel Service a d�marr� la cha�ne WCInboundDefault.
    [14/10/05 17:23:42:763 CEST] 0000000a TCPChannel A TCPC0001I: Le canal TCP TCP_3 �coute sur l'h�te * (IPv4) port 9043.
    [14/10/05 17:23:42:857 CEST] 0000000a WSChannelFram A CHFW0019I: Le service Transport Channel Service a d�marr� la cha�ne WCInboundAdminSecure.
    [14/10/05 17:23:42:951 CEST] 0000000a TCPChannel A TCPC0001I: Le canal TCP TCP_4 �coute sur l'h�te * (IPv4) port 9443.
    [14/10/05 17:23:42:982 CEST] 0000000a WSChannelFram A CHFW0019I: Le service Transport Channel Service a d�marr� la cha�ne WCInboundDefaultSecure.
    [14/10/05 17:23:42:998 CEST] 0000000a WSChannelFram A CHFW0019I: Le service Transport Channel Service a d�marr� la cha�ne SOAPAcceptorChain1.
    [14/10/05 17:23:43:013 CEST] 0000000a WSChannelFram A CHFW0019I: Le service Transport Channel Service a d�marr� la cha�ne SOAPAcceptorChain2.
    [14/10/05 17:23:43:076 CEST] 0000000a WSChannelFram A CHFW0019I: Le service Transport Channel Service a d�marr� la cha�ne SOAPAcceptorChain3.
    [14/10/05 17:23:43:076 CEST] 0000000a WSChannelFram A CHFW0019I: Le service Transport Channel Service a d�marr� la cha�ne SOAPAcceptorChain4.
    [14/10/05 17:23:43:076 CEST] 0000001b SchedulerServ I SCHD0077I: Le service Scheduler d�marre les planificateurs.
    [14/10/05 17:23:43:185 CEST] 0000000a RMIConnectorC A ADMC0026I: Le connecteur RMI est disponible sur le port 2809
    [14/10/05 17:23:43:185 CEST] 0000001b SchedulerServ I SCHD0078I: Le service Scheduler a termin� le d�marrage des planificateurs.
    [14/10/05 17:23:43:326 CEST] 00000023 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    [14/10/05 17:23:46:812 CEST] 0000000a WsServerImpl A WSVR0001I: Serveur server1 ouvert pour e-business
    [14/10/05 17:23:50:078 CEST] 00000027 ServletWrappe A SRVE0242I: [transfer] : L'initialisation a abouti.
    [14/10/05 17:23:50:110 CEST] 00000011 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    [14/10/05 17:23:50:172 CEST] 00000027 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    [14/10/05 17:23:59:207 CEST] 00000027 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
    [14/10/05 17:04:46:755 CEST] 00000030 SystemErr R      at com.ibm.ws.util.messages.MessageLookup.getMessages(MessageLookup.java:138)
    [14/10/05 17:04:46:755 CEST] 00000030 SystemErr R      at com.ibm.ws.console.probdetermination.form.ConfigProbDetailForm.populateFrom(ConfigProbDetailForm.java:78)
    [14/10/05 17:04:46:755 CEST] 00000030 SystemErr R      at com.ibm.ws.console.probdetermination.action.ConfigProbController.setupCollectionForm(ConfigProbController.java:352)
    [14/10/05 17:04:46:755 CEST] 00000030 SystemErr R      at com.ibm.ws.console.probdetermination.action.ConfigProbController.perform(ConfigProbController.java:157)
    [14/10/05 17:04:46:755 CEST] 00000030 SystemErr R      at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:242)
    [14/10/05 17:04:46:755 CEST] 00000030 SystemErr R      at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:308)
    [14/10/05 17:04:46:755 CEST] 00000030 SystemErr R      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
    [14/10/05 17:04:46:755 CEST] 00000030 SystemErr R      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)
    [14/10/05 17:04:46:755 CEST] 00000030 SystemErr R      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:510)
    [14/10/05 17:04:46:755 CEST] 00000030 SystemErr R      at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    [14/10/05 17:04:46:771 CEST] 00000030 SystemErr R      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    [14/10/05 17:04:46:771 CEST] 00000030 SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
    [14/10/05 17:04:46:771 CEST] 00000030 SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
    [14/10/05 17:04:46:771 CEST] 00000030 SystemErr R      at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
    [14/10/05 17:04:46:771 CEST] 00000030 SystemErr R      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)
    [14/10/05 17:04:46:771 CEST] 00000030 SystemErr R      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
    [14/10/05 17:04:46:771 CEST] 00000030 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
    [14/10/05 17:04:46:771 CEST] 00000030 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
    [14/10/05 17:04:46:771 CEST] 00000030 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
    [14/10/05 17:04:46:771 CEST] 00000030 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
    [14/10/05 17:04:46:771 CEST] 00000030 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R java.lang.Exception: Message DB not initialized with Locale.
         at com.ibm.ws.util.messages.MessageLookup.getMessages(MessageLookup.java:138)
         at com.ibm.ws.console.probdetermination.form.ConfigProbDetailForm.populateFrom(ConfigProbDetailForm.java:78)
         at com.ibm.ws.console.probdetermination.action.ConfigProbController.setupCollectionForm(ConfigProbController.java:352)
         at com.ibm.ws.console.probdetermination.action.ConfigProbController.perform(ConfigProbController.java:157)
         at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:242)
         at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:308)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:510)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.util.messages.MessageLookup.getMessages(MessageLookup.java:138)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.console.probdetermination.form.ConfigProbDetailForm.populateFrom(ConfigProbDetailForm.java:78)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.console.probdetermination.action.ConfigProbController.setupCollectionForm(ConfigProbController.java:352)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.console.probdetermination.action.ConfigProbController.perform(ConfigProbController.java:157)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:242)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:308)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:510)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
    [14/10/05 17:04:46:787 CEST] 00000030 SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)

    i have a same errors, can you help me ?
    r(WebAppFilterChain.java:77)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:626)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
    at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
    [02/01/08 11:28:55:968 CET] 00000031 SystemErr R java.lang.NullPointerException
    [02/01/08 11:28:55:968 CET] 00000031 SystemErr R at com.gws.eatelier.actions.LoginAction.doGet(LoginAction.java:55)
    [02/01/08 11:28:55:968 CET] 00000031 SystemErr R at com.gws.eatelier.actions.LoginAction.doPost(LoginAction.java:82)
    [02/01/08 11:28:55:968 CET] 00000031 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    [02/01/08 11:28:55:968 CET] 00000031 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    [02/01/08 11:28:55:968 CET] 00000031 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
    [02/01/08 11:28:55:968 CET] 00000031 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1173)
    [02/01/08 11:28:55:968 CET] 00000031 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:92)
    [02/01/08 11:28:55:968 CET] 00000031 SystemErr R at com.gws.eatelier.util.GestionDBConnection.doFilter(GestionDBConnection.java:41)
    [02/01/08 11:28:55:968 CET] 00000031 SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
    [02/01/08 11:28:55:968 CET] 00000031 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:77)
    [02/01/08 11:28:55:968 CET] 00000031 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:626)
    [02/01/08 11:28:55:968 CET] 00000031 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
    [02/01/08 11:28:55:968 CET] 00000031 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
    [02/01/08 11:28:55:984 CET] 00000031 SystemErr R at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
    [02/01/08 11:28:55:984 CET] 00000031 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
    [02/01/08 11:28:55:984 CET] 00000031 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
    [02/01/08 11:28:55:984 CET] 00000031 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
    [02/01/08 11:28:55:984 CET] 00000031 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
    [02/01/08 11:28:55:984 CET] 00000031 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
    [02/01/08 11:28:55:984 CET] 00000031 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
    [02/01/08 11:28:55:984 CET] 00000031 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
    [02/01/08 11:28:55:984 CET] 00000031 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
    [02/01/08 11:28:55:984 CET] 00000031 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
    [02/01/08 11:28:55:984 CET] 00000031 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
    [02/01/08 11:32:01:937 CET] 00000040 SystemErr R java.lang.NullPointerException
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.db2.jcc.b.zc.a(zc.java:1234)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.db2.jcc.a.db.n(db.java:589)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.db2.jcc.a.db.j(db.java:257)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.db2.jcc.a.db.c(db.java:57)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.db2.jcc.a.r.c(r.java:42)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.db2.jcc.a.sb.h(sb.java:169)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.db2.jcc.b.zc.p(zc.java:1223)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.db2.jcc.b.ad.d(ad.java:2246)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.db2.jcc.b.ad.U(ad.java:489)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.db2.jcc.b.ad.executeQuery(ad.java:472)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.pmiExecuteQuery(WSJdbcPreparedStatement.java:667)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.executeQuery(WSJdbcPreparedStatement.java:477)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:139)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at org.hibernate.loader.Loader.getResultSet(Loader.java:1669)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at org.hibernate.loader.Loader.doQuery(Loader.java:662)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at org.hibernate.loader.Loader.loadEntity(Loader.java:1785)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:47)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:41)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2730)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:365)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:346)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:862)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at org.hibernate.impl.SessionImpl.get(SessionImpl.java:799)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at org.hibernate.impl.SessionImpl.get(SessionImpl.java:792)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.gws.eatelier.dao.UserDAO.getUserById(UserDAO.java:28)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.gws.eatelier.services.UserService.rechercheUserParId(UserService.java:31)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.gws.eatelier.actions.LoginAction.doGet(LoginAction.java:43)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.gws.eatelier.actions.LoginAction.doPost(LoginAction.java:82)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1173)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:92)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.gws.eatelier.util.GestionDBConnection.doFilter(GestionDBConnection.java:41)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:77)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:626)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
    [02/01/08 11:32:01:984 CET] 00000040 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R java.lang.NullPointerException
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.gws.eatelier.actions.LoginAction.doGet(LoginAction.java:55)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.gws.eatelier.actions.LoginAction.doPost(LoginAction.java:82)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1173)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:92)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.gws.eatelier.util.GestionDBConnection.doFilter(GestionDBConnection.java:41)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:77)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:626)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
    [02/01/08 11:32:02:031 CET] 00000040 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
    er.war/META-INF/MANIFEST.MF
    [02/01/08 17:09:23:094 CET] 0000004c SystemOut O ADMA6017I: Le document C:\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1173b438bb0\workspace\cells\acer-d18848db56Node01Cell\applications\eAtelierEAR.ear\deployments\eAtelierEAR\eAtelier.war\WEB-INF/web.xml est sauvegard�.
    [02/01/08 17:09:23:266 CET] 0000004c SystemOut O ADMA6016I: Ajout � l'espace de travail eAtelier.war/WEB-INF/web.xml
    [02/01/08 17:09:23:328 CET] 0000004c SystemOut O ADMA6017I: Le document C:\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1173b438bb0\workspace\cells\acer-d18848db56Node01Cell\applications\eAtelierEAR.ear\deployments\eAtelierEAR\eAtelier.war\WEB-INF/struts-bean.tld est sauvegard�.
    [02/01/08 17:09:23:328 CET] 0000004c SystemOut O ADMA6016I: Ajout � l'espace de travail eAtelier.war/WEB-INF/struts-bean.tld
    [02/01/08 17:09:23:328 CET] 0000004c SystemOut O ADMA6017I: Le document C:\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1173b438bb0\workspace\cells\acer-d18848db56Node01Cell\applications\eAtelierEAR.ear\deployments\eAtelierEAR\eAtelier.war\WEB-INF/struts-html.tld est sauvegard�.
    [02/01/08 17:09:23:344 CET] 0000004c SystemOut O ADMA6016I: Ajout � l'espace de travail eAtelier.war/WEB-INF/struts-html.tld
    [02/01/08 17:09:23:344 CET] 0000004c SystemOut O ADMA6017I: Le document C:\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1173b438bb0\workspace\cells\acer-d18848db56Node01Cell\applications\eAtelierEAR.ear\deployments\eAtelierEAR\eAtelier.war\WEB-INF/struts-logic.tld est sauvegard�.
    [02/01/08 17:09:23:344 CET] 0000004c SystemOut O ADMA6016I: Ajout � l'espace de travail eAtelier.war/WEB-INF/struts-logic.tld
    [02/01/08 17:09:23:344 CET] 0000004c SystemOut O ADMA6017I: Le document C:\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1173b438bb0\workspace\cells\acer-d18848db56Node01Cell\applications\eAtelierEAR.ear\deployments\eAtelierEAR\eAtelier.war\WEB-INF/struts-nested.tld est sauvegard�.
    [02/01/08 17:09:23:344 CET] 0000004c SystemOut O ADMA6016I: Ajout � l'espace de travail eAtelier.war/WEB-INF/struts-nested.tld
    [02/01/08 17:09:23:484 CET] 0000004c SystemOut O ADMA6017I: Le document C:\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1173b438bb0\workspace\cells\acer-d18848db56Node01Cell\applications\eAtelierEAR.ear\deployments\eAtelierEAR\eAtelier.war\WEB-INF/struts-template.tld est sauvegard�.
    [02/01/08 17:09:23:484 CET] 0000004c SystemOut O ADMA6016I: Ajout � l'espace de travail eAtelier.war/WEB-INF/struts-template.tld
    [02/01/08 17:09:23:484 CET] 0000004c SystemOut O ADMA6017I: Le document C:\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1173b438bb0\workspace\cells\acer-d18848db56Node01Cell\applications\eAtelierEAR.ear\deployments\eAtelierEAR\eAtelier.war\WEB-INF/struts-tiles.tld est sauvegard�.
    [02/01/08 17:09:23:484 CET] 0000004c SystemOut O ADMA6016I: Ajout � l'espace de travail eAtelier.war/WEB-INF/struts-tiles.tld
    [02/01/08 17:09:23:484 CET] 0000004c SystemOut O ADMA6017I: Le document C:\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1173b438bb0\workspace\cells\acer-d18848db56Node01Cell\applications\eAtelierEAR.ear\deployments\eAtelierEAR\eAtelier.war\WEB-INF/struts-config.xml est sauvegard�.
    [02/01/08 17:09:23:484 CET] 0000004c SystemOut O ADMA6016I: Ajout � l'espace de travail eAtelier.war/WEB-INF/struts-config.xml
    [02/01/08 17:09:23:500 CET] 0000004c SystemOut O ADMA6017I: Le document C:\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1173b438bb0\workspace\cells\acer-d18848db56Node01Cell\applications\eAtelierEAR.ear\deployments\eAtelierEAR\eAtelier.war\WEB-INF/ibm-web-ext.xmi est sauvegard�.
    [02/01/08 17:09:23:500 CET] 0000004c SystemOut O ADMA6016I: Ajout � l'espace de travail eAtelier.war/WEB-INF/ibm-web-ext.xmi
    [02/01/08 17:09:23:500 CET] 0000004c SystemOut O ADMA6017I: Le document C:\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1173b438bb0\workspace\cells\acer-d18848db56Node01Cell\applications\eAtelierEAR.ear\deployments\eAtelierEAR\eAtelier.war\WEB-INF/ibm-web-bnd.xmi est sauvegard�.
    [02/01/08 17:09:23:500 CET] 0000004c SystemOut O ADMA6016I: Ajout � l'espace de travail eAtelier.war/WEB-INF/ibm-web-bnd.xmi
    [02/01/08 17:09:23:500 CET] 0000004c SystemOut O ADMA5037I: Le syst�me commence � sauvegarder l'application � C:\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1173b438bb0\workspace\cells\acer-d18848db56Node01Cell\applications\eAtelierEAR.ear
    [02/01/08 17:09:24:203 CET] 0000004c SystemOut O ADMA5038I: Le syst�me a termin� la sauvegarde de l'application � C:\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1173b438bb0\workspace\cells\acer-d18848db56Node01Cell\applications\eAtelierEAR.ear\eAtelierEAR.ear
    [02/01/08 17:09:25:391 CET] 0000004d WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is disabled.
    [02/01/08 17:09:25:438 CET] 0000004c SystemOut O xmlDoc: [#document: null]
    [02/01/08 17:09:25:438 CET] 0000004c SystemOut O root element: [app-delta: null]
    [02/01/08 17:09:25:438 CET] 0000004c SystemOut O ****** delta file name: C:\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1173b438bb0\workspace\cells\acer-d18848db56Node01Cell\applications\eAtelierEAR.ear/deltas/eAtelierEAR.ear/delta-1199290165438
    [02/01/08 17:09:26:203 CET] 0000004c SystemOut O ADMA6011I: Suppression de l'arborescence C:\DOCUME~1\julien\LOCALS~1\Temp\app_1173b438bb0
    [02/01/08 17:09:30:438 CET] 0000004d FileRepositor A ADMR0009I: Le document cells/acer-d18848db56Node01Cell/applications/eAtelierEAR.ear/deltas/eAtelierEAR.ear/delta-1199290165438 a �t� cr��.
    [02/01/08 17:09:30:844 CET] 0000004d FileRepositor A ADMR0009I: Le document cells/acer-d18848db56Node01Cell/applications/eAtelierEAR.ear/deployments/eAtelierEAR/eAtelier.war/WEB-INF/struts-tiles.tld a �t� cr��.
    [02/01/08 17:09:30:844 CET] 0000004d FileRepositor A ADMR0009I: Le document cells/acer-d18848db56Node01Cell/applications/eAtelierEAR.ear/deployments/eAtelierEAR/eAtelier.war/WEB-INF/struts-logic.tld a �t� cr��.
    [02/01/08 17:09:31:062 CET] 0000004d FileRepositor A ADMR0009I: Le document cells/acer-d18848db56Node01Cell/applications/eAtelierEAR.ear/eAtelierEAR.ear a �t� cr��.
    [02/01/08 17:09:31:062 CET] 0000004d FileRepositor A ADMR0009I: Le document cells/acer-d18848db56Node01Cell/applications/eAtelierEAR.ear/deployments/eAtelierEAR/eAtelier.war/WEB-INF/struts-template.tld a �t� cr��.
    [02/01/08 17:09:31:219 CET] 0000004d FileRepositor A ADMR0009I: Le document cells/acer-d18848db56Node01Cell/applications/eAtelierEAR.ear/deployments/eAtelierEAR/eAtelier.war/WEB-INF/struts-bean.tld a �t� cr��.
    [02/01/08 17:09:31:375 CET] 0000004d FileRepositor A ADMR0009I: Le document cells/acer-d18848db56Node01Cell/applications/eAtelierEAR.ear/deployments/eAtelierEAR/eAtelier.war/WEB-INF/ibm-web-ext.xmi a �t� cr��.
    [02/01/08 17:09:31:406 CET] 0000004d FileRepositor A ADMR0009I: Le document cells/acer-d18848db56Node01Cell/applications/eAtelierEAR.ear/deployments/eAtelierEAR/META-INF/application.xml a �t� cr��.
    [02/01/08 17:09:31:469 CET] 0000004d FileRepositor A ADMR0009I: Le document cells/acer-d18848db56Node01Cell/applications/eAtelierEAR.ear/deployments/eAtelierEAR/eAtelier.war/META-INF/MANIFEST.MF a �t� cr��.
    [02/01/08 17:09:31:516 CET] 0000004d FileRepositor A ADMR0009I: Le document cells/acer-d18848db56Node01Cell/applications/eAtelierEAR.ear/deployments/eAtelierEAR/eAtelier.war/WEB-INF/ibm-web-bnd.xmi a �t� cr��.
    [02/01/08 17:09:31:641 CET] 0000004d FileRepositor A ADMR0009I: Le document cells/acer-d18848db56Node01Cell/applications/eAtelierEAR.ear/deployments/eAtelierEAR/eAtelier.war/WEB-INF/struts-config.xml a �t� cr��.
    [02/01/08 17:09:32:031 CET] 0000004d FileRepositor A ADMR0009I: Le document cells/acer-d18848db56Node01Cell/applications/eAtelierEAR.ear/deployments/eAtelierEAR/eAtelier.war/WEB-INF/struts-html.tld a �t� cr��.
    [02/01/08 17:09:32:031 CET] 0000004d FileRepositor A ADMR0009I: Le document cells/acer-d18848db56Node01Cell/applications/eAtelierEAR.ear/deployments/eAtelierEAR/eAtelier.war/WEB-INF/struts-nested.tld a �t� cr��.
    [02/01/08 17:09:32:031 CET] 0000004d FileRepositor A ADMR0009I: Le document cells/acer-d18848db56Node01Cell/applications/eAtelierEAR.ear/deployments/eAtelierEAR/eAtelier.war/WEB-INF/web.xml a �t� cr��.
    [02/01/08 17:09:32:078 CET] 0000004d FileRepositor A ADMR0009I: Le document cells/acer-d18848db56Node01Cell/applications/eAtelierEAR.ear/deployments/eAtelierEAR/deployment.xml a �t� cr��.
    [02/01/08 17:09:32:078 CET] 0000004d FileRepositor A ADMR0009I: Le document cells/acer-d18848db56Node01Cell/applications/eAtelierEAR.ear/deployments/eAtelierEAR/META-INF/.modulemaps a �t� cr��.
    [02/01/08 17:09:32:078 CET] 0000004d FileRepositor A ADMR0010I: Le document cells/acer-d18848db56Node01Cell/nodes/acer-d18848db56Node01/serverindex.xml a �t� modifi�.
    [02/01/08 17:10:48:625 CET] 00000013 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    [02/01/08 17:11:28:797 CET] 0000003d WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    [02/01/08 17:12:38:688 CET] 00000015 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    [02/01/08 17:13:23:734 CET] 00000013 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    [02/01/08 17:15:04:562 CET] 0000003d WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    [02/01/08 17:16:36:562 CET] 00000015 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    [02/01/08 17:16:48:312 CET] 00000013 ApplicationMg A WSVR0217I: Arr�t de l'application IBMUTC
    [02/01/08 17:16:48:781 CET] 00000013 ApplicationMg A WSVR0220I: L'application est arr�t�e : IBMUTC
    [02/01/08 17:17:17:797 CET] 0000003d WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    [02/01/08 17:18:38:969 CET] 0000003d WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    [02/01/08 17:19:18:125 CET] 0000003d WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    [02/01/08 17:20:54:109 CET] 00000013 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    thanks.

  • 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