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 Jyotsna Varma <jy...@yahoo.co.uk> on 2008/06/05 12:21:14 UTC
RE: [Resolved] wsdl2java - java.lang.OutOfMemoryError: Java heap space
I think I have solved this problem by increasing the heap size in netbeans (I am usinf netbeans) conf.
Thank you for your support.
--- On Thu, 5/6/08, Jyotsna Varma <jyotsnasuraj@yahoo.co.uk> wrote:
From: Jyotsna Varma <jyotsnasuraj@yahoo.co.uk>
Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space
To: axis-user@ws.apache.org
Date: Thursday, 5 June, 2008, 3:03 PM
I am getting the java.lang.OutOfMemoryError error when I compile the web application using ant . Why is it ?
--- On Thu, 5/6/08, Sanjay Vivek <Sanjay.Vivek@newcastle.ac.uk> wrote:
From: Sanjay Vivek <Sanjay.Vivek@newcastle.ac.uk>
Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space
To: jyotsnasuraj@yahoo.co.uk
Date: Thursday, 5 June, 2008, 2:27 PM
You can set the heap size for a specific program in the following manner:
java -Xms128m -Xms256m MyClassName
Cheers
Sanjay
From: Jyotsna Varma [mailto:jyotsnasuraj@yahoo.co.uk]
Sent: 05 June 2008 09:37
To: Sanjay Vivek; axis-user@ws.apache.org
Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space
Thanks Sanjay for the reply. I hope this won't affect any other application running ...
--- On Thu, 5/6/08, Sanjay Vivek <Sanjay.Vivek@newcastle.ac.uk> wrote:
From: Sanjay Vivek <Sanjay.Vivek@newcastle.ac.uk>
Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space
To: axis-user@ws.apache.org, jyotsnasuraj@yahoo.co.uk
Date: Thursday, 5 June, 2008, 2:00 PM
You could try cranking up the JVM heap size. For example, set initial heap size to 128M and max heap size to 256M as shown below:
java -Xms128m -Xms256m
Regards
Sanjay
From: Jyotsna Varma [mailto:jyotsnasuraj@yahoo.co.uk]
Sent: 05 June 2008 08:55
To: axis-user@ws.apache.org
Subject: Re: wsdl2java - java.lang.OutOfMemoryError: Java heap space
Hi,
I have copied the stubs created using wsdl2java into the local directory. But when I compile the application, it shows the error : java.lang.OutOfMemoryError: Java heap space.
Can you please tell me is this any work around for this without affecting other applications when we put this application on live environment ? Please help me. I still couldn't access the external application using this.
Thanks,
--- On Wed, 4/6/08, Paul Fremantle <pzfreo@gmail.com> wrote:
From: Paul Fremantle <pzfreo@gmail.com>
Subject: Re: wsdl
To: axis-user@ws.apache.org, jyotsnasuraj@yahoo.co.uk
Date: Wednesday, 4 June, 2008, 5:01 PM
Sorry, I was assuming you had Axis2 (the latest version).
I'm not up to speed on Axis1 so I can't help out with that. Basically
if you get Axis2-bin zipfile, unzip it, and it should become clear. If
you are calling a webservice from your webapp you just need to include
the axis2 libs in the webapp\lib directory.
Paul
On Wed, Jun 4, 2008 at 12:26 PM, Jyotsna Varma <jyotsnasuraj@yahoo.co.uk>
wrote:
>
> Thanks Paul for the quick reply.
>
> I have got axis-bin-1_4. In which directory I should run this ? I have
done
> an advnced installation
>
http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAxisToYourOwnWebapp
>
>
>
> Thank you very much,
>
>
>
> --- On Wed, 4/6/08, Paul Fremantle <pzfreo@gmail.com> wrote:
>
> From: Paul Fremantle <pzfreo@gmail.com>
> Subject: Re: wsdl
> To: axis-user@ws.apache.org, jyotsnasuraj@yahoo.co.uk
> Date: Wednesday, 4 June, 2008, 4:23 PM
>
> You need to run
>
> bin\wsdl2java -uw -uri http://xxxx/url/of/the/.wsdl -o
> directory\where\you\want\the\code\generated
>
> This will create a "stub" which is a class you can embed in your
> application. You simply need to create a new instance of this class
> and then call methods on it, those methods will call the remote
> service.
>
> Paul
>
> On Wed, Jun 4, 2008 at 11:48 AM, Jyotsna Varma
<jyotsnasuraj@yahoo.co.uk>
> wrote:
>> Hi,
>>
>>
>>
>> I am new to the web services and so as to axis. Please help me.
>>
>> I have to show something this week. I have been working to sort this
out
>> since last 4 days.
>>
>> I am sorry to say this.
>>
>>
>>
>> I have an existing web application. To use axis in existing
application,
>>
>> I have done :
>>
>> 1.copy all jars from axis.lib directory
>>
>> 2.copy axis's web.xml servlet params and mapping to to my web.xml
>>
>>
>>
>> I have got a wsdl url from an external application (to be integrated
with
> my
>> application)
>>
>> Now what should I do to use this wsdl to access the external
application ?
>>
>> Please kind enough to me.
>>
>>
>>
>> Many Thanks,
>>
>>
>>
>>
>>
>> ________________________________
>> Sent from Yahoo! Mail.
>> A Smarter Email.
>
>
>
> --
> Paul Fremantle
> Co-Founder and CTO, WSO2
> Apache Synapse PMC Chair
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
> ________________________________
> Sent from Yahoo! Mail.
> A Smarter Email.
--
Paul Fremantle
Co-Founder and CTO, WSO2
Apache Synapse PMC Chair
OASIS WS-RX TC Co-chair
blog: http://pzf.fremantle.org
paul@wso2.com
"Oxygenating the Web Service Platform", www.wso2.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Sent from Yahoo! Mail.
A Smarter Email.
Sent from Yahoo! Mail.
A Smarter Email.
Sent from Yahoo! Mail.
A Smarter Email.
__________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html