[JBoss JIRA] Created: (JBREM-874) CLONE -HTTP Client invoker doesn't throw exceptions when using the sslservlet protocol [JBREM-871]
by Ron Sigal (JIRA)
CLONE -HTTP Client invoker doesn't throw exceptions when using the sslservlet protocol [JBREM-871]
--------------------------------------------------------------------------------------------------
Key: JBREM-874
URL: http://jira.jboss.com/jira/browse/JBREM-874
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: transport
Affects Versions: 2.4.0.Beta1 (Pinto), 2.2.2.GA_CP01
Reporter: Jay Howell
Assigned To: Ron Sigal
Fix For: 2.2.2.SP4
In the HTTP Client Invoker, the only server side exceptions that get thrown are for the servlet protocol only... and also have to be servlet exceptions... The code from the client that throws the exception is inside of this if block....
i// now check for error response and throw exception unless configured to not do so
if(responseCode >= 400
|| ("servlet".equals(getLocator().getProtocol())
&& result instanceof InvocationResponse
&& ((InvocationResponse) result).getResult() instanceof ServletThrowable))
{
--
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, 3 months
[JBoss JIRA] Updated: (JBREM-47) Dynamic classloading
by Ron Sigal (JIRA)
[ http://jira.jboss.com/jira/browse/JBREM-47?page=all ]
Ron Sigal updated JBREM-47:
---------------------------
Fix Version/s: (was: 2.4.0.Beta1 (Pinto))
Assignee: (was: Tom Elrod)
> Dynamic classloading
> --------------------
>
> Key: JBREM-47
> URL: http://jira.jboss.com/jira/browse/JBREM-47
> Project: JBoss Remoting
> Issue Type: Feature Request
> Components: general
> Affects Versions: 1.0.1 beta
> Reporter: Tom Elrod
>
> Need ability for dynamic classloading to satisfy two needs. The first, is when an ejb lookup is done, and if do not have the class on the client, can download the client classes for remoting. This is much more efficient than having to serialize all these classes (as there may be many and may not even know what they are until runtime). Also, would like to add the ability for client or server to pass implementation for interfaces across the wire and if the other side does not have those classes, can load them. Once particular case when this might be needed is if using JMX sub-system, client could create custom QueryExp? implementation and pass to the server, and the server could load that class and perform the query. Will require security around this.
--
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, 3 months
[JBoss JIRA] Updated: (JBREM-159) Patch to enable JRockit 5.0 to work with JBoss Remoting
by Ron Sigal (JIRA)
[ http://jira.jboss.com/jira/browse/JBREM-159?page=all ]
Ron Sigal updated JBREM-159:
----------------------------
Fix Version/s: (was: 2.4.0.Beta1 (Pinto))
> Patch to enable JRockit 5.0 to work with JBoss Remoting
> -------------------------------------------------------
>
> Key: JBREM-159
> URL: http://jira.jboss.com/jira/browse/JBREM-159
> Project: JBoss Remoting
> Issue Type: Patch
> Components: general
> Affects Versions: 2.2.2.GA
> Reporter: Jeff Haynie
> Priority: Minor
>
> org.jboss.remoting.detection.multicast.MulticaseDetector$Listener.run, changed:
> try
> {
> listen(p, buf);
> }
> catch (Exception ex)
> to:
> try
> {
> listen(p, buf);
> p.setLength(buf.length);
> }
> catch (Exception ex)
> org.jboss.remoting.loading.ClassUtil.serialize, changed body of the method from:
> java.io.ByteArrayOutputStream bos=new java.io.ByteArrayOutputStream();
> java.io.ObjectOutputStream oos=new java.io.ObjectOutputStream(bos);
> oos.writeObject(obj);
> oos.flush();
> bos.flush();
> byte buf[]=bos.toByteArray();
> bos=null;
> oos=null;
> return buf;
> to:
> java.io.ByteArrayOutputStream bos=new java.io.ByteArrayOutputStream();
> java.io.ObjectOutputStream oos=new java.io.ObjectOutputStream(bos);
> oos.writeObject(obj);
> oos.flush();
> bos.flush();
> oos.close();
> bos.close();
> byte buf[]=bos.toByteArray();
> bos=null;
> oos=null;
> return buf;
--
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, 3 months