Re: java.lang.OutOfMemoryError: PermGen space Axis2 Jboss

2008-08-24 Thread Anthony Bull
Title: java.lang.OutOfMemoryError: PermGen space Axis2 Jboss




The only thing I know there is a problem with is if you hot re-deploy
your services by moving them in and out of the axis2/WEB-INF/services
folder - the PermGen doesn't get cleaned up, so after a certain amount
of hot re-deploys your PermGen runs out. 

Do you have much deployed in your web server - i.e. a lot of Axis 2 web
services and webapps (.war)?  The more you have deployed into your
Tomcat/JBOSS etc, the higher the PermGen requirements.

It is worth setting your PermGen to 128megs (or whatever) and then
running your server for a few days and seeing if at some point it evens
out or if it just keeps on gobbling memory up.

Sairam Vengala wrote:

  
  
  
  Is there any known bug in axis2?
  
  
  From: Sairam
Vengala [mailto:[EMAIL PROTECTED]] 
  Sent: Sunday, August 24, 2008 5:30 PM
  To: axis-user@ws.apache.org
  Subject: RE: java.lang.OutOfMemoryError: PermGen space Axis2
Jboss
  
  
  Thanks Ants. What I understood is if I increase
MaxPermSize from 64 to 128, server will stay longer but crashes at some
point of time.  Anyway, how to turn on garbage collection logging?
   
  Sai
  
  
  From: Anthony
Bull [mailto:[EMAIL PROTECTED]] 
  Sent: Sunday, August 24, 2008 5:23 PM
  To: axis-user@ws.apache.org
  Subject: Re: java.lang.OutOfMemoryError: PermGen space Axis2
Jboss
  
  
Hi Sai,
  
I had the same problem with Tomcat when I had 6 web services deployed
to an Axis 2 (along with other wars running in the Tomcat), and simply
upgraded my Tomcat's PermGen to 128 megabytes.
  
Is your issue that your server is at a certain level above the default
Perm Gen (64 megs) or is it that it continually increases the Perm Gen
without ever levelling off?
  
Perm Gen increases when you load new web services or jars/classes into
your Axis 2 OR if you are hot redeploying your web services or webapps
it will also increase without reclaiming the memory formerly used by
that redeployment.
  
I found it useful to turn on the garbage collection logging where it
tells you what levels your Perm Gen is getting up to.
  
Ants.
  
Sairam Vengala wrote:
  

Hi, 
I have axis2 1.3 web archive deployed in jboss 4.2.2.GA. Server
works fine for few days after start but perm gen memory keep on
increasing and finally it is crashing. I am using JDK 1.5.0_14. I
created web service skeletons using wsdl2java utility and web archive
is in server deploy folder. I have many users accessing this web
service. 
I found these errors in server log. 
2008-08-19 11:19:10,584 ERROR
[org.apache.coyote.http11.Http11Protocol] Error reading request,
ignored 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:17,601 INFO  [STDOUT] [ERROR] PermGen space 
[ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:24,862 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:28,611 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:33,090 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:38,331 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:43,686 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/sso].[action]]
Servlet.service() for servlet action threw exception 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:56,990 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:20:00,080 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:20:36,180 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:20:59,715 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:05,039 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:13,556 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:22,785 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:26,026 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:27,572 ERROR [STDERR] Exception in thread "RMI
RenewClean-[127.0.0.1:1098]" 
2008-08-19 11:21:27,572 ERROR [STDERR] java.lang.OutOfMemoryError:
PermGen space 
2008-08-19 11:22:11,992 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:46,402 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:47,163 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:53,072 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:58,600 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 1

Re: Identified AXIS2 Unexpected Element issue but how do I get this to work with stubs

2008-08-24 Thread Andrew Zielinski

I thought I had fixed the issue but alas that wasn't the case :(

Hi Jeff, I had it declared in the definitions element. I put the prefix in
the schema element and that didn't seem to work either.


