axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axis-...@ws.apache.org
Subject [jira] Commented: (AXIS-1567) Client out of memory exception calling webservice with a return string > 1MB
Date Wed, 22 Sep 2004 11:43:40 GMT
The following comment has been added to this issue:

     Author: Guenther Zwetti
    Created: Wed, 22 Sep 2004 4:42 AM
       Body:
Hi!
Sorry. I'll hand in the pieces of information you'll need now:
System: winxp, sp1
Tomcat: 4.1
Java: 1.4.2_04
Axis: 1.1 (download: July, 5th, 2004)

I've also attached a client and the webservice (very easy).

Btw: I've already implemented a lot of webservices with axis
and it has worked great! Unfortunately this is the first time
I've got such a problem.

If you need more pieces of information please tell me.
Thx for your answers in advace.

--> Original Output from local axis installation:

Examining Application Server
Servlet version 2.3 
XML Parser org.apache.xerces.jaxp.SAXParserImpl 
XML ParserLocation an unknown location 

Examining System Properties
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
sun.boot.library.path=C:\Programme\Java\j2re1.4.2_04\bin
java.vm.version=1.4.2_04-b05
java.vm.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
path.separator=;
java.vm.name=Java HotSpot(TM) Client VM
file.encoding.pkg=sun.io
user.country=DE
sun.os.patch.level=
java.vm.specification.name=Java Virtual Machine Specification
user.dir=C:\Programme\eclipse
java.runtime.version=1.4.2_04-b05
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs=C:\Programme\Apache Group\Tomcat 4.1\common\endorsed
os.arch=x86
java.io.tmpdir=C:\Programme\Apache Group\Tomcat 4.1\temp
line.separator=

java.vm.specification.vendor=Sun Microsystems Inc.
user.variant=
java.naming.factory.url.pkgs=org.apache.naming
os.name=Windows XP
sun.java2d.fontpath=
java.library.path=C:\Programme\Java\j2re1.4.2_04\bin"
java.specification.name=Java Platform API Specification
java.class.version=48.0
java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory
os.version=5.1
user.home=C:\Dokumente und Einstellungen\zwetti
user.timezone=Europe/Berlin
catalina.useNaming=true
java.awt.printerjob=sun.awt.windows.WPrinterJob
file.encoding=Cp1252
java.specification.version=1.4
catalina.home=C:\Programme\Apache Group\Tomcat 4.1
user.name=guenther.zwetti
java.class.path=C:\Programme\Apache Group\Tomcat 4.1\bin\bootstrap.jar;C:\Programme\Java\j2re1.4.2_04\lib\tools.jar
java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory
java.vm.specification.version=1.0
sun.arch.data.model=32
java.home=C:\Programme\Java\j2re1.4.2_04
java.specification.vendor=Sun Microsystems Inc.
user.language=de
awt.toolkit=sun.awt.windows.WToolkit
java.vm.info=mixed mode
java.version=1.4.2_04
java.ext.dirs=C:\Programme\Java\j2re1.4.2_04\lib\ext
sun.boot.class.path=C:\Programme\Apache Group\Tomcat 4.1\common\endorsed\xercesImpl.jar;C:\Programme\Apache
Group\Tomcat 4.1\common\endorsed\xmlParserAPIs.jar;C:\Programme\Java\j2re1.4.2_04\lib\rt.jar;C:\Programme\Java\j2re1.4.2_04\lib\i18n.jar;C:\Programme\Java\j2re1.4.2_04\lib\sunrsasign.jar;C:\Programme\Java\j2re1.4.2_04\lib\jsse.jar;C:\Programme\Java\j2re1.4.2_04\lib\jce.jar;C:\Programme\Java\j2re1.4.2_04\lib\charsets.jar;C:\Programme\Java\j2re1.4.2_04\classes
java.vendor=Sun Microsystems Inc.
catalina.base=C:\Programme\Apache Group\Tomcat 4.1
file.separator=\
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
sun.cpu.endian=little
sun.io.unicode.encoding=UnicodeLittle
sun.cpu.isalist=pentium i486 i386


---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1567?page=comments#action_53317

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1567

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1567
    Summary: Client out of memory exception calling webservice with a return string > 1MB
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Axis
 Components: 
             Basic Architecture

   Assignee: 
   Reporter: Guenther Zwetti

    Created: Wed, 22 Sep 2004 3:55 AM
    Updated: Wed, 22 Sep 2004 4:42 AM
Environment: winxp

Description:
I have implemented a very simple webservice which produces
a String return value holding a special XML structure.
The length of this string is about 900kB. When I return this string
the client throws an out of memory exception.
The stubs for the client have been created with wsdl2java.
Are there any size limitations?

Webservice:

	public String loadPersons(int year) {
          // produces a string with size > 1MB
          return myString
        }

Client:

		
	ServiceXLocator location = new ServiceXLocator();
	try {
	   ServiceX service = location.getServiceX(new URL(LOC));	String x = service.loadInventors(2003);
			System.out.println(x);	


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message