Tomcat 5.5 Initial/Maximum memory pool
Hi I'm running Tomcat 5.5 on Windows XP. select Start - Programs - Apache Tomcat 5.5 - Monitor with popup Apache Tomcat Properties window, at the bottom of the window there are Initial memory pool, Maximum memory pool and Thread stack size. These text fields are empty, and so, what are the default values for these fields? What are the valid values we should enter into these fields? -- Hez - 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: Directories in Tomcat 5.5\temp
The Monitor Tomcat is one of the menu items created by Tomcat installer. You can find it from Windows Start - Programs - Apache Tomcat 5.5 - Monitor Tomcat where it's target is pointing to Tomcat 5.5\bin\tomcat5w.exe. My application is using log4j release 1.2.15 and now, I noticed the following suspicious error in stdout_20080423.log (appeared after Tomcat is stopped), log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository. and this INFO message in catalina.2008-04-23.log, 23-Apr-2008 21:06:31 org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: Failed shutdown of Apache Portable Runtime I'm not sure if the above is causing the abrupt termination of Tomcat? On Wed, Apr 23, 2008 at 12:28 AM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: hezjing [mailto:[EMAIL PROTECTED] Subject: Re: Directories in Tomcat 5.5\temp Yes, I'm using antiResourceLocking as shown in Tomcat 5.5\webapps\myapp\META-INF Unless you really, really need that, I'd turn it off. I stopped Tomcat service normally (using Monitor Tomcat). I don't know what that is, but I suspect it's causing an abrupt termination rather than an orderly shutdown. You should be using either the shutdown script or the tomcat5w.exe program to stop the Tomcat service. The following are the steps I performed, The exact same steps (using the tomcat5w.exe program to start/stop the service) work fine for me, and result in an empty temp directory. - 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] -- Hez - 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: Directories in Tomcat 5.5\temp
You may read more about the log4j error at http://marc.info/?l=log4j-userm=120897082320333w=2 So, that seems to be a normal behaviour in Tomcat. Maybe we should conclude that this is an expected side-effect of using antiResourceLocking? :-) On 4/23/08, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: hezjing [mailto:[EMAIL PROTECTED] Subject: Re: Directories in Tomcat 5.5\temp log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository. Not likely to be the problem, but I can't be sure. 23-Apr-2008 21:06:31 org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: Failed shutdown of Apache Portable Runtime This certainly isn't the cause; that's just because you don't have APR installed. - 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] -- Hez - 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: Please unsubscribe me
To unsubscribe, e-mail: [EMAIL PROTECTED] On Tue, Apr 22, 2008 at 2:18 PM, john x [EMAIL PROTECTED] wrote: thanks! -- Hez - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Directories in Tomcat 5.5\temp
Hi I'm developing and testing application (Tomcat 5.5\webapps\myapp) using Tomcat 5.5 on Windows XP. After some times, I notice that there are directories created in Tomcat 5.5\temp 1-myapp, 2-myapp, 3-myapp and etc. These directories are there even after I restarted Tomcat. Can anyone explaines why these directories are created? and why these directories are not being clean-up by Tomcat? -- Hez - 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: Directories in Tomcat 5.5\temp
Hi Chuck Hmmm ... I don't think my web application is explicitly writting anything into the directory. When I look further into these directories, they contain the same (and only) JAR files of my web application, e.g. Tomcat 5.5\temp\0-myapp\WEB-INF\lib\*.jar Tomcat 5.5\temp\1-myapp\WEB-INF\lib\*.jar On Tue, Apr 22, 2008 at 11:09 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: hezjing [mailto:[EMAIL PROTECTED] Subject: Directories in Tomcat 5.5\temp Can anyone explaines why these directories are created? Your webapps are creating them. and why these directories are not being clean-up by Tomcat? Tomcat merely provides the workspace for the webapps; usage of it, including any desired cleanup, is up to the webapps. - 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] -- Hez - 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: Directories in Tomcat 5.5\temp
Yes, I'm using antiResourceLocking as shown in Tomcat 5.5\webapps\myapp\META-INF Context reloadable=true antiJARLocking=true antiResourceLocking=true Manager className=org.apache.catalina.session.PersistentManager saveOnRestart=false / /Context I stopped Tomcat service normally (using Monitor Tomcat). The following are the steps I performed, 1) Stopped Tomcat 5.5 service. 2) Delete all files in Tomcat 5.5\temp\. 3) Started Tomcat 5.5 service. 4) Tomcat created Tomcat 5.5\temp\0-myapp\. 5) Opened IE and load http://localhost:8080/myapp, then closed IE. 6) Stopped Tomcat 5.5 service. 7) Tomcat 5.5\temp\0-myapp still exists On Tue, Apr 22, 2008 at 11:53 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: hezjing [mailto:[EMAIL PROTECTED] Subject: Re: Directories in Tomcat 5.5\temp When I look further into these directories, they contain the same (and only) JAR files of my web application, e.g. Tomcat 5.5\temp\0-myapp\WEB-INF\lib\*.jar Tomcat 5.5\temp\1-myapp\WEB-INF\lib\*.jar You must have antiResourceLocking set to true for those (or possibly all) webapps. Doing so will indeed cause Tomcat to use the temp directory; however, with a normal Tomcat shutdown, these will be removed. Are you terminating Tomcat abnormally, or are you just poking around while it's running? - 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] -- Hez - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5.5 OutOfMemoryError (PermGen space)
Hi I'm developing a web application using Tomcat 5.5.25 and Spring 2.0.7. During the development, I frequently use Ant to create WAR, undeploy and deploy the application to Tomcat. Then simply pressed F5 to refresh IE to reload the application. After some times, my Tomcat will stop responding and the stdout log says OutOfMemoryError! 2007/12/12 23:09:38 ERROR [http-8080-Processor25] StandardContext - Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: PermGen space Caused by: java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1852) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:876) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1208) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at org.hibernate.property.MapAccessor.getSetter(MapAccessor.java:24) at org.hibernate.tuple.entity.DynamicMapEntityTuplizer.buildPropertySetter(DynamicMapEntityTuplizer.java:54) at org.hibernate.tuple.entity.AbstractEntityTuplizer.init(AbstractEntityTuplizer.java:107) at org.hibernate.tuple.entity.DynamicMapEntityTuplizer.init(DynamicMapEntityTuplizer.java:33) at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.init(EntityEntityModeToTuplizerMapping.java:45) at org.hibernate.tuple.entity.EntityMetamodel.init(EntityMetamodel.java:295) at org.hibernate.persister.entity.AbstractEntityPersister.init(AbstractEntityPersister.java:434) at org.hibernate.persister.entity.SingleTableEntityPersister.init(SingleTableEntityPersister.java:109) at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55) at org.hibernate.impl.SessionFactoryImpl.init(SessionFactoryImpl.java:226) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294) at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:805) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:745) at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:134) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1198) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1167) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:285) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) This problem was posted in http://forum.springframework.org/showthread.php?t=47376, but I think it is more appropriate to discuss here. May I know how can I run jvmstats with Tomcat 5.5.25? -- Hez - 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: Refresh JSP in Tomcat 5.5
Hi! Setting reloading=true does not solve the problem :-( Here are the steps I performed, 1) Reinstalled Tomcat 5.5.23 on Windows XP 2) Added the following parameters to JspServlet in Tomcat 5.5\conf\web.xml development=false reloading=true checkInterval=3 3) Started Tomcat service 4) Deployed myapp for first time 5) Accessed myapp from IE 6) Modified the title of Tomcat 5.5\webapps\myapp\index.jsp 7) Accessed myapp from IE after 3 seconds and it is still showing the old title! The Tomcat 5.5\work\Catalina\localhost\myapp\org\apache\jsp\index_jsp.java is still showing the old title. BTW, the reloading parameter is not listed as one of the supporting parameters in the comment of web.xml (?). Do you have any other idea of what could be the problem? On 8/24/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hezjing, hezjing wrote: In Tomcat 5.5\conf\web.xml, I have defined modificationTestInterval=0 and that the context's reloadable=true. Maybe try 'reloading=true' instead? http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGztUh9CaO5/Lv0PARAlA2AKCc1wDd4K8YJlDU8RKImvPhZYX5KwCeI+Hb 6WyJhi9YQsTVkcR+MqFnp2A= =017s -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] -- Hez - 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: Refresh JSP in Tomcat 5.5
Hi! If I understood the comment in web.xml correctly, by default, the JspServlet is initialized with the following parameters development=true modificationTestInterval=4 Aren't this sufficient to reload the JSP after 4 seconds the JSP is updated? On 8/27/07, hezjing [EMAIL PROTECTED] wrote: Hi! Setting reloading=true does not solve the problem :-( Here are the steps I performed, 1) Reinstalled Tomcat 5.5.23 on Windows XP 2) Added the following parameters to JspServlet in Tomcat 5.5\conf\web.xml development=false reloading=true checkInterval=3 3) Started Tomcat service 4) Deployed myapp for first time 5) Accessed myapp from IE 6) Modified the title of Tomcat 5.5\webapps\myapp\index.jsp 7) Accessed myapp from IE after 3 seconds and it is still showing the old title! The Tomcat 5.5\work\Catalina\localhost\myapp\org\apache\jsp\index_jsp.java is still showing the old title. BTW, the reloading parameter is not listed as one of the supporting parameters in the comment of web.xml (?). Do you have any other idea of what could be the problem? On 8/24/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hezjing, hezjing wrote: In Tomcat 5.5\conf\web.xml, I have defined modificationTestInterval=0 and that the context's reloadable=true. Maybe try 'reloading=true' instead? http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGztUh9CaO5/Lv0PARAlA2AKCc1wDd4K8YJlDU8RKImvPhZYX5KwCeI+Hb 6WyJhi9YQsTVkcR+MqFnp2A= =017s -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] -- Hez -- Hez - 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: Refresh JSP in Tomcat 5.5
Hi Tim I do not have Firefox on my computer. Yes, I did do a hard-refreshing and this is what I tried, 1) Closed IE6. 2) From IE6, deleted all offline content and cookies. 3) Accessed myapp from IE6 and it is still showing the old title! .. On 8/27/07, Tim Lee [EMAIL PROTECTED] wrote: I might be completely off course, but... Does the title stay the same (as in your IE case) when you use Firefox as well? If it changes in Firefox, it might be a problem of IE browser caching problem. Have you tried hard-refreshing, or closing the browser and opening again? Timothy Wonil Lee Java Developer Koorong Books (http://www.koorong.com/) http://www.google.com/reader/shared/16849249410805339619 http://timundergod.blogspot.com -Original Message- From: hezjing [mailto:[EMAIL PROTECTED] Sent: Monday, 27 August 2007 1:59 PM To: Tomcat Users List Subject: Re: Refresh JSP in Tomcat 5.5 Hi! Setting reloading=true does not solve the problem :-( Here are the steps I performed, 1) Reinstalled Tomcat 5.5.23 on Windows XP 2) Added the following parameters to JspServlet in Tomcat 5.5\conf\web.xml development=false reloading=true checkInterval=3 3) Started Tomcat service 4) Deployed myapp for first time 5) Accessed myapp from IE 6) Modified the title of Tomcat 5.5\webapps\myapp\index.jsp 7) Accessed myapp from IE after 3 seconds and it is still showing the old title! The Tomcat 5.5\work\Catalina\localhost\myapp\org\apache\jsp\index_jsp.java is still showing the old title. BTW, the reloading parameter is not listed as one of the supporting parameters in the comment of web.xml (?). Do you have any other idea of what could be the problem? On 8/24/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hezjing, hezjing wrote: In Tomcat 5.5\conf\web.xml, I have defined modificationTestInterval=0 and that the context's reloadable=true. Maybe try 'reloading=true' instead? http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGztUh9CaO5/Lv0PARAlA2AKCc1wDd4K8YJlDU8RKImvPhZYX5KwCeI+Hb 6WyJhi9YQsTVkcR+MqFnp2A= =017s -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] -- Hez - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] !DSPAM:46d24c4c35371427112096! - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Hez - 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: Tomcat 5.5.x: Null component
I'm using Tomcat 5.5.23 On 7/13/07, Mark Thomas [EMAIL PROTECTED] wrote: hezjing wrote: The dummy\WEB-INF\classes\log4j.properties contains the following, log4j.rootLogger=ALL, stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{/MM/dd HH:mm:ss} %5p [%t] %C{1} - %m%n I don't see any problem, did I miss anything here? Exact Tomcat version? Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Hez - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5.5.x: Null component
Hi! Got this error when try to start my web application: Jul 12, 2007 2:04:11 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 5329 ms Jul 12, 2007 2:04:26 PM org.apache.commons.modeler.Registry registerComponent SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/dummy,J2EEApplication=none,J2EEServer=none Jul 12, 2007 2:05:21 PM org.apache.catalina.core.ContainerBase backgroundProcess WARNING: Exception processing manager [EMAIL PROTECTED] background process java.lang.NullPointerException at org.apache.log4j.spi.LocationInfo.init(LocationInfo.java:104) at org.apache.log4j.spi.LoggingEvent.getLocationInformation(LoggingEvent.java:191) at org.apache.log4j.helpers.PatternParser$ClassNamePatternConverter.getFullyQualifiedName(PatternParser.java:538) at org.apache.log4j.helpers.PatternParser$NamedPatternConverter.convert(PatternParser.java:511) at org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:64) at org.apache.log4j.PatternLayout.format(PatternLayout.java:503) at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301) at org.apache.log4j.WriterAppender.append(WriterAppender.java:159) at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230) at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65) at org.apache.log4j.Category.callAppenders(Category.java:203) at org.apache.log4j.Category.forcedLog(Category.java:388) at org.apache.log4j.Category.log(Category.java:853) at org.apache.commons.logging.impl.Log4JLogger.debug(Log4JLogger.java:171) at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:677) at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:664) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1285) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559) at java.lang.Thread.run(Unknown Source) Any idea of what could be the problem? -- Hez - 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: Tomcat 5.5.x: Null component
The dummy\WEB-INF\classes\log4j.properties contains the following, log4j.rootLogger=ALL, stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{/MM/dd HH:mm:ss} %5p [%t] %C{1} - %m%n I don't see any problem, did I miss anything here? On 7/12/07, Mark Thomas [EMAIL PROTECTED] wrote: hezjing wrote: Any idea of what could be the problem? An invalid log4j configuration? Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Hez - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Failed to install Tomcat5 service
Hi! I got this error when trying to install Tomcat 5.5.23 on Windows XP: Failed to install Tomcat5 service. Check your settings and permissions Ignore and continue anyway (not recommended)? the above error occurs with these status: .. tomcat-users.xml written Remove folder: C:\Temp\confinstall Using Jvm: C:\Program Files\Java\jre1.5.0_11\bin\client\jvm.dll I abort the installation at this point. After searching the Google, I tried to set the environment variable TEMP and TMP to C:\Temp, but that doesn't help either. When I open the Services (Local) window, I see that there is a service named Apache Tomcat (Apache Tomcat 5.5.23 Server - http://tomcat.apache.org/; ... I think this service is created but not being remove when I abort the Tomcat installation. Please help, thank you! -- Hez - 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: Failed to install Tomcat5 service
Hi! The problem is resolved by deleting Tomcat5 service from Windows XP and redo the Tomcat installation: 1) Start | Run and type cmd in the Open: Click OK. 2) Type: sc delete Tomcat5 3) Reboot the system On 6/14/07, hezjing [EMAIL PROTECTED] wrote: Hi! I got this error when trying to install Tomcat 5.5.23 on Windows XP: Failed to install Tomcat5 service. Check your settings and permissions Ignore and continue anyway (not recommended)? the above error occurs with these status: .. tomcat-users.xml written Remove folder: C:\Temp\confinstall Using Jvm: C:\Program Files\Java\jre1.5.0_11\bin\client\jvm.dll I abort the installation at this point. After searching the Google, I tried to set the environment variable TEMP and TMP to C:\Temp, but that doesn't help either. When I open the Services (Local) window, I see that there is a service named Apache Tomcat (Apache Tomcat 5.5.23 Server - http://tomcat.apache.org/; ... I think this service is created but not being remove when I abort the Tomcat installation. Please help, thank you! -- Hez -- Hez - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]