net.sf.hibernate.TransactionException: Commit failed with exception:

Stack Overflow | tabby | 3 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Jonas transaction error with one data in particular

    Stack Overflow | 3 months ago | tabby
    net.sf.hibernate.TransactionException: Commit failed with exception:
  2. 0
    samebug tip
    Check your pattern declaration or check your assert declaration.
  3. 0
    samebug tip
    Signals that a method has been invoked at an illegal or inappropriate time. In other words, the Java environment or Java application is not in an appropriate state for the requested operation.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    AWS elasticsearch EC2 Discovery, cant find other nodes

    Stack Overflow | 1 year ago | mconlin
    transport.tcp.port: 9300 On startup each instance logs like so: [2016-03-02 03:13:48,128][INFO ][node ] [ip-xxx-xxx-xx-xxx.vpc.fakedomain.com] version[2.1.0], pid[26976], build[72cd1f1/2015-11-18T22:40:03Z] [2016-03-02 03:13:48,129][INFO ][node ] [ip-xxx-xxx-xx-xxx.vpc.fakedomain.com] initializing ... [2016-03-02 03:13:48,592][INFO ][plugins ] [ip-xxx-xxx-xx-xxx.vpc.fakedomain.com] loaded [cloud-aws], sites [head] [2016-03-02 03:13:48,620][INFO ][env ] [ip-xxx-xxx-xx-xxx.vpc.fakedomain.com] using [1] data paths, mounts [[/ (/dev/xvda1)]], net usable_space [11.4gb], net total_space [14.6gb], spins? [no], types [ext4] [2016-03-02 03:13:50,928][INFO ][node ] [ip-xxx-xxx-xx-xxx.vpc.fakedomain.com] initialized [2016-03-02 03:13:50,928][INFO ][node ] [ip-xxx-xxx-xx-xxx.vpc.fakedomain.com] starting ... [2016-03-02 03:13:51,065][INFO ][transport ] [ip-xxx-xxx-xx-xxx.vpc.fakedomain.com] publish_address {ip-xxx-xxx-xx-xxx.vpc.fakedomain.com/xxx-xxx-xx-xxx:9300}, bound_addresses {xxx-xxx-xx-xxx:9300} [2016-03-02 03:13:51,074][INFO ][discovery ] [ip-xxx-xxx-xx-xxx.vpc.fakedomain.com] my-ec2-elasticsearch/xVOkfK4TT-GWaPln59wGxw [2016-03-02 03:14:21,075][WARN ][discovery ] [ip-xxx-xxx-xx-xxx.vpc.fakedomain.com] waited for 30s and no initial state was set by the discovery [2016-03-02 03:14:21,084][INFO ][http ] [ip-xxx-xxx-xx-xxx.vpc.fakedomain.com] publish_address {ip-xxx-xxx-xx-xxx.vpc.fakedomain.com/xxx-xxx-xx-xxx:9200}, bound_addresses {xxx-xxx-xx-xxx:9200} [2016-03-02 03:14:21,085][INFO ][node ] [ip-xxx-xxx-xx-xxx.vpc.fakedomain.com] started TRACE LOGGING ON FOR DISCOVERY: 2016-03-02 04:25:27,753][TRACE][discovery.zen.ping.unicast] [ip-xxx-xxx-xx-xxx.vpc.fakedomain.com] [26] failed to connect to {#zen_unicast_2#}{::1}{[::1]:9300} ConnectTransportException[[][[::1]:9300] connect_timeout[30s]]; nested: ConnectException[Connection refused: /0:0:0:0:0:0:0:1:9300];

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.transaction.RollbackException

      No message provided

      at org.objectweb.jotm.TransactionImpl.commit()
    2. JOTM : A Java Open Transaction Manager
      Current.commit
      1. org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:254)
      2. org.objectweb.jotm.Current.commit(Current.java:526)
      2 frames
    3. net.sf.hibernate
      JTATransaction.commit
      1. net.sf.hibernate.transaction.JTATransaction.commit(JTATransaction.java:56)
      1 frame
    4. xx.xx.xxx
      xxx.xxx
      1. xx.xx.xxx.xxx.xxx.xxx(xxx.java:238)
      2. xx.xx.xxx.xxx.xxx.xxx(xxx.java:181)
      3. xx.xx.xxx.xxx.xxx.xxx(xxx.java:366)
      4. xx.xx.xxx.xxx.xxx.xxx(xxx.java:143)
      4 frames
    5. org.objectweb.jonas_gen
      JOnASBatchService_468238783Remote.xxx
      1. org.objectweb.jonas_gen.ft.remu.metier.ejb.JOnASBatchService_468238783Remote.xxx(JOnASBatchService_468238783Remote.java:117)
      1 frame
    6. Java RT
      UnicastServerRef.dispatch
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      5. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
      5 frames
    7. Carol
      JUnicastServerRef.dispatch
      1. org.objectweb.carol.rmi.jrmp.server.JUnicastServerRef.dispatch(JUnicastServerRef.java:143)
      1 frame
    8. Java RT
      Thread.run
      1. sun.rmi.transport.Transport$1.run(Transport.java:153)
      2. sun.rmi.transport.Transport.serviceCall(Transport.java:149)
      3. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
      4. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
      5. java.lang.Thread.run(Thread.java:595)
      5 frames