Jeff Greif wrote:
> 
> Note that in this snippet, you haven't declared the ca: prefix used
> below.  It could be declared in the definitions element, though.
> 
> Perhaps it would help to declare the ca: prefix in the schema element.
> 
> Jeff
> 
> On Thu, Aug 21, 2008 at 4:35 PM, Andrew Zielinski
> <[EMAIL PROTECTED]> wrote:
>>
>> Here you go. Any help is much appreciated.
>>
>>
>>http://www.w3.org/2001/XMLSchema";
>> targetNamespace="http://online.nielsen.com/ca/api/";>
>>
>>
>>
>>> type="ca:SummaryRequest"/>
>>
>>
>>
>>
>>> type="unsignedLong" nillable="false" />
>>> type="ca:DateRange" nillable="false" />
>>> type="string" minOccurs="0" maxOccurs="1" />
>>> type="ca:Pagination" minOccurs="0"
>> maxOccurs="1" />
>>> type="ca:Sort" minOccurs="0" maxOccurs="1" />
>>> type="string" minOccurs="0"
>> maxOccurs="unbounded"  />
>>
>>
>>
>>
>>
>>
>>> minOccurs="1" maxOccurs="unbounded"
>> />
>>
>>
>>
>>
>>
>>> type="string"/>
>>> type="string"/>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>> type="dateTime"/>
>>> type="dateTime"/>
>>
>>
>>
>>
>>
>>
>>> type="dateTime"/>
>>> type="dateTime" minOccurs="0"
>> maxOccurs="1"/>
>>> type="long"/>
>>> maxOccurs="unbounded"/>
>>
>>
>>
>>
>>
>>> minOccurs="0" maxOccurs="1"/>
>>> maxOccurs="unbounded"/>
>>> type="ca:Metric" maxOccurs="unbounded"/>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>> />
>>> use="optional" />
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Eran Chinthaka-3 wrote:
>>>
>>> Can you share the types section of your WSDL file?
>>>
>>> On Wed, Aug 20, 2008 at 1:42 AM, Andrew Zielinski >> gmail.com> wrote:
>>>

 Hi,

 Like many users I was having issues with 'unexpected element'. With the
 help
 of TCPMon I was able to resolve the issue. Instead of the soap request
 being
 formed like this:

 
 >>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
 ">
 
 http://online.nielsen.com/ca/api/";>
 55
 
 2008-11-01T00:00:00.000+10:00
 2008-11-01T00:00:00.000+10:00
 
 
 
 

 I would need to specify the namespace and prefix in soapenv:Envelope
 like
 this:

 
 >>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
 "
 xmlns:q0="http://online.nielsen.com/ca/api/";>
 
 
 55
 
 2008-11-01T00:00:00.000+10:00
 2008-11-01T00:00:00.000+10:00
 
 
 
 

 My question is, is there anyway to modify the stub request so it is
 like
 the
 second example or is there anything that I would I have to d

RE: java.lang.OutOfMemoryError: PermGen space Axis2 Jboss

2008-08-24 Thread Sairam Vengala
Is there any known bug in axis2?



From: Sairam Vengala [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 24, 2008 5:30 PM
To: axis-user@ws.apache.org
Subject: RE: java.lang.OutOfMemoryError: PermGen space Axis2 Jboss


Thanks Ants. What I understood is if I increase MaxPermSize from 64 to
128, server will stay longer but crashes at some point of time.  Anyway,
how to turn on garbage collection logging?
 
Sai



From: Anthony Bull [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 24, 2008 5:23 PM
To: axis-user@ws.apache.org
Subject: Re: java.lang.OutOfMemoryError: PermGen space Axis2 Jboss


Hi Sai,

I had the same problem with Tomcat when I had 6 web services deployed to
an Axis 2 (along with other wars running in the Tomcat), and simply
upgraded my Tomcat's PermGen to 128 megabytes.

Is your issue that your server is at a certain level above the default
Perm Gen (64 megs) or is it that it continually increases the Perm Gen
without ever levelling off?

Perm Gen increases when you load new web services or jars/classes into
your Axis 2 OR if you are hot redeploying your web services or webapps
it will also increase without reclaiming the memory formerly used by
that redeployment.

I found it useful to turn on the garbage collection logging where it
tells you what levels your Perm Gen is getting up to.

Ants.

Sairam Vengala wrote: 

Hi, 

I have axis2 1.3 web archive deployed in jboss 4.2.2.GA. Server
works fine for few days after start but perm gen memory keep on
increasing and finally it is crashing. I am using JDK 1.5.0_14. I
created web service skeletons using wsdl2java utility and web archive is
in server deploy folder. I have many users accessing this web service. 

I found these errors in server log. 

2008-08-19 11:19:10,584 ERROR
[org.apache.coyote.http11.Http11Protocol] Error reading request, ignored

java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:17,601 INFO  [STDOUT] [ERROR] PermGen space 
[ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:24,862 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:28,611 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:33,090 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:38,331 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:43,686 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/sso].[
action]] Servlet.service() for servlet action threw exception 

java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:56,990 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:20:00,080 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:20:36,180 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:20:59,715 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:05,039 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:13,556 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:22,785 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:26,026 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:27,572 ERROR [STDERR] Exception in thread "RMI
RenewClean-[127.0.0.1:1098]" 
2008-08-19 11:21:27,572 ERROR [STDERR]
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:11,992 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:46,402 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:47,163 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:53,072 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:58,600 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:23:03,478 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:23:18,256 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:23:35,286 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:2

Re: java.lang.OutOfMemoryError: PermGen space Axis2 Jboss

2008-08-24 Thread Anthony Bull
Title: java.lang.OutOfMemoryError: PermGen space Axis2 Jboss




I have used these parameters on Tomcat on Solaris a lot to get the
gc/memory info out:

-verbose:gc -XX:+PrintClassHistogram -XX:+PrintGCDetails 

however, on a Win Tomcat I didn't quite get the same info back (from
memory).

