Re: Native Library Not found

2007-10-17 Thread Martin Gainty
+1 agree with chris
(I boosted to 4GB and I dont see any OOM's so getting more RAM always helps)

If you run JConsole you will see your java memory allocation over time (so
you can determine at what time which process is launched and consumes the
most memory)

M--


> Ok,
> I have taken all the posts seriously. I have not ran into a solution. Let
me
> work on the suggestions you provided. I  resolved the OOME , but I am
> worried about scaling users in my server, if  tomcat consumes this much
> memory.  As you said since tomcat is not taking the memory  I will further
> investigate as to why the memory gets used this much. Thanks again for all
> the help provided. Sorry for me being so obtrusive.
>
>
> On 10/17/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
> >
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > Arun,
> >
> > Arun wrote:
> > > I am replying once again, as I thought I need more help on these.
> > >
> > > top - 15:49:32 up 2 days, 21:33,  1 user,  load average: 0.26, 0.28,
> > 0.20
> > > Tasks:  57 total,   2 running,  55 sleeping,   0 stopped,   0 zombie
> > > Cpu(s):  4.5%us,  0.5%sy,  0.0%ni, 94.5%id,  0.0%wa,  0.0%hi,  0.5%si,
> > > 0.0%st
> > > Mem:   2074972k total,  2019180k used,55792k free,   228732k
buffers
> > > Swap:  6072528k total,  108k used,  6072420k free,  1383868k
cached
> > >
> > >   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
> > > 12496 root  18   0  971m 285m  12m S9 14.1 165:55.34 java
> > >  4423 mysql 15   0  129m  28m 5404 S2  1.4  67:49.96 mysqld
> > > 1 root  18   0  2912 1848  524 S0  0.1   0:01.44 init
> > > 2 root  RT   0 000 S0  0.0   0:00.00
migration/0
> > > This is my machines top. I am using tomcat 6 and it has eaten all my
> > memory.
> > > Only 56 Mb reamains.
> >
> > Actually, the java process is only taking 285MB of physical memory. The
> > process has allocated just under 1GB of memory, but is not using it at
> > all (since virtual - resident cannot possibly fit into your 108k of used
> > swap, you can tell that nothing has been swapped-out).
> >
> > Some other process has the rest of your 2GB physical memory tied up. top
> > even tells you that your java process is only taking up 14% of your
> > memory. What's the problem?
> >
> > > I have a 2GB memory. I have added a connection pool
> > > using commons-dbcp and thought that will reduce the probs.
> >
> > How many connections do you have configured? If you were using one
> > connection before, and now you're pooling connections, then you probably
> > are using /more/ memory than before.
> >
> > > As I told there is a [Quartz] scheduler running on every minute.
> > >
> > > Looks
> > > like I have some memory leak.
> >
> > Maybe, maybe not. Does your application eventually crash? If so, how? If
> > you turn off the scheduler, does the memory problem go away? What does
> > Java report as the free/total/ma heap values (hint: look at the
> > java.lang.Runtime class).
> >
> > > Otherwise why does my machine uses this memory
> > > this much. I have an autobuild script running everyday which checkouts
> > from
> > > sourceforge cvs , stops the servers, build it and redeploy and start
> > tomcat.
> >
> > So, you are experiencing an OOM before an entire day goes by? Wow. I've
> > never heard of rolling reboots on non-MS-Windows machines. ;)
> >
> > > I have not used any tweaks in xml.Should I tune the server to
production
> > > mode. What is the solution? Why does not the objects get garbage
> > > collected.?
> >
> > You have received many, /many/ suggestions from other posters as well as
> > myself. You have followed none of them. We ask you to provide more
> > information and you do not. Instead, you notify us that you are trying
> > some other strategy (switching JVM version, etc.). Finally, you changed
> > your PermGen heap allocation and everything was working again.
> >
> > Are you saying that now you are having problems again? Or, are you
> > simply worried about the amount of memory taken by your application?
> > Java applications simply take up a lot of memory. Complex applications
> > take up a lot of memory. Complex Java applications take even /more/
> > memory. Webapps count as complex applications. Maybe you just need a
> > bunch of RAM to run your application. Have you considered that?
> >
> > - -chris
> >
> > -BEGIN PGP SIGNATURE-
> > Version: GnuPG v1.4.7 (MingW32)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> > iD8DBQFHFhOP9CaO5/Lv0PARAtb9AJ9E6a+oOpSMWVDTdyMY2I7RYn5U1QCdHgVO
> > BUSCpyDFzkEBOitqqH2UQgo=
> > =pc4x
> > -END PGP SIGNATURE-
> >
> > -
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Thanks
> Arun George
>


---

Re: Native Library Not found

2007-10-17 Thread Arun
Ok,
I have taken all the posts seriously. I have not ran into a solution. Let me
work on the suggestions you provided. I  resolved the OOME , but I am
worried about scaling users in my server, if  tomcat consumes this much
memory.  As you said since tomcat is not taking the memory  I will further
investigate as to why the memory gets used this much. Thanks again for all
the help provided. Sorry for me being so obtrusive.


On 10/17/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Arun,
>
> Arun wrote:
> > I am replying once again, as I thought I need more help on these.
> >
> > top - 15:49:32 up 2 days, 21:33,  1 user,  load average: 0.26, 0.28,
> 0.20
> > Tasks:  57 total,   2 running,  55 sleeping,   0 stopped,   0 zombie
> > Cpu(s):  4.5%us,  0.5%sy,  0.0%ni, 94.5%id,  0.0%wa,  0.0%hi,  0.5%si,
> > 0.0%st
> > Mem:   2074972k total,  2019180k used,55792k free,   228732k buffers
> > Swap:  6072528k total,  108k used,  6072420k free,  1383868k cached
> >
> >   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
> > 12496 root  18   0  971m 285m  12m S9 14.1 165:55.34 java
> >  4423 mysql 15   0  129m  28m 5404 S2  1.4  67:49.96 mysqld
> > 1 root  18   0  2912 1848  524 S0  0.1   0:01.44 init
> > 2 root  RT   0 000 S0  0.0   0:00.00 migration/0
> > This is my machines top. I am using tomcat 6 and it has eaten all my
> memory.
> > Only 56 Mb reamains.
>
> Actually, the java process is only taking 285MB of physical memory. The
> process has allocated just under 1GB of memory, but is not using it at
> all (since virtual - resident cannot possibly fit into your 108k of used
> swap, you can tell that nothing has been swapped-out).
>
> Some other process has the rest of your 2GB physical memory tied up. top
> even tells you that your java process is only taking up 14% of your
> memory. What's the problem?
>
> > I have a 2GB memory. I have added a connection pool
> > using commons-dbcp and thought that will reduce the probs.
>
> How many connections do you have configured? If you were using one
> connection before, and now you're pooling connections, then you probably
> are using /more/ memory than before.
>
> > As I told there is a [Quartz] scheduler running on every minute.
> >
> > Looks
> > like I have some memory leak.
>
> Maybe, maybe not. Does your application eventually crash? If so, how? If
> you turn off the scheduler, does the memory problem go away? What does
> Java report as the free/total/ma heap values (hint: look at the
> java.lang.Runtime class).
>
> > Otherwise why does my machine uses this memory
> > this much. I have an autobuild script running everyday which checkouts
> from
> > sourceforge cvs , stops the servers, build it and redeploy and start
> tomcat.
>
> So, you are experiencing an OOM before an entire day goes by? Wow. I've
> never heard of rolling reboots on non-MS-Windows machines. ;)
>
> > I have not used any tweaks in xml.Should I tune the server to production
> > mode. What is the solution? Why does not the objects get garbage
> > collected.?
>
> You have received many, /many/ suggestions from other posters as well as
> myself. You have followed none of them. We ask you to provide more
> information and you do not. Instead, you notify us that you are trying
> some other strategy (switching JVM version, etc.). Finally, you changed
> your PermGen heap allocation and everything was working again.
>
> Are you saying that now you are having problems again? Or, are you
> simply worried about the amount of memory taken by your application?
> Java applications simply take up a lot of memory. Complex applications
> take up a lot of memory. Complex Java applications take even /more/
> memory. Webapps count as complex applications. Maybe you just need a
> bunch of RAM to run your application. Have you considered that?
>
> - -chris
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHFhOP9CaO5/Lv0PARAtb9AJ9E6a+oOpSMWVDTdyMY2I7RYn5U1QCdHgVO
> BUSCpyDFzkEBOitqqH2UQgo=
> =pc4x
> -END PGP SIGNATURE-
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Thanks
Arun George


