trustStore details in server.xml
Hi , Is there a way we could mention this in server.xml? Similar to the keyStore. thanks, -sunitha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Connector debug
Hey folks: Is there a way we could attach a debugger to an already running instance of tomcat? JProfiler requires re-start of tomcat. thanks, -sunitha David Dankwerth wrote: Thanks for the help ill have a go at one of these profilers Thanks again David D Allistair Crossley wrote: something like JProfiler or JProbe could help, they show the request processors and which state the threads are in. they even colour them in. Allistair. -Original Message- From: David Dankwerth [mailto:[EMAIL PROTECTED] Sent: 07 December 2004 14:30 To: Tomcat Users List Subject: Re: Connector debug Hi Browsed through 5.5 docs , and yes , they didnt help much. I am trying to find out how many connector threads are running , what are they doing (serving) , how many spare do i have ... I have a feeling (not the best way to describe it) that some threads are not released and i will hit the maxThreads trash hold. Any idea how can i find these details ? Thanks David Allistair Crossley wrote: no tomcat 5.5. docs won't help you. what are you trying to find out? the only way I think you could hope to get tomcat-side ajp logging is via a log4j config, however a tomcat dev is prob. best placed to confirm or reject that. -Original Message- From: David Dankwerth [mailto:[EMAIL PROTECTED] Sent: 07 December 2004 13:58 To: Tomcat Users List Subject: Re: Connector debug Hi Thanks for the answer , i am trying to see what the tomcat side of the connection does rather than what mod_jk does. Are you saying that tomcat 5.5 docs may be more useful ? Thanks David D Allistair Crossley wrote: debug attributes don't do much and are gone in 5.5. to get debugging, configure it at the jk connector side. Alistair. -Original Message- From: David Dankwerth [mailto:[EMAIL PROTECTED] Sent: 07 December 2004 13:49 To: Tomcat Users List Subject: Connector debug Hello I am trying to enable the debug on the AJP connector. (Tomcat 5.0.28) My server.xml contains : Connector port=8009 enableLookups=false redirectPort=8443 debug=11 protocol=AJP/1.3 / However , i cant see anything in the log. Any idea ? Thanks David __ __ This e-mail and its attachments are confidential. If you are not the intended recipient of this e-mail message, please telephone or e-mail us immediately, delete this message from your system and do not read, copy, distribute, disclose or otherwise use this e-mail message and any attachments. Although ri3k believes this e-mail and any attachments to be free of any virus or other defect which may affect your computer, it is the responsibility of the recipient to ensure that it is virus free and ri3k does not accept any responsibility for any loss or damage in any way from its use. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ __ This e-mail and its attachments are confidential. If you are not the intended recipient of this e-mail message, please telephone or e-mail us immediately, delete this message from your system and do not read, copy, distribute, disclose or otherwise use this e-mail message and any attachments. Although ri3k believes this e-mail and any attachments to be free of any virus or other defect which may affect your computer, it is the responsibility of the recipient to ensure that it is virus free and ri3k does not accept any responsibility for any loss or damage in any way from its use. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat auth error?
ERROR [http8443-Processor20] authentication.Credentials (Credentials.java:89) - getCredential: CREDENTIAL_VALUE_NOT_DEFINED for AuthLoginPin Any pointers on where / why this error occurs? Is this internal tomcat error, or JSP error? thanks, -sunitha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
hide source of a page
Hi folks: Can viewing the source code of a page be blocked in tomcat? thanks, -sunitha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Bind errors in 5.0.19
Hey folks: On reboot, tomcat complains that it is not able to Bind to port 8080. I do not see 8080 being used by anything else, with netstat -a Any pointers? thanks, -sunitha ug 16, 2004 1:10:51 PM org.apache.catalina.startup.Catalina load SEVERE: Catalina.start LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use :8080 at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1447) at org.apache.catalina.core.StandardService.initialize(StandardService.java:648) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2416) at org.apache.catalina.startup.Catalina.load(Catalina.java:545) at org.apache.catalina.startup.Catalina.load(Catalina.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397) Aug 16, 2004 1:10:51 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1892 ms Aug 16, 2004 1:10:52 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Aug 16, 2004 1:10:52 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.19 Aug 16, 2004 1:10:52 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Aug 16, 2004 1:10:52 PM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path Aug 16, 2004 1:10:52 PM org.apache.catalina.logger.LoggerBase stop INFO: unregistering logger Catalina:type=Logger,host=localhost Aug 16, 2004 1:10:52 PM org.apache.catalina.logger.LoggerBase stop INFO: unregistering logger Catalina:type=Logger Aug 16, 2004 1:10:52 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stoping http11 protocol on 8080 Catalina:type=ThreadPool,name=http8080 Aug 16, 2004 1:10:52 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stoping http11 protocol on 8443 Catalina:type=ThreadPool,name=http8443 Aug 16, 2004 1:10:52 PM org.apache.catalina.startup.ContextConfig applicationConfig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Bind errors in 5.0.19
No. Filip Hanik - Dev wrote: do you have more than one connector in server.xml on the same port Filip - Original Message - From: Sunitha Kumar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 4:42 PM Subject: Bind errors in 5.0.19 Hey folks: On reboot, tomcat complains that it is not able to Bind to port 8080. I do not see 8080 being used by anything else, with netstat -a Any pointers? thanks, -sunitha ug 16, 2004 1:10:51 PM org.apache.catalina.startup.Catalina load SEVERE: Catalina.start LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use :8080 at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1447) at org.apache.catalina.core.StandardService.initialize(StandardService.java:648) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2416) at org.apache.catalina.startup.Catalina.load(Catalina.java:545) at org.apache.catalina.startup.Catalina.load(Catalina.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397) Aug 16, 2004 1:10:51 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1892 ms Aug 16, 2004 1:10:52 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Aug 16, 2004 1:10:52 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.19 Aug 16, 2004 1:10:52 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Aug 16, 2004 1:10:52 PM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path Aug 16, 2004 1:10:52 PM org.apache.catalina.logger.LoggerBase stop INFO: unregistering logger Catalina:type=Logger,host=localhost Aug 16, 2004 1:10:52 PM org.apache.catalina.logger.LoggerBase stop INFO: unregistering logger Catalina:type=Logger Aug 16, 2004 1:10:52 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stoping http11 protocol on 8080 Catalina:type=ThreadPool,name=http8080 Aug 16, 2004 1:10:52 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stoping http11 protocol on 8443 Catalina:type=ThreadPool,name=http8443 Aug 16, 2004 1:10:52 PM org.apache.catalina.startup.ContextConfig applicationConfig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
LD_ASSUME_KERNEL
Hey folks: Would setting CATALINA_OPTS to -DLD_ASSUME_KERNEL=2.2.5 work? or , should this be set in JAVA_OPTS instead? Also, once tomcat is started with these options, how do I know that it is not using NPTL? thanks -sunitha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Interaction with tomcat shutdown and CATALINA_PID
Hey folks: How do we know that tomcat has shutdown completly? Would the return of bin/shutdown.sh give some indication? The scenario I am seeing here, is : I define a PID file in CATALINA_PID env variable. And, on calling CATALINA_HOME/bin/shutdown.sh, I delete this PID file. However, tomcat is not fully shutdown, and on not seeing this PID file, does not shutdown.. Is there any fix or work around for this? thanks, -sunitha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
5.0.19 Memory Leak?
Hey folks: There was a thread which mentioned that there have been memory leaks in 5.0.19. Is this a known issue? If so, is the recommendation to move to 5.0.25? thanks, -sunitha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat blocked on threads, high CPU
Hey folks: I got a stack dump of all threads in tomcat, when tomcat was not responding, and looks like the TP Monitor is also blocked. I saw GC ( garbage collector ) also blocked. TP-Monitor daemon prio=1 tid=0x088334f8 nid=0x1fcd in Object.wait() [a6b8b000..a6b8b87c] at java.lang.Object.wait(Native Method) - waiting on 0xab7992a0 (a org.apache.tomcat.util.threads.ThreadPool$MonitorRunnabl e) at org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable.run(ThreadPool.java:564) - locked 0xab7992a0 (a org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable) at java.lang.Thread.run(Thread.java:534) TP-Processor4 daemon prio=1 tid=0x088328b8 nid=0x1fcd runnable [a6c0c000..a6c0c87c] at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353) - locked 0xab799328 (a java.net.PlainSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:448) at java.net.ServerSocket.accept(ServerSocket.java:419) at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:312) at org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:613) at org.apache.jk.common.SocketAcceptor.runIt(ChannelSocket.java:810) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688) at java.lang.Thread.run(Thread.java:534) http8443-Processor20 daemon prio=1 tid=0x08812d70 nid=0x1fcd in Object.wait() [a7122000..a712287c] at java.lang.Object.wait(Native Method) - waiting on 0xab769c68 (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) at java.lang.Object.wait(Object.java:429) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:660) - locked 0xab769c68 (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) at java.lang.Thread.run(Thread.java:534) How do I find out what the wait on object is? Any pointers are appreciated. thanks, -sunitha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat error
Yoav: For Run time, can JDK 1.5 work with tomcat 5.0.25 or 5.0.19? thanks, -sunitha Shapira, Yoav wrote: Hi, Make sure you compile the class with JDK 1.4 or earlier, not JDK 1.5. Yoav Shapira Millennium Research Informatics -Original Message- From: Schalk Neethling [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 04, 2004 8:16 AM To: Tomcat Users List Subject: RE: Tomcat error Hey there all I get the following line when running my servlet on Tomcat version 5.0.25: java.lang.UnsupportedClassVersionError: org/volume4/searchEngine/lawSearch (Unsupported major.minor version 49.0) What exactly does this mean and how do I go about fixing this? Thanks! -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Unable to deploy a JSP from tomcat
Folks: I have defined CLASSPATH to have $JAVA_HOME/lib/tools.jar, in catalina.sh However, while deploying my .war file, it fails to find tools.jar. Any pointers? thanks, -sunitha Servlet threw load() exception org.apache.jasper.JasperException: Unable to compile class for JSP No Java compiler was found to compile the generated source for the JSP. This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of the Tomcat server, followed by a Tomcat restart. If using an alternate Java compiler, please check its installation and access path. at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:284) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unable to deploy a JSP from tomcat
Also, looking at documentation at: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html It says, CLASSPATH is ignored. And, tools.jar should have been loaded? * System - This class loader is normally initialized from the contents of the CLASSPATH environment variable. All such classes are visible to both Tomcat internal classes, and to web applications. However, the standard Tomcat 4 startup scripts ($CATALINA_HOME/bin/catalina.sh or %CATALINA_HOME%\bin\catalina.bat) totally ignore the contents of the CLASSPATH environment variable itself, and instead build the System class loader from the following repositories: o $CATALINA_HOME/bin/bootstrap.jar - Contains the main() method that is used to initialize the Tomcat 4 server, and the class loader implementation classes it depends on. o $JAVA_HOME/lib/tools.jar - Contains the javac compiler used to convert JSP pages into servlet classes. Sunitha Kumar wrote: Folks: I have defined CLASSPATH to have $JAVA_HOME/lib/tools.jar, in catalina.sh However, while deploying my .war file, it fails to find tools.jar. Any pointers? thanks, -sunitha Servlet threw load() exception org.apache.jasper.JasperException: Unable to compile class for JSP No Java compiler was found to compile the generated source for the JSP. This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of the Tomcat server, followed by a Tomcat restart. If using an alternate Java compiler, please check its installation and access path. at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:284) -- Sunitha Kumar http://www.cisco.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unable to deploy a JSP from tomcat
Set to Java's j2sdk path: /usr/local/thirdparty/java/j2sdk Martin, David S wrote: Sunitha, What is your JAVA_HOME environment variable set to? David Martin -Original Message- From: Sunitha Kumar [mailto:[EMAIL PROTECTED] Sent: Thursday, July 29, 2004 1:19 PM To: Sunitha Kumar Cc: [EMAIL PROTECTED] Subject: Re: Unable to deploy a JSP from tomcat Also, looking at documentation at: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html It says, CLASSPATH is ignored. And, tools.jar should have been loaded? * System - This class loader is normally initialized from the contents of the CLASSPATH environment variable. All such classes are visible to both Tomcat internal classes, and to web applications. However, the standard Tomcat 4 startup scripts ($CATALINA_HOME/bin/catalina.sh or %CATALINA_HOME%\bin\catalina.bat) totally ignore the contents of the CLASSPATH environment variable itself, and instead build the System class loader from the following repositories: o $CATALINA_HOME/bin/bootstrap.jar - Contains the main() method that is used to initialize the Tomcat 4 server, and the class loader implementation classes it depends on. o $JAVA_HOME/lib/tools.jar - Contains the javac compiler used to convert JSP pages into servlet classes. Sunitha Kumar wrote: Folks: I have defined CLASSPATH to have $JAVA_HOME/lib/tools.jar, in catalina.sh However, while deploying my .war file, it fails to find tools.jar. Any pointers? thanks, -sunitha Servlet threw load() exception org.apache.jasper.JasperException: Unable to compile class for JSP No Java compiler was found to compile the generated source for the JSP. This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of the Tomcat server, followed by a Tomcat restart. If using an alternate Java compiler, please check its installation and access path. at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHa ndler.java:127) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.ja va:351) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja va:553) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:291) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:284) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
5.0.19 - production release?
Folks: I wanted to find out if 5.0.19 is a production release, or just a alpha/beta? thanks, -sunitha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat 5.0.19 and NPTL
Hey folks: Do we know if 5.0.19 can work with NPTL? thanks, -sunitha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.0.27 / JavaServer Faces
where can I download 5.0.27 from? thanks, -sunitha Filip Hanik - Dev wrote: move the Java Server Feces JAR files from WEB-INF/lib to TOMCAT/common/lib and try again Filip - Original Message - From: Betto McRose G, [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 2:58 PM Subject: Re: Tomcat 5.0.27 / JavaServer Faces well, I'm new on this so I can consider I'm and end user :) this is the log: 2004-07-27 15:57:06 StandardContext[/login]Excepción enviando evento inicializado de contexto a instancia de escuchador de clase com.sun.faces.config.ConfigureListener java.lang.NoClassDefFoundError: javax/faces/el/MethodBinding at com.sun.faces.config.ConfigureListener.initialized(ConfigureListener.java:10 14) at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener. java:146) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java: 3827) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8 23) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j ava:277) at org.apache.catalina.core.StandardHost.install(StandardHost.java:832) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:617) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1068) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:327) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.java:119) at org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.java:80 0) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC hildren(ContainerBase.java:1619) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC hildren(ContainerBase.java:1628) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Cont ainerBase.java:1608) at java.lang.Thread.run(Unknown Source) 2004-07-27 15:57:06 StandardContext[/login]Excepción enviando evento de contexto destruído a instancia de escuchador de clase com.sun.faces.config.ConfigureListener java.lang.NoClassDefFoundError: javax/faces/el/MethodBinding at com.sun.faces.config.ConfigureListener.release(ConfigureListener.java:1250) at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.ja va:337) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3 868) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4500) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8 23) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j ava:277) at org.apache.catalina.core.StandardHost.install(StandardHost.java:832) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:617) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1068) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:327) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.java:119) at org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.java:80 0) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC hildren(ContainerBase.java:1619) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC hildren(ContainerBase.java:1628) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Cont ainerBase.java:1608) at java.lang.Thread.run(Unknown Source) Betto McRose G, - Original Message - From: QM [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 3:48 PM Subject: Re: Tomcat 5.0.27 / JavaServer Faces On Tue, Jul 27, 2004 at 03:29:15PM -0400, Betto McRose G, wrote: : the war file has jsf files, the message is the resource is not available : : I also tried to run sample dirs directly copying the entire dir, but I got : always the same error The message the resource is not available is for the end-users. The server admin (that's you ;) should check the logs. What's reported there? -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat 5.0.19 and NPTL
QM, thanks I heard JDK 1.5 has support for NPTL. Any idea if tomcat 5.0.27 works with JDK 1.5? thanks, -sunitha QM wrote: On Tue, Jul 27, 2004 at 05:28:56PM -0700, Sunitha Kumar wrote: : Do we know if 5.0.19 can work with NPTL? This has to do with the underlying JDK, not Tomcat. If your JDK hasn't been recompiled to take advantage of NPTL then it may very well stumble through an NPTL environment. Based on the number of set LD_ASSUME_KERNEL posts I've seen on this list, I'd say the Sun JDK isn't NPTL-aware. ;) -QM - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
CPU spike problems on 5.0.19
Any body seen this? thanks, -sunitha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CPU spike problems on 5.0.19
Daniel: thanks, if there are many webapps deployed, is there a way to determine which webapp is causing the spike? thanks, -sunitha Daniel Gibby wrote: I just fixed an infinite loop condition in my webapp that definitely caused CPU spikes and eventually tomcat crashes. Make sure there isn't a problem with your code. Sunitha Kumar wrote: Any body seen this? thanks, -sunitha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Why 41 processes with Tomcat under Linux
you may have the wrong libs , especially the thread libs. should show up as a single process.. Bob White wrote: I just installed TC 5.0.19 under Linux and I find that it causes 41 Tomcat processes to be launched. Why is this? How can I control the number of processes that are created? Is this to be expected? I naively expected only one Tomcat process. There is absolutely no load on the server, it just initally generates 41 Tomcat processes. ..Bob. = --Bob White-- home:727-490-7363, cell:727-463-6061 New (popup free!) photos of Polina: http://polina.70kg.com/ Everything that irritates us about others can lead us to an understanding of ourselves. - Carl Jung - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Sunitha Kumar Software Engineer http://www.cisco.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Starting tomcat with a lowlevel user?
Looks like a permissions problem. The files should all be owned by user tomcat.. [EMAIL PROTECTED] wrote: I am trying to start tomcat with the tomcat user on my debian box. I am using tomcat 5 untarred just now. I can start tomcat with root manually just fine but I would like tomcat to run as the tomcat user. I created the tomcat user: tomcat4:x:103:65534::/usr/share/tomcat4:/bin/false I created a startup script modelled after the one that comes with debian, it acts like it starts but doesnt. And my start up script is: echo -n Starting $DESC using Java from $JAVA_HOME: touch $PIDFILE $LOGDIR/catalina.out || true chown --dereference $TOMCAT_USER $PIDFILE $LOGDIR \ $LOGDIR/catalina.out $CATALINA_HOME/work \ $CATALINA_HOME/temp || true if start-stop-daemon --test --start --pidfile $PIDFILE \ --user $TOMCAT_USER --startas $JAVA_HOME/bin/java \ /dev/null; then # -p preserves the environment (for $JAVA_HOME etc.) # -s is required because tomcat's login shell is /bin/false su -p -s /bin/sh $TOMCAT_USER -c \ $DAEMON start $STARTUP_OPTS \ $LOGDIR/catalina.out 21 echo $NAME. else echo (already running). fi == /usr/share/tomcat/logs/catalina.out == Using CATALINA_BASE: /usr/share/tomcat Using CATALINA_HOME: /usr/share/tomcat Using CATALINA_TMPDIR: /usr/share/tomcat/temp Using JAVA_HOME: /usr/lib/java/javahome Can't load server.xml Can't load server.xml Feb 11, 2004 6:59:02 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 0 ms java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398) Caused by: java.lang.NullPointerException at org.apache.catalina.startup.Catalina.await(Catalina.java:661) at org.apache.catalina.startup.Catalina.start(Catalina.java:621) ... 6 more When I attempt to start it my log spits out this: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Sunitha Kumar Software Engineer http://www.cisco.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
shutting down tomcat, Error
Folks, Any pointers to this.thanks, Stopping service Tomcat-Standalone Nov 20, 2003 1:18:50 AM org.apache.coyote.http11.Http11Protocol destroy INFO: Stoping http11 protocol on 4040 Catalina:type=ThreadPool,name=http4040 Nov 20, 2003 1:18:50 AM org.apache.jk.common.ChannelSocket destroy INFO: Error shutting down the channel 8009 java.net.UnknownHostException: dhcp-255-19: dhcp-255-19 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat/JVM heap dump
Hey folks, Any pointers on this? thanks, Using CATALINA_TMPDIR: /jakarta-tomcat-4.1.29/temp Using JAVA_HOME: /opt/j2sdk_nb/j2sdk1.4.2 # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode) # # Error ID: 4F533F4C494E55580E43505001C9 # Heap at VM Abort: Heap Another exception has been detected while we were handling last error. Dumping information about last error: ERROR REPORT FILE = (N/A) PC= 0x3fe87a88 SIGNAL= 11 FUNCTION NAME = (N/A) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat/JVM heap dump
RedHat- Linux Deepak Parbhoo wrote: What OS are you using? Sunitha Kumar wrote: Hey folks, Any pointers on this? thanks, Using CATALINA_TMPDIR: /jakarta-tomcat-4.1.29/temp Using JAVA_HOME: /opt/j2sdk_nb/j2sdk1.4.2 # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode) # # Error ID: 4F533F4C494E55580E43505001C9 # Heap at VM Abort: Heap Another exception has been detected while we were handling last error. Dumping information about last error: ERROR REPORT FILE = (N/A) PC= 0x3fe87a88 SIGNAL= 11 FUNCTION NAME = (N/A) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat/JVM heap dump
Apparently, JVM requires /proc. Once this was available, this error no longer happened. David Muller wrote: Any more info on this? What libs? What rpm? -Dave -Original Message- From: Deepak Parbhoo [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 3:22 PM To: Tomcat Users List Subject: Re: Tomcat/JVM heap dump I recall a similar problem on redhat 8.0. It had something to do with the libs. The issue was fixed on RH9 though. Sunitha Kumar wrote: RedHat- Linux Deepak Parbhoo wrote: What OS are you using? Sunitha Kumar wrote: Hey folks, Any pointers on this? thanks, Using CATALINA_TMPDIR: /jakarta-tomcat-4.1.29/temp Using JAVA_HOME: /opt/j2sdk_nb/j2sdk1.4.2 # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode) # # Error ID: 4F533F4C494E55580E43505001C9 # Heap at VM Abort: Heap Another exception has been detected while we were handling last error. Dumping information about last error: ERROR REPORT FILE = (N/A) PC= 0x3fe87a88 SIGNAL= 11 FUNCTION NAME = (N/A) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Any one successful in chrooting tomcat?
thanks, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]