|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
Re: Native Library Not found+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 <chris@...> 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 > > > Swap: 6072528k total, 108k used, 6072420k free, 1383868k cached > > > > > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > > > 12496 root 18 0 971m 285m 12m S 9 14.1 165:55.34 java > > > 4423 mysql 15 0 129m 28m 5404 S 2 1.4 67:49.96 mysqld > > > 1 root 18 0 2912 1848 524 S 0 0.1 0:01.44 init > > > 2 root RT 0 0 0 0 S 0 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 > > > 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@... > > To unsubscribe, e-mail: users-unsubscribe@... > > For additional commands, e-mail: users-help@... > > > > > > > -- > Thanks > Arun George > --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Native Library Not foundHi ,
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 |
|
|
Re: Native Library Not foundThis is my full startup log.
root@venus:~# pkill -9 java root@venus:~# 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 <arun.george.1981@...> 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 |
|
|
Re: Native Library Not found> 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@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Native Library Not foundOk, right.
I want to fix this. Looks like it has something to do with tomcat performance as such. On 10/10/07, Konstantin Kolinko <knst.kolinko@...> 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@... > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > -- Thanks Arun George |
|
|
RE: Native Library Not found> From: Arun [mailto:arun.george.1981@...]
> 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@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Native Library Not foundI 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 <Chuck.Caldarale@...> wrote: > > > From: Arun [mailto:arun.george.1981@...] > > 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@... > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > -- Thanks Arun George |
|
|
Re: Native Library Not foundWhy 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 <Chuck.Caldarale@...> wrote: > > > From: Arun [mailto:arun.george.1981@...] > > 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@... > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > -- Thanks Arun George |
|
|
RE: Native Library Not foundHello 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 <Chuck.Caldarale@...> 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@...> > To unsubscribe, e-mail: users-unsubscribe@...> > For additional commands, e-mail: users-help@...> >> >> > > -- > Thanks> Arun George _________________________________________________________________ Peek-a-boo FREE Tricks & Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us |
|
|
RE: Native Library Not foundfsdfs
-----Original Message----- From: Martin Gainty [mailto:mgainty@...] 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 <Chuck.Caldarale@...> 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@...> > To unsubscribe, e-mail: users-unsubscribe@...> > For additional commands, e-mail: users-help@...> >> >> > > -- > 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@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: Native Library Not found> From: Arun [mailto:arun.george.1981@...]
> 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@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Native Library Not foundOk,
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 <Chuck.Caldarale@...> wrote: > > > From: Arun [mailto:arun.george.1981@...] > > 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@... > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > -- Thanks Arun George |
|
|
Re: Native Library Not found-----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@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Native Library Not foundChris,
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. root@venus:~# pkill -9 java root@venus:~# 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 <chris@...> 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@... > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > -- Thanks Arun George |
|
|
Re: Native Library Not foundChris,
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 <chris@...> 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@... > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > -- Thanks Arun George |
|
|
RE: Native Library Not found |