Re: Native Library Not found

2007-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Arun,

Arun wrote:
> I am replying once again, as I thought I need more help on these.
> 
> top - 15:49:32 up 2 days, 21:33,  1 user,  load average: 0.26, 0.28, 0.20
> Tasks:  57 total,   2 running,  55 sleeping,   0 stopped,   0 zombie
> Cpu(s):  4.5%us,  0.5%sy,  0.0%ni, 94.5%id,  0.0%wa,  0.0%hi,  0.5%si,
> 0.0%st
> Mem:   2074972k total,  2019180k used,55792k free,   228732k buffers
> Swap:  6072528k total,  108k used,  6072420k free,  1383868k cached
> 
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
> 12496 root  18   0  971m 285m  12m S9 14.1 165:55.34 java
>  4423 mysql 15   0  129m  28m 5404 S2  1.4  67:49.96 mysqld
> 1 root  18   0  2912 1848  524 S0  0.1   0:01.44 init
> 2 root  RT   0 000 S0  0.0   0:00.00 migration/0
> This is my machines top. I am using tomcat 6 and it has eaten all my memory.
> Only 56 Mb reamains.

Actually, the java process is only taking 285MB of physical memory. The
process has allocated just under 1GB of memory, but is not using it at
all (since virtual - resident cannot possibly fit into your 108k of used
swap, you can tell that nothing has been swapped-out).

Some other process has the rest of your 2GB physical memory tied up. top
even tells you that your java process is only taking up 14% of your
memory. What's the problem?

> I have a 2GB memory. I have added a connection pool
> using commons-dbcp and thought that will reduce the probs.

How many connections do you have configured? If you were using one
connection before, and now you're pooling connections, then you probably
are using /more/ memory than before.

> As I told there is a [Quartz] scheduler running on every minute.
>
> Looks
> like I have some memory leak.

Maybe, maybe not. Does your application eventually crash? If so, how? If
you turn off the scheduler, does the memory problem go away? What does
Java report as the free/total/ma heap values (hint: look at the
java.lang.Runtime class).

> Otherwise why does my machine uses this memory
> this much. I have an autobuild script running everyday which checkouts from
> sourceforge cvs , stops the servers, build it and redeploy and start tomcat.

So, you are experiencing an OOM before an entire day goes by? Wow. I've
never heard of rolling reboots on non-MS-Windows machines. ;)

> I have not used any tweaks in xml.Should I tune the server to production
> mode. What is the solution? Why does not the objects get garbage
> collected.?

You have received many, /many/ suggestions from other posters as well as
myself. You have followed none of them. We ask you to provide more
information and you do not. Instead, you notify us that you are trying
some other strategy (switching JVM version, etc.). Finally, you changed
your PermGen heap allocation and everything was working again.

Are you saying that now you are having problems again? Or, are you
simply worried about the amount of memory taken by your application?
Java applications simply take up a lot of memory. Complex applications
take up a lot of memory. Complex Java applications take even /more/
memory. Webapps count as complex applications. Maybe you just need a
bunch of RAM to run your application. Have you considered that?

- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHFhOP9CaO5/Lv0PARAtb9AJ9E6a+oOpSMWVDTdyMY2I7RYn5U1QCdHgVO
BUSCpyDFzkEBOitqqH2UQgo=
=pc4x
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Native Library Not found

2007-10-17 Thread Arun
I am replying once again, as I thought I need more help on these.

top - 15:49:32 up 2 days, 21:33,  1 user,  load average: 0.26, 0.28, 0.20
Tasks:  57 total,   2 running,  55 sleeping,   0 stopped,   0 zombie
Cpu(s):  4.5%us,  0.5%sy,  0.0%ni, 94.5%id,  0.0%wa,  0.0%hi,  0.5%si,
0.0%st
Mem:   2074972k total,  2019180k used,55792k free,   228732k buffers
Swap:  6072528k total,  108k used,  6072420k free,  1383868k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
12496 root  18   0  971m 285m  12m S9 14.1 165:55.34 java
 4423 mysql 15   0  129m  28m 5404 S2  1.4  67:49.96 mysqld
1 root  18   0  2912 1848  524 S0  0.1   0:01.44 init
2 root  RT   0 000 S0  0.0   0:00.00 migration/0
This is my machines top. I am using tomcat 6 and it has eaten all my memory.
Only 56 Mb reamains. I have a 2GB memory. I have added a connection pool
using commons-dbcp and thought that will reduce the probs. What is your
suggestion. As I told there is a scheduler running on every minute. Looks
like I have some memory leak. Otherwise why does my machine uses this memory
this much. I have an autobuild script running everyday which checkouts from
sourceforge cvs , stops the servers, build it and redeploy and start tomcat.
Yet , today I looked at my machine , and Ah ! here we goes.
I have not used any tweaks in xml.Should I tune the server to production
mode. What is the soultion ? Why does not the objects get garbage
colllected.?



On 10/11/07, Juha Laiho <[EMAIL PROTECTED]> wrote:
>
> Arun wrote:
> > That worked finally with the increase in PermGen space.
>
> > I am a bit concerned about my server memory.
> > See my top (not mine ofcourse)
> >
> > top - 09:38:18 up  9:16,  3 users,  load average: 0.27, 0.18, 0.10
> >   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
> >  9770 root  25   0  491m  93m  35m R  102  4.6   0:13.64 java
> >
> > top - 09:38:33 up  9:16,  3 users,  load average: 0.43, 0.22, 0.11
> >   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
> >  9770 root  25   0  504m 138m  35m R  100  6.8   0:28.66 java
> >
> > top - 09:38:42 up  9:16,  3 users,  load average: 0.52, 0.25, 0.12
> >   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
> >  9770 root  25   0  512m 166m  31m R  100  8.2   0:37.63 java
> >
> > top - 09:39:03 up  9:17,  3 users,  load average: 0.45, 0.25, 0.12
> >   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
> >  9770 root  25   0  529m 175m  31m S   96  8.7   0:41.00 java
> >
> > top - 09:39:21 up  9:17,  3 users,  load average: 0.42, 0.25, 0.13
> >   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
> >  9770 root  25   0  561m 192m  31m S9  9.5   0:47.93 java
> >
> >
> > See Mem: line and see the second one . It rises so fast  . See at what
> rate.
>
> Well, look at the CPU consumption at the same period - so your Tomcat
> is working on something. Looking at the amount of CPU time consumed,
> it could even be still running the application startup (Tomcat by itself
> can take something like 20 seconds of pure CPU time, on some machine
> architectures at least -- and here the CPU time usage is running from
> 13 to 48 seconds - so it's still too early to say whether the rise
> in memory usage will continue or not).
>
> > What is this PermGen space. Why does not it get garbage collected.
>
> PermGen is the holding space for the program code in your currently
> active classes. So, looks like whatever you're using has quite a large
> active codebase.
>
> > Is there anyway  I can tell tomcat to suggest the VM a garbage
> collection
> > more often than the default garbage collection algorithm does. Is there
> any
> > declerative way of doing, xml, .sh?
>
> Even PermGen is cleaned in current JVM versions -- but classes can only
> be unloaded when there's no reference to the class within the JVM.
> And garbage collection overall is done when needed: it is definitely
> done before JVM throws an out of memory error. There's quite a lot of
> tunables for the JVM (including garbage collection), but pretty much
> you should trust the defaults (unless you have experience to actually
> distrust the defaults because of some specific feature in your application
> or runtime environment).
> --
> ..Juha
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Thanks
Arun George


Re: Native Library Not found

2007-10-11 Thread Juha Laiho
Arun wrote:
> That worked finally with the increase in PermGen space.

> I am a bit concerned about my server memory.
> See my top (not mine ofcourse)
> 
> top - 09:38:18 up  9:16,  3 users,  load average: 0.27, 0.18, 0.10
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
>  9770 root  25   0  491m  93m  35m R  102  4.6   0:13.64 java
> 
> top - 09:38:33 up  9:16,  3 users,  load average: 0.43, 0.22, 0.11
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
>  9770 root  25   0  504m 138m  35m R  100  6.8   0:28.66 java
> 
> top - 09:38:42 up  9:16,  3 users,  load average: 0.52, 0.25, 0.12
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
>  9770 root  25   0  512m 166m  31m R  100  8.2   0:37.63 java
> 
> top - 09:39:03 up  9:17,  3 users,  load average: 0.45, 0.25, 0.12
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
>  9770 root  25   0  529m 175m  31m S   96  8.7   0:41.00 java
> 
> top - 09:39:21 up  9:17,  3 users,  load average: 0.42, 0.25, 0.13
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
>  9770 root  25   0  561m 192m  31m S9  9.5   0:47.93 java
> 
> 
> See Mem: line and see the second one . It rises so fast  . See at what rate.