every so often (every garbage collect) you should get similar to the
following printing out.

[Full GC [Tenured: 26904K->26939K(349568K), 0.7611278 secs]
27246K->26939K(519168K), [Perm : 35091K->35091K(35328K)],
0.7613637 secs]

You can then set your Perm gen higher and see if it plateaus at a
certain point - if not there is a chance you've got a memory leak issue
around classloading. 

cheers,
Ants.

Sairam Vengala wrote:

  
  
  
  Thanks Ants. What I understood is if I increase
MaxPermSize from 64 to 128, server will stay longer but crashes at some
point of time.  Anyway, how to turn on garbage collection logging?
   
  Sai
  
  
  From: Anthony
Bull [mailto:[EMAIL PROTECTED]] 
  Sent: Sunday, August 24, 2008 5:23 PM
  To: axis-user@ws.apache.org
  Subject: Re: java.lang.OutOfMemoryError: PermGen space Axis2
Jboss
  
  
Hi Sai,
  
I had the same problem with Tomcat when I had 6 web services deployed
to an Axis 2 (along with other wars running in the Tomcat), and simply
upgraded my Tomcat's PermGen to 128 megabytes.
  
Is your issue that your server is at a certain level above the default
Perm Gen (64 megs) or is it that it continually increases the Perm Gen
without ever levelling off?
  
Perm Gen increases when you load new web services or jars/classes into
your Axis 2 OR if you are hot redeploying your web services or webapps
it will also increase without reclaiming the memory formerly used by
that redeployment.
  
I found it useful to turn on the garbage collection logging where it
tells you what levels your Perm Gen is getting up to.
  
Ants.
  
Sairam Vengala wrote:
  

