[ https://issues.apache.org/jira/browse/SANDESHA2-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526719 ]
Hans G Knudsen commented on SANDESHA2-111: ------------------------------------------ Hi! Moving the 'if( transaction' block seems to break the build testcases for me. If I put in the the block and keeps the original - testcases runs fine (most of the times) and I donot see the Deadlock in either client or server... The errors/stacktraces I saw building are : Running org.apache.sandesha2.scenarios.SerializableScenariosTest 'EchoString' service got text 'echo1' for the sequence 'urn:uuid:11667B442CC6493F6A1189584584786' 'EchoString' service got text 'echo2' for the sequence 'urn:uuid:11667B442CC6493F6A1189584584786' 'EchoString' service got text 'echo3' for the sequence 'urn:uuid:11667B442CC6493F6A1189584584786' [SimpleHTTPServer] Stop called [SimpleHTTPServer] Stop called ping service got text:ping1 ping service got text:ping1 [SimpleHTTPServer] Stop called [SimpleHTTPServer] Stop called 'EchoString' service got text 'echo1' for the sequence 'urn:uuid:11667B442CC6493F6A1189584611596' 'EchoString' service got text 'echo2' for the sequence 'urn:uuid:11667B442CC6493F6A1189584611596' 'EchoString' service got text 'echo3' for the sequence 'urn:uuid:11667B442CC6493F6A1189584611596' 'EchoString' service got text 'echo1' for the sequence 'urn:uuid:11667B442CC6493F6A1189584627883' 'EchoString' service got text 'echo2' for the sequence 'urn:uuid:11667B442CC6493F6A1189584627883' 'EchoString' service got text 'echo3' for the sequence 'urn:uuid:11667B442CC6493F6A1189584627883' [SimpleHTTPServer] Stop called 'EchoString' service got text 'echo1' for the sequence 'urn:uuid:11667B442CC6493F6A1189584650027' Exception in thread "HttpConnection-8060-2" java.lang.IllegalStateException: Response already committed at org.apache.axis2.transport.http.server.AxisHttpResponseImpl.assertNotCommitted(AxisHttpResponseImpl.java:75) at org.apache.axis2.transport.http.server.AxisHttpResponseImpl.setStatus(AxisHttpResponseImpl.java:121) at org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:277) at org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:166) at org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:85) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690) at java.lang.Thread.run(Thread.java:613) 'EchoString' service got text 'echo2' for the sequence 'urn:uuid:11667B442CC6493F6A1189584650027' 'EchoString' service got text 'echo3' for the sequence 'urn:uuid:11667B442CC6493F6A1189584650027' 'EchoString' service got text 'echo1' for the sequence 'urn:uuid:11667B442CC6493F6A1189584656249' 'EchoString' service got text 'echo2' for the sequence 'urn:uuid:11667B442CC6493F6A1189584656249' 'EchoString' service got text 'echo3' for the sequence 'urn:uuid:11667B442CC6493F6A1189584656249' 'EchoString' service got text 'echo1' for the sequence 'urn:uuid:11667B442CC6493F6A1189584662484' 'EchoString' service got text 'echo2' for the sequence 'urn:uuid:11667B442CC6493F6A1189584662484' 'EchoString' service got text 'echo3' for the sequence 'urn:uuid:11667B442CC6493F6A1189584662484' [SimpleHTTPServer] Stop called [SimpleHTTPServer] Stop called Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 91.057 sec Running org.apache.sandesha2.security.SecurityScenariosTest ping service got text:ping1 ping service got text:ping1 [SimpleHTTPServer] Stop called [SimpleHTTPServer] Stop called 'EchoString' service got text 'echo1' for the sequence 'urn:uuid:543EBF1795A0855FBC1189584769097' 'EchoString' service got text 'echo2' for the sequence 'urn:uuid:543EBF1795A0855FBC1189584769097' 'EchoString' service got text 'echo3' for the sequence 'urn:uuid:543EBF1795A0855FBC1189584769097' 'EchoString' service got text 'echo1' for the sequence 'urn:uuid:543EBF1795A0855FBC1189584785253' 'EchoString' service got text 'echo2' for the sequence 'urn:uuid:543EBF1795A0855FBC1189584785253' 'EchoString' service got text 'echo3' for the sequence 'urn:uuid:543EBF1795A0855FBC1189584785253' [SimpleHTTPServer] Stop called 'EchoString' service got text 'echo1' for the sequence 'urn:uuid:543EBF1795A0855FBC1189584807778' Exception in thread "HttpConnection-8060-2" java.lang.IllegalStateException: Response already committed at org.apache.axis2.transport.http.server.AxisHttpResponseImpl.assertNotCommitted(AxisHttpResponseImpl.java:75) at org.apache.axis2.transport.http.server.AxisHttpResponseImpl.setStatus(AxisHttpResponseImpl.java:121) at org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:277) at org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:166) at org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:85) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690) at java.lang.Thread.run(Thread.java:613) 'EchoString' service got text 'echo2' for the sequence 'urn:uuid:543EBF1795A0855FBC1189584807778' 'EchoString' service got text 'echo3' for the sequence 'urn:uuid:543EBF1795A0855FBC1189584807778' 'EchoString' service got text 'echo1' for the sequence 'urn:uuid:543EBF1795A0855FBC1189584813898' 'EchoString' service got text 'echo2' for the sequence 'urn:uuid:543EBF1795A0855FBC1189584813898' 'EchoString' service got text 'echo3' for the sequence 'urn:uuid:543EBF1795A0855FBC1189584813898' 'EchoString' service got text 'echo1' for the sequence 'urn:uuid:543EBF1795A0855FBC1189584820017' 'EchoString' service got text 'echo2' for the sequence 'urn:uuid:543EBF1795A0855FBC1189584820017' 'EchoString' service got text 'echo3' for the sequence 'urn:uuid:543EBF1795A0855FBC1189584820017' [SimpleHTTPServer] Stop called [SimpleHTTPServer] Stop called Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 77.262 sec > InMemory StorageManager deadlocks > --------------------------------- > > Key: SANDESHA2-111 > URL: https://issues.apache.org/jira/browse/SANDESHA2-111 > Project: Sandesha2 > Issue Type: Bug > Environment: Mac OS X 10.4. Java 1.5.0. Sandesha2 Branch 1_3 > Reporter: Hans G Knudsen > Priority: Critical > > Building Sandesha2 1_3 branch I see deadlock in the InMemory StorageManager > in the build log. > - org.apache.sandesha2.storage.SandeshaStorageException: Sandesha2 Internal > Error: deadlock detected. Transaction details '[InMemoryTransaction, > id:11435693, name: Axis2 Task, locks: 1]', Bean details > 'org.apache.sandesha2.storage.beans.RMDBean > Testing the 1_3 Sandesha2 on 1_3 Axis2 testing my own setup I see the > Deadlock a lot. Running a sequence of 100 requests I see the deadlock on the > server on almost all requests. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]