Well, look at the CPU consumption at the same period - so your Tomcat
is working on something. Looking at the amount of CPU time consumed,
it could even be still running the application startup (Tomcat by itself
can take something like 20 seconds of pure CPU time, on some machine
architectures at least -- and here the CPU time usage is running from
13 to 48 seconds - so it's still too early to say whether the rise
in memory usage will continue or not).

> What is this PermGen space. Why does not it get garbage collected.

PermGen is the holding space for the program code in your currently
active classes. So, looks like whatever you're using has quite a large
active codebase.

> Is there anyway  I can tell tomcat to suggest the VM a garbage collection
> more often than the default garbage collection algorithm does. Is there any
> declerative way of doing, xml, .sh?

Even PermGen is cleaned in current JVM versions -- but classes can only
be unloaded when there's no reference to the class within the JVM.
And garbage collection overall is done when needed: it is definitely
done before JVM throws an out of memory error. There's quite a lot of
tunables for the JVM (including garbage collection), but pretty much
you should trust the defaults (unless you have experience to actually
distrust the defaults because of some specific feature in your application
or runtime environment).
-- 
..Juha

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Native Library Not found

2007-10-10 Thread Arun
Why I did not test this before is because, I donot thought this was a
soultion though. Tomorrow another developer add something to the product and
there we go. I will be asked "Hey guy increase the memory of the server,
that may be the problem, last time it was!!". Then I might need to empoy a
guy to do that . ;-)
But now I think some programs just needs more memory..
But I have a question to ask you guys. Should not the tomcat server handle
my webappliations memory request. Its not a huge weapp. Its just a simple
product and my memory request are handled well by my local tomcat.I did not
tweak any xml or .sh, both on my remote server and on my local server.
Is it a reason of different versions of software running. I do not think
there is a compatibility issue with jdk and tomcat anyways. The problem
could be because the default VM setting for tomcat in windows is different
from the default VM settings in Linux. Thats my conclusion after all.



On 10/11/07, Arun <[EMAIL PROTECTED]> wrote:
>
> That worked finally with the increase in PermGen space.
> Filip,
> I am a bit concerned about my server memory.
> See my top (not mine ofcourse)
>
>
>
> top - 09:38:18 up  9:16,  3 users,  load average: 0.27, 0.18, 0.10
> Tasks:  72 total,   2 running,  70 sleeping,   0 stopped,   0 zombie
> Cpu(s): 49.1%us,  2.0%sy,  0.0%ni, 48.9%id,  0.0%wa,  0.0%hi,  0.0%si,
> 0.0%st
> Mem:   2074972k total,   429424k used,  1645548k free,73608k buffers
> Swap:  6072528k total,0k used,  6072528k free,   189848k cached
>
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
>  9770 root  25   0  491m  93m  35m R  102  4.6   0:13.64 java
> 1 root  15   0  2908 1844  524 S0  0.1   0:01.41 init
>
> =
>
> top - 09:38:33 up  9:16,  3 users,  load average: 0.43, 0.22, 0.11
> Tasks:  72 total,   2 running,  70 sleeping,   0 stopped,   0 zombie
> Cpu(s): 48.7%us,  1.5%sy,  0.0%ni, 49.8%id,  0.0%wa,  0.0%hi,  0.0%si,
> 0.0%st
> Mem:   2074972k total,   475488k used,  1599484k free,73632k buffers
> Swap:  6072528k total,0k used,  6072528k free,   189816k cached
>
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
>  9770 root  25   0  504m 138m  35m R  100  6.8   0:28.66 java
> 1 root  15   0  2908 1844  524 S0  0.1   0:01.41 init
>
>
> =
>
> top - 09:38:42 up  9:16,  3 users,  load average: 0.52, 0.25, 0.12
> Tasks:  72 total,   2 running,  70 sleeping,   0 stopped,   0 zombie
> Cpu(s): 48.8%us,  1.0%sy,  0.0%ni, 50.2%id,  0.0%wa,  0.0%hi,  0.0%si,
> 0.0%st
> Mem:   2074972k total,   509384k used,  1565588k free,73648k buffers
> Swap:  6072528k total,0k used,  6072528k free,   189800k cached
>
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
>  9770 root  25   0  512m 166m  31m R  100  8.2   0:37.63 java
> 1 root  15   0  2908 1844  524 S0  0.1   0:01.41 init
>
> ===
>
> top - 09:39:03 up  9:17,  3 users,  load average: 0.45, 0.25, 0.12
> Tasks:  72 total,   1 running,  71 sleeping,   0 stopped,   0 zombie
> Cpu(s): 47.9%us,  0.8%sy,  0.0%ni, 51.1%id,  0.0%wa,  0.0%hi,  0.2%si,
> 0.0%st
> Mem:   2074972k total,   518932k used,  1556040k free,73680k buffers
> Swap:  6072528k total,0k used,  6072528k free,   189784k cached
>
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
>  9770 root  25   0  529m 175m  31m S   96  8.7   0:41.00 java
>  4468 mysql 15   0  127m  27m 5336 S1  1.3   0:14.33 mysqld
>
> 
>
> top - 09:39:21 up  9:17,  3 users,  load average: 0.42, 0.25, 0.13
> Tasks:  72 total,   2 running,  70 sleeping,   0 stopped,   0 zombie
> Cpu(s):  4.7%us,  0.3%sy,  0.0%ni, 95.0%id,  0.0%wa,  0.0%hi,  0.0%si,
> 0.0%st
> Mem:   2074972k total,   536952k used,  1538020k free,73808k buffers
> Swap:  6072528k total,0k used,  6072528k free,   189896k cached
>
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
>  9770 root  25   0  561m 192m  31m S9  9.5   0:47.93 java
>  4468 mysql 15   0  127m  27m 5336 S1  1.3   0:14.90 mysqld
> 1 root  15   0  2908 1844  524 S0  0.1   0:01.41 init
>
>
> See Mem: line and see the second one . It rises so fast  . See at what
> rate.
> 429424k
> 475488k
> 509384k
> 518932k
> 536952k
> So at the end of the day, it will be end of the server :-). End Of Servers
> , can be a new film.
>
> What is this PermGen space. Why does not it get garbage collected.
> Is there anyway  I can tell tomcat to suggest the VM a garbage collection
> more often than the default garbage collection algorithm does. Is there any
> declerative way of doing, xml, .sh?
>
>
>
>
>
> On 10/11/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
> 

Re: Native Library Not found

2007-10-10 Thread Arun
And finally after 2 days of struggle I got my new server up.
Check ibaaz.com, that is what I was trying to bring up. Thanks for the help.
Being said that, I am going to use a heap profiler to see what is happening
in JVMs head.
And see if I can match its intelligence.



