Thanks for the prompt reply.

No, it is not really critical at this point (though if we had to deploy in a
WebSphere appserver container right now, it would be -- but I don't see that
happening real soon if ever -- I am just playing around / "kicking the
tires").  It is just our current "corporate" default, so that was where I
started.

It took a while to confirm it -- I tried "this and that" until I *really*
looked at the error message, and did the "palm to forhead" thing, saying
"Oh, NOW I get it"  8^)

By the way / while we are at it, there are some 1.5 source level
dependencies in StockQuoteClient, because it relies on
Boolean.parseBoolean(String), which is not there in Java 1.4 (equivalent is
Boolean.valueOf(String).booleanValue() ).  That I was able to fix on my own.

Diffs:

C:\PRO\synapse-1.0\samples\axis2Client\src\samples\userguide>diff
stockquoteclient.java.org stockquoteclient.java
134c134
<             if (Boolean.parseBoolean(rest)) {
---
>             if (Boolean.valueOf(rest).booleanValue()) {
138c138
<             if (Boolean.parseBoolean(wsrm)) {
---
>             if (Boolean.valueOf(wsrm).booleanValue()) {
156c156
<                 if (Boolean.parseBoolean(wsrm)) {
---
>                 if (Boolean.valueOf(wsrm).booleanValue()) {
174c174
<                 if (Boolean.parseBoolean(wsrm)) {
---
>                 if (Boolean.valueOf(wsrm).booleanValue()) {

BTW, under 1.5 things are working fine for me -- including independently
stopping and starting the "back end service" and Synapse -- a pretty
important thing to have working, as I'm sure you understand.

Jay Jaeger
Wisconsin DOT

-----Original Message-----
From: Paul Fremantle [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 08, 2007 3:47 PM
To: [email protected]
Subject: Re: Synapse sample #0 issues under JDK 1.4.2


Jay

Thanks very much for the notice. Since you've given such a clear
description I've logged it directly as a JIRA
https://issues.apache.org/jira/browse/SYNAPSE-118

You can track the progress there. We will try to get a fix in for 1.0.1.

Is this an important platform for you?

Paul

On 8/8/07, Jaeger, Jay <[EMAIL PROTECTED]> wrote:
> The quick start guide implies that one should be able to use "JDK or JRE
of
> version 1.4.2 or higher"
>
> However, Synapse appears to have 1.5 dependencies.  In running sample #0,
it
> works the first two times.  However, after the second execution of the
> client, the following appears, and after that Synapse is non-responsive:
>
> [I/O reactor worker thread 4] WARN  LoggingNHttpServiceHandler - HTTP
> connection [/127.0.0.1:1817]: An existing connection was forcibly closed
by
> the remote hos
> t
> java.lang.NoSuchMethodError:
> java.lang.String.contains(Ljava/lang/CharSequence;)Z
>         at
>
org.apache.axis2.transport.nhttp.ServerHandler.exception(ServerHandler.java:
> 278)
>         at
> org.apache.axis2.transport.nhttp.LoggingNHttpServiceHandler.exception
> (LoggingNHttpServiceHandler.java:71)
>         at
>
org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(DefaultNH
> ttpServerConnection.java:116)
>         at
>
org.apache.axis2.transport.nhttp.PlainServerIOEventDispatch.inputReady(Plain
> ServerIOEventDispatch.java:67)
>         at
>
org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:6
> 8)
>         at
>
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIORe
> actor.java:160)
>         at
>
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOR
> eactor.java:145)
>         at
>
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor
> .java:127)
>         at
>
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(Abs
> tractMultiworkerIOReactor.java:153)
>         at java.lang.Thread.run(Thread.java:534)
>
> (and, as I mentioned, the sample no longer works after this until I
restart
> both Synapse and the server hosting the service).
>
> At least part of the problem is that java.lang.String.contains does not
> exist in 1.4 level Java.
>
> (In addition, since the samples (at least #0) require the compiler, the
JRE
> is not sufficient).
>
> Jay
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to