Hi, 
I have axis2 1.3 web archive deployed in jboss 4.2.2.GA. Server
works fine for few days after start but perm gen memory keep on
increasing and finally it is crashing. I am using JDK 1.5.0_14. I
created web service skeletons using wsdl2java utility and web archive
is in server deploy folder. I have many users accessing this web
service. 
I found these errors in server log. 
2008-08-19 11:19:10,584 ERROR
[org.apache.coyote.http11.Http11Protocol] Error reading request,
ignored 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:17,601 INFO  [STDOUT] [ERROR] PermGen space 
[ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:24,862 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:28,611 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:33,090 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:38,331 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:43,686 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/sso].[action]]
Servlet.service() for servlet action threw exception 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:56,990 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:20:00,080 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:20:36,180 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:20:59,715 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:05,039 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:13,556 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:22,785 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:26,026 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:27,572 ERROR [STDERR] Exception in thread "RMI
RenewClean-[127.0.0.1:1098]" 
2008-08-19 11:21:27,572 ERROR [STDERR] java.lang.OutOfMemoryError:
PermGen space 
2008-08-19 11:22:11,992 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:46,402 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:47,163 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:53,072 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:58,600 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:23:03,478 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:23:18,256 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:23:35,286 INFO  [STDOUT] [ERRO

RE: java.lang.OutOfMemoryError: PermGen space Axis2 Jboss

2008-08-24 Thread Sairam Vengala
Thanks Ants. What I understood is if I increase MaxPermSize from 64 to
128, server will stay longer but crashes at some point of time.  Anyway,
how to turn on garbage collection logging?
 
Sai



From: Anthony Bull [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 24, 2008 5:23 PM
To: axis-user@ws.apache.org
Subject: Re: java.lang.OutOfMemoryError: PermGen space Axis2 Jboss


Hi Sai,

I had the same problem with Tomcat when I had 6 web services deployed to
an Axis 2 (along with other wars running in the Tomcat), and simply
upgraded my Tomcat's PermGen to 128 megabytes.

Is your issue that your server is at a certain level above the default
Perm Gen (64 megs) or is it that it continually increases the Perm Gen
without ever levelling off?

Perm Gen increases when you load new web services or jars/classes into
your Axis 2 OR if you are hot redeploying your web services or webapps
it will also increase without reclaiming the memory formerly used by
that redeployment.

I found it useful to turn on the garbage collection logging where it
tells you what levels your Perm Gen is getting up to.

Ants.

Sairam Vengala wrote: 

Hi, 

I have axis2 1.3 web archive deployed in jboss 4.2.2.GA. Server
works fine for few days after start but perm gen memory keep on
increasing and finally it is crashing. I am using JDK 1.5.0_14. I
created web service skeletons using wsdl2java utility and web archive is
in server deploy folder. I have many users accessing this web service. 

I found these errors in server log. 

2008-08-19 11:19:10,584 ERROR
[org.apache.coyote.http11.Http11Protocol] Error reading request, ignored

java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:17,601 INFO  [STDOUT] [ERROR] PermGen space 
[ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:24,862 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:28,611 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:33,090 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:38,331 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:43,686 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/sso].[
action]] Servlet.service() for servlet action threw exception 

java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:56,990 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:20:00,080 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:20:36,180 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:20:59,715 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:05,039 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:13,556 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:22,785 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:26,026 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:27,572 ERROR [STDERR] Exception in thread "RMI
RenewClean-[127.0.0.1:1098]" 
2008-08-19 11:21:27,572 ERROR [STDERR]
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:11,992 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:46,402 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:47,163 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:53,072 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:58,600 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:23:03,478 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:23:18,256 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:23:35,286 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:23:39,103 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/sso].[
action]] Servlet.service() for servlet action threw exception 

java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:23:42,130 INFO  [STDOUT] [

Re: java.lang.OutOfMemoryError: PermGen space Axis2 Jboss

2008-08-24 Thread Anthony Bull
Title: java.lang.OutOfMemoryError: PermGen space Axis2 Jboss




Hi Sai,

I had the same problem with Tomcat when I had 6 web services deployed
to an Axis 2 (along with other wars running in the Tomcat), and simply
upgraded my Tomcat's PermGen to 128 megabytes.

Is your issue that your server is at a certain level above the default
Perm Gen (64 megs) or is it that it continually increases the Perm Gen
without ever levelling off?

Perm Gen increases when you load new web services or jars/classes into
your Axis 2 OR if you are hot redeploying your web services or webapps
it will also increase without reclaiming the memory formerly used by
that redeployment.

I found it useful to turn on the garbage collection logging where it
tells you what levels your Perm Gen is getting up to.

Ants.

Sairam Vengala wrote:

  
  
   Hi, 
   I have axis2 1.3 web archive deployed in jboss 4.2.2.GA. Server
works fine for few days after start but perm gen memory keep on
increasing and finally it is crashing. I am using JDK 1.5.0_14. I
created web service skeletons using wsdl2java utility and web archive
is in server deploy folder. I have many users accessing this web
service. 
   I found these errors in server log. 
   2008-08-19 11:19:10,584 ERROR
[org.apache.coyote.http11.Http11Protocol] Error reading request,
ignored 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:17,601 INFO  [STDOUT] [ERROR] PermGen space 
[ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:24,862 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:28,611 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:33,090 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:38,331 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:43,686 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/sso].[action]]
Servlet.service() for servlet action threw exception 
   java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:19:56,990 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:20:00,080 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:20:36,180 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:20:59,715 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:05,039 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:13,556 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:22,785 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:26,026 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:21:27,572 ERROR [STDERR] Exception in thread "RMI