On 10/11/07, Arun <[EMAIL PROTECTED]> wrote:
>
> That worked finally with the increase in PermGen space.
> Filip,
> I am a bit concerned about my server memory.
> See my top (not mine ofcourse)
>
>
>
> top - 09:38:18 up  9:16,  3 users,  load average: 0.27, 0.18, 0.10
> Tasks:  72 total,   2 running,  70 sleeping,   0 stopped,   0 zombie
> Cpu(s): 49.1%us,  2.0%sy,  0.0%ni, 48.9%id,  0.0%wa,  0.0%hi,  0.0%si,
> 0.0%st
> Mem:   2074972k total,   429424k used,  1645548k free,73608k buffers
> Swap:  6072528k total,0k used,  6072528k free,   189848k cached
>
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
>  9770 root  25   0  491m  93m  35m R  102  4.6   0:13.64 java
> 1 root  15   0  2908 1844  524 S0  0.1   0:01.41 init
>
> =
>
> top - 09:38:33 up  9:16,  3 users,  load average: 0.43, 0.22, 0.11
> Tasks:  72 total,   2 running,  70 sleeping,   0 stopped,   0 zombie
> Cpu(s): 48.7%us,  1.5%sy,  0.0%ni, 49.8%id,  0.0%wa,  0.0%hi,  0.0%si,
> 0.0%st
> Mem:   2074972k total,   475488k used,  1599484k free,73632k buffers
> Swap:  6072528k total,0k used,  6072528k free,   189816k cached
>
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
>  9770 root  25   0  504m 138m  35m R  100  6.8   0:28.66 java
> 1 root  15   0  2908 1844  524 S0  0.1   0:01.41 init
>
>
> =
>
> top - 09:38:42 up  9:16,  3 users,  load average: 0.52, 0.25, 0.12
> Tasks:  72 total,   2 running,  70 sleeping,   0 stopped,   0 zombie
> Cpu(s): 48.8%us,  1.0%sy,  0.0%ni, 50.2%id,  0.0%wa,  0.0%hi,  0.0%si,
> 0.0%st
> Mem:   2074972k total,   509384k used,  1565588k free,73648k buffers
> Swap:  6072528k total,0k used,  6072528k free,   189800k cached
>
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
>  9770 root  25   0  512m 166m  31m R  100  8.2   0:37.63 java
> 1 root  15   0  2908 1844  524 S0  0.1   0:01.41 init
>
> ===
>
> top - 09:39:03 up  9:17,  3 users,  load average: 0.45, 0.25, 0.12
> Tasks:  72 total,   1 running,  71 sleeping,   0 stopped,   0 zombie
> Cpu(s): 47.9%us,  0.8%sy,  0.0%ni, 51.1%id,  0.0%wa,  0.0%hi,  0.2%si,
> 0.0%st
> Mem:   2074972k total,   518932k used,  1556040k free,73680k buffers
> Swap:  6072528k total,0k used,  6072528k free,   189784k cached
>
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
>  9770 root  25   0  529m 175m  31m S   96  8.7   0:41.00 java
>  4468 mysql 15   0  127m  27m 5336 S1  1.3   0:14.33 mysqld
>
> 
>
> top - 09:39:21 up  9:17,  3 users,  load average: 0.42, 0.25, 0.13
> Tasks:  72 total,   2 running,  70 sleeping,   0 stopped,   0 zombie
> Cpu(s):  4.7%us,  0.3%sy,  0.0%ni, 95.0%id,  0.0%wa,  0.0%hi,  0.0%si,
> 0.0%st
> Mem:   2074972k total,   536952k used,  1538020k free,73808k buffers
> Swap:  6072528k total,0k used,  6072528k free,   189896k cached
>
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
>  9770 root  25   0  561m 192m  31m S9  9.5   0:47.93 java
>  4468 mysql 15   0  127m  27m 5336 S1  1.3   0:14.90 mysqld
> 1 root  15   0  2908 1844  524 S0  0.1   0:01.41 init
>
>
> See Mem: line and see the second one . It rises so fast  . See at what
> rate.
> 429424k
> 475488k
> 509384k
> 518932k
> 536952k
> So at the end of the day, it will be end of the server :-). End Of Servers
> , can be a new film.
>
> What is this PermGen space. Why does not it get garbage collected.
> Is there anyway  I can tell tomcat to suggest the VM a garbage collection
> more often than the default garbage collection algorithm does. Is there any
> declerative way of doing, xml, .sh?
>
>
>
>
>
> On 10/11/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
> >
> > >java.lang.OutOfMemoryError: PermGen space
> >
> > just increase your permgen size
> >
> > -XX:MaxPermSize=256m
> >
> > Filip
> >
> > Arun wrote:
> > > Nope no use. Same error on JDk1.5
> > >
> > > INFO: Server startup in 39569 ms
> > > Oct 10, 2007 11:05:31 PM
> > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandlerprocess
> > > SEVERE: Error reading request, ignored
> > > java.lang.OutOfMemoryError: PermGen space
> > > Exception in thread "http-80-1" java.lang.NullPointerException
> > > at java.util.concurrent.ConcurrentLinkedQueue.offer (
> > > ConcurrentLinkedQueue.java:180)
> > > at
> > >
> > org.apache.coyote.http11.Http11Protocol$Http11Co

Re: Native Library Not found

2007-10-10 Thread Arun
That worked finally with the increase in PermGen space.
Filip,
I am a bit concerned about my server memory.
See my top (not mine ofcourse)



top - 09:38:18 up  9:16,  3 users,  load average: 0.27, 0.18, 0.10
Tasks:  72 total,   2 running,  70 sleeping,   0 stopped,   0 zombie
Cpu(s): 49.1%us,  2.0%sy,  0.0%ni, 48.9%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st
Mem:   2074972k total,   429424k used,  1645548k free,73608k buffers
Swap:  6072528k total,0k used,  6072528k free,   189848k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 9770 root  25   0  491m  93m  35m R  102  4.6   0:13.64 java
1 root  15   0  2908 1844  524 S0  0.1   0:01.41 init

=

top - 09:38:33 up  9:16,  3 users,  load average: 0.43, 0.22, 0.11
Tasks:  72 total,   2 running,  70 sleeping,   0 stopped,   0 zombie
Cpu(s): 48.7%us,  1.5%sy,  0.0%ni, 49.8%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st
Mem:   2074972k total,   475488k used,  1599484k free,73632k buffers
Swap:  6072528k total,0k used,  6072528k free,   189816k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 9770 root  25   0  504m 138m  35m R  100  6.8   0:28.66 java
1 root  15   0  2908 1844  524 S0  0.1   0:01.41 init


=

top - 09:38:42 up  9:16,  3 users,  load average: 0.52, 0.25, 0.12
Tasks:  72 total,   2 running,  70 sleeping,   0 stopped,   0 zombie
Cpu(s): 48.8%us,  1.0%sy,  0.0%ni, 50.2%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st
Mem:   2074972k total,   509384k used,  1565588k free,73648k buffers
Swap:  6072528k total,0k used,  6072528k free,   189800k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 9770 root  25   0  512m 166m  31m R  100  8.2   0:37.63 java
1 root  15   0  2908 1844  524 S0  0.1   0:01.41 init

===

top - 09:39:03 up  9:17,  3 users,  load average: 0.45, 0.25, 0.12
Tasks:  72 total,   1 running,  71 sleeping,   0 stopped,   0 zombie
Cpu(s): 47.9%us,  0.8%sy,  0.0%ni, 51.1%id,  0.0%wa,  0.0%hi,  0.2%si,
0.0%st
Mem:   2074972k total,   518932k used,  1556040k free,73680k buffers
Swap:  6072528k total,0k used,  6072528k free,   189784k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 9770 root  25   0  529m 175m  31m S   96  8.7   0:41.00 java
 4468 mysql 15   0  127m  27m 5336 S1  1.3   0:14.33 mysqld



top - 09:39:21 up  9:17,  3 users,  load average: 0.42, 0.25, 0.13
Tasks:  72 total,   2 running,  70 sleeping,   0 stopped,   0 zombie
Cpu(s):  4.7%us,  0.3%sy,  0.0%ni, 95.0%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st
Mem:   2074972k total,   536952k used,  1538020k free,73808k buffers
Swap:  6072528k total,0k used,  6072528k free,   189896k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 9770 root  25   0  561m 192m  31m S9  9.5   0:47.93 java
 4468 mysql 15   0  127m  27m 5336 S1  1.3   0:14.90 mysqld
1 root  15   0  2908 1844  524 S0  0.1   0:01.41 init


See Mem: line and see the second one . It rises so fast  . See at what rate.
429424k
475488k
509384k
518932k
536952k
So at the end of the day, it will be end of the server :-). End Of Servers ,
can be a new film.

What is this PermGen space. Why does not it get garbage collected.
Is there anyway  I can tell tomcat to suggest the VM a garbage collection
more often than the default garbage collection algorithm does. Is there any
declerative way of doing, xml, .sh?





On 10/11/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
>
> >java.lang.OutOfMemoryError: PermGen space
>
> just increase your permgen size
>
> -XX:MaxPermSize=256m
>
> Filip
>
> Arun wrote:
> > Nope no use. Same error on JDk1.5
> >
> > INFO: Server startup in 39569 ms
> > Oct 10, 2007 11:05:31 PM
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process
> > SEVERE: Error reading request, ignored
> > java.lang.OutOfMemoryError: PermGen space
> > Exception in thread "http-80-1" java.lang.NullPointerException
> > at java.util.concurrent.ConcurrentLinkedQueue.offer(
> > ConcurrentLinkedQueue.java:180)
> > at
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler$1.offer(
> > Http11Protocol.java:530)
> > at
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler$1.offer(
> > Http11Protocol.java:547)
> > at
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> > Http11Protocol.java:611)
> > at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
> > JIoEndpoint.java:447)
> > at java.lang.Thread.run(Thread.java:595)
> > Oct 10, 2007 11:06:29 PM
> > org.apache.coyote.http11.Http11Protocol$Http11Connecti

Re: Native Library Not found

