[JBoss JIRA] Created: (JBREM-648) Client.disconnect without clearing ConnectionListeners will cause NPEs
by Clebert Suconic (JIRA)
Client.disconnect without clearing ConnectionListeners will cause NPEs
----------------------------------------------------------------------
Key: JBREM-648
URL: http://jira.jboss.com/jira/browse/JBREM-648
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Clebert Suconic
Assigned To: Tom Elrod
ConnectionValidator should be stoped when disconnected is called.
ConnectionValidator::run will fail at this line if ConnectionValidator is not stopped:
public void run()
{
try
{
boolean isValid = checkConnection(client.getInvoker().getLocator(), client.getConfiguration());
The fix should be simple though:
public void disconnect()
{
if (invoker != null)
{
if(enableLease)
{
invoker.terminateLease(sessionId);
enableLease = false;
}
if (validator!=null) // /this is the fix.....
{
validator.stop();
}
--
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
18 years, 7 months
[JBoss JIRA] Created: (JBREM-626) Allow unmarshalling of HTTP response with error code 500
by Thomas Diesler (JIRA)
Allow unmarshalling of HTTP response with error code 500
--------------------------------------------------------
Key: JBREM-626
URL: http://jira.jboss.com/jira/browse/JBREM-626
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Thomas Diesler
Assigned To: Tom Elrod
>From the BasicProfile
// R1126 An INSTANCE MUST return a "500 Internal Server Error" HTTP status code
// if the response envelope is a Fault.
Caused by: org.jboss.remoting.transport.http.WebServerError: Error received when calling on web server. Error returned was 500
at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:272)
at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:94)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:125)
at org.jboss.remoting.Client.invoke(Client.java:589)
at org.jboss.remoting.Client.invoke(Client.java:581)
at org.jboss.ws.soap.SOAPConnectionImpl.callInternal(SOAPConnectionImpl.java:201)
/home/tdiesler/svn/jbossws/trunk/src/test
[tdiesler@tddell test]$ ant -Dtest=jaxws/jsr181/webmethod test
tests-main:
[junit] Running org.jboss.test.ws.jaxws.jsr181.webmethod.JSR181WebMethodTestCase
[junit] Tests run: 4, Failures: 0, Errors: 2, Time elapsed: 4.094 sec
[junit] Test org.jboss.test.ws.jaxws.jsr181.webmethod.JSR181WebMethodTestCase FAILED
--
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
18 years, 7 months
[JBoss JIRA] Created: (JBREM-629) NPE in sending notification of lost client
by Tom Elrod (JIRA)
NPE in sending notification of lost client
------------------------------------------
Key: JBREM-629
URL: http://jira.jboss.com/jira/browse/JBREM-629
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: callbacks
Affects Versions: 2.0.0.GA (Boon)
Reporter: Tom Elrod
Assigned To: Tom Elrod
Fix For: 2.2.0.Alpha3 (Bluto)
Is possible to sometimes get null pointer exception when calling notifier to alert of lost client when leasing.
10:47:10,508 ERROR [STDERR] Exception in thread "Timer-2"
10:47:10,509 ERROR [STDERR] java.lang.NullPointerException
10:47:10,513 ERROR [STDERR] at org.jboss.remoting.Lease.notifyClientLost(Lease.java:211)
10:47:10,513 ERROR [STDERR] at org.jboss.remoting.Lease.access$300(Lease.java:39)
10:47:10,513 ERROR [STDERR] at org.jboss.remoting.Lease$LeaseTimerTask.run(Lease.java:242)
10:47:10,513 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:527)
10:47:10,513 ERROR [STDERR] at java.util.TimerThread.run(Timer.java:477)
--
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
18 years, 7 months
[JBoss JIRA] Created: (JBREM-638) 2.2.0.Alpha4 release
by Ron Sigal (JIRA)
2.2.0.Alpha4 release
--------------------
Key: JBREM-638
URL: http://jira.jboss.com/jira/browse/JBREM-638
Project: JBoss Remoting
Issue Type: Release
Security Level: Public (Everyone can see)
Affects Versions: 2.2.0.Alpha4
Reporter: Ron Sigal
Assigned To: Ron Sigal
Fix For: 2.2.0.Alpha4
Release 2.2.0.Alpha4 represents just a few changes from 2.2.0.Alpha3.
1. JBREM-635: affects org.jboss.remoting.marshal.http.HTTPUnMarshaller (Remove warning message in read().)
2. JBREM-636: affects org.jboss.remoting.callback.ServerInvokerCallbackHandler (init() stores the sessionId and listenerId for future reference, so that getId() does not have to refer to the initial InvocationRequest.)
3. JBREM-605: affects org.jboss.remoting.Client (Added test for consistency of listenerIds in acknowledgeCallbacks().)
--
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
18 years, 7 months