David Gandy wrote:
Hi,
I found out the reason for the "org.xml.sax.SAXException: No event recorder inside element" error; it was down to having put streaming="on" in my server-config.wsdd file (I believe this was part of the fix for bug AXIS-1323).
I've done a build from the latest source snapshot (having also got the latest HTTPSender.java file), and I no longer get the NoSuchMethod error! I will confirm that it was this update that fixed the issue and let you know.
Unfortunately, as soon as I add the streaming="on" option to my
server-config.wsdd file I get the above error, but I've not had a
chance to investigate this further (I could just be putting it in the
wrong place). Omitting this option means my application works ok (but
slowly when large arrays are returned).
David,
how did you determine that without streaming arrys processing is slower?
what arrays do you send?
in my testing i could only see minimal difference <http://www.extreme.indiana.edu/%7Easlom/bnp/wsperf/> of using or not using of streaming for arrays.
thanks,
alek
I'm going to have to leave this issue for a short while, but hope to be able to pick it up sometime within the next week. Should I get to the bottom of the problem I will let you know.
Thanks for your help to date, it's very much appreciated.
Cheers, David.
-----Original Message-----
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: 04 June 2004 13:08
To: [EMAIL PROTECTED]
Subject: Re: Axis Nightly Builds & Java 1.3/1.4?
David,
See of this patch (http://marc.theaimsgroup.com/?l=axis-dev&m=108635075801815&w=2) fixes your problem.
thanks, dims
On Fri, 4 Jun 2004 10:24:40 +0100, David Gandy <[EMAIL PROTECTED]>
wrote:
I should probably have said before that the error is ocurring in an Applet that is using SOAP (exclusively) to communicate with the server; the server being WebLogic 7 SP4 (on Windows 2000). The applet is running under JRE 1.3.1_09 (Windows XP).
David.
-----Original Message----- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: 03 June 2004 17:28 To: [EMAIL PROTECTED] Subject: Re: Axis Nightly Builds & Java 1.3/1.4?
David,
i checked in a few more changes just now. You may want to try tomorrow
AM's build or get the stuff from CVS directly.
Yes, i run "ant clean all-tests" on JDK1.3, 1.4 and 1.5 Beta2 everyday.
-- dims
On Thu, 3 Jun 2004 17:24:49 +0100, David Gandy <[EMAIL PROTECTED]>
wrote:
Hi,
I've tried the build from the URL you specified (in fact, I'm pretty
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:88)sure it was the version I tried this morning), but I still get the same error.
I should have made it clear in my first email that our application is running in a Java 1.3 environment. I posted my initial message just to
make sure this was a valid thing to do with the latest Axis builds (Axis 1.2 beta certainly seemed to work OK under Java 1.3). Of course,
if Java 1.3 is valid, there's either a problem with my environment, or
the Axis code.
Has anyone run the latest nightly builds of Axis under a Java 1.3 environment?
Cheers, David.
-----Original Message----- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: 03 June 2004 16:08 To: [EMAIL PROTECTED] Subject: Re: Axis Nightly Builds & Java 1.3/1.4?
There's a nightly build at http://cvs.apache.org/dist/axis/nightly/ try that and report any problems.
-- dims
On Thu, 3 Jun 2004 16:02:52 +0100, David Gandy <[EMAIL PROTECTED]>
wrote:
Hi Folks,
Having encountered significant performance issues with passing large
arrays via AXIS, it would appear that the changes for issue AXIS-1323 will probably resolve them for me.
As the changes have been made after the 1.2 beta release, I have tried
downloading the last two nightly builds, but encountered the following
exception when running my application (which works OK with the formal AXIS 1.2 beta release; albeit slowly compared to BEA WebLogic's SOAP
implementation):
java.lang.NoSuchMethodError
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender
.j
av
a:
404)
at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateat
gy
.j
ava:32)
at
org.apache.axis.client.AxisClient.invoke(AxisClient.java:144)at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at
at org.apache.axis.client.Call.invokeEngine(Call.java:2717) at org.apache.axis.client.Call.invoke(Call.java:2700) at org.apache.axis.client.Call.invoke(Call.java:2381) at org.apache.axis.client.Call.invoke(Call.java:2304) at org.apache.axis.client.Call.invoke(Call.java:1765) ... Rest of stack-trace omitted (non-axis classes) ...
If I get the AXIS source from CVS and build it with a 1.4 JDK, I also get the above exception.
However, building AXIS with a 1.3 JDK gets me way past the above exception (I still have problems - "org.xml.sax.SAXException: No event
recorder inside element" - but having never built AXIS before, I have not yet convinced myself this is not of my making).
So, can anyone tell me if AXIS is now only supported with Java 1.4? Or
am I simply missing a trick somewhere? Any help would be much appreciated.
Regards, David.
-- The best way to predict the future is to invent it - Alan Kay