RenewClean-[127.0.0.1:1098]" 
2008-08-19 11:21:27,572 ERROR [STDERR] java.lang.OutOfMemoryError:
PermGen space 
2008-08-19 11:22:11,992 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:46,402 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:47,163 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:53,072 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:22:58,600 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:23:03,478 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:23:18,256 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:23:35,286 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:23:39,103 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/sso].[action]]
Servlet.service() for servlet action threw exception 
   java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:23:42,130 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:23:49,407 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/sso].[action]]
Servlet.service() for servlet action threw exception 
   java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:24:12,595 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:24:34,234 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:24:50,732 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:25:31,106 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.OutOfMemoryError: PermGen space 
2008-08-19 11:27:14,271 INFO  [STDOUT] [ERROR] PermGen space 
java.lang.

java.lang.OutOfMemoryError: PermGen space Axis2 Jboss

2008-08-24 Thread Sairam Vengala
> Hi,
> 
> I have axis2 1.3 web archive deployed in jboss 4.2.2.GA. Server works
> fine for few days after start but perm gen memory keep on increasing
> and finally it is crashing. I am using JDK 1.5.0_14. I created web
> service skeletons using wsdl2java utility and web archive is in server
> deploy folder. I have many users accessing this web service. 
> 
> I found these errors in server log. 
> 
> 2008-08-19 11:19:10,584 ERROR
> [org.apache.coyote.http11.Http11Protocol] Error reading request,
> ignored
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:19:17,601 INFO  [STDOUT] [ERROR] PermGen space
> [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:19:24,862 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:19:28,611 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:19:33,090 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:19:38,331 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:19:43,686 ERROR
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/sso]
> .[action]] Servlet.service() for servlet action threw exception
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:19:56,990 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:20:00,080 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:20:36,180 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:20:59,715 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:21:05,039 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:21:13,556 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:21:22,785 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:21:26,026 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:21:27,572 ERROR [STDERR] Exception in thread "RMI
> RenewClean-[127.0.0.1:1098]" 
> 2008-08-19 11:21:27,572 ERROR [STDERR] java.lang.OutOfMemoryError:
> PermGen space
> 2008-08-19 11:22:11,992 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:22:46,402 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:22:47,163 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:22:53,072 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:22:58,600 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:23:03,478 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:23:18,256 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:23:35,286 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:23:39,103 ERROR
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/sso]
> .[action]] Servlet.service() for servlet action threw exception
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:23:42,130 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:23:49,407 ERROR
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/sso]
> .[action]] Servlet.service() for servlet action threw exception
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:24:12,595 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:24:34,234 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:24:50,732 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:25:31,106 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:27:14,271 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:27:44,737 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:27:51,722 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:28:07,269 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:28:09,085 ERROR
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/sso]
> .[action]] Servlet.service() for servlet action threw exception
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:28:46,689 INFO  [STDOUT] [ERROR] PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2008-08-19 11:28:58,449 INFO  [STDOUT] [ERROR] PermGen sp

Problem Retuen Type Of WebService

2008-08-24 Thread shekher awasthi
Hi All,

I am new to webService i have develpoed a webservice in which i am trying to
send the response but i am facing a problem in it.

i have created ajavabean and have defined the return type as ArrayList of
this BEan type..
if i will just use this array list and add simple string values in to it the
webserice is returning the arraylist accurately,but when i am filling the
bean and putting it in the arraylist the webservice is unable to return the
response it is returning null values..

i have even serilised the beans can anybody give me any clue where i am
doing wrong


Thanks in advance

Shekher


Axis https issue

2008-08-24 Thread Madhavaram, Neelima
Hi,

 

I have been using axis for a while and it always worked when posting
service to http site.

But when posted to a secure site, we can see list of services but
clicking on any wsdl link wouldn't work.

When cursor is placed over the wsdl link, we can clearly see that URL is
http://:443/services instead of

https:///services

 

We are using Oracle 10g application server. 

Is it the problem of axis or application server?

 

Can any one help me in this?

 

Thanks,

nmadhava

 



RE: Problems using java annotations

2008-08-24 Thread seriousme

Thanks for your answer.

There is no "services.xml" configuration file, only the ".class" file
deployed in the "pojo" directory.

The purpose of using annotations was to avoid writting the "services.xml"
file.

Is this file mandatory even with annotations in the service implementation ?
Is it possible to put all the necessary configuration informations in the
source file ?

Thanks by advance.
-- 
View this message in context: 
http://www.nabble.com/Problems-using-java-annotations-tp19123613p19130658.html
Sent from the Axis - User mailing list archive at Nabble.com.


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