juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex O'Ree (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] [Commented] (JUDDI-985) Replication change record delete fails with hibernate
Date Sun, 22 Oct 2017 18:59:00 GMT

    [ https://issues.apache.org/jira/browse/JUDDI-985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16214418#comment-16214418
] 

Alex O'Ree commented on JUDDI-985:
----------------------------------

i'm getting some kind of hibernate issue now with when running the tck tests. With instances
of juddi+tomcat running, one is fine, the other is handing with  

EntityTransaction tx= em.getTransaction();
tx.begin();

> Replication change record delete fails with hibernate
> -----------------------------------------------------
>
>                 Key: JUDDI-985
>                 URL: https://issues.apache.org/jira/browse/JUDDI-985
>             Project: jUDDI
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.3, 3.3.1, 3.3.2, 3.3.3, 3.3.4
>            Reporter: Alex O'Ree
>            Assignee: Alex O'Ree
>             Fix For: 3.3.5
>
>
> a-4321-969f-827a4cc1d175-0 Local id from sender:294
> 2017-10-22 11:20:19,660 WARN [org.apache.juddi.api.impl.AuthenticatedService] - Error
applying the change record! 
> java.lang.IllegalArgumentException: id to load is required for loading
> 	at org.hibernate.event.spi.LoadEvent.<init>(LoadEvent.java:109)
> 	at org.hibernate.event.spi.LoadEvent.<init>(LoadEvent.java:79)
> 	at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.load(SessionImpl.java:2446)
> 	at org.hibernate.internal.SessionImpl.get(SessionImpl.java:949)
> 	at org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:807)
> 	at org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:781)
> 	at org.apache.juddi.api.impl.UDDIReplicationImpl$PullTimerTask.PersistChangeRecord(UDDIReplicationImpl.java:372)
> 	at org.apache.juddi.api.impl.UDDIReplicationImpl$PullTimerTask.run(UDDIReplicationImpl.java:276)
> 	at java.util.TimerThread.mainLoop(Timer.java:555)
> 	at java.util.TimerThread.run(Timer.java:505)
> 2017-10-22 11:20:19,660 WARN [org.apache.juddi.api.impl.AuthenticatedService] - This
is the record that failed to persist: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <changeRecord acknowledgementRequested="false" xmlns="urn:uddi-org:repl_v3" xmlns:ns2="urn:uddi-org:api_v3"
xmlns:ns3="http://www.w3.org/2000/09/xmldsig#">
>     <changeID>
>         <nodeID>uddi:juddi.apache.org:node1</nodeID>
>         <originatingUSN>145</originatingUSN>
>     </changeID>
>     <changeRecordDelete>
>         <businessKey>a0dbe2d4-3eea-4321-969f-827a4cc1d175-0</businessKey>
>         <modified>2017-10-22T11:20:09.961-04:00</modified>
>     </changeRecordDelete>
> </changeRecord>



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message