Author: asankha
Date: Thu Nov 8 05:15:24 2007
New Revision: 593149
URL: http://svn.apache.org/viewvc?rev=593149&view=rev
Log:
update release_notes.txt to add known issues
drop use of the Sun JMS 1.0.x JAR and replace it with Geronimo JMS 1.1 impl
Remove references to JDK 1.4 bcprov JAR
Add a exception handler to the IO reactors to try to continue even in the face
of possible errors as per suggestion from Oleg
Modified:
webservices/synapse/branches/1.1/modules/transports/src/main/java/org/apache/synapse/transport/nhttp/HttpCoreNIOListener.java
webservices/synapse/branches/1.1/modules/transports/src/main/java/org/apache/synapse/transport/nhttp/HttpCoreNIOSender.java
webservices/synapse/branches/1.1/pom.xml
webservices/synapse/branches/1.1/src/main/release/docs/release_notes.txt
Modified:
webservices/synapse/branches/1.1/modules/transports/src/main/java/org/apache/synapse/transport/nhttp/HttpCoreNIOListener.java
URL:
http://svn.apache.org/viewvc/webservices/synapse/branches/1.1/modules/transports/src/main/java/org/apache/synapse/transport/nhttp/HttpCoreNIOListener.java?rev=593149&r1=593148&r2=593149&view=diff
==============================================================================
---
webservices/synapse/branches/1.1/modules/transports/src/main/java/org/apache/synapse/transport/nhttp/HttpCoreNIOListener.java
(original)
+++
webservices/synapse/branches/1.1/modules/transports/src/main/java/org/apache/synapse/transport/nhttp/HttpCoreNIOListener.java
Thu Nov 8 05:15:24 2007
@@ -40,6 +40,7 @@
import org.apache.http.nio.NHttpServiceHandler;
import org.apache.http.nio.reactor.IOEventDispatch;
import org.apache.http.nio.reactor.ListeningIOReactor;
+import org.apache.http.nio.reactor.IOReactorExceptionHandler;
import org.apache.http.params.BasicHttpParams;
import org.apache.http.params.HttpConnectionParams;
import org.apache.http.params.HttpParams;
@@ -55,7 +56,7 @@
/** The Axis2 configuration context */
private ConfigurationContext cfgCtx;
/** The IOReactor */
- private ListeningIOReactor ioReactor = null;
+ private DefaultListeningIOReactor ioReactor = null;
/** The EPR prefix for services available over this transport */
private String serviceEPRPrefix;
@@ -77,6 +78,20 @@
try {
ioReactor = new DefaultListeningIOReactor(
NHttpConfiguration.getInstance().getServerIOWorkers(), params);
+
+ ioReactor.setExceptionHandler(new IOReactorExceptionHandler() {
+ public boolean handle(IOException ioException) {
+ log.warn(" may be unstable: IOReactor encountered a
checked exception : " +
+ ioException.getMessage(), ioException);
+ return true;
+ }
+
+ public boolean handle(RuntimeException runtimeException) {
+ log.warn("System may be unstable: IOReactor encountered a
runtime exception : " +
+ runtimeException.getMessage(), runtimeException);
+ return true;
+ }
+ });
} catch (IOException e) {
log.error("Error starting the IOReactor", e);
}
Modified:
webservices/synapse/branches/1.1/modules/transports/src/main/java/org/apache/synapse/transport/nhttp/HttpCoreNIOSender.java
URL:
http://svn.apache.org/viewvc/webservices/synapse/branches/1.1/modules/transports/src/main/java/org/apache/synapse/transport/nhttp/HttpCoreNIOSender.java?rev=593149&r1=593148&r2=593149&view=diff
==============================================================================
---
webservices/synapse/branches/1.1/modules/transports/src/main/java/org/apache/synapse/transport/nhttp/HttpCoreNIOSender.java
(original)
+++
webservices/synapse/branches/1.1/modules/transports/src/main/java/org/apache/synapse/transport/nhttp/HttpCoreNIOSender.java
Thu Nov 8 05:15:24 2007
@@ -54,10 +54,7 @@
import org.apache.http.impl.nio.reactor.SSLIOSessionHandler;
import org.apache.http.nio.NHttpClientConnection;
import org.apache.http.nio.NHttpClientHandler;
-import org.apache.http.nio.reactor.ConnectingIOReactor;
-import org.apache.http.nio.reactor.IOEventDispatch;
-import org.apache.http.nio.reactor.SessionRequest;
-import org.apache.http.nio.reactor.SessionRequestCallback;
+import org.apache.http.nio.reactor.*;
import org.apache.http.params.BasicHttpParams;
import org.apache.http.params.HttpConnectionParams;
import org.apache.http.params.HttpParams;
@@ -75,7 +72,7 @@
/** The Axis2 configuration context */
private ConfigurationContext cfgCtx;
/** The IOReactor */
- private ConnectingIOReactor ioReactor = null;
+ private DefaultConnectingIOReactor ioReactor = null;
/** The client handler */
private NHttpClientHandler handler = null;
/** The session request callback that calls back to the message receiver
with errors */
@@ -117,6 +114,19 @@
try {
ioReactor = new DefaultConnectingIOReactor(
NHttpConfiguration.getInstance().getClientIOWorkers(), params);
+ ioReactor.setExceptionHandler(new IOReactorExceptionHandler() {
+ public boolean handle(IOException ioException) {
+ log.warn("System may be unstable: IOReactor encountered a
checked exception : " +
+ ioException.getMessage(), ioException);
+ return true;
+ }
+
+ public boolean handle(RuntimeException runtimeException) {
+ log.warn("System may be unstable: IOReactor encountered a
runtime exception : " +
+ runtimeException.getMessage(), runtimeException);
+ return true;
+ }
+ });
} catch (IOException e) {
log.error("Error starting the IOReactor", e);
}
Modified: webservices/synapse/branches/1.1/pom.xml
URL:
http://svn.apache.org/viewvc/webservices/synapse/branches/1.1/pom.xml?rev=593149&r1=593148&r2=593149&view=diff
==============================================================================
--- webservices/synapse/branches/1.1/pom.xml (original)
+++ webservices/synapse/branches/1.1/pom.xml Thu Nov 8 05:15:24 2007
@@ -228,12 +228,6 @@
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-kernel</artifactId>
<version>${axis2.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-jms_1.1_spec</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.apache.axis2</groupId>
@@ -379,12 +373,6 @@
</dependency>
<dependency>
- <groupId>jms</groupId>
- <artifactId>jms-1.0.2b-spec</artifactId>
- <version>${jms.spec.version}</version>
- </dependency>
-
- <dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>${commons.dbcp.version}</version>
@@ -656,11 +644,6 @@
<version>${httpcore.nio.version}</version>
</dependency>
<dependency>
- <groupId>jms</groupId>
- <artifactId>jms-1.0.2b-spec</artifactId>
- <version>${jms.spec.version}</version>
- </dependency>
- <dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-vfs</artifactId>
<version>${commons.vfs.version}</version>
@@ -858,11 +841,6 @@
<!-- dependencies for Rampart -->
<dependency>
<groupId>bouncycastle</groupId>
- <artifactId>bcprov-jdk13</artifactId>
- <version>${bcprov.jdk13.version}</version>
- </dependency>
- <dependency>
- <groupId>bouncycastle</groupId>
<artifactId>bcprov-jdk15</artifactId>
<version>${bcprov.jdk15.version}</version>
</dependency>
@@ -1005,7 +983,6 @@
<!-- Synapse and related components -->
<synapse.version>1.1</synapse.version>
<httpcore.nio.version>4.0-alpha6</httpcore.nio.version>
- <jms.spec.version>1.0</jms.spec.version>
<commons.dbcp.version>1.2.2</commons.dbcp.version>
<commons.pool.version>1.3</commons.pool.version>
<commons.vfs.version>1.1-587797</commons.vfs.version>
@@ -1032,7 +1009,6 @@
<wss4j.version>1.5.3</wss4j.version>
<opensaml.version>1.1</opensaml.version>
<xmlsec.version>1.4.0</xmlsec.version>
- <bcprov.jdk13.version>132</bcprov.jdk13.version>
<bcprov.jdk15.version>132</bcprov.jdk15.version>
<xerces.version>2.8.1</xerces.version>
Modified:
webservices/synapse/branches/1.1/src/main/release/docs/release_notes.txt
URL:
http://svn.apache.org/viewvc/webservices/synapse/branches/1.1/src/main/release/docs/release_notes.txt?rev=593149&r1=593148&r2=593149&view=diff
==============================================================================
--- webservices/synapse/branches/1.1/src/main/release/docs/release_notes.txt
(original)
+++ webservices/synapse/branches/1.1/src/main/release/docs/release_notes.txt
Thu Nov 8 05:15:24 2007
@@ -30,6 +30,23 @@
7. Known Issues and limitations
+ SYNAPSE-174 - The non-blocking http/s transports cannot handle WS-RM
requests
+ - Caused by the NIO http/s transport being out of sync with the latest
Sandesh2 codebase
+
+ SYNAPSE-170 - VFS transport listener sample - In the response sent via
email, all tags define the same namespace
+ - Caused by an Axis2 Mail transport limitation
+
+ SYNAPSE-161 - Can't persuade Rampart to send certificate serial + issuer -
only either BinaryToken or Identity
+ - Issue related to Apache Rampart
+
+ SYNAPSE-103 - WS-RM not returning response message
+ - related to SYNAPSE-174
+
+ The Synapse JMS implementation supports JMS 1.0.2b, however due to
licensing issues we include
+ the JMS 1.1 spec JAR from Apache Geronimo (geronimo-jms_1.1_spec-1.1.jar)
instead. If you have
+ any issues with JMS 1.0.x, please download the Sun JMS 1.0.2b JAR and
replace supplied JAR from
+ Geronimo.
+
8. Frequently asked questions
* How can I change the default logging level of Synapse?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]