2007-10-10 Thread Filip Hanik - Dev Lists

>java.lang.OutOfMemoryError: PermGen space

just increase your permgen size

-XX:MaxPermSize=256m

Filip

Arun wrote:

Nope no use. Same error on JDk1.5

INFO: Server startup in 39569 ms
Oct 10, 2007 11:05:31 PM
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process
SEVERE: Error reading request, ignored
java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-80-1" java.lang.NullPointerException
at java.util.concurrent.ConcurrentLinkedQueue.offer(
ConcurrentLinkedQueue.java:180)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler$1.offer(
Http11Protocol.java:530)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler$1.offer(
Http11Protocol.java:547)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:611)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Oct 10, 2007 11:06:29 PM
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process
SEVERE: Error reading request, ignored
java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-80-2" java.lang.NullPointerException
at java.util.concurrent.ConcurrentLinkedQueue.offer(
ConcurrentLinkedQueue.java:180)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler$1.offer(
Http11Protocol.java:530)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler$1.offer(
Http11Protocol.java:547)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:611)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Exception in thread "DefaultQuartzScheduler_Worker-3"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_QuartzSchedulerThread"
java.lang.OutOfMemoryError: PermGen space

My server is starting up and OOME is stopping my container.
Oh god it is same with all JDK? Should I try upgrading  tomcat to 6.0.14



On 10/10/07, Arun <[EMAIL PROTECTED]> wrote:
  

Chris,

Let me try installing Jdk1.5 and make same version on both sides. But I
need to use jdk1.6 as I need some of the features.


On 10/10/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Arun,

Arun wrote:
  

Ok,
Help!! I do not have an OutOfMemory erro when running tomcat from


myeclipse.
  

I am running JDK1.5 and tomcat6.

But in my ubuntu I have jdk1.6 and tomcat6.0 and I have an OutOfMemory
problem why?


Compare your memory settings between your Eclipse environment and your
Ubuntu environment. Are they different? What are the specific errors
(which heap is busting?)

  

When the server starts up itself the contianer shuts down and logs the
OutOfMemory error.


Wow, that sucks. Does your application even try to start? Is the
QuartzScheduler running from your own application, or do you have it in
a separate one or something else?

  

But why did not my local tomcat does not complain.?


Uhh... different settings? Different memory sizes? Lots of things.

- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHDRLJ9CaO5/Lv0PARApasAJ9++i+29BbQiS4Pxym/DF/AaayxpgCeIchC
/9NcH97ppRO+BHCufm6QuPQ=
=6+Bb
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  

--
Thanks
Arun George






  



No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.14.6/1060 - Release Date: 10/9/2007 4:43 PM
  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Native Library Not found

2007-10-10 Thread Martin Gainty

send the following files (send as attachments) to me 
offline1)/WEB-INF/applicationContext.xml2)any files that are imported by 
applicationContext.xml3)any files that are imported from each of the imported 
files from step 24)the value clause for the configLocation property for 
hibernate.cfg.xml e.g.  
value>classpath:com/example/jsf/hibernate/example/re/property>5)the contents of 
com/example/jsf/hibernate/example/resources/hibernate.cfg.xml(or whatever the 
value clause points to)6)the value clause for the location of 
hibernate.properties e.g.
 7)the contents of 
com/example/jsf/hibernate/example/resources/hibernate.properties(or whatever 
the value clause actually points to )Mark - Did I miss 
anything?Martin--__Disclaimer and 
confidentiality noteEverything in this e-mail and any attachments relates to 
the official business of Sender. This transmission is of a confidential nature 
and Sender does not endorse distribution to any party other than intended 
recipient. Sender does not necessarily endorse content contained within this 
transmission.> > See my localmachine's tomcat logs> > INFO: JK: ajp13 listening 
on /0.0.0.0:8009> Oct 10, 2007 10:39:06 PM org.apache.jk.server.JkMain start> 
INFO: Jk running ID=0 time=0/60 config=null> Oct 10, 2007 10:39:06 PM 
org.apache.catalina.startup.Catalina start> INFO: Server startup in 31934 ms> 
Hibernate: select count(*) as y0_ from T_CONTENT_CHANNEL this_> Hibernate: 
select count(*) as y0_ from T_CONTENT_CHANNEL this_> Hibernate: select count(*) 
as y0_ from T_CONTENT_CHANNEL this_> Hibernate: select count(*) as y0_ from 
T_CONTENT_CHANNEL this_> Hibernate: select count(*) as y0_ from 
T_CONTENT_CHANNEL this_> Hibernate: select count(*) as y0_ from 
T_CONTENT_CHANNEL this_> Hibernate: select count(*) as y0_ from 
T_CONTENT_CHANNEL this_> Hibernate: select count(*) as y0_ from 
T_CONTENT_CHANNEL this_> Hibernate: select count(*) as y0_ from 
T_CONTENT_CHANNEL this_> Hibernate: select count(*) as y0_ from 
T_CONTENT_CHANNEL this_> Hibernate: select count(*) as y0_ from 
T_CONTENT_CHANNEL this_> Hibernate: select count(*) as y0_ from 
T_CONTENT_CHANNEL this_> Hibernate: select count(*) as y0_ from 
T_CONTENT_CHANNEL this_> Hibernate: select count(*) as y0_ from 
T_CONTENT_CHANNEL this_> Hibernate: select count(*) as y0_ from 
T_CONTENT_CHANNEL this_> Hibernate: select count(*) as y0_ from 
T_CONTENT_CHANNEL this_> Hibernate: select count(*) as y0_ from 
T_CONTENT_CHANNEL this_> > > The rss feed is getting updated into our db every 
minute and see the> hibernate queries running tooo..Oh, what is happening to my 
tomcat in> Ubuntu.> > > Dum DumHELP HELP..> > On 10/11/07, Arun <[EMAIL 
PROTECTED]> wrote:> >> > Nope no use. Same error on JDk1.5> >> > INFO: Server 
startup in 39569 ms> > Oct 10, 2007 11:05:31 PM> > 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process> > 
SEVERE: Error reading request, ignored> > java.lang.OutOfMemoryError: PermGen 
space> > Exception in thread "http-80-1" java.lang.NullPointerException> > at 
java.util.concurrent.ConcurrentLinkedQueue.offer(> > 
ConcurrentLinkedQueue.java:180)> > at> > 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler$1.offer (> > 
Http11Protocol.java:530)> > at> > 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler$1.offer(> > 
Http11Protocol.java:547)> > at> > 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process (> > 
Http11Protocol.java:611)> > at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(> > JIoEndpoint.java:447)> > 
at java.lang.Thread.run(Thread.java:595)> > Oct 10, 2007 11:06:29 PM> > 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process> > 
SEVERE: Error reading request, ignored> > java.lang.OutOfMemoryError: PermGen 
space> > Exception in thread "http-80-2" java.lang.NullPointerException> > at 
java.util.concurrent.ConcurrentLinkedQueue.offer (> > 
ConcurrentLinkedQueue.java:180)> > at> > 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler$1.offer(> > 
Http11Protocol.java:530)> > at> > 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler$1.offer (> > 
Http11Protocol.java:547)> > at> > 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(> > 
Http11Protocol.java:611)> > at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(> > JIoEndpoint.java:447)> > 
at java.lang.Thread.run(Thread.java:595)> > Exception in thread 
"DefaultQuartzScheduler_Worker-3"> > java.lang.OutOfMemoryError: PermGen space> 
> Exception in thread "DefaultQuartzScheduler_QuartzSchedulerThread"> > 
java.lang.OutOfMemoryError: PermGen space> >> > My server is starting up and 
OOME is stopping my container.> > Oh god it is same with all JDK? Should I try 
upgrading tomcat to 6.0.14> >> >> >> > On 10/10/07, Arun <[EMAIL PROTECTED]> 
wrote:> > >> > > Chris,> > >> > > Let me try installing Jdk1.5 and make same 
version on both sides. But I> > > need to use 

Re: Native Library Not found

2007-10-10 Thread Arun
See my localmachine's tomcat logs

