Issue Details (XML | Word | Printable)

Key: AMQ-604
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Adrian Co
Reporter: James Strachan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ActiveMQ

get http transport working again

Created: 02/Mar/06 05:59 AM   Updated: 01/May/06 02:48 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0

Time Tracking:
Not Specified


 Description  « Hide
e.g. the test cases in activemq-optional for HTTP

 All   Comments   Work Log   Change History   Subversion Commits   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
Adrian Co added a comment - 07/Mar/06 01:48 AM
http oneway sometimes is unable to send data because socket times out during client.execute() of post method. Currently, I have no idea why. Execution doesn't even reach the servlet. Could this be a jetty gremlin? Web server seems to be running ok, I think.

James Strachan added a comment - 07/Mar/06 02:31 AM
Greg, could you check this isn't a Jetty 6 gremlin please?

Adrian Co added a comment - 07/Mar/06 03:39 AM
BTW, I don't know if this is significant, but for most of the test cases that fails, the init method of the servlet doesn't get called.

Greg Wilkins added a comment - 07/Mar/06 05:33 AM
I'll look at this later today or tomorrow. Last time I looked at this it was not working as the port to amq4 had not been completed.
So I'm assuming this has never worked since the amq4 port.... so lots could be wrong.

Greg Wilkins added a comment - 08/Mar/06 02:04 AM
The release was on beta6, which definitely had a few timeout type bugs. I've upgraded to beta10 and the send and receive test works fine for me.
The broker test is failing 6 tests, but none appear timeout related.

Adrian Co added a comment - 08/Mar/06 03:19 AM
Thanks for the heads up Greg.

Greg Wilkins added a comment - 08/Mar/06 03:34 AM
I was happy to continue looking into those 6 failures..... probably later today.
So feel free to assign this back to me... unless your keen to look at them yourself

cheers


Adrian Co added a comment - 08/Mar/06 07:33 PM
Hi Greg,

Ok.

BTW, what was the reason for the failures? I did a run using the beta10 and got a JVM bind exception, but was able to fix it by adding a sleep every tearDown of the test case to ensure that the jetty server have enough time to shutdown first before starting the next run. The broker test seems to be passing on my environment.

Im currently looking at the send-receive test, it sometimes passes, sometimes don't. Your help would most definitely be appreciated.


Adrian Co added a comment - 08/Mar/06 11:47 PM
All http tests are passing for me now.