Problem while embedding Tomcat 5.5.23- Class not found
Hi, I am embedding tomcat in an application. I am using embedded version of Tomcat 5.5.23 but I get the following exception. I have added all the jar files in $CATALINAHOME\lib in my class path. Can anyone help me out? Mar 15, 2007 12:01:23 PM org.apache.catalina.startup.Embedded start INFO: Starting tomcat server Mar 15, 2007 12:01:23 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.23 Mar 15, 2007 12:01:24 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Mar 15, 2007 12:01:25 PM org.apache.catalina.core.ApplicationContext log INFO: Marking servlet jsp as unavailable Mar 15, 2007 12:01:25 PM org.apache.catalina.core.ApplicationContext log SEVERE: Error loading WebappClassLoader delegate: false repositories: /WEB-INF/classes/ -- Parent Classloader: [EMAIL PROTECTED] org.apache.jasper.servlet.JspServlet java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet at org.apache.catalina.loader.WebappClassLoader.loadClass( WebappClassLoader.java:1359) at org.apache.catalina.loader.WebappClassLoader.loadClass( WebappClassLoader.java:1205) at org.apache.catalina.core.StandardWrapper.loadServlet( StandardWrapper.java:1068) at org.apache.catalina.core.StandardWrapper.load( StandardWrapper.java:966) at org.apache.catalina.core.StandardContext.loadOnStartup( StandardContext.java:3956) at org.apache.catalina.core.StandardContext.start( StandardContext.java:4230) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java :1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java :736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java :1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java :443) at org.apache.catalina.startup.Embedded.start(Embedded.java:822) at WES.WESFramework.EmbeddedTomcat.startTomcat(EmbeddedTomcat.java :171) at WES.WESFramework.WESFWManagerApp.startWebService( WESFWManagerApp.java:583) at WES.WESFramework.WESFWManagerApp.callback(WESFWManagerApp.java :524) at WES.GenericComponents.RealtimeDataLink.VCBManagerApp.callback( VCBManagerApp.java:168) Mar 15, 2007 12:01:25 PM org.apache.catalina.core.StandardContextloadOnStartup SEVERE: Servlet threw load() exception java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet at org.apache.catalina.loader.WebappClassLoader.loadClass( WebappClassLoader.java:1359) at org.apache.catalina.loader.WebappClassLoader.loadClass( WebappClassLoader.java:1205) at org.apache.catalina.core.StandardWrapper.loadServlet( StandardWrapper.java:1068) at org.apache.catalina.core.StandardWrapper.load( StandardWrapper.java:966) at org.apache.catalina.core.StandardContext.loadOnStartup( StandardContext.java:3956) at org.apache.catalina.core.StandardContext.start( StandardContext.java:4230) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java :1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java :736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java :1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java :443) at org.apache.catalina.startup.Embedded.start(Embedded.java:822) at WES.WESFramework.EmbeddedTomcat.startTomcat(EmbeddedTomcat.java :171) at WES.WESFramework.WESFWManagerApp.startWebService( WESFWManagerApp.java:583) at WES.WESFramework.WESFWManagerApp.callback(WESFWManagerApp.java :524) at WES.GenericComponents.RealtimeDataLink.VCBManagerApp.callback( VCBManagerApp.java:168) Mar 15, 2007 12:01:25 PM org.apache.commons.modeler.RegistryregisterComponent SEVERE: Null component null:type=JspMonitor,name=jsp,WebModule=//localhost/,J2EEApplication=none,J2EEServer=none Mar 15, 2007 12:01:25 PM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Mar 15, 2007 12:01:26 PM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Thanks, Khurram.
JSP page not updated on each request
Hello, The JSP pages in my project is not showing the updated one upon each request..Its showing the old one and only when i press the refresh, its showing the updated one...I believe this is the problem with Tomcat..Can someone help. Thanks in advance Pradeep -- View this message in context: http://www.nabble.com/JSP-page-not-updated-on-each-request-tf3406783.html#a9489775 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
org.apache.jasper.compiler.DefaultErrorHandler.javacError
Could anyone suggest me what is the following error related to. error at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:248) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:315) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:328) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187) at javax.servlet.http.HttpServlet.service(HttpServlet.java:809) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JNDIRealm over SSL to OpenLDAP
While I can configure OpenLDAP and Tomcat 6 to connect over port 389, without SSL, I cannot get it to work with a secure connection. All I have done is set OpenLDAP to require SSL/TLS, which I know is working fine, and modified the realm configuration to use port 636 and the ldaps protocol. Given the lack of documentation in this area, I don't know what else to try. Here is my realm definition: Realm className=org.apache.catalina.realm.JNDIRealm debug=99 connectionURL=ldaps://localhost:636 userPattern=uid={0},ou=people,dc=bluemarsh,dc=com roleBase=ou=groups,dc=bluemarsh,dc=com roleName=cn roleSearch=(uniqueMember={0})/ The exception in the catalina.out file is pasted below (sorry about the length, but I'm afraid of trimming off any useful detail). My questions are: 1) Does LDAP over SSL work in Tomcat 6? 2) If so, how do I get it to work? Thanks n P.S. I searched the lists, FAQ, and bug database. It seems the only thing I can find are some outdated emails without any solution. WARNING: Exception performing authentication javax.naming.CommunicationException: anonymous bind failed: localhost:636 [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target] at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:176) at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2658) at com.sun.jndi.ldap.LdapCtx.init(LdapCtx.java:287) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193) at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136) at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.init(InitialContext.java:197) at javax.naming.directory.InitialDirContext.init(InitialDirContext.java:82) at org.apache.catalina.realm.JNDIRealm.open(JNDIRealm.java:1575) at org.apache.catalina.realm.JNDIRealm.start(JNDIRealm.java:1664) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1007) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) 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:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1520) at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:182) at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:176) at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:975) at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123) at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:511) at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:449) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:817) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1029) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:621) at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) at com.sun.jndi.ldap.Connection.writeRequest(Connection.java:393) at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:334) at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:170) ... 24 more
Re: SSO ID in the first request
Hi Fredrik, HttpSession session = .; session.setAttribute(String nameOfYourObject, Object yourObject); Object yourObject = session.getAttribute(String nameOfYourObject); Surely, this cannot be correct? It would take me some effort to try sharing attributes between webapps, so I can't try it immediately, but different webapps even set different session cookies (JSESSIONID, that is) to the client, so it is very hard for me to believe that all webapps are sharing the same session. Sure they do, we're doing it here, and it's pretty easy to implement. However, to make all webapps using the same JSSOSessionID, you have to enable the SingleSignOn-valve in your server.xml: Valve className=org.apache.catalina.authenticator.SingleSignOn/ This ensures that all webapps share the same session. Cheers Greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Invalid chunk ignored.
Hi, what kind of parameters are considered as invalid to tomcat??? Mar 15, 2007 3:10:39 PM org.apache.tomcat.util.http.ParametersprocessParameters WARNING: Parameters: Invalid chunk ignored. Thanks, Khurram
Re: Multilevel webapp WAR won't start when packed
Pid wrote: Caldarale, Charles R wrote: From: Pid [mailto:[EMAIL PROTECTED] Subject: Multilevel webapp WAR won't start when packed TC v6.0.10 I have a 'multi-level' path webapp that I'm deploying via a WAR. The WAR is named download#file.war. If I instruct it to stay packed it will not deploy, throwing the exception below. What, if anything, gets created in Tomcat's work/Catalina/[host] directory? Is there a download, download/file, or download#file? Just to get more information, leave it packed but create a dowload#file.xml file in conf/Catalina/[host] and let's see what happens. The download#file.xml gets created (correctly), in either case. Now this is popping up when it tries to unpack the WAR... (there's no paths or docbase set in the context.xml) java.net.MalformedURLException: no !/ in spec at java.net.URL.init(URL.java:601) at java.net.URL.init(URL.java:464) at java.net.URL.init(URL.java:413) at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:885) at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:1008) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279) at etc I've fiddled with it and the app works when deployed using a none # path. It's 20Mb so i can't really submit it for testing, but i'll try and build a simple webapp to see if it's a generic fault. p - 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] smime.p7s Description: S/MIME Cryptographic Signature
Re: getRemoteAddr() returns IPv6 instead of IPv4
| When I make a request.getRemoteAddr() I receive an IPv6 address while I | want the IPv4. Is the request coming across an IPv6 interface? If so, I don't know that you can get an IPv4 address (without calling getRemoteHost() and doing a reverse DNS lookup, anyway). OK, I figured it out: the Konqueror browser uses IPv6 by default (at least on Debian), so using it on the loopback interface gives me an IPv6 address of localhost. Thank you. -- jt - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
java.util.MissingResourceException: Can't find bundle for base name
Hi all, I just got tomcat 5.5.23. If I start tomcat from the command line using ./startup.sh, it works fine. If I start it from Eclipse using the sysdeo plugin, I get the following message (over and over again) 2007-03-15 11:47:17,277 [main] ERROR org.apache.catalina.startup.HostConfig - Error deploying configuration descriptor manager.xml java.util.MissingResourceException: Can't find bundle for base name org.apache.naming.resources.LocalStrings, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805) at java.util.ResourceBundle.getBundle(ResourceBundle.java:549) at org.apache.naming.StringManager.init(StringManager.java:67) This suddenly appeared yesterday with the 5.5.20 version. As I had no clue, I installed 5.5.23, but the same thing keeps happening. Can somebody tell me what I am missing? I already removed all deployed apps except the manager itself, and that makes me thing it's an eclipse issue somewhere? TIA Ronald - 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: apache-tomcat-6.0.10 OutOfMemoryError
hi i personally fell disabling the session in tomcat is not the correct solution to overcome the memory out of error. just try to asign null for unused objects. hope it resolve your issue. bye with regards prakash.s On 3/13/07, acec acec [EMAIL PROTECTED] wrote: Hi, Remy After I added %@ page session=false % into /apache-tomcat-6.0.10/webapps/examples/jsp/tagplugin/foreach.jsp , I could not reproduce OutOfMemoryError. But if I add %@ page session=false % into my application, my jsp could not get information from session. How can I walk around this problem? Thanks. Arden --- Rémy Maucherat [EMAIL PROTECTED] wrote: On 3/12/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: add -XX:+HeapDumpOnOutOfMemoryError to your JAVA_OPTS, then you can zip up the file that gets generated, make it available to us and I'll take a look at it Most likely it's because of session creation. (you should not be too naive about problem reports, I think :D) - Add %@ page session=false % before testing the page, or make the client send a cookie with the session id. Rémy - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - 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 and Regards S.Prakash
Set caseSensitive=false for NOT case sensitive BUT security problems?
Hi I know which to set tomcat for the NOT case sensitive, necessity to use the Context caseSensitive=false of the web application. but this documentation (http://tomcat.apache.org/tomcat-5.5-doc/config/context.html ) say NOTE: This flag MUST NOT be set to false on the Windows platform (or any other OS which does not have a case sensitive filesystem), as it will disable case sensitivity checks, allowing JSP source code disclosure, among other security problems. Then there are serious security problems. Is there a way to avoid which jsp code to be visible (in the browser) through the request filename.JSP , in other words calling the file jsp with uppercase extension? Thanks Regards, Giuseppe Santamaria _ Sai cosa è successo oggi? http://notizie.msn.it - 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: apache-tomcat-6.0.10 OutOfMemoryError
Hi all Please check this http://my.opera.com/karmazilla/blog/2007/03/13/good-riddance-permgen-outofmemoryerror regards vinu prakash shanmugam wrote: hi i personally fell disabling the session in tomcat is not the correct solution to overcome the memory out of error. just try to asign null for unused objects. hope it resolve your issue. bye with regards prakash.s On 3/13/07, acec acec [EMAIL PROTECTED] wrote: Hi, Remy After I added %@ page session=false % into /apache-tomcat-6.0.10/webapps/examples/jsp/tagplugin/foreach.jsp , I could not reproduce OutOfMemoryError. But if I add %@ page session=false % into my application, my jsp could not get information from session. How can I walk around this problem? Thanks. Arden --- Rémy Maucherat [EMAIL PROTECTED] wrote: On 3/12/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: add -XX:+HeapDumpOnOutOfMemoryError to your JAVA_OPTS, then you can zip up the file that gets generated, make it available to us and I'll take a look at it Most likely it's because of session creation. (you should not be too naive about problem reports, I think :D) - Add %@ page session=false % before testing the page, or make the client send a cookie with the session id. Rémy - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Vinu Varghese [EMAIL PROTECTED] www.x-minds.org (Success always occurs in private, and failure in full view.)
how to configure the tomcat to automatically update class instances when a class file changed
hi, my class files of beans regularly changes. So,everytime i change a class file, i need to restart the tomcat server. how can i configure Tomcat to watch the changes in the class files of beans? Thanks in Advance, Sangmaeshwar.A
Re: org.apache.jasper.compiler.DefaultErrorHandler.javacError
This is a partial stack taken out of the middle. Please post a COMPLETE stack from the start and including the the root cause (if available). Also we well need to know OS, JDK version, tomcat version. --David Raghuveer wrote: Could anyone suggest me what is the following error related to. error at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:248) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:315) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:328) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187) at javax.servlet.http.HttpServlet.service(HttpServlet.java:809) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Strange characters appear in my compiled JSP files
Hello to everyone. Sorry if my English isn't perfect. I have a problem with Tomcat for which I have found explanation neither in the FAQ, nor searching the web, nor asking other programmers... So, I guess you're my only hope. I have developed a JSP application in Tomcat 5.5, and everything is OK with it when you use Microsoft Internet Explorer; but, in a couple of pages, with Mozilla Firefox and Netscape, these characters appeared at the top of the page (and at the beginning of the source code):  All the JSP files have the same structure, the Java code is virtually the same, with differences just in the HTML. Looking at the Java source code of the pages, (at Tomcat 5.5\work\Catalina\localhost\tarific\org\apache\jsp - 'tarific' being the name of the application) I found the cause: the pages that work fine include the next fragment of code: try { _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType(text/html; charset=iso-8859-1); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write('\r'); out.write('\n'); But the three pages that don't work properly have this code, instead: try { _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType(text/html; charset=iso-8859-1); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write(\r\n); Which leads me me to my question: can anyone tell me where to find information about this strange behaviour of the compiler, so I can prevent this from happening? Thank you all for your attention. _ Dale rienda suelta a tu tiempo libre. Mil ideas para exprimir tu ocio con MSN Entretenimiento. http://entretenimiento.msn.es/ - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Specifying Location of log4j.properties independent of App?
Gang, I have a webapp that is deployed to directory X (which is not under tomcat/webapps). My log4j.properties is located in webapp/WEB-INF/ classes/log4j.properties. My log4j contains a few hardcoded paths to the log files. Due to traffic size, I would really like to simply point another install of tomcat at that same shared webapp directory, but have it log to a different directory. Note: it works when I just point it at the same webapp dir, but I think my log files are getting overwritten or otherwise messed up, since two tomcats (webapps) are logging to the same directory. Is there any way to configure my app's log4 from within the tomcat, so I don't need two copies of my webapp dir? (its rather large) Any pointers or tips would be most welcome. Thanks! /kurt - 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: JSP page not updated on each request
Mmmm, dont know I think the browser should be picking up file changes, but if you want to make sure the browser doesnt cache, then if I remember correctly search for NO-CACHE and set the headers returned, the browser will reload every time. Note that headers are different for different browsers so you have to set a few headers... google will tell you. Note that when you developing, I've noticed if you leave the browser open, it may still display previous page... but it doesnt happen once deployed. Other thing that maybe catching you is that you changing something in the servlet INIT routine... and that somehow impacts on your JSP pages say thru a bean. That wont reflect until you stop and start tomcat..INIT runs once at start up. good luck - Original Message - From: pkumar [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, March 15, 2007 9:39 AM Subject: JSP page not updated on each request Hello, The JSP pages in my project is not showing the updated one upon each request..Its showing the old one and only when i press the refresh, its showing the updated one...I believe this is the problem with Tomcat..Can someone help. Thanks in advance Pradeep -- View this message in context: http://www.nabble.com/JSP-page-not-updated-on-each-request-tf3406783.html#a9489775 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: open a window in a new session
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave wrote: I am using servlet. How to open a window in a new session? I tried javascript onclick=window.open(...) but the opened window belongs to the same servlet session (see from user login name). If you are using cookie-based session id tracking, you might not be able to do this at all. If you switch to URL-encoded session id tracking, you can simply leave the session id out of the popup's URL and your popup will not inherit the current session from the old one. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF+UX89CaO5/Lv0PARAkSIAKCb4gWA+EPb/D6FU/iPKz9rvknUywCfa6mU OlpwtfMF+5EA6ICgWorRP04= =rGp+ -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: apache-tomcat-6.0.10 OutOfMemoryError
From: Vinu Varghese [mailto:[EMAIL PROTECTED] Subject: Re: apache-tomcat-6.0.10 OutOfMemoryError Please check this http://my.opera.com/karmazilla/blog/2007/03/13/good-riddance-p ermgen-outofmemoryerror Unfortunately, the blogger is simply wrong in his premise that the default GC mechanism won't collect objects in the PermGen. All Sun JVMs have always garbage collected unreachable class objects unless prevented by command line options. It's only the relatively new concurrent GC implementation that does not, by default, free up dead classes; for that, you need the extra parameters as described in the blog. Enabling concurrent GC can have some side effects: it's less efficient, requiring more CPU cycles to get the job done, and requires more frequent, albeit very short, app pauses. Whether it's better in your particular environment depends entirely on the requirements of that environment. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Strange characters appear in my compiled JSP files
I had a similar problem with one of the JSPs, the only way I could solve it was, copy the original JSP's source code into another plain-text editor like jEdit (or any editor that doesn't alter text, or has unusual encoding) then, delete the JSP file , and re-create a new JSP with the same name and re-paste the text from jEdit, perform a clean build. The problem could most likely be occuring because the editor or some other application might have inserted those characters. Also have this %@ page contentType=text/html;charset=UTF-8 language=java % on top of the JSP. -Rashmi - Original Message From: Langas de los Langas [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, March 15, 2007 8:29:16 AM Subject: Strange characters appear in my compiled JSP files Hello to everyone. Sorry if my English isn't perfect. I have a problem with Tomcat for which I have found explanation neither in the FAQ, nor searching the web, nor asking other programmers... So, I guess you're my only hope. I have developed a JSP application in Tomcat 5.5, and everything is OK with it when you use Microsoft Internet Explorer; but, in a couple of pages, with Mozilla Firefox and Netscape, these characters appeared at the top of the page (and at the beginning of the source code):  All the JSP files have the same structure, the Java code is virtually the same, with differences just in the HTML. Looking at the Java source code of the pages, (at Tomcat 5.5\work\Catalina\localhost\tarific\org\apache\jsp - 'tarific' being the name of the application) I found the cause: the pages that work fine include the next fragment of code: try { _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType(text/html; charset=iso-8859-1); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write('\r'); out.write('\n'); But the three pages that don't work properly have this code, instead: try { _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType(text/html; charset=iso-8859-1); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write(\r\n); Which leads me me to my question: can anyone tell me where to find information about this strange behaviour of the compiler, so I can prevent this from happening? Thank you all for your attention. _ Dale rienda suelta a tu tiempo libre. Mil ideas para exprimir tu ocio con MSN Entretenimiento. http://entretenimiento.msn.es/ - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. http://tools.search.yahoo.com/toolbar/features/mail/ - 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: java.util.MissingResourceException: Can't find bundle for base name
From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED] Subject: java.util.MissingResourceException: Can't find bundle for base name I just got tomcat 5.5.23. If I start tomcat from the command line using ./startup.sh, it works fine. If I start it from Eclipse using the sysdeo plugin, I get the following message (over and over again) java.util.MissingResourceException: Can't find bundle for base name org.apache.naming.resources.LocalStrings, locale en_US The resource bundles are in common/i18n, so should be available to Tomcat regardless of how it's started. Two possibilities I can think of: 1) Permissions are not set properly and Eclipse is running under a different userid than your startup.sh mechanism. 2) Eclipse is actually using a different installation of Tomcat somewhere on your box. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Strange characters appear in my compiled JSP files
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Langas, Langas de los Langas wrote: I have developed a JSP application in Tomcat 5.5, and everything is OK with it when you use Microsoft Internet Explorer; but, in a couple of pages, with Mozilla Firefox and Netscape, these characters appeared at the top of the page (and at the beginning of the source code):  What are the unicode codes for those characters? Could they be byte ordering markers for a unicode-encoded file? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF+UvT9CaO5/Lv0PARAt1bAJwKS96umCWpP74jfRz2L92z2QIoTACgjVv7 L7neZ4NjJAgKVBW0hIDu/9k= =FHD6 -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: OutOfMemoryError
Any clue? Thanks, Rahul Tandon 516-627-8993 Xtn 208 [EMAIL PROTECTED] 111 Great Neck Rd.,Suite #314 Great Neck, NY 11021 This communication is for informational purposes only. The contents of this transmission are confidential and are intended solely for the use of the individual or entity to whom they are addressed.If you have received this email in error please notify the sender by return email and delete this message from your system. Flextrade Systems Inc., its subsidiaries and affiliates do not guarantee the completeness and accuracy of this transmission's contents. Moreover, Flextrade Systems Inc., its subsidiaries and affiliates do not guarantee this communication to be free of viruses and accept no liability for any damage caused thereof. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 12:09 PM To: Tomcat Users List Subject: RE: OutOfMemoryError From: Rahul Tandon [mailto:[EMAIL PROTECTED] Subject: RE: OutOfMemoryError maxThreads=150 minSpareThreads=25 maxSpareThreads=75 Doesn't seem excessive. What does ulimit say about your user process virtual memory limit? - 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] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
WebDAV with Tomcat 6
Hello, former versions of Tomcat had a WebDAV servlet/filter as example how to use WebDAV with tomcat. It does not seem to be part of Tomcat 6. Why was it removed? Was it moved to some other installation package/project? I'm asking also because I have problems when using the webDAV function (of tomcat 5.5) with Windows Vista clients. In case that it is still there and supported, I would report the problems. I think these problems are caused by Vista, but the developers of the webdav feature might be interested in the behavior and possible work arounds. Cheers, Konstantin - 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: Strange characters appear in my compiled JSP files
The hex characters corresponding to  characters are EF BB BF , which are the the BOM characters. They're not just in the compiled JSP but also in the uncompiled JSP source, but because they usually appear at the start of the document the browser doesn't render them. I was able to see it in Firefox , with Ctrl + A . The characters usually appear before the opening html tag or DOCTYPE tag. -Rashmi - Original Message From: Christopher Schultz [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, March 15, 2007 9:36:19 AM Subject: Re: Strange characters appear in my compiled JSP files -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Langas, Langas de los Langas wrote: I have developed a JSP application in Tomcat 5.5, and everything is OK with it when you use Microsoft Internet Explorer; but, in a couple of pages, with Mozilla Firefox and Netscape, these characters appeared at the top of the page (and at the beginning of the source code):  What are the unicode codes for those characters? Could they be byte ordering markers for a unicode-encoded file? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF+UvT9CaO5/Lv0PARAt1bAJwKS96umCWpP74jfRz2L92z2QIoTACgjVv7 L7neZ4NjJAgKVBW0hIDu/9k= =FHD6 -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] Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html - 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: JK 1.2.21 DLL does not work with IIS 6?
[EMAIL PROTECTED] wrote: I have noticed some funny behavior with 1.2.21 also... We have tomcat hosting jira and jira is using the ntlm plugin for sso authentication. Can you guys check the 1.2.22-dev binary from: http://people.apache.org/~mturk/jk-1.2.22-dev/win32/isapi_redirect.dll There was a possible missuse of Windows API with 1.2.21, that could close the Keep-Alive connection. Regards, Mladen. - 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: java.util.MissingResourceException: Can't find bundle for base name
Hi, Thanks for the reply. Unfortunately, I have only one Tomcat on this machine, (I moved the other ones), so that can't be it. But Somehow, on starting tomcat from eclipse, the following debug info appeared shortly in the eclipse console: Exception in thread main java.lang.NoClassDefFoundError: org.apache.catalina.startup.Bootstrap at java.lang.Class.initializeClass(libgc.so.7) Caused by: java.lang.ClassNotFoundException: javax.management.Objectname not found in gnu.gcj.SystemClassLoader(url=[file: ]) Could this have anything to do with a classpath not set from eclipse when launching tomcat? BTW, $CATALINA_HOME is set to the .../apache-tomcat-5.5.23/ location. TIA Ronald Caldarale, Charles R wrote: From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED] Subject: java.util.MissingResourceException: Can't find bundle for base name I just got tomcat 5.5.23. If I start tomcat from the command line using ./startup.sh, it works fine. If I start it from Eclipse using the sysdeo plugin, I get the following message (over and over again) java.util.MissingResourceException: Can't find bundle for base name org.apache.naming.resources.LocalStrings, locale en_US The resource bundles are in common/i18n, so should be available to Tomcat regardless of how it's started. Two possibilities I can think of: 1) Permissions are not set properly and Eclipse is running under a different userid than your startup.sh mechanism. 2) Eclipse is actually using a different installation of Tomcat somewhere on your box. - 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] - 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: java.util.MissingResourceException: Can't find bundle for basename
From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED] Subject: Re: java.util.MissingResourceException: Can't find bundle for basename Somehow, on starting tomcat from eclipse, the following debug info appeared shortly in the eclipse console: Caused by: java.lang.ClassNotFoundException: javax.management.Objectname not found in gnu.gcj.SystemClassLoader(url=[file: ]) Could this have anything to do with a classpath not set from eclipse when launching tomcat? No, but it could be due to using an inappropriate JVM; get rid of the GNU one and install a real JVM. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK 1.2.21 DLL does not work with IIS 6?
I just deployed it and everything appears to be working for us with internet explorer now. Thanks, Cory Mladen Turk [EMAIL PROTECTED] l.com To Tomcat Users List 03/15/2007 09:04 users@tomcat.apache.org AM cc Subject Please respond to Re: JK 1.2.21 DLL does not work Tomcat Users with IIS 6? List [EMAIL PROTECTED] che.org [EMAIL PROTECTED] wrote: I have noticed some funny behavior with 1.2.21 also... We have tomcat hosting jira and jira is using the ntlm plugin for sso authentication. Can you guys check the 1.2.22-dev binary from: http://people.apache.org/~mturk/jk-1.2.22-dev/win32/isapi_redirect.dll There was a possible missuse of Windows API with 1.2.21, that could close the Keep-Alive connection. Regards, Mladen. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
guarantee code matches the design
There is a pretty interesting article on a tool that guarantees your design/dependencies is up to date located here... http://www.devx.com/opensource/Article/33729 Just thought you might be interested in using for tomcat(or for any other project). You can actually enforce that components ONLY talk through well-defined apisit prevents new developers on the team(and experienced ones) from accidentally going around an api directly to the implementation...this is just one of the many benefits I think. later
Re: java.util.MissingResourceException: Can't find bundle for basename
java -version gives: java version 1.5.0_11 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03) Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode) You mean this isn't a 'real' JVM? Ronald Caldarale, Charles R wrote: From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED] Subject: Re: java.util.MissingResourceException: Can't find bundle for basename Somehow, on starting tomcat from eclipse, the following debug info appeared shortly in the eclipse console: Caused by: java.lang.ClassNotFoundException: javax.management.Objectname not found in gnu.gcj.SystemClassLoader(url=[file: ]) Could this have anything to do with a classpath not set from eclipse when launching tomcat? No, but it could be due to using an inappropriate JVM; get rid of the GNU one and install a real JVM. - Chuck - 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: java.util.MissingResourceException: Can't find bundle for basename
From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED] Subject: Re: java.util.MissingResourceException: Can't find bundle for basename java version 1.5.0_11 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03) Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode) You mean this isn't a 'real' JVM? This one is, but the one that Eclipse is using isn't - it's the GNU toy JVM. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK 1.2.21 DLL does not work with IIS 6?
[EMAIL PROTECTED] wrote: I just deployed it and everything appears to be working for us with internet explorer now. Great. We'll release 1.2.22 probably early next week. Regards, Mladen. - 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: how to configure the tomcat to automatically update class instances when a class file changed
Hello again SANGAMESHWAR In the servlet.xml config file you will see the Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true The autoDeploy=true means the sevlet will reload if anything is changed under WEB-INF So if you drop another library class in, or say change web.xml, that servlet will restart WHEN IT IS IDLE. If you have a thread running in a background process, then I dont think it will ever restart. Its clever but it does mean Tomcat has to rev up all over again and on a busy server thats probably not a good thing. Other alternative is to make a plugin, and load up the classes yourself... maybe able to find a standard one, if writing a classloader seems like too much work. Or you can try my software HARBOR at http://coolese.100free.com/ it allows you to control the reloading of classes. Just out of curiosity, why is it that your beans need to change... why couldnt you just have them read from a dB or somthing? - Original Message - From: SANGAMESHWAR ALLADI [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, March 15, 2007 2:02 PM Subject: how to configure the tomcat to automatically update class instances when a class file changed hi, my class files of beans regularly changes. So,everytime i change a class file, i need to restart the tomcat server. how can i configure Tomcat to watch the changes in the class files of beans? Thanks in Advance, Sangmaeshwar.A - 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
I think trying to increase the memory configuration in any application doesn't necessarily contribute to it's speed because the garbage collector does not perform serious attempts to release memory until the heap size limit is reached. So, having a lower heap size limit (lower max memory setting), ensures that the garbage collector releases as much memory as possible in a shorter interval and having a higher memory setting significantly delays the garbage collection. My suggestion is that it is better to keep the original memory settings than increase it, and only increase it if your project is too large or resource intensive and requires additional memory and not because there's plenty of memory available - why not use it. -Rashmi - Original Message From: Rahul Tandon [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, March 15, 2007 10:25:22 AM Subject: tomcat 5.5 Hi, I had posted this yesterday and got some feedback from chuck, but still there is no concrete resolution to the problem, if somebody knows anything about this kind of issue, please help me. I am using following configuration: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) 4GB RAM Tomcat version 5.5 Java version 1.5.0_06 Tomcat connectors setting: maxThreads=150 minSpareThreads=25 maxSpareThreads=75 ulimit -a also seems ok: core file size(blocks, -c) unlimited data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max locked memory (kbytes, -l) 4 max memory size (kbytes, -m) unlimited open files(-n) 1024 pipe size (512 bytes, -p) 8 stack size(kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes(-u) 7168 virtual memory(kbytes, -v) unlimited . I am using CATALINA_OPTS -Xms512m -Xmx512m -Djava.awt.headless=true and tomcat comes up fine and my http requests are processed normal. If I change memory setting to 1024m (-Xmx1024m -Xms512m) then I am getting this error: 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:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:574) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.init(ThreadPool. java:643) at org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:515) at org.apache.tomcat.util.threads.ThreadPool.start(ThreadPool.java:148) at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.jav a:315) at org.apache.coyote.http11.Http11BaseProtocol.start(Http11BaseProtocol.java:15 0) at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:75) at org.apache.catalina.connector.Connector.start(Connector.java:1089) at org.apache.catalina.core.StandardService.start(StandardService.java:459) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) ... 6 more And tomcat hangs and does not respond to http requests. I am checking vmstat at this time and see 3GB free memory. I would appreciate any help. Thanks, Rahul Tandon No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail - 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: open a window in a new session
Hi Chris, Thanks for your reply. How to configure server(Tomcat, I am using JBoss) to use URL-encoded session id tracking? I did not do anything. Is cookie used for session tracking by default? Thanks! David Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave wrote: I am using servlet. How to open a window in a new session? I tried javascript onclick=window.open(...) but the opened window belongs to the same servlet session (see from user login name). If you are using cookie-based session id tracking, you might not be able to do this at all. If you switch to URL-encoded session id tracking, you can simply leave the session id out of the popup's URL and your popup will not inherit the current session from the old one. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF+UX89CaO5/Lv0PARAkSIAKCb4gWA+EPb/D6FU/iPKz9rvknUywCfa6mU OlpwtfMF+5EA6ICgWorRP04= =rGp+ -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] - Food fight? Enjoy some healthy debate in the Yahoo! Answers Food Drink QA.
Quick Question for TomCat Gurus
Hello All, Tomcat 4.1 Suse Linux Enterprise Server Java 1.6.0 Is there any issue using Tomcat 4.1 with Java 1.6.0? Our System Admin has installed the Java 1.6.0 but when running the java -version it shows a different java version as below: $java -version java version 1.4.2_13 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06) Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode) I also found some messages in the localhost.log as below: more localhost_log.2007-03-15.txt 2007-03-15 11:18:42 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception javax.servlet.ServletException: Cannot find bean managerMenu in any scope at org.apache.jasper.runtime.PageContextImpl.handlePageException( PageContextImpl.java:495) at org.apache.jsp.displaymenudetail_jsp._jspService (displaymenudetail_jsp.java:126) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java :92) at javax.servlet.http.HttpServlet.service(HttpServlet.java:809) at org.apache.jasper.servlet.JspServletWrapper.service( JspServletWrapper.java:162) at org.apache.jasper.servlet.JspServlet.serviceJspFile( JspServlet.java:240) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187) at javax.servlet.http.HttpServlet.service(HttpServlet.java:809) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.j ava:200) Does anybody know what this could be? Thanks a lot in advance!!! Best Regards, Bruno
RE: tomcat 5.5
Thanks Rashmi for the suggestion. My application is using (some time) quite a big memory (I need 1GB once in a while!!!), that's why I wanted to have this setting. One other thing I notice(which I am not sure of), will this error would have any effect: The Apache Tomcat Native library which allows optimal performance in production environments was not found Thanks again. Rahul Tandon 516-627-8993 Xtn 208 [EMAIL PROTECTED] 111 Great Neck Rd.,Suite #314 Great Neck, NY 11021 This communication is for informational purposes only. The contents of this transmission are confidential and are intended solely for the use of the individual or entity to whom they are addressed.If you have received this email in error please notify the sender by return email and delete this message from your system. Flextrade Systems Inc., its subsidiaries and affiliates do not guarantee the completeness and accuracy of this transmission's contents. Moreover, Flextrade Systems Inc., its subsidiaries and affiliates do not guarantee this communication to be free of viruses and accept no liability for any damage caused thereof. -Original Message- From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 10:59 AM To: Tomcat Users List Subject: Re: tomcat 5.5 I think trying to increase the memory configuration in any application doesn't necessarily contribute to it's speed because the garbage collector does not perform serious attempts to release memory until the heap size limit is reached. So, having a lower heap size limit (lower max memory setting), ensures that the garbage collector releases as much memory as possible in a shorter interval and having a higher memory setting significantly delays the garbage collection. My suggestion is that it is better to keep the original memory settings than increase it, and only increase it if your project is too large or resource intensive and requires additional memory and not because there's plenty of memory available - why not use it. -Rashmi - Original Message From: Rahul Tandon [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, March 15, 2007 10:25:22 AM Subject: tomcat 5.5 Hi, I had posted this yesterday and got some feedback from chuck, but still there is no concrete resolution to the problem, if somebody knows anything about this kind of issue, please help me. I am using following configuration: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) 4GB RAM Tomcat version 5.5 Java version 1.5.0_06 Tomcat connectors setting: maxThreads=150 minSpareThreads=25 maxSpareThreads=75 ulimit -a also seems ok: core file size(blocks, -c) unlimited data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max locked memory (kbytes, -l) 4 max memory size (kbytes, -m) unlimited open files(-n) 1024 pipe size (512 bytes, -p) 8 stack size(kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes(-u) 7168 virtual memory(kbytes, -v) unlimited . I am using CATALINA_OPTS -Xms512m -Xmx512m -Djava.awt.headless=true and tomcat comes up fine and my http requests are processed normal. If I change memory setting to 1024m (-Xmx1024m -Xms512m) then I am getting this error: 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:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:574) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.init(ThreadPool. java:643) at org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:515) at org.apache.tomcat.util.threads.ThreadPool.start(ThreadPool.java:148) at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.jav a:315) at org.apache.coyote.http11.Http11BaseProtocol.start(Http11BaseProtocol.java:15 0) at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:75) at org.apache.catalina.connector.Connector.start(Connector.java:1089) at org.apache.catalina.core.StandardService.start(StandardService.java:459) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) ... 6 more
Re: HSE_REQ_SEND_RESPONSE_HEADER failed
When I try to run my application, before access that, I´m getting the following entries in the log: [Thu Mar 15 09:52:57 2007] [error] start_response::jk_isapi_plugin.c (475): HSE_REQ_SEND_RESPONSE_HEADER failed [Thu Mar 15 09:52:57 2007] [error] write::jk_isapi_plugin.c (565): WriteClient failed with 2746 [Thu Mar 15 09:52:57 2007] [info] ajp_process_callback::jk_ajp_common.c (1322): Connection aborted or network problems [Thu Mar 15 09:52:57 2007] [error] ajp_service::jk_ajp_common.c (1659): Client connection aborted or network problems Could you send me a way to correct that error, please? Thanks Cristiane de Carvalho - 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: open a window in a new session
If I open an IE from windows desktop, and then access the link, it will start a new session. Is there any control on cookie, like do not use cookie for this new window? Thanks! Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave wrote: I am using servlet. How to open a window in a new session? I tried javascript onclick=window.open(...) but the opened window belongs to the same servlet session (see from user login name). If you are using cookie-based session id tracking, you might not be able to do this at all. If you switch to URL-encoded session id tracking, you can simply leave the session id out of the popup's URL and your popup will not inherit the current session from the old one. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF+UX89CaO5/Lv0PARAkSIAKCb4gWA+EPb/D6FU/iPKz9rvknUywCfa6mU OlpwtfMF+5EA6ICgWorRP04= =rGp+ -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] - Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta.
Re: java.util.MissingResourceException: Can't find bundle for basename
Hmmm. Starting Eclipse all the time with eclipse '/opt/eclipse/eclipse' -vm /usr/java/jdk1.5.0/bin/java -vmargs -Xmx256M where jdk1.5.0 is a symlink to the 1.5.0_11 dir. So Tomcat and Eclipse are using the same jvm. Ronald Caldarale, Charles R wrote: From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED] Subject: Re: java.util.MissingResourceException: Can't find bundle for basename java version 1.5.0_11 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03) Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode) You mean this isn't a 'real' JVM? This one is, but the one that Eclipse is using isn't - it's the GNU toy JVM. - 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] - 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: open a window in a new session
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave wrote: Hi Chris, Thanks for your reply. How to configure server(Tomcat, I am using JBoss) to use URL-encoded session id tracking? I did not do anything. Is cookie used for session tracking by default? IIRC, Tomcat uses cookies if they are available. You can turn then off entirely: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html Look under the common attributes section for instructions. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF+WJO9CaO5/Lv0PARAgLhAJsHxDNakaIidWX/rZkN7dZK1hnt+wCfX3Pz 5Fcd3KhgOpsRMtP044B+SiI= =UueA -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: open a window in a new session
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave wrote: If I open an IE from windows desktop, and then access the link, it will start a new session. Is there any control on cookie, like do not use cookie for this new window? By default, I believe that Tomcat creates browser-session cookies, which are only used until the browser is closed (i.e. they are only stored in memory, or at least, you can think about it that way). When you open up a new browser from the desktop, you might be starting a new process which is separate from the existing one. I don't believe that you can convince a browser to open up a new copy of itself in a separate process, so this observation isn't really going to help you, here. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF+WLw9CaO5/Lv0PARAtDyAKCbM7BtgCZYGbTZqIo2x6wNF8VTRQCfZImt jkV35m5JkJIIYv5WkoBDREg= =N/by -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat 5.5
I think you do have the Native library, but since you're getting OutOfMemoryError the garbage collector is unable to free additional memory for further work, and this is why the application hangs. This article http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_17470 explains it well. One suggestion made in the above aritcle would be to gradually increase the memory, by trial and error until you don't get the OutOfMemoryError, since the memory setting you have right now is not working out. -Rashmi - Original Message From: Rahul Tandon [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, March 15, 2007 11:08:29 AM Subject: RE: tomcat 5.5 Thanks Rashmi for the suggestion. My application is using (some time) quite a big memory (I need 1GB once in a while!!!), that's why I wanted to have this setting. One other thing I notice(which I am not sure of), will this error would have any effect: The Apache Tomcat Native library which allows optimal performance in production environments was not found Thanks again. Rahul Tandon 516-627-8993 Xtn 208 [EMAIL PROTECTED] 111 Great Neck Rd.,Suite #314 Great Neck, NY 11021 This communication is for informational purposes only. The contents of this transmission are confidential and are intended solely for the use of the individual or entity to whom they are addressed.If you have received this email in error please notify the sender by return email and delete this message from your system. Flextrade Systems Inc., its subsidiaries and affiliates do not guarantee the completeness and accuracy of this transmission's contents. Moreover, Flextrade Systems Inc., its subsidiaries and affiliates do not guarantee this communication to be free of viruses and accept no liability for any damage caused thereof. -Original Message- From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 10:59 AM To: Tomcat Users List Subject: Re: tomcat 5.5 I think trying to increase the memory configuration in any application doesn't necessarily contribute to it's speed because the garbage collector does not perform serious attempts to release memory until the heap size limit is reached. So, having a lower heap size limit (lower max memory setting), ensures that the garbage collector releases as much memory as possible in a shorter interval and having a higher memory setting significantly delays the garbage collection. My suggestion is that it is better to keep the original memory settings than increase it, and only increase it if your project is too large or resource intensive and requires additional memory and not because there's plenty of memory available - why not use it. -Rashmi - Original Message From: Rahul Tandon [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, March 15, 2007 10:25:22 AM Subject: tomcat 5.5 Hi, I had posted this yesterday and got some feedback from chuck, but still there is no concrete resolution to the problem, if somebody knows anything about this kind of issue, please help me. I am using following configuration: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) 4GB RAM Tomcat version 5.5 Java version 1.5.0_06 Tomcat connectors setting: maxThreads=150 minSpareThreads=25 maxSpareThreads=75 ulimit -a also seems ok: core file size(blocks, -c) unlimited data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max locked memory (kbytes, -l) 4 max memory size (kbytes, -m) unlimited open files(-n) 1024 pipe size (512 bytes, -p) 8 stack size(kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes(-u) 7168 virtual memory(kbytes, -v) unlimited . I am using CATALINA_OPTS -Xms512m -Xmx512m -Djava.awt.headless=true and tomcat comes up fine and my http requests are processed normal. If I change memory setting to 1024m (-Xmx1024m -Xms512m) then I am getting this error: 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:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:574) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.init(ThreadPool. java:643) at org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:515)
Question on EAR files
I understand that Apache Tomcat 6 now supports the EAR file. Is that correct? Melinda Savoy Sr. Programmer Analyst Financial Applications - Enterprise Systems The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law. If you are not the intended recipient, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return e-mail and delete the original message from your system.
RE: tomcat 5.5
Thanks rashmi. After trial and error I found out that 704m is fine but 768 is giving me trouble. I would check the link that you send. Thanks again. Rahul Tandon 516-627-8993 Xtn 208 [EMAIL PROTECTED] 111 Great Neck Rd.,Suite #314 Great Neck, NY 11021 This communication is for informational purposes only. The contents of this transmission are confidential and are intended solely for the use of the individual or entity to whom they are addressed.If you have received this email in error please notify the sender by return email and delete this message from your system. Flextrade Systems Inc., its subsidiaries and affiliates do not guarantee the completeness and accuracy of this transmission's contents. Moreover, Flextrade Systems Inc., its subsidiaries and affiliates do not guarantee this communication to be free of viruses and accept no liability for any damage caused thereof. -Original Message- From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 11:24 AM To: Tomcat Users List Subject: Re: tomcat 5.5 I think you do have the Native library, but since you're getting OutOfMemoryError the garbage collector is unable to free additional memory for further work, and this is why the application hangs. This article http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_17470 explains it well. One suggestion made in the above aritcle would be to gradually increase the memory, by trial and error until you don't get the OutOfMemoryError, since the memory setting you have right now is not working out. -Rashmi - Original Message From: Rahul Tandon [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, March 15, 2007 11:08:29 AM Subject: RE: tomcat 5.5 Thanks Rashmi for the suggestion. My application is using (some time) quite a big memory (I need 1GB once in a while!!!), that's why I wanted to have this setting. One other thing I notice(which I am not sure of), will this error would have any effect: The Apache Tomcat Native library which allows optimal performance in production environments was not found Thanks again. Rahul Tandon 516-627-8993 Xtn 208 [EMAIL PROTECTED] 111 Great Neck Rd.,Suite #314 Great Neck, NY 11021 This communication is for informational purposes only. The contents of this transmission are confidential and are intended solely for the use of the individual or entity to whom they are addressed.If you have received this email in error please notify the sender by return email and delete this message from your system. Flextrade Systems Inc., its subsidiaries and affiliates do not guarantee the completeness and accuracy of this transmission's contents. Moreover, Flextrade Systems Inc., its subsidiaries and affiliates do not guarantee this communication to be free of viruses and accept no liability for any damage caused thereof. -Original Message- From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 10:59 AM To: Tomcat Users List Subject: Re: tomcat 5.5 I think trying to increase the memory configuration in any application doesn't necessarily contribute to it's speed because the garbage collector does not perform serious attempts to release memory until the heap size limit is reached. So, having a lower heap size limit (lower max memory setting), ensures that the garbage collector releases as much memory as possible in a shorter interval and having a higher memory setting significantly delays the garbage collection. My suggestion is that it is better to keep the original memory settings than increase it, and only increase it if your project is too large or resource intensive and requires additional memory and not because there's plenty of memory available - why not use it. -Rashmi - Original Message From: Rahul Tandon [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, March 15, 2007 10:25:22 AM Subject: tomcat 5.5 Hi, I had posted this yesterday and got some feedback from chuck, but still there is no concrete resolution to the problem, if somebody knows anything about this kind of issue, please help me. I am using following configuration: Red Hat Enterprise Linux AS release 3 (Taroon Update 4) 4GB RAM Tomcat version 5.5 Java version 1.5.0_06 Tomcat connectors setting: maxThreads=150 minSpareThreads=25 maxSpareThreads=75 ulimit -a also seems ok: core file size(blocks, -c) unlimited data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max locked memory (kbytes, -l) 4 max memory size (kbytes, -m) unlimited open files(-n) 1024 pipe size (512 bytes, -p) 8 stack size(kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes(-u) 7168 virtual memory(kbytes, -v) unlimited . I am using CATALINA_OPTS -Xms512m -Xmx512m -Djava.awt.headless=true and
Re: HSE_REQ_SEND_RESPONSE_HEADER failed
Use the file I send link to (1.2.22-dev) [Thu Mar 15 09:52:57 2007] [error] start_response::jk_isapi_plugin.c (475): HSE_REQ_SEND_RESPONSE_HEADER failed Here you should see HSE_REQ_SEND_RESPONSE_HEADER failed with error=x The error will give us a clue what's going on. Use the latest .dll and post the log with those errors. Regards, Mladen. - 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: java.util.MissingResourceException: Can't find bundle for basename
From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED] Subject: Re: java.util.MissingResourceException: Can't find bundle for basename eclipse '/opt/eclipse/eclipse' -vm /usr/java/jdk1.5.0/bin/java -vmargs -Xmx256M where jdk1.5.0 is a symlink to the 1.5.0_11 dir. So Tomcat and Eclipse are using the same jvm. Then where did the following come from? gnu.gcj.SystemClassLoader(url=[file: ]) That's not part of Tomcat or any Sun JRE, but does appear to be from the GNU JVM. Might try running a simple Java program from Eclipse that dumps the system properties, just to verify what you are 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]
RE: how to configure the tomcat to automatically update class instances when a class file changed
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Re: how to configure the tomcat to automatically update class instances when a class file changed The autoDeploy=true means the sevlet will reload if anything is changed under WEB-INF That's not quite true. The autoDeploy attribute allows deployment of applications on the fly, but only monitors the following for existing applications: * An update to the WEB-INF/web.xml file will trigger a reload of the web application * An update to a WAR which has been expanded will trigger an undeploy (with a removal of the expanded webapp), followed by a deployment * An update to a XML configuration file will trigger an undeploy (without the removal of any expanded directory), followed by a deployment of the associated web application If you're changing jars or class files under WEB-INF, you need a WatchedResource element inside the Context for the webapp. By default, only WEB-INF/web.xml is monitored. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat 5.5
From: Rahul Tandon [mailto:[EMAIL PROTECTED] Subject: RE: tomcat 5.5 The Apache Tomcat Native library which allows optimal performance in production environments was not found That has no bearing on your OOME; it's displayed when the APR .dll or .so file isn't installed. For Linux platforms, you usually have to build it from source. Tomcat defaults to the pure Java connector when the APR one isn't available. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Quick Question for TomCat Gurus
change up your catalina.bat or.sh file to point to the JDK 1.6 version set JAVA_HOME=C:\j2sdk1.4.0 I'm using an older version here. This is from my catalina.bat file although not sure if TC 4.1 will work well with that JDK or not. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 10:59 AM To: Tomcat Users List Subject: Re: Quick Question for TomCat Gurus Somewhere in the execution path you still have java 1.4.2. Check your PATH environment variable -- the first folder that contains java.exe will be the one that returns. As to what jdk tomcat 4.1 is running with, check the manager webapp (http://localhost:8080/manager/html) and adjust the start/stop scripts if necessary. The exception cited below has to do with a jsp not finding a bean instance with the name managerMenu in the page context, request, session or servlet context. I'm guessing it's supposed to be run after some other servlet or filter code that adds this to one of the mentioned scopes. --David Bruno Vilardo wrote: Hello All, Tomcat 4.1 Suse Linux Enterprise Server Java 1.6.0 Is there any issue using Tomcat 4.1 with Java 1.6.0? Our System Admin has installed the Java 1.6.0 but when running the java -version it shows a different java version as below: $java -version java version 1.4.2_13 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06) Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode) I also found some messages in the localhost.log as below: more localhost_log.2007-03-15.txt 2007-03-15 11:18:42 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception javax.servlet.ServletException: Cannot find bean managerMenu in any scope at org.apache.jasper.runtime.PageContextImpl.handlePageException( PageContextImpl.java:495) at org.apache.jsp.displaymenudetail_jsp._jspService (displaymenudetail_jsp.java:126) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java :92) at javax.servlet.http.HttpServlet.service(HttpServlet.java:809) at org.apache.jasper.servlet.JspServletWrapper.service( JspServletWrapper.java:162) at org.apache.jasper.servlet.JspServlet.serviceJspFile( JspServlet.java:240) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187) at javax.servlet.http.HttpServlet.service(HttpServlet.java:809) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.j ava:200) Does anybody know what this could be? Thanks a lot in advance!!! Best Regards, Bruno - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: java.util.MissingResourceException: Can't find bundle for basename
Hmm. you're right. But I saw it only once or twice in the eclipse console view. Anyway, I'll have to deal with this later (Maybe start with a fresh Eclipse 3.2 or 3.3 build) and try again, as next week I'll be on ski holiday in France. Thanks again for helping me out so far Chuck (Or Charles ?). Ronald Caldarale, Charles R wrote: From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED] Subject: Re: java.util.MissingResourceException: Can't find bundle for basename eclipse '/opt/eclipse/eclipse' -vm /usr/java/jdk1.5.0/bin/java -vmargs -Xmx256M where jdk1.5.0 is a symlink to the 1.5.0_11 dir. So Tomcat and Eclipse are using the same jvm. Then where did the following come from? gnu.gcj.SystemClassLoader(url=[file: ]) That's not part of Tomcat or any Sun JRE, but does appear to be from the GNU JVM. Might try running a simple Java program from Eclipse that dumps the system properties, just to verify what you are 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] - 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: JSP page not updated on each request
I've also noticed in my apps sometimes that items with javascript references either get so deeply cached or are not recognized until I stop and restart Tomcat. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 8:14 AM To: Tomcat Users List Subject: Re: JSP page not updated on each request Mmmm, dont know I think the browser should be picking up file changes, but if you want to make sure the browser doesnt cache, then if I remember correctly search for NO-CACHE and set the headers returned, the browser will reload every time. Note that headers are different for different browsers so you have to set a few headers... google will tell you. Note that when you developing, I've noticed if you leave the browser open, it may still display previous page... but it doesnt happen once deployed. Other thing that maybe catching you is that you changing something in the servlet INIT routine... and that somehow impacts on your JSP pages say thru a bean. That wont reflect until you stop and start tomcat..INIT runs once at start up. good luck - Original Message - From: pkumar [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, March 15, 2007 9:39 AM Subject: JSP page not updated on each request Hello, The JSP pages in my project is not showing the updated one upon each request..Its showing the old one and only when i press the refresh, its showing the updated one...I believe this is the problem with Tomcat..Can someone help. Thanks in advance Pradeep -- View this message in context: http://www.nabble.com/JSP-page-not-updated-on-each-request-tf3406783.html#a9489775 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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
From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Subject: Re: tomcat 5.5 So, having a lower heap size limit (lower max memory setting), ensures that the garbage collector releases as much memory as possible in a shorter interval and having a higher memory setting significantly delays the garbage collection. Actually, the length of time spent in GC is almost entirely dependent on the number of live objects and not the size of the heap. The number of live objects fluctuates a relatively small amount for most applications, so it's usually beneficial to run with as large a heap as you can get away with. In this case, the JVM isn't running out of heap space - it's the underlying OS that's refusing to create additional threads when the JVM heap is enlarged enough to impact the remaining virtual space for the process. Might be something as simple as not having a large enough swap file. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] java.util.MissingResourceException: Can't find bundle for basename
From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED] Subject: Re: java.util.MissingResourceException: Can't find bundle for basename Chuck (Or Charles ?). It's Charles on the birth certificate, Chuck in the rest of the world. Alps or Pyrenees? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Quick Question for TomCat Gurus
ok, sorry about that. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 11:22 AM To: Tomcat Users List Subject: Re: Quick Question for TomCat Gurus Barry -- what you suggest only works on Windows boxes and only if using the *.bat files. The OP has already stated this is a linux box: Suse Linux Enterprise Server Not knowing how the OP starts tomcat, it's hard to give solid advice on the best method for switching JDKs. --David Propes, Barry L [GCG-NAOT] wrote: change up your catalina.bat or.sh file to point to the JDK 1.6 version set JAVA_HOME=C:\j2sdk1.4.0 I'm using an older version here. This is from my catalina.bat file although not sure if TC 4.1 will work well with that JDK or not. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 10:59 AM To: Tomcat Users List Subject: Re: Quick Question for TomCat Gurus Somewhere in the execution path you still have java 1.4.2. Check your PATH environment variable -- the first folder that contains java.exe will be the one that returns. As to what jdk tomcat 4.1 is running with, check the manager webapp (http://localhost:8080/manager/html) and adjust the start/stop scripts if necessary. The exception cited below has to do with a jsp not finding a bean instance with the name managerMenu in the page context, request, session or servlet context. I'm guessing it's supposed to be run after some other servlet or filter code that adds this to one of the mentioned scopes. --David Bruno Vilardo wrote: Hello All, Tomcat 4.1 Suse Linux Enterprise Server Java 1.6.0 Is there any issue using Tomcat 4.1 with Java 1.6.0? Our System Admin has installed the Java 1.6.0 but when running the java -version it shows a different java version as below: $java -version java version 1.4.2_13 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06) Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode) I also found some messages in the localhost.log as below: more localhost_log.2007-03-15.txt 2007-03-15 11:18:42 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception javax.servlet.ServletException: Cannot find bean managerMenu in any scope at org.apache.jasper.runtime.PageContextImpl.handlePageException( PageContextImpl.java:495) at org.apache.jsp.displaymenudetail_jsp._jspService (displaymenudetail_jsp.java:126) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java :92) at javax.servlet.http.HttpServlet.service(HttpServlet.java:809) at org.apache.jasper.servlet.JspServletWrapper.service( JspServletWrapper.java:162) at org.apache.jasper.servlet.JspServlet.serviceJspFile( JspServlet.java:240) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187) at javax.servlet.http.HttpServlet.service(HttpServlet.java:809) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.j ava:200) Does anybody know what this could be? Thanks a lot in advance!!! Best Regards, Bruno - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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
Hmm.., I came accross these documents while trying to increase memory for my IDE... and that's why I thought having a very large heap size doesn't always improve performance of a Java based app. http://support.jetbrains.com/kb/entry.jspa?externalID=33categoryID=5 ...For instance, running gc might take extremely long time. In such case, it is advisable to reduce the heap size http://support.jetbrains.com/kb/entry.jspa?categoryID=5externalID=3 ...Until the memory size used for the JVM heap is lower than the specified limit, the garbage collector does not perform serious attempts to release memory -Rashmi - Original Message From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, March 15, 2007 12:05:00 PM Subject: RE: tomcat 5.5 From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Subject: Re: tomcat 5.5 So, having a lower heap size limit (lower max memory setting), ensures that the garbage collector releases as much memory as possible in a shorter interval and having a higher memory setting significantly delays the garbage collection. Actually, the length of time spent in GC is almost entirely dependent on the number of live objects and not the size of the heap. The number of live objects fluctuates a relatively small amount for most applications, so it's usually beneficial to run with as large a heap as you can get away with. In this case, the JVM isn't running out of heap space - it's the underlying OS that's refusing to create additional threads when the JVM heap is enlarged enough to impact the remaining virtual space for the process. Might be something as simple as not having a large enough swap file. - 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] Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front - 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: Question on EAR files
Savoy, Melinda wrote: I understand that Apache Tomcat 6 now supports the EAR file. Is that correct? Incorrect, Geronimo with Tomcat 6 does Filip Melinda Savoy Sr. Programmer Analyst Financial Applications - Enterprise Systems The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law. If you are not the intended recipient, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return e-mail and delete the original message from your system. No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.11/722 - Release Date: 3/14/2007 3:38 PM - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Question on EAR files
Thanks for the response. We're trying to find an alternative to Jboss. Regards. -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 12:00 PM To: Tomcat Users List Subject: Re: Question on EAR files Savoy, Melinda wrote: I understand that Apache Tomcat 6 now supports the EAR file. Is that correct? Incorrect, Geronimo with Tomcat 6 does Filip Melinda Savoy Sr. Programmer Analyst Financial Applications - Enterprise Systems The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law. If you are not the intended recipient, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return e-mail and delete the original message from your system. -- -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.11/722 - Release Date: 3/14/2007 3:38 PM - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law. If you are not the intended recipient, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return e-mail and delete the original message from your system. - 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: JNDIRealm over SSL to OpenLDAP
Nathan, Judging from the exception, perhaps the problem is that the SSL certificate used by OpenLDAP could not be validated by Java. It could be that you're using a self signed certificate and Java does not trust it. If you are using a certificate signed by a third party, check that the root certificate in your certificate chain is recognized by Java. See http://mindprod.com/jgloss/certificate.html#VIEWING On Thursday 15 March 2007 03:39, Nathan Fiedler wrote: P.S. I searched the lists, FAQ, and bug database. It seems the only thing I can find are some outdated emails without any solution. WARNING: Exception performing authentication javax.naming.CommunicationException: anonymous bind failed: localhost:636 [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target] at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:176) at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2658) at com.sun.jndi.ldap.LdapCtx.init(LdapCtx.java:287) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175) ... -- Nicholas Sushkin, Senior Software Engineer Open Finance, Chelsea Piers Pier 62 Suite 316, New York NY 10011 Tel +1 646 723 2790 Fax +1 646 723 2789 [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature
RE: tomcat 5.5
From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Subject: Re: tomcat 5.5 ...For instance, running gc might take extremely long time. In such case, it is advisable to reduce the heap size Urban myth, possibly true in the very early days of Java, when GC was not terribly sophisticated. ...Until the memory size used for the JVM heap is lower than the specified limit, the garbage collector does not perform serious attempts to release memory The above sentence, as written, is obviously incorrect. Perhaps while was meant, rather than until. The crux of the matter is the meaning of serious attempts. HotSpot JVMs try to avoid a full GC if at all possible, since it's a rather expensive thing to do. Instead, small GCs are run on the Eden space, which for most applications, frees up 60% - 90% of the dead space. I would categorize these as serious, but perhaps not everyone would. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat 5.5
ok, you know better :-) I just came accross this too, in case it helps the OP in anyway : http://developers.sun.com/sunstudio/articles/perfoptions.html (Jan 2007) Also, it helps to check the code to see if there any circular object references. Pre-compiling JSPs either with Jasper of HttpUnit , also makes the app faster overall, in addition to other kinds of tuning. Use a performance analyzer to identify what parts of the code are taking up most of the memory. http://developers.sun.com/sunstudio/analyzer_index.html -Rashmi - Original Message From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, March 15, 2007 1:18:32 PM Subject: RE: tomcat 5.5 From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Subject: Re: tomcat 5.5 ...For instance, running gc might take extremely long time. In such case, it is advisable to reduce the heap size Urban myth, possibly true in the very early days of Java, when GC was not terribly sophisticated. ...Until the memory size used for the JVM heap is lower than the specified limit, the garbage collector does not perform serious attempts to release memory The above sentence, as written, is obviously incorrect. Perhaps while was meant, rather than until. The crux of the matter is the meaning of serious attempts. HotSpot JVMs try to avoid a full GC if at all possible, since it's a rather expensive thing to do. Instead, small GCs are run on the Eden space, which for most applications, frees up 60% - 90% of the dead space. I would categorize these as serious, but perhaps not everyone would. - 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] Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html - 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: Question on EAR files
You have two, our own Geronimo and Sun's Glassfish Filip Savoy, Melinda wrote: Thanks for the response. We're trying to find an alternative to Jboss. Regards. -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 12:00 PM To: Tomcat Users List Subject: Re: Question on EAR files Savoy, Melinda wrote: I understand that Apache Tomcat 6 now supports the EAR file. Is that correct? Incorrect, Geronimo with Tomcat 6 does Filip Melinda Savoy Sr. Programmer Analyst Financial Applications - Enterprise Systems The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law. If you are not the intended recipient, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return e-mail and delete the original message from your system. -- -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.11/722 - Release Date: 3/14/2007 3:38 PM - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law. If you are not the intended recipient, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return e-mail and delete the original message from your system. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: Question on EAR files
And how about JONAS? The object web's LGPL enterprise application server Filip Hanik - Dev Lists a écrit : You have two, our own Geronimo and Sun's Glassfish Filip Savoy, Melinda wrote: Thanks for the response. We're trying to find an alternative to Jboss. Regards. -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 12:00 PM To: Tomcat Users List Subject: Re: Question on EAR files Savoy, Melinda wrote: I understand that Apache Tomcat 6 now supports the EAR file. Is that correct? Incorrect, Geronimo with Tomcat 6 does Filip Melinda Savoy Sr. Programmer Analyst Financial Applications - Enterprise Systems The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law. If you are not the intended recipient, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return e-mail and delete the original message from your system. -- -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.11/722 - Release Date: 3/14/2007 3:38 PM - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law. If you are not the intended recipient, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return e-mail and delete the original message from your system. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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
From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Subject: Re: tomcat 5.5 I just came accross this too, in case it helps the OP in anyway : http://developers.sun.com/sunstudio/articles/perfoptions.html (Jan 2007) The above is specific to Solaris; don't know if there are Red Hat equivalents. Also, it helps to check the code to see if there any circular object references. Circular references don't impact garbage collection. Only reference counter mechanisms have to worry about those, and I don't think any JVM vendor is using counters anymore (too much overhead). Use a performance analyzer to identify what parts of the code are taking up most of the memory. http://developers.sun.com/sunstudio/analyzer_index.html The above is again specific to Solaris, but there must be something similar available for Linux. - 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]
Installing Tomcat as a Windows Service - JvmOptions semicolons
I'm having a bit of trouble configuring the jvm options as I'm installing Tomcat as a Windows Service. I need to set: java.library.path=C:\example\dir1;C:\example\dir2;C:\example\dir3 I pass this to the update service command (below) but the JvmOptions command line option is parsing the semicolons as separated JVM options. %EXECUTABLE% //US//%SERVICE_NAME% ++JvmOptions -Djava.library.path=C:\example\dir1;C:\example\dir2;C:\example\dir3 The instructions state: --JvmOptions List of options in the form of -D or -X that will be passed to the JVM. The options are separated using either # or ; characters. If a JVM option has semicolons in it, how can I pass those as literals so that JvmOptions won't think it's a subsequent option? Thanks ahead of time for any help/input. -- Peter Lombardo [EMAIL PROTECTED] - 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: apache-tomcat-6.0.10 OutOfMemoryError
Hi, Prakash I just tested tomcat example jsp page, there is not any object to assign null. Thanks. Arden --- prakash shanmugam [EMAIL PROTECTED] wrote: hi i personally fell disabling the session in tomcat is not the correct solution to overcome the memory out of error. just try to asign null for unused objects. hope it resolve your issue. bye with regards prakash.s On 3/13/07, acec acec [EMAIL PROTECTED] wrote: Hi, Remy After I added %@ page session=false % into /apache-tomcat-6.0.10/webapps/examples/jsp/tagplugin/foreach.jsp , I could not reproduce OutOfMemoryError. But if I add %@ page session=false % into my application, my jsp could not get information from session. How can I walk around this problem? Thanks. Arden --- Rémy Maucherat [EMAIL PROTECTED] wrote: On 3/12/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: add -XX:+HeapDumpOnOutOfMemoryError to your JAVA_OPTS, then you can zip up the file that gets generated, make it available to us and I'll take a look at it Most likely it's because of session creation. (you should not be too naive about problem reports, I think :D) - Add %@ page session=false % before testing the page, or make the client send a cookie with the session id. Rémy - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - 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 and Regards S.Prakash __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - 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: WebDAV with Tomcat 6
Konstantin Breu wrote: Hello, former versions of Tomcat had a WebDAV servlet/filter as example how to use WebDAV with tomcat. It does not seem to be part of Tomcat 6. Why was it removed? Was it moved to some other installation package/project? The servlet is still there but there is no longer an example web application that uses it. The one from TC5 should work if you copy it across. 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]
Re: org.apache.jasper.compiler.DefaultErrorHandler.javacError
Hi David, Please find complete stacktrace, C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\edrsystem\jsp \EDR\EDRSelection_jsp.java:123: cannot access pwDashUtil.EDRUtil.EDRUtil bad class file: C:\Program Files\Apache Group\Tomcat 4.1\webapps\edrsystem\WEB-I NF\classes\pwDashUtil\EDRUtil\EDRUtil.class class file has wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpa th. EDRUtil obj = new EDRUtil(sUserName,pAdminSe ttings); ^ 1 error Info: Compile: javaFileName=C:\Program Files\Apache Group\Tomcat 4.1\work\Standa lone\localhost\edrsystem\jsp\EDR\/EDRSelection_jsp.java classpath=/C:/Program%20Files/Apache%20Group/Tomcat%204.1/webapps/edrsystem/ WEB-INF/classes/;/C:/Program%20Files/Apache%20Group/Tomcat%204.1/webapps/edrsyst em/WEB-INF/lib/CordaEmbedder.jar;/C:/Program%20Files/Apache%20Group/Tomcat%204.1 /webapps/edrsystem/WEB-INF/lib/activation.jar;/C:/Program%20Files/Apache%20Group /Tomcat%204.1/webapps/edrsystem/WEB-INF/lib/commons-fileupload-1.0.jar;/C:/Progr am%20Files/Apache%20Group/Tomcat%204.1/webapps/edrsystem/WEB-INF/lib/dfc.jar;/C: /Program%20Files/Apache%20Group/Tomcat%204.1/webapps/edrsystem/WEB-INF/lib/gdk.j ar;/C:/Program%20Files/Apache%20Group/Tomcat%204.1/webapps/edrsystem/WEB-INF/lib /htmlparser.jar;/C:/Program%20Files/Apache%20Group/Tomcat%204.1/webapps/edrsyste m/WEB-INF/lib/jconn2.jar;/C:/Program%20Files/Apache%20Group/Tomcat%204.1/webapps /edrsystem/WEB-INF/lib/mail.jar;/C:/Program%20Files/Apache%20Group/Tomcat%204.1/ webapps/edrsystem/WEB-INF/lib/msbase.jar;/C:/Program%20Files/Apache%20Group/Tomc at%204.1/webapps/edrsystem/WEB-INF/lib/mssqlserver.jar;/C:/Program%20Files/Apach e%20Group/Tomcat%204.1/webapps/edrsystem/WEB-INF/lib/msutil.jar;/C:/Program%20Fi les/Apache%20Group/Tomcat%204.1/webapps/edrsystem/WEB-INF/lib/oracle_jdbc_classe s.jar;/C:/Program%20Files/Apache%20Group/Tomcat%204.1/webapps/edrsystem/WEB-INF/ lib/poi-2.5-final-20040302.jar;/C:/Program%20Files/Apache%20Group/Tomcat%204.1/w ebapps/edrsystem/WEB-INF/classes/;/C:/Program%20Files/Apache%20Group/Tomcat%204. 1/webapps/edrsystem/WEB-INF/lib/CordaEmbedder.jar;/C:/Program%20Files/Apache%20G roup/Tomcat%204.1/webapps/edrsystem/WEB-INF/lib/activation.jar;/C:/Program%20Fil es/Apache%20Group/Tomcat%204.1/webapps/edrsystem/WEB-INF/lib/commons-fileupload- 1.0.jar;/C:/Program%20Files/Apache%20Group/Tomcat%204.1/webapps/edrsystem/WEB-IN F/lib/dfc.jar;/C:/Program%20Files/Apache%20Group/Tomcat%204.1/webapps/edrsystem/ WEB-INF/lib/gdk.jar;/C:/Program%20Files/Apache%20Group/Tomcat%204.1/webapps/edrs ystem/WEB-INF/lib/htmlparser.jar;/C:/Program%20Files/Apache%20Group/Tomcat%204.1 /webapps/edrsystem/WEB-INF/lib/jconn2.jar;/C:/Program%20Files/Apache%20Group/Tom cat%204.1/webapps/edrsystem/WEB-INF/lib/mail.jar;/C:/Program%20Files/Apache%20Gr oup/Tomcat%204.1/webapps/edrsystem/WEB-INF/lib/msbase.jar;/C:/Program%20Files/Ap ache%20Group/Tomcat%204.1/webapps/edrsystem/WEB-INF/lib/mssqlserver.jar;/C:/Prog ram%20Files/Apache%20Group/Tomcat%204.1/webapps/edrsystem/WEB-INF/lib/msutil.jar ;/C:/Program%20Files/Apache%20Group/Tomcat%204.1/webapps/edrsystem/WEB-INF/lib/o racle_jdbc_classes.jar;/C:/Program%20Files/Apache%20Group/Tomcat%204.1/webapps/e drsystem/WEB-INF/lib/poi-2.5-final-20040302.jar;C:/Program Files/Apache Group/To mcat 4.1/shared/classes/;C:/Program Files/Apache Group/Tomcat 4.1/common/classes /;C:/Program Files/Apache Group/Tomcat 4.1/common/endorsed/xercesImpl.jar;C:/Pro gram Files/Apache Group/Tomcat 4.1/common/endorsed/xmlParserAPIs.jar;C:/Program Files/Apache Group/Tomcat 4.1/common/lib/activation.jar;C:/Program Files/Apache Group/Tomcat 4.1/common/lib/ant-launcher.jar;C:/Program Files/Apache Group/Tomca t 4.1/common/lib/ant.jar;C:/Program Files/Apache Group/Tomcat 4.1/common/lib/com mons-collections.jar;C:/Program Files/Apache Group/Tomcat 4.1/common/lib/commons -dbcp-1.1.jar;C:/Program Files/Apache Group/Tomcat 4.1/common/lib/commons-loggin g-api.jar;C:/Program Files/Apache Group/Tomcat 4.1/common/lib/commons-pool-1.1.j ar;C:/Program Files/Apache Group/Tomcat 4.1/common/lib/jasper-compiler.jar;C:/Pr ogram Files/Apache Group/Tomcat 4.1/common/lib/jasper-runtime.jar;C:/Program Fil es/Apache Group/Tomcat 4.1/common/lib/jdbc2_0-stdext.jar;C:/Program Files/Apache Group/Tomcat 4.1/common/lib/jndi.jar;C:/Program Files/Apache Group/Tomcat 4.1/c ommon/lib/jta.jar;C:/Program Files/Apache Group/Tomcat 4.1/common/lib/mail.jar;C :/Program Files/Apache Group/Tomcat 4.1/common/lib/naming-common.jar;C:/Program Files/Apache Group/Tomcat 4.1/common/lib/naming-factory.jar;C:/Program Files/Apa che Group/Tomcat 4.1/common/lib/naming-resources.jar;C:/Program Files/Apache Gro up/Tomcat 4.1/common/lib/servlet.jar;C:/Program Files/Apache Group/Tomcat 4.1/co mmon/lib/tools.jar cp=C:\Program Files\Apache Group\Tomcat 4.1\webapps\edrsystem\WEB-INF\class es cp=C:\Program Files\Apache Group\Tomcat
Re: Installing Tomcat as a Windows Service - JvmOptions semicolons
I have to install this from a script for the time being. I'm automating the process of adding and removing tomcat instances onto various servers. Peter On 3/15/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Peter Lombardo [mailto:[EMAIL PROTECTED] Subject: Installing Tomcat as a Windows Service - JvmOptions semicolons I need to set: java.library.path=C:\example\dir1;C:\example\dir2;C:\example\dir3 Do you have to use the script, or can you do this with the GUI (tomcat5w.exe or tomcat6w.exe)? - 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] -- Peter Lombardo [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
class file has wrong version 49.0, should be 48.0
Hi Experts, Ciuld anyn one help me what is meaning of this.. When a jsp is called i am getting 500 error with this message C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\edrsystem\jsp \EDR\EDRSelection_jsp.java:123: cannot access pwDashUtil.EDRUtil.EDRUtil bad class file: C:\Program Files\Apache Group\Tomcat 4.1\webapps\edrsystem\WEB-I NF\classes\pwDashUtil\EDRUtil\EDRUtil.class class file has wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpa th. EDRUtil obj = new EDRUtil(sUserName,pAdminSe ttings); ^ 1 error - 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: Installing Tomcat as a Windows Service - JvmOptions semicolons
you are better off using Java Service Wrapper, from http://wrapper.tanukisoftware.org/doc/english/introduction.html I've created a Tomcat specific install that lets you do thread dumps to the service, you can find that one here http://people.apache.org/~fhanik/wrapper.html This lets you configure everything you could possible think of, and more Filip Peter Lombardo wrote: I'm having a bit of trouble configuring the jvm options as I'm installing Tomcat as a Windows Service. I need to set: java.library.path=C:\example\dir1;C:\example\dir2;C:\example\dir3 I pass this to the update service command (below) but the JvmOptions command line option is parsing the semicolons as separated JVM options. %EXECUTABLE% //US//%SERVICE_NAME% ++JvmOptions -Djava.library.path=C:\example\dir1;C:\example\dir2;C:\example\dir3 The instructions state: --JvmOptions List of options in the form of -D or -X that will be passed to the JVM. The options are separated using either # or ; characters. If a JVM option has semicolons in it, how can I pass those as literals so that JvmOptions won't think it's a subsequent option? Thanks ahead of time for any help/input. - 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: class file has wrong version 49.0, should be 48.0
From: Raghuveer [mailto:[EMAIL PROTECTED] Subject: class file has wrong version 49.0, should be 48.0 Ciuld anyn one help me what is meaning of this.. A little Googling or search of the archives would show that your're trying to use a .class file compiled with JDK 1.5 on a 1.4 JVM. Your easiest fix may well be to install a 1.5 JRE. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: class file has wrong version 49.0, should be 48.0
Yes, I am using 1.4.2.13 JDK installed from j2re-1_4_2_13-windows-i586-p.exe and tomcat version is Apache Tomcat/4.1.31 (http://tomcat.apache.org/download-41.cgi) -- C:\Documents and Settings\FSCA569java -version java version 1.4.2_13 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06) Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode) C:\Documents and Settings\FSCA569set classpath classpath=C:\j2sdk1.4.2_13\jre\lib\rt.jar;D:\jars\servlet.jar;D:\jars\mail.jar;D :\jars\gdk.jar;D:\jars\CordaEmbedder.jar;D:\jars\activation.jar;D:\jars\commons- fileupload-1.0.jar;D:\jars\itext.jar;. From: Raghuveer [mailto:[EMAIL PROTECTED] Subject: class file has wrong version 49.0, should be 48.0 Ciuld anyn one help me what is meaning of this.. A little Googling or search of the archives would show that your're trying to use a .class file compiled with JDK 1.5 on a 1.4 JVM. Your easiest fix may well be to install a 1.5 JRE. - 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] - 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: Installing Tomcat as a Windows Service - JvmOptions semicolons
Although those packages look impressive and seem very helpful - introducing new software into a live managed hosting environment to solve a semicolon issue is hard to justify. I'll look into those some more for the future, but for the time being it's not an option. ;-). I've found that if I manually insert the needed options into the registry - then all is well. HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\[servicename]\Parameters\Java\Options Not the prettiest but maybe a generated .reg file to update the relative value? Peter On 3/15/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: you are better off using Java Service Wrapper, from http://wrapper.tanukisoftware.org/doc/english/introduction.html I've created a Tomcat specific install that lets you do thread dumps to the service, you can find that one here http://people.apache.org/~fhanik/wrapper.html This lets you configure everything you could possible think of, and more Filip Peter Lombardo wrote: I'm having a bit of trouble configuring the jvm options as I'm installing Tomcat as a Windows Service. I need to set: java.library.path=C:\example\dir1;C:\example\dir2;C:\example\dir3 I pass this to the update service command (below) but the JvmOptions command line option is parsing the semicolons as separated JVM options. %EXECUTABLE% //US//%SERVICE_NAME% ++JvmOptions -Djava.library.path=C:\example\dir1;C:\example\dir2;C:\example\dir3 The instructions state: --JvmOptions List of options in the form of -D or -X that will be passed to the JVM. The options are separated using either # or ; characters. If a JVM option has semicolons in it, how can I pass those as literals so that JvmOptions won't think it's a subsequent option? Thanks ahead of time for any help/input. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Peter Lombardo [EMAIL PROTECTED] - 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: OutOfMemoryError
Rahul, There's an inverse relationship between your maximum heap size and the number of threads that can be allocated within your process. Your OS (and Java) will allocate memory for each Thread you create. By increasing your max heap, you're actually reducing the amount of memory available for thread creation. --kevan - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Differences When Starting Tomcat (5.5) as a Windows Service vs User Pgm?
Greetings, I have a servlet running happily in Tomcat 5.5 on a Windows 2003 Server when Tomcat is started as a user program. However, when I start it as a Windows service it seems to miss values from a properties file I keep in Tomcat/bin, and the servlet dies the death of a thousand NullPointerExceptions. Does the default directory change when running as a service? Anything else I should know? Any FAQs on this? Thanks, Rick Strong - 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: Differences When Starting Tomcat (5.5) as a Windows Service vs UserPgm?
From: Rick Strong [mailto:[EMAIL PROTECTED] Subject: Differences When Starting Tomcat (5.5) as a Windows Service vs UserPgm? Does the default directory change when running as a service? Yes, but you can set the current directory to whatever you want using tomcat5w.exe under the Startup tab. Anything else I should know? I think the answer is probably yes for all of us... - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: class file has wrong version 49.0, should be 48.0
hi the problem resolved. Thanks to forums... Hi Experts, Ciuld anyn one help me what is meaning of this.. When a jsp is called i am getting 500 error with this message C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\edrsystem\jsp \EDR\EDRSelection_jsp.java:123: cannot access pwDashUtil.EDRUtil.EDRUtil bad class file: C:\Program Files\Apache Group\Tomcat 4.1\webapps\edrsystem\WEB-I NF\classes\pwDashUtil\EDRUtil\EDRUtil.class class file has wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpa th. EDRUtil obj = new EDRUtil(sUserName,pAdminSe ttings); ^ 1 error - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: Installing Tomcat as a Windows Service - JvmOptions semicolons
Peter Lombardo wrote: I'm having a bit of trouble configuring the jvm options as I'm installing Tomcat as a Windows Service. I need to set: java.library.path=C:\example\dir1;C:\example\dir2;C:\example\dir3 Use the: ++JvmOptions -Djava.library.path=C:\example\dir1';'C:\example\dir2';'C:\example\dir3 Regards, Mladen. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]