You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Erik Norgaard <no...@locolomo.org> on 2006/11/06 12:05:28 UTC

[AXIS2] WSDL2Java: OutOfMemoryError: Java heap space

Hi:

I have some wsdl's, using Axis 1 there is no problem creating the stub 
classes, but with Axis 2 (1.0) this fails with the following error:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

All the files required for the creation of stub classes are stored in 
the local directory.

So, I have a couple questions:

- do the stub generated with Axis 1 work with Axis 2?

- how do I correct the above mentioned error?

- if one or more classes needs to be updated, which? and where do I find
   the required versions?

I am aware that this may be caused by other packages used by Axis and 
not really an Axis 2 error, I tried running WSDL2Java with the verbose 
option, but this only lists classes loaded and does not seem to indicate 
if any of the loaded classes caused the error.

Thanks, Erik

-- 
Ph: +34.666334818                      web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [AXIS2] WSDL2Java: OutOfMemoryError: Java heap space

Posted by Erik Norgaard <no...@locolomo.org>.
Thilina Gunarathne wrote:
> We are about to do the Axis2 1.1 release which contains lot of
> improvements over 1.0..
> 
> Please try generating code for your WSDL using the Axis2-1.1-RC2[1]
> which is a preview of what you'll get in 1.1..

Thanks, the memory problem have been resolved, not it complains about an 
error in the WSDL (could be that was what caused the original problem?) 
about some types missing, but that I should be able solve.

Thanks again, Erik

-- 
Ph: +34.666334818                      web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [AXIS2] WSDL2Java: OutOfMemoryError: Java heap space

Posted by Thilina Gunarathne <cs...@gmail.com>.
We are about to do the Axis2 1.1 release which contains lot of
improvements over 1.0..

Please try generating code for your WSDL using the Axis2-1.1-RC2[1]
which is a preview of what you'll get in 1.1..

Thanks,
Thilina

[1] http://apache.org/~thilina/axis2/1.1-RC2

On 11/6/06, Erik Norgaard <no...@locolomo.org> wrote:
> Hi:
>
> I have some wsdl's, using Axis 1 there is no problem creating the stub
> classes, but with Axis 2 (1.0) this fails with the following error:
>
> Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
>
> All the files required for the creation of stub classes are stored in
> the local directory.
>
> So, I have a couple questions:
>
> - do the stub generated with Axis 1 work with Axis 2?
>
> - how do I correct the above mentioned error?
>
> - if one or more classes needs to be updated, which? and where do I find
>    the required versions?
>
> I am aware that this may be caused by other packages used by Axis and
> not really an Axis 2 error, I tried running WSDL2Java with the verbose
> option, but this only lists classes loaded and does not seem to indicate
> if any of the loaded classes caused the error.
>
> Thanks, Erik
>
> --
> Ph: +34.666334818                      web: http://www.locolomo.org
> X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
> Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org