JBoss Remoting SVN: r4530 - remoting2/branches/2.x/docs/guide/en.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-08-30 03:38:12 -0400 (Sat, 30 Aug 2008)
New Revision: 4530
Modified:
remoting2/branches/2.x/docs/guide/en/chap17.xml
Log:
JBREM-1030: Added release notes for 2.4.0.SP2.
Modified: remoting2/branches/2.x/docs/guide/en/chap17.xml
===================================================================
--- remoting2/branches/2.x/docs/guide/en/chap17.xml 2008-08-30 07:37:41 UTC (rev 4529)
+++ remoting2/branches/2.x/docs/guide/en/chap17.xml 2008-08-30 07:38:12 UTC (rev 4530)
@@ -52,7 +52,22 @@
<section>
<title>Version 2.4</title>
+
+ <bridgehead>Release Notes - JBoss Remoting - Version 2.4.0.SP2 (Pinto)</bridgehead>
+ <para><emphasis role="bold">Bug</emphasis></para>
+
+ <para>* [JBREM-1027] - CoyoteInvoker should pass URL query in InvocationRequest</para>
+ <para>* [JBREM-1028] - JavaSerializationManager should clear ObjectOutputStream internal tables</para>
+
+ <para><emphasis role="bold">Release</emphasis></para>
+
+ <para>* [JBREM-1030] - Release 2.4.0.SP2</para>
+
+ <para><emphasis role="bold">Task</emphasis></para>
+
+ <para>* [JBREM-1029] - Assure version compatibility with earlier versions of Remoting</para>
+
<bridgehead>Release Notes - JBoss Remoting - Version 2.4.0.SP1 (Pinto)</bridgehead>
<para><emphasis role="bold">Bug</emphasis></para>
16 years, 3 months
JBoss Remoting SVN: r4529 - remoting2/branches/2.x/docs/guide/en.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-08-30 03:37:41 -0400 (Sat, 30 Aug 2008)
New Revision: 4529
Modified:
remoting2/branches/2.x/docs/guide/en/chap1.xml
Log:
JBREM-1030: Added notes about 2.4.0.SP2.
Modified: remoting2/branches/2.x/docs/guide/en/chap1.xml
===================================================================
--- remoting2/branches/2.x/docs/guide/en/chap1.xml 2008-08-30 07:25:53 UTC (rev 4528)
+++ remoting2/branches/2.x/docs/guide/en/chap1.xml 2008-08-30 07:37:41 UTC (rev 4529)
@@ -176,6 +176,21 @@
<section>
<title>What's new in version 2.4?</title>
+
+ <section>
+ <title>Release 2.4.0.SP2</title>
+
+ <itemizedlist>
+ <listitem>
+ <para><classname>CoyoteInvoker</classname> adds the URL query to the
+ <classname>InvocationRequest</classname> request map.</para>
+ </listitem>
+
+ <listitem>
+ <para>A leak in Java serialization output marshalling has been fixed.</para>
+ </listitem>
+ </itemizedlist>
+ </section>
<section>
<title>Release 2.4.0.SP1</title>
16 years, 3 months
JBoss Remoting SVN: r4528 - remoting2/branches/2.x/docs/guide/en.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-08-30 03:25:53 -0400 (Sat, 30 Aug 2008)
New Revision: 4528
Modified:
remoting2/branches/2.x/docs/guide/en/master.xml
Log:
JBREM-1030: Updated version to 2.4.0.SP2.
Modified: remoting2/branches/2.x/docs/guide/en/master.xml
===================================================================
--- remoting2/branches/2.x/docs/guide/en/master.xml 2008-08-30 07:25:03 UTC (rev 4527)
+++ remoting2/branches/2.x/docs/guide/en/master.xml 2008-08-30 07:25:53 UTC (rev 4528)
@@ -24,9 +24,9 @@
<bookinfo>
<title>JBoss Remoting Guide</title>
- <subtitle>JBoss Remoting version 2.4.0.SP1</subtitle>
+ <subtitle>JBoss Remoting version 2.4.0.SP2</subtitle>
- <releaseinfo>August 12, 2008</releaseinfo>
+ <releaseinfo>August 30, 2008</releaseinfo>
<mediaobject>
<imageobject>
16 years, 3 months
JBoss Remoting SVN: r4527 - remoting2/branches/2.x/docs.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-08-30 03:25:03 -0400 (Sat, 30 Aug 2008)
New Revision: 4527
Modified:
remoting2/branches/2.x/docs/README.txt
Log:
JBREM-1030: Added release notes for 2.4.0.SP2.
Modified: remoting2/branches/2.x/docs/README.txt
===================================================================
--- remoting2/branches/2.x/docs/README.txt 2008-08-30 07:22:46 UTC (rev 4526)
+++ remoting2/branches/2.x/docs/README.txt 2008-08-30 07:25:03 UTC (rev 4527)
@@ -30,7 +30,24 @@
in Jira, please create one.
==========================================================================================================
+Release Notes - JBoss Remoting - Version 2.4.0.SP2
+
+Bug
+
+ * [JBREM-1027] - CoyoteInvoker should pass URL query in InvocationRequest
+ * [JBREM-1028] - JavaSerializationManager should clear ObjectOutputStream internal tables
+
+Release
+
+ * [JBREM-1030] - Release 2.4.0.SP2
+
+Task
+
+ * [JBREM-1029] - Assure version compatibility with earlier versions of Remoting
+
+==========================================================================================================
Release Notes - JBoss Remoting - Version 2.4.0.SP1 (Pinto)
+
Bug
* [JBREM-302] - remote dynamic marshall loading not working on linux
16 years, 3 months
JBoss Remoting SVN: r4526 - remoting2/branches/2.x/src/main/org/jboss/remoting.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-08-30 03:22:46 -0400 (Sat, 30 Aug 2008)
New Revision: 4526
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/Version.java
Log:
JBREM-1030: Updated version to 2.4.0.SP2.
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/Version.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/Version.java 2008-08-30 07:22:24 UTC (rev 4525)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/Version.java 2008-08-30 07:22:46 UTC (rev 4526)
@@ -34,7 +34,7 @@
public static final byte VERSION_2 = 2;
public static final byte VERSION_2_2 = 22;
- public static final String VERSION = "2.4.0.SP1 (Pinto)";
+ public static final String VERSION = "2.4.0.SP2 (Pinto)";
private static final byte byteVersion = VERSION_2_2;
private static byte defaultByteVersion = byteVersion;
private static boolean performVersioning = true;
16 years, 3 months
JBoss Remoting SVN: r4525 - remoting2/branches/2.x.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-08-30 03:22:24 -0400 (Sat, 30 Aug 2008)
New Revision: 4525
Modified:
remoting2/branches/2.x/build.xml
Log:
JBREM-1030: Updated version to 2.4.0.SP2.
Modified: remoting2/branches/2.x/build.xml
===================================================================
--- remoting2/branches/2.x/build.xml 2008-08-30 07:03:53 UTC (rev 4524)
+++ remoting2/branches/2.x/build.xml 2008-08-30 07:22:24 UTC (rev 4525)
@@ -224,9 +224,9 @@
<!-- Module name(s) & version -->
<property name="module.name" value="remoting"/>
<property name="module.Name" value="JBoss Remoting"/>
- <property name="module.version" value="2.4.0.SP1"/>
+ <property name="module.version" value="2.4.0.SP2"/>
<!-- extension is for the file suffix to use for dtribution build -->
- <property name="module.version.extension" value="2_4_0_SP1"/>
+ <property name="module.version.extension" value="2_4_0_SP2"/>
<property name="implementation.url" value="http://www.jboss.org/products/remoting"/>
<property name="root.dir" value="${basedir}"/>
16 years, 3 months
JBoss Remoting SVN: r4524 - in remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/http: query and 1 other directory.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-08-30 03:03:53 -0400 (Sat, 30 Aug 2008)
New Revision: 4524
Added:
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/http/query/
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/http/query/URLQueryTestCase.java
Log:
JBREM-1027: New unit test.
Added: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/http/query/URLQueryTestCase.java
===================================================================
--- remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/http/query/URLQueryTestCase.java (rev 0)
+++ remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/http/query/URLQueryTestCase.java 2008-08-30 07:03:53 UTC (rev 4524)
@@ -0,0 +1,166 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.test.remoting.transport.http.query;
+
+import java.net.InetAddress;
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.management.MBeanServer;
+
+import org.apache.log4j.ConsoleAppender;
+import org.apache.log4j.Level;
+import org.apache.log4j.Logger;
+import org.apache.log4j.PatternLayout;
+import org.jboss.logging.XLevel;
+import org.jboss.remoting.Client;
+import org.jboss.remoting.InvocationRequest;
+import org.jboss.remoting.InvokerLocator;
+import org.jboss.remoting.ServerInvocationHandler;
+import org.jboss.remoting.ServerInvoker;
+import org.jboss.remoting.callback.InvokerCallbackHandler;
+import org.jboss.remoting.transport.Connector;
+import org.jboss.remoting.transport.PortUtil;
+import org.jboss.remoting.transport.http.HTTPMetadataConstants;
+
+import junit.framework.TestCase;
+
+/**
+ * Unit test for JBREM-1027.
+ *
+ * @author <a href="ron.sigal(a)jboss.com">Ron Sigal</a>
+ * @version $Revision: 1.1 $
+ * <p>
+ * Copyright Aug 28, 2008
+ * </p>
+ */
+public class URLQueryTestCase extends TestCase
+{
+ private static Logger log = Logger.getLogger(URLQueryTestCase.class);
+
+ private static boolean firstTime = true;
+ protected static final String QUERY = "a=y&b=z";
+
+ protected String host;
+ protected int port;
+ protected String locatorURI;
+ protected InvokerLocator serverLocator;
+ protected Connector connector;
+ protected TestInvocationHandler invocationHandler;
+
+
+ public void setUp() throws Exception
+ {
+ if (firstTime)
+ {
+ firstTime = false;
+ Logger.getLogger("org.jboss.remoting").setLevel(XLevel.INFO);
+ Logger.getLogger("org.jboss.test.remoting").setLevel(Level.INFO);
+ String pattern = "[%d{ABSOLUTE}] [%t] %5p (%F:%L) - %m%n";
+ PatternLayout layout = new PatternLayout(pattern);
+ ConsoleAppender consoleAppender = new ConsoleAppender(layout);
+ Logger.getRootLogger().addAppender(consoleAppender);
+ }
+ }
+
+
+ public void tearDown()
+ {
+ }
+
+
+ public void testQueryInRequestMap() throws Throwable
+ {
+ log.info("entering " + getName());
+
+ // Start server.
+ setupServer();
+
+ // Create client.
+ InvokerLocator clientLocator = new InvokerLocator(locatorURI);
+ HashMap clientConfig = new HashMap();
+ clientConfig.put(InvokerLocator.FORCE_REMOTE, "true");
+ addExtraClientConfig(clientConfig);
+ Client client = new Client(clientLocator, clientConfig);
+ client.connect();
+ log.info("client is connected");
+
+ // Test connections.
+ Object response = client.invoke("abc");
+ log.info("response: " + response);
+ assertEquals(QUERY, response);
+
+ client.disconnect();
+ shutdownServer();
+ log.info(getName() + " PASSES");
+ }
+
+
+ protected String getTransport()
+ {
+ return "http";
+ }
+
+
+ protected void addExtraClientConfig(Map config) {}
+ protected void addExtraServerConfig(Map config) {}
+
+
+ protected void setupServer() throws Exception
+ {
+ host = InetAddress.getLocalHost().getHostAddress();
+ port = PortUtil.findFreePort(host);
+ locatorURI = getTransport() + "://" + host + ":" + port + "/?" + QUERY;
+ serverLocator = new InvokerLocator(locatorURI);
+ log.info("Starting remoting server with locator uri of: " + locatorURI);
+ HashMap config = new HashMap();
+ config.put(InvokerLocator.FORCE_REMOTE, "true");
+ addExtraServerConfig(config);
+ connector = new Connector(serverLocator, config);
+ connector.create();
+ invocationHandler = new TestInvocationHandler();
+ connector.addInvocationHandler("test", invocationHandler);
+ connector.start();
+ }
+
+
+ protected void shutdownServer() throws Exception
+ {
+ if (connector != null)
+ connector.stop();
+ }
+
+
+ static class TestInvocationHandler implements ServerInvocationHandler
+ {
+ public void addListener(InvokerCallbackHandler callbackHandler) {}
+ public Object invoke(final InvocationRequest invocation) throws Throwable
+ {
+ Map requestMap = invocation.getRequestPayload();
+ log.info("query: " + requestMap.get(HTTPMetadataConstants.QUERY));
+ return requestMap.get(HTTPMetadataConstants.QUERY);
+ }
+ public void removeListener(InvokerCallbackHandler callbackHandler) {}
+ public void setMBeanServer(MBeanServer server) {}
+ public void setInvoker(ServerInvoker invoker) {}
+ }
+}
\ No newline at end of file
16 years, 3 months
JBoss Remoting SVN: r4523 - remoting2/branches/2.2/src/main/org/jboss/remoting/transport/http.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-08-30 03:03:13 -0400 (Sat, 30 Aug 2008)
New Revision: 4523
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/http/HTTPMetadataConstants.java
Log:
JBREM-1027: Added QUERY.
Modified: remoting2/branches/2.2/src/main/org/jboss/remoting/transport/http/HTTPMetadataConstants.java
===================================================================
--- remoting2/branches/2.2/src/main/org/jboss/remoting/transport/http/HTTPMetadataConstants.java 2008-08-30 07:02:57 UTC (rev 4522)
+++ remoting2/branches/2.2/src/main/org/jboss/remoting/transport/http/HTTPMetadataConstants.java 2008-08-30 07:03:13 UTC (rev 4523)
@@ -33,6 +33,7 @@
{
public static final String METHODTYPE = "MethodType";
public static final String PATH = "Path";
+ public static final String QUERY = "Query";
public static final String HTTPVERSION = "HttpVersion";
public static final String RESPONSE_CODE = "ResponseCode";
public static final String CONTENTTYPE = "Content-Type";
16 years, 3 months
JBoss Remoting SVN: r4522 - remoting2/branches/2.2/src/main/org/jboss/remoting/transport/coyote.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-08-30 03:02:57 -0400 (Sat, 30 Aug 2008)
New Revision: 4522
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/coyote/CoyoteInvoker.java
Log:
JBREM-1027: Puts QUERY in InvocationRequest request map.
Modified: remoting2/branches/2.2/src/main/org/jboss/remoting/transport/coyote/CoyoteInvoker.java
===================================================================
--- remoting2/branches/2.2/src/main/org/jboss/remoting/transport/coyote/CoyoteInvoker.java 2008-08-30 06:29:38 UTC (rev 4521)
+++ remoting2/branches/2.2/src/main/org/jboss/remoting/transport/coyote/CoyoteInvoker.java 2008-08-30 07:02:57 UTC (rev 4522)
@@ -534,6 +534,7 @@
metadata.put(HTTPMetadataConstants.METHODTYPE, req.method().getString());
metadata.put(HTTPMetadataConstants.PATH, req.requestURI().getString());
+ metadata.put(HTTPMetadataConstants.QUERY, req.query().toString());
metadata.put(HTTPMetadataConstants.HTTPVERSION, req.protocol().getString());
}
16 years, 3 months
JBoss Remoting SVN: r4521 - remoting2/branches/2.x/src/main/org/jboss/remoting/serialization/impl/java.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-08-30 02:29:38 -0400 (Sat, 30 Aug 2008)
New Revision: 4521
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/serialization/impl/java/ClearableObjectOutputStream.java
Log:
JBREM-1028: Reflective call to clear() uses a preconstructed parameter array.
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/serialization/impl/java/ClearableObjectOutputStream.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/serialization/impl/java/ClearableObjectOutputStream.java 2008-08-30 06:21:08 UTC (rev 4520)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/serialization/impl/java/ClearableObjectOutputStream.java 2008-08-30 06:29:38 UTC (rev 4521)
@@ -41,6 +41,7 @@
{
protected static Logger log = Logger.getLogger(ClearableObjectOutputStream.class);
protected static Method clearMethod;
+ protected static Object[] PARAMS = new Object[]{};
static
{
@@ -67,7 +68,7 @@
{
try
{
- clearMethod.invoke(this, new Object[]{});
+ clearMethod.invoke(this, PARAMS);
}
catch (Throwable e)
{
16 years, 3 months