INFO: JK: ajp13 listening on /0.0.0.0:8009
Oct 10, 2007 10:39:06 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/60  config=null
Oct 10, 2007 10:39:06 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 31934 ms
Hibernate: select count(*) as y0_ from T_CONTENT_CHANNEL this_
Hibernate: select count(*) as y0_ from T_CONTENT_CHANNEL this_
Hibernate: select count(*) as y0_ from T_CONTENT_CHANNEL this_
Hibernate: select count(*) as y0_ from T_CONTENT_CHANNEL this_
Hibernate: select count(*) as y0_ from T_CONTENT_CHANNEL this_
Hibernate: select count(*) as y0_ from T_CONTENT_CHANNEL this_
Hibernate: select count(*) as y0_ from T_CONTENT_CHANNEL this_
Hibernate: select count(*) as y0_ from T_CONTENT_CHANNEL this_
Hibernate: select count(*) as y0_ from T_CONTENT_CHANNEL this_
Hibernate: select count(*) as y0_ from T_CONTENT_CHANNEL this_
Hibernate: select count(*) as y0_ from T_CONTENT_CHANNEL this_
Hibernate: select count(*) as y0_ from T_CONTENT_CHANNEL this_
Hibernate: select count(*) as y0_ from T_CONTENT_CHANNEL this_
Hibernate: select count(*) as y0_ from T_CONTENT_CHANNEL this_
Hibernate: select count(*) as y0_ from T_CONTENT_CHANNEL this_
Hibernate: select count(*) as y0_ from T_CONTENT_CHANNEL this_
Hibernate: select count(*) as y0_ from T_CONTENT_CHANNEL this_


The rss feed is getting updated into our db every minute and see the
hibernate queries running tooo..Oh, what is happening to my tomcat in
Ubuntu.


Dum DumHELP HELP..

On 10/11/07, Arun <[EMAIL PROTECTED]> wrote:
>
> Nope no use. Same error on JDk1.5
>
> INFO: Server startup in 39569 ms
> Oct 10, 2007 11:05:31 PM
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process
> SEVERE: Error reading request, ignored
> java.lang.OutOfMemoryError: PermGen space
> Exception in thread "http-80-1" java.lang.NullPointerException
> at java.util.concurrent.ConcurrentLinkedQueue.offer(
> ConcurrentLinkedQueue.java:180)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler$1.offer (
> Http11Protocol.java:530)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler$1.offer(
> Http11Protocol.java:547)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process (
> Http11Protocol.java:611)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
> JIoEndpoint.java:447)
> at java.lang.Thread.run(Thread.java:595)
> Oct 10, 2007 11:06:29 PM
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process
> SEVERE: Error reading request, ignored
> java.lang.OutOfMemoryError: PermGen space
> Exception in thread "http-80-2" java.lang.NullPointerException
> at java.util.concurrent.ConcurrentLinkedQueue.offer (
> ConcurrentLinkedQueue.java:180)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler$1.offer(
> Http11Protocol.java:530)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler$1.offer (
> Http11Protocol.java:547)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> Http11Protocol.java:611)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
> JIoEndpoint.java:447)
> at java.lang.Thread.run(Thread.java:595)
> Exception in thread "DefaultQuartzScheduler_Worker-3"
> java.lang.OutOfMemoryError: PermGen space
> Exception in thread "DefaultQuartzScheduler_QuartzSchedulerThread"
> java.lang.OutOfMemoryError: PermGen space
>
> My server is starting up and OOME is stopping my container.
> Oh god it is same with all JDK? Should I try upgrading  tomcat to 6.0.14
>
>
>
> On 10/10/07, Arun <[EMAIL PROTECTED]> wrote:
> >
> > Chris,
> >
> > Let me try installing Jdk1.5 and make same version on both sides. But I
> > need to use jdk1.6 as I need some of the features.
> >
> >
> > On 10/10/07, Christopher Schultz < [EMAIL PROTECTED]> wrote:
> > >
> > > -BEGIN PGP SIGNED MESSAGE-
> > > Hash: SHA1
> > >
> > > Arun,
> > >
> > > Arun wrote:
> > > > Ok,
> > > > Help!! I do not have an OutOfMemory erro when running tomcat from
> > > myeclipse.
> > > > I am running JDK1.5 and tomcat6.
> > > >
> > > > But in my ubuntu I have jdk1.6 and tomcat6.0 and I have an
> > > OutOfMemory
> > > > problem why?
> > >
> > > Compare your memory settings between your Eclipse environment and your
> > >
> > > Ubuntu environment. Are they different? What are the specific errors
> > > (which heap is busting?)
> > >
> > > > When the server starts up itself the contianer shuts down and logs
> > > the
> > > > OutOfMemory error.
> > >
> > > Wow, that sucks. Does your application even try to start? Is the
> > > QuartzScheduler running from your own application, or do you have it
> > > in
> > > a separate one or something else?
> > >
> > > > But why did not my local tomcat does not complain.?
> > >
> > > Uhh... different settings? Different memory sizes? Lots of things.
> > >
> > > - -chris
> > >
> > 

Re: Native Library Not found

2007-10-10 Thread Arun
Nope no use. Same error on JDk1.5

INFO: Server startup in 39569 ms
Oct 10, 2007 11:05:31 PM
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process
SEVERE: Error reading request, ignored
java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-80-1" java.lang.NullPointerException
at java.util.concurrent.ConcurrentLinkedQueue.offer(
ConcurrentLinkedQueue.java:180)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler$1.offer(
Http11Protocol.java:530)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler$1.offer(
Http11Protocol.java:547)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:611)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Oct 10, 2007 11:06:29 PM
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process
SEVERE: Error reading request, ignored
java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-80-2" java.lang.NullPointerException
at java.util.concurrent.ConcurrentLinkedQueue.offer(
ConcurrentLinkedQueue.java:180)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler$1.offer(
Http11Protocol.java:530)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler$1.offer(
Http11Protocol.java:547)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:611)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Exception in thread "DefaultQuartzScheduler_Worker-3"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_QuartzSchedulerThread"
java.lang.OutOfMemoryError: PermGen space

My server is starting up and OOME is stopping my container.
Oh god it is same with all JDK? Should I try upgrading  tomcat to 6.0.14



On 10/10/07, Arun <[EMAIL PROTECTED]> wrote:
>
> Chris,
>
> Let me try installing Jdk1.5 and make same version on both sides. But I
> need to use jdk1.6 as I need some of the features.
>
>
> On 10/10/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
> >
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > Arun,
> >
> > Arun wrote:
> > > Ok,
> > > Help!! I do not have an OutOfMemory erro when running tomcat from
> > myeclipse.
> > > I am running JDK1.5 and tomcat6.
> > >
> > > But in my ubuntu I have jdk1.6 and tomcat6.0 and I have an OutOfMemory
> > > problem why?
> >
> > Compare your memory settings between your Eclipse environment and your
> > Ubuntu environment. Are they different? What are the specific errors
> > (which heap is busting?)
> >
> > > When the server starts up itself the contianer shuts down and logs the
> > > OutOfMemory error.
> >
> > Wow, that sucks. Does your application even try to start? Is the
> > QuartzScheduler running from your own application, or do you have it in
> > a separate one or something else?
> >
> > > But why did not my local tomcat does not complain.?
> >
> > Uhh... different settings? Different memory sizes? Lots of things.
> >
> > - -chris
> >
> > -BEGIN PGP SIGNATURE-
> > Version: GnuPG v1.4.7 (MingW32)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> > iD8DBQFHDRLJ9CaO5/Lv0PARApasAJ9++i+29BbQiS4Pxym/DF/AaayxpgCeIchC
> > /9NcH97ppRO+BHCufm6QuPQ=
> > =6+Bb
> > -END PGP SIGNATURE-
> >
> > -
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Thanks
> Arun George




-- 
Thanks
Arun George


RE: Native Library Not found

2007-10-10 Thread Caldarale, Charles R
> From: Arun [mailto:[EMAIL PROTECTED] 
> Subject: Re: Native Library Not found
> 
> *Exception in thread "DefaultQuartzScheduler_Worker-1"
> java.lang.OutOfMemoryError: PermGen space

To quote from the Tomcat FAQ (http://tomcat.apache.org/faq/memory.html):

"If you have a lot of servlets or JSP's, you may need to increase your
permanent generation. By default, it is 64MB. Doubling it to be
-XX:MaxPermSize=256m might be a good start."

Other than the author's apparent unfamiliarity with the meaning of
"double", it's good advice.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Native Library Not found

2007-10-10 Thread Arun
Chris,

Let me try installing Jdk1.5 and make same version on both sides. But I need
to use jdk1.6 as I need some of the features.


On 10/10/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Arun,
>
> Arun wrote:
> > Ok,
> > Help!! I do not have an OutOfMemory erro when running tomcat from
> myeclipse.
> > I am running JDK1.5 and tomcat6.
> >
> > But in my ubuntu I have jdk1.6 and tomcat6.0 and I have an OutOfMemory
> > problem why?
>
> Compare your memory settings between your Eclipse environment and your
> Ubuntu environment. Are they different? What are the specific errors
> (which heap is busting?)
>
> > When the server starts up itself the contianer shuts down and logs the
> > OutOfMemory error.
>
> Wow, that sucks. Does your application even try to start? Is the
> QuartzScheduler running from your own application, or do you have it in
> a separate one or something else?
>
> > But why did not my local tomcat does not complain.?
>
> Uhh... different settings? Different memory sizes? Lots of things.
>
> - -chris
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHDRLJ9CaO5/Lv0PARApasAJ9++i+29BbQiS4Pxym/DF/AaayxpgCeIchC
> /9NcH97ppRO+BHCufm6QuPQ=
> =6+Bb
> -END PGP SIGNATURE-
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Thanks
Arun George


Re: Native Library Not found

2007-10-10 Thread Arun
Chris,

I do not have any additional memory add ons  on JAVA_OPTS on both sides.
My Quartz scheduler is a spring bean and works from inside the weapp on both
sides.
My app starts and works well in myeclipse' tomcat. I have given the start
logs, at the beginning of the mail. Will put here once more.
[EMAIL PROTECTED]:~# pkill -9 java
[EMAIL PROTECTED]:~# catalina run
Using CATALINA_BASE:   /usr/local/bin/apache-tomcat-6.0.13
Using CATALINA_HOME:   /usr/local/bin/apache- tomcat-6.0.13
Using CATALINA_TMPDIR: /usr/local/bin/apache-tomcat-6.0.13/temp
Using JRE_HOME:   /usr/local/bin/jdk1.6.0_01
Oct 10, 2007 2:00:51 PM org.apache.catalina.core.AprLifecycleListener init
*INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path:
/usr/local/bin/jdk1.6.0_01/jre/lib/i386/client:/usr/local/bin/jdk1.6.0_01/jre/lib/i386:/usr/local/bin/jdk1.6.0_01/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib

Oct 10, 2007 2:00:51 PM org.apache.coyote.http11.Http11Protocol init
*INFO: Initializing Coyote HTTP/1.1 on http-80
Oct 10, 2007 2:00:51 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 522 ms
Oct 10, 2007 2:00:51 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 10, 2007 2:00:51 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
log4j:WARN No such property [append] in org.apache.log4j.ConsoleAppender.
log4j:WARN No such property [file] in org.apache.log4j.ConsoleAppender.
Oct 10, 2007 2:00:57 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
log4j:WARN No such property [append] in org.apache.log4j.ConsoleAppender.
log4j:WARN No such property [file] in org.apache.log4j.ConsoleAppender.
Oct 10, 2007 2:01:04 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Oct 10, 2007 2:01:05 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Oct 10, 2007 2:01:05 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
log4j:WARN No such property [append] in org.apache.log4j.ConsoleAppender.
log4j:WARN No such property [file] in org.apache.log4j.ConsoleAppender.
Oct 10, 2007 2:01:11 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
log4j:WARN No such property [append] in org.apache.log4j.ConsoleAppender .
log4j:WARN No such property [file] in org.apache.log4j.ConsoleAppender.
Oct 10, 2007 2:01:18 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Oct 10, 2007 2:01:19 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Oct 10, 2007 2:01:19 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
log4j:WARN No such property [append] in org.apache.log4j.ConsoleAppender.
log4j:WARN No such property [file] in org.apache.log4j.ConsoleAppender.
Oct 10, 2007 2:01:26 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-80
Oct 10, 2007 2:01:26 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Oct 10, 2007 2:01:26 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31  config=null
Oct 10, 2007 2:01:26 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 34948 ms
*Exception in thread "DefaultQuartzScheduler_Worker-1"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_Worker-1"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_Worker-1"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_Worker-1"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_Worker-2"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]"
java.lang.OutOfMemoryError: PermGen space
*

On my localmachine I am using Jdk1.5.0_04 and tomcat6.0.14.
On my server machine I am using jdk1.6.0_01 and apache-tomcat-6.0.13.




On 10/10/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Arun,
>
> Arun wrote:
> > Ok,
> > Help!! I do not have an OutOfMemory erro when running tomcat from
> myeclipse.
> > I am running JDK1.5 and tomcat6.
> >
> > But in my ubuntu I have jdk1.6 and tomcat6.0 and I have an OutOfMemory
> > problem why?
>
> Compare your memory settings between your Eclipse environment and your
> Ubuntu environment. Are they different? What are the specific errors
> (which heap is busting?)
>
> > When the server starts up itself the contianer shuts down and logs the
> > OutOfMemory error.
>
> Wow, that sucks. Does your application even try to start? Is the
> Qu

Re: Native Library Not found

2007-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Arun,

Arun wrote:
> Ok,
> Help!! I do not have an OutOfMemory erro when running tomcat from myeclipse.
> I am running JDK1.5 and tomcat6.
> 
> But in my ubuntu I have jdk1.6 and tomcat6.0 and I have an OutOfMemory
> problem why?

Compare your memory settings between your Eclipse environment and your
Ubuntu environment. Are they different? What are the specific errors
(which heap is busting?)

> When the server starts up itself the contianer shuts down and logs the
> OutOfMemory error.

Wow, that sucks. Does your application even try to start? Is the
QuartzScheduler running from your own application, or do you have it in
a separate one or something else?

> But why did not my local tomcat does not complain.?

Uhh... different settings? Different memory sizes? Lots of things.

- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHDRLJ9CaO5/Lv0PARApasAJ9++i+29BbQiS4Pxym/DF/AaayxpgCeIchC
/9NcH97ppRO+BHCufm6QuPQ=
=6+Bb
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Native Library Not found

2007-10-10 Thread Arun
Ok,
Help!! I do not have an OutOfMemory erro when running tomcat from myeclipse.
I am running JDK1.5 and tomcat6.

But in my ubuntu I have jdk1.6 and tomcat6.0 and I have an OutOfMemory
problem why?
When the server starts up itself the contianer shuts down and logs the
OutOfMemory error.
But why did not my local tomcat does not complain.?



On 10/10/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> > From: Arun [mailto:[EMAIL PROTECTED]
> > Subject: Re: Native Library Not found
> >
> > Why does my container thread gets shutdown.
>
> Because it ran out of memory - that should be obvious.
>
> > Is there anyway I can stop that.
>
> Fix your memory leak.
>
> > I tried using the profiler webapp(Lamda Probe).
>
> Lambda Probe is not a heap profiler.  You can use hprof (built into the
> JVM) or one of the many free or expensive ones available.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Thanks
Arun George


RE: Native Library Not found

2007-10-10 Thread Caldarale, Charles R
> From: Arun [mailto:[EMAIL PROTECTED] 
> Subject: Re: Native Library Not found
> 
> Why does my container thread gets shutdown.

Because it ran out of memory - that should be obvious.

> Is there anyway I can stop that.

Fix your memory leak.

> I tried using the profiler webapp(Lamda Probe).

Lambda Probe is not a heap profiler.  You can use hprof (built into the
JVM) or one of the many free or expensive ones available.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Native Library Not found

2007-10-10 Thread Eric Fu
fsdfs

-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED] 
Sent: 2007年10月10日 23:12
To: Tomcat Users List
Subject: RE: Native Library Not found


Hello ArunConfirm your environment is identical between 2Ubuntu has same
jvm/jre, same JAVA_OPTS, same RAM as dev boxTake a look at Jprobe that chuck
suggested earlier to determine which class/method is consuming memory
without release
http://www.javaperformancetuning.com/tools/jprobe/index.shtmlMartin--___
___Disclaimer and confidentiality
noteEverything in this e-mail and any attachments relates to the official
business of Sender. This transmission is of a confidential nature and Sender
does not endorse distribution to any party other than intended recipient.
Sender does not necessarily endorse content contained within this
transmission.> > Why does my container thread gets shutdown.Is there anyway
I can stop that.> I tried using the profiler webapp(Lamda Probe). But Since
the container> shuts down I am not able to use that.> > On 10/10/07,
Caldarale, Charles R <[EMAIL PROTECTED]> wrote:> >> > > Wrom:
EPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCM
HVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMY
XOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIY
ZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESK
PNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOK
STTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXX
IMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUW
LSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJ
BLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZI
DREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJV
TLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFV
WRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOH
MKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQ; MATERIAL
and is thus for use only by the intended recipient. If you> > received this
in error, please contact the sender and delete the e-mail> > and its
attachments from all computers.> >> >
-> > To
start a new topic, e-mail: users@tomcat.apache.org> > To unsubscribe,
e-mail: [EMAIL PROTECTED]> > For additional commands,
e-mail: [EMAIL PROTECTED]> >> >> > > -- > Thanks> Arun George
_
Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Native Library Not found

2007-10-10 Thread Martin Gainty

Hello ArunConfirm your environment is identical between 2Ubuntu has same 
jvm/jre, same JAVA_OPTS, same RAM as dev boxTake a look at Jprobe that chuck 
suggested earlier to determine which class/method is consuming memory without 
release
http://www.javaperformancetuning.com/tools/jprobe/index.shtmlMartin--__Disclaimer
 and confidentiality noteEverything in this e-mail and any attachments relates 
to the official business of Sender. This transmission is of a confidential 
nature and Sender does not endorse distribution to any party other than 
intended recipient. Sender does not necessarily endorse content contained 
within this transmission.> > Why does my container thread gets shutdown.Is 
there anyway I can stop that.> I tried using the profiler webapp(Lamda Probe). 
But Since the container> shuts down I am not able to use that.> > On 10/10/07, 
Caldarale, Charles R <[EMAIL PROTECTED]> wrote:> >> > > Wrom: 
EPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQ;
 MATERIAL and is thus for use only by the intended recipient. If you> > 
received this in error, please contact the sender and delete the e-mail> > and 
its attachments from all computers.> >> > 
-> > To 
start a new topic, e-mail: users@tomcat.apache.org> > To unsubscribe, e-mail: 
[EMAIL PROTECTED]> > For additional commands, e-mail: [EMAIL PROTECTED]> >> >> 
> > -- > Thanks> Arun George
_
Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us

Re: Native Library Not found

2007-10-10 Thread Arun
Why does my container thread gets shutdown.Is there anyway I can stop that.
I tried using the profiler webapp(Lamda Probe). But Since the container
shuts down I am not able to use that.

On 10/10/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> > From: Arun [mailto:[EMAIL PROTECTED]
> > Subject: Native Library Not found
> >
> > INFO: The Apache Tomcat Native library which allows optimal
> > performance in production environments was not found on the
> > java.library.path:
>
> That's just an informational message indicating that APR is not
> installed.  Unless your CPUs are very, very busy, you don't need it.  To
> turn off the message, just comment out the APR listener in Tomcat's
> server.xml file.
>
> > I am getting an outofmemory error on running QuartzScheduler.
>
> As others have stated, not using APR is unrelated to your OOME.  Fix the
> memory leak in your webapp.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Thanks
Arun George


Re: Native Library Not found

2007-10-10 Thread Arun
I am running it on an unbunt machine. I do not get the OutOfMemory error on
my development machine which is Windows. I think as somebody else has said
that a profiler is a good way to start with.
I am running my tomcat from a putty. Can you give me an idea of which
profiler I can use.
Will the profiler be running as another webapp? If so can you suggest some
of them.


On 10/10/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> > From: Arun [mailto:[EMAIL PROTECTED]
> > Subject: Native Library Not found
> >
> > INFO: The Apache Tomcat Native library which allows optimal
> > performance in production environments was not found on the
> > java.library.path:
>
> That's just an informational message indicating that APR is not
> installed.  Unless your CPUs are very, very busy, you don't need it.  To
> turn off the message, just comment out the APR listener in Tomcat's
> server.xml file.
>
> > I am getting an outofmemory error on running QuartzScheduler.
>
> As others have stated, not using APR is unrelated to your OOME.  Fix the
> memory leak in your webapp.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Thanks
Arun George


RE: Native Library Not found

2007-10-10 Thread Caldarale, Charles R
> From: Arun [mailto:[EMAIL PROTECTED] 
> Subject: Native Library Not found
> 
> INFO: The Apache Tomcat Native library which allows optimal 
> performance in production environments was not found on the
> java.library.path:

That's just an informational message indicating that APR is not
installed.  Unless your CPUs are very, very busy, you don't need it.  To
turn off the message, just comment out the APR listener in Tomcat's
server.xml file.

> I am getting an outofmemory error on running QuartzScheduler. 

As others have stated, not using APR is unrelated to your OOME.  Fix the
memory leak in your webapp.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Native Library Not found

2007-10-10 Thread Arun
Ok, right.
I want to fix this. Looks like it has something to do with tomcat
performance as such.


On 10/10/07, Konstantin Kolinko <[EMAIL PROTECTED]> wrote:
>
> > What is this.
> > I am getting an outofmemory error on running QuartzScheduler. Does this
> has
> > anything to do with that?
>
> No, Apache Tomcat Native library is not related to your out-of-memory
> errors. You may note,
> that the message shows even if you do not have your webapp deployed.
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Thanks
Arun George


Re: Native Library Not found

2007-10-10 Thread Konstantin Kolinko
> What is this.
> I am getting an outofmemory error on running QuartzScheduler. Does this has
> anything to do with that?

No, Apache Tomcat Native library is not related to your out-of-memory
errors. You may note,
that the message shows even if you do not have your webapp deployed.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Native Library Not found

2007-10-10 Thread Arun
This is my full startup log.

[EMAIL PROTECTED]:~# pkill -9 java
[EMAIL PROTECTED]:~# catalina run
Using CATALINA_BASE:   /usr/local/bin/apache-tomcat-6.0.13
Using CATALINA_HOME:   /usr/local/bin/apache-tomcat-6.0.13
Using CATALINA_TMPDIR: /usr/local/bin/apache-tomcat-6.0.13/temp
Using JRE_HOME:   /usr/local/bin/jdk1.6.0_01
Oct 10, 2007 2:00:51 PM org.apache.catalina.core.AprLifecycleListener init
*INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path:
/usr/local/bin/jdk1.6.0_01/jre/lib/i386/client:/usr/local/bin/jdk1.6.0_01/jre/lib/i386:/usr/local/bin/jdk1.6.0_01/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Oct 10, 2007 2:00:51 PM org.apache.coyote.http11.Http11Protocol init
*INFO: Initializing Coyote HTTP/1.1 on http-80
Oct 10, 2007 2:00:51 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 522 ms
Oct 10, 2007 2:00:51 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 10, 2007 2:00:51 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
log4j:WARN No such property [append] in org.apache.log4j.ConsoleAppender.
log4j:WARN No such property [file] in org.apache.log4j.ConsoleAppender.
Oct 10, 2007 2:00:57 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
log4j:WARN No such property [append] in org.apache.log4j.ConsoleAppender.
log4j:WARN No such property [file] in org.apache.log4j.ConsoleAppender.
Oct 10, 2007 2:01:04 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Oct 10, 2007 2:01:05 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Oct 10, 2007 2:01:05 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
log4j:WARN No such property [append] in org.apache.log4j.ConsoleAppender.
log4j:WARN No such property [file] in org.apache.log4j.ConsoleAppender.
Oct 10, 2007 2:01:11 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
log4j:WARN No such property [append] in org.apache.log4j.ConsoleAppender.
log4j:WARN No such property [file] in org.apache.log4j.ConsoleAppender.
Oct 10, 2007 2:01:18 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Oct 10, 2007 2:01:19 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Oct 10, 2007 2:01:19 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
log4j:WARN No such property [append] in org.apache.log4j.ConsoleAppender.
log4j:WARN No such property [file] in org.apache.log4j.ConsoleAppender.
Oct 10, 2007 2:01:26 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-80
Oct 10, 2007 2:01:26 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Oct 10, 2007 2:01:26 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31  config=null
Oct 10, 2007 2:01:26 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 34948 ms
*Exception in thread "DefaultQuartzScheduler_Worker-1"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_Worker-1"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_Worker-1"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_Worker-1"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_Worker-2"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]"
java.lang.OutOfMemoryError: PermGen space
*



On 10/10/07, Arun <[EMAIL PROTECTED]> wrote:
>
> Hi ,
>
> On starting my tomcat 6, it says
>
> INFO: The Apache Tomcat Native library which allows optimal performance in
> production environments was not found on the java.library.path:
> /usr/local/bin/jdk1.6.0_01/jre/lib/i386/client:/usr/local/bin/jdk1.6.0_01/jre/lib/i386:/usr/local/bin/jdk1.6.0_01/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
>
>
> What is this.
> I am getting an outofmemory error on running QuartzScheduler. Does this
> has anything to do with that?
> Quartz scheduler is a equivalent to a cron task in Linux, but integrates
> well with spring.
>
> --
> Thanks
> Arun George
>



-- 
Thanks
Arun George