[JBoss JIRA] Created: (JBREM-675) Problems with Servlet invoker
by Tom Elrod (JIRA)
Problems with Servlet invoker
-----------------------------
Key: JBREM-675
URL: http://jira.jboss.com/jira/browse/JBREM-675
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: transport
Affects Versions: 1.4.6.GA, 2.0.0.GA (Boon)
Reporter: Tom Elrod
Assigned To: Tom Elrod
Fix For: 2.2.0.Beta1 (Bluto)
Attachments: ServletServerInvoker.java
Several problems with servlet invoker:
1) There can't be two servlet invokers (it's necessary, for example, if you want to use them for JBoss Messagning and for EJBs - they require separate connectors) because ObjectName is hard-coded in ServletServerInvoker.java
2) Null returns from invokers are sent to client as empty 204 responses and custom marshallers have no change to process return value. This breaks JBoss Messaging which expects that EVERY message contains at least two bytes (version tag and format tag).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 2 months
[JBoss JIRA] Created: (JBMESSAGING-1018) Possibly fix timeout due to bug in remoting that may allow clients to hang forever.
by Jay Howell (JIRA)
Possibly fix timeout due to bug in remoting that may allow clients to hang forever.
-----------------------------------------------------------------------------------
Key: JBMESSAGING-1018
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1018
Project: JBoss Messaging
Issue Type: Feature Request
Components: JMS Remoting
Affects Versions: 1.3.0.GA
Reporter: Jay Howell
Assigned To: Tim Fox
This goes back to JBMESSAGING-171, when we changed the timeout on the bisocket to 0. That would have meant that it would wait forever which is what we want. There is now a bug in remoting that if this is set to 0 and the client is unreachable, then it is possible that it will hang. We may have one case of this now, but it is still unverified. The remoting bug is JBREM-767. This is fixed in the 2.4 beta of remoting, but it may present a problem before we can integrate that version in. We may want to consider changing this to a high number, so it doesn't timeout easily, but so it will timeout. Just want to put it up for concideration. The other route is to get the remoting team to put out another sp version with. They could put it in 2.2.0.SP4_CP02, but that will only go out as part of the Platform 4.2 CR release, so we may want to ask them to put it out as an 2.2.0SP5, so it will go into general population where Messaging has alot of customers.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 2 months
[JBoss JIRA] Closed: (JBMESSAGING-158) Tidy up tests
by Tim Fox (JIRA)
[ http://jira.jboss.com/jira/browse/JBMESSAGING-158?page=all ]
Tim Fox closed JBMESSAGING-158.
-------------------------------
Resolution: Out of Date
> Tidy up tests
> -------------
>
> Key: JBMESSAGING-158
> URL: http://jira.jboss.com/jira/browse/JBMESSAGING-158
> Project: JBoss Messaging
> Issue Type: Task
> Components: Tests and Performance
> Affects Versions: 1.0.0 alpha PR3
> Reporter: Ovidiu Feodorov
> Priority: Minor
> Fix For: 2.0.0 Beta
>
> Original Estimate: 2 days, 4 hours
> Remaining Estimate: 2 days, 4 hours
>
> Tidy up tests:
> - Some test classes (and notably MessageConsumerTest) do a lot of Connection/Session/Consumer/Producer creation in setUp(). The original idea was to separate as much boilerplate code as possible, but this leads to hard to understand tests and may lead to unexpected behavior, since the test my get "hidden" intialization it doesn't want. Refactor them and re-write each test to be as independent as possible.
> - For tests that send messages in a loop, use a centrally-configured loop counter, which can be easily globally modified. Stress test are more likely to exhibit edge cases and race conditions as the number of message increases, and it should be easy to control that number globally.
> Example
> public class Global
> {
> public static final int GENERAL_COUNTER = 100;
> ....
> }
> public class MyTest extends MessagingTestCase
> {
> // override if it doesn't makes sense locally
> protected int NUM_MESSAGES = Global.GENERAL_COUNTER;
> ...
> }
>
> - Some tests are not in the right file.
> When refactor tests, take extra care not to break their semantics, though.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 2 months