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
> 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

Reply via email to