global filters
hello, I want to stop (not undeploy) my web application using manager app and need to give reasonable error page explaining the situation whenever this web application is used. Now I am wondering if is it possible to write a global filter that listens to all requests not only request for a certain web application? This would allow to redirect all requests that come to my stopped application to somewhere else... with best regards, Taavi -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Newbie Question Tomcat IIS
Hello, I'm been using tomcat at home for the last couple of months. While searching through the newsgroups i've noticed that some people run Tomcat and IIS together. Can anyone tell me why people do this and what they are aiming to achieve? Kind Regards, Rudi _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Newbie Question Tomcat IIS
At least in our case, we want Tomcat to show JSP pages, for IIS cannot serve this kind of dinamic content. So, IIS takes care of normal html files (static ones), and Tomcat of the dinamic JSP pages. (although we haven't been able yet to make it work properly) - Do You Yahoo!? Yahoo! Messenger! Comunicación instantánea gratis con tu gente.
RE: W2K/IIS - Tomcat Authenication
De: Loo, Jason [mailto:[EMAIL PROTECTED]] Enviado el: jueves 7 de marzo de 2002 3:50 A VERY detailed explanation of the problem can be found here. http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg 43337.html This bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5647 ( was badly reopened as the reopener was testing against 4.0.2) is solved in CVS pos 4.0.2 release, go to the nigthtly build, a tomcatAuthentication attibute was added to the ajp13 connector to control if the HTTP Server Native auth is honored or not, for IIS you will need to set tomcatAuthentication=true only, because of http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=2342.. Saludos , Ignacio J. Ortega -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Autentication with digest password(Urgent!)
I setup Tomcat 4.0.3 on Win2000 with JDBCRealm and a mysql-database. Using plain passwords, everything works fine. But I would like digest my password in the database. how to make this? can u give me step by step tutorial? Thank in advance
AJP bad read - 113 with tomcat 4.0.1 and apache 1.3.
Hi all, I got the error message AJP bad read - 113 from catalina.out and mod_jk.out. I looked in the tomcat Users group and found a solution posted by GOMEZ Henri. see http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg36582.html I copied the ajp.jar, tomcat-util.jar getting from http://jakarta.apache.org/~hgomez/ajp13-tc4.0 and followed the construction described in the document. But unfortunately I still get the AJP bad read - 113 error message. Does anybody know how can I solve this problem? Thank you very much for your help in advance. Thanh Click on www.no-voices.de for more infos -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Autentication with digest password(Urgent!)
Hi: Use java.security API. Supposing my_password is a string: MessageDigest disgest = MessageDigest.getInstance(MD5); byte[] pwd_digest = digest.digest(my_password.getBytes()); You have my_password digested in pwd_digest. Bye. Joaquín. - Original Message - From: Galbayar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, March 07, 2002 10:42 AM Subject: Autentication with digest password(Urgent!) I setup Tomcat 4.0.3 on Win2000 with JDBCRealm and a mysql-database. Using plain passwords, everything works fine. But I would like digest my password in the database. how to make this? can u give me step by step tutorial? Thank in advance -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Apache Tomcat as Service on Win2k
I am having severe difficulties getting Apache (1.3) + Tomcat 4.0.3 to run as services together on either Win2k or WinXP. In short: javaservice.exe fails with unusual error after initially working. jk_nt_service works. however, at boot time have to manually stop and restart apache to make the integration work. How can I ensure Apache starts running later? Thanks, Chris. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: HOW TO start tomcat on linux boot
Slackware Linux 8.0 thanks At 19:51 06/03/2002 -0500, you wrote: What distro of Linux are you using? Mike -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 5:57 PM To: 'Tomcat Users List' Subject: RE: HOW TO start tomcat on linux boot Is CATALINA_HOME set? IS JAVA_HOME set? what about CATALINA_BASE? Also, I don't personally like running things as root - you might want to install your webapps as another user (I just called it appuser), and su to that before executing tomcat. - Brett -Original Message- From: Gustavo Souza [mailto:[EMAIL PROTECTED]] Sent: Thursday, 7 March 2002 9:52 AM To: Tomcat Users List Subject: HOW TO start tomcat on linux boot hello, im trying to start tomcat on linux boot... but $CATALINA_HOME/bin/startup.sh didnt work on the rc.local it only works when I type it on prompt.. anyone can help ? thanks -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Gustavo Souza [EMAIL PROTECTED] TudoWEB Networks 2002
Re: Autentication with digest password(Urgent!)
In the tomcat 3.3 documentation, there is a JDBCRealm-howto that also describes how to use digested passwords. I don't know if this is still working for tomcat4? http://jakarta.apache.org/tomcat/tomcat-3.3-doc/JDBCRealm-howto.html Christian Galbayar wrote: I setup Tomcat 4.0.3 on Win2000 with JDBCRealm and a mysql-database. Using plain passwords, everything works fine. But I would like digest my password in the database. how to make this? can u give me step by step tutorial? Thank in advance -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat Not Picking Up Changes
Well its nice to know it is not just happening to us. We did delete our tomact cache, I believe that is the the ./tomcat/work/ directory and it didn't help. Steve Ofur-Bjarni wrote: Yes this happened to me as well, allthough it was a tag class I changed. You can force tomcat to recompile the page by deleting files in the directory: $tomcathome/work/[server_name]/[application_name]/ At least this is the directory strucure in tomcat 4.0 cheers, Bjarni -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: 7. mars 2002 01:22 To: [EMAIL PROTECTED] Subject: Tomcat Not Picking Up Changes Hi; I'm using Tomcat 3.2 on Red Hat 7.2 with the jdk 1.3.1_02 I've noticed that when I make javascript changes to the jsp pages that tomcat will not pick up the changes/use the newer version of the file after I blow my cache and restart tomcat. I can force tomcat to do so in this situation by making a minor change to the html on the page. Anyone know what is going on and how to get around it? Thanks in advance Steve -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem?
80MB is definitely possible (our application generally runs at about 130MB with peaks into the 300MB range for users, some nightly processing can push that to more than 500MB), it really depends on your application. Places where you could be loosing memory: 1. JavaC. Apparently JavaC has a memory leak and that memory can only be reclaimed by stopping and restarting Tomcat. To avoid this memory leak you have two options: A - use JSPC and precompile all your JSPs into servlets and B - When you do a new release launch Tomcat, have someone hit every page in the application, and restart Tomcat. 2. You might want to look at your session timeout along with how much data you are putting into the session, this could cause you to hold memory longer than is really necessary 3. Static variables on classes that somehow grow (like lists or maps that you keep putting data in and never remove). You can try running something like OptimizeIt! to determine where you are using the memory, but you might want to try and narrow down where the leak is occurring (some small set of actions or screens). Randy -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 8:08 PM To: Tomcat Users List Subject: RE: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem? I am using Linux RedHat 7.1, Sun JDK 1.3.1_01. Actually, it looks like it has gone down a bit. The memory was slowly growing all day today, up to about 80MB for java. It has gone back down a bit, so hopefully that means that something (gc) is working. Do those numbers sound right for an application that is mostly jsp's, and usually has around 15-20 concurrent database connections? Sessions are stored for each user as well. Maybe that's what I should be expecting??? -Original Message- From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 6:58 PM To: Tomcat Users List Subject: Re: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem? Can you give a bit more information, Brandon? Which Linux? What JVM? Etc.? At 02:32 PM 3/6/02 -0600, you wrote: This is probably a problem with our application, but does anyone know of any possible misconfiguration or anything that will cause a very slow increase in the amount of memory that Tomcat is using on Linux? If nobody has had a similar experience, what about possible solutions to tracking down the cause of this slow memory usage increase? We have hundreds of classes to search. Is there a tool or anything to help us out? Any help is GREATLY appreciated!!! Brandon -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: BASIC Authentication Question
Have you turn on the SingleSignOn valve in server.xml? -Paul Mark Shaw wrote: I'm hoping someone can shed some light on a particular behavior I'm experiencing with BASIC authentication and session cookies: I've set up my servlet to use BASIC authentication and I'm my own very simple realm implementation: protected String getPassword(String username) { return tomcat; } protected Principal getPrincipal(String username) { List roles = new ArrayList(); roles.add(test); return new GenericPrincipal(this, tomcat, tomcat, roles); } I have a Java client that connects to my servlet via a URL connection, identical to the code in org.apache.catalina.ant.AbstractCatalinaTask, passing in tomcat for user and password in the first request which works great! In subsequent requests I pass back the sessionID (in a cookie labeled jsessionid...) instead of the BASIC authentication, but my request fails [This request requires HTTP authentication (Unauthorized)] although my session ID is recognized by the servlet. I figured my initial authentication was cached so that I only needed to send the session ID and not pass the authentication string in the header each time - this seems to be the behavior of the Manager App when I dump its Request/Response headers. Any ideas how I can accomplish this from a Java client: only sending authentication once, then using the session ID cookie from then on? What's even stranger is that if I pass both the BASIC authentication header and my session ID every time it works great and my session is recognized, but my realm methods (see above) are never called, so the authentication must be stashed somewhere? Thanks for any help, -Mark -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
why do i get this error?
what does this error mean? i install tomcat 4.0.3 from binaries on to my solaris 8 for intel and tried to migrate some jsps i had on tomcat 3 to the new one. i have my jar files in $TOMCAT_HOME/lib. i thought that tomcat was suppose to read the jar files from that directory? i am wrong to assume this with tomcat 4? and why is it looking for my PoolManager class in org.apache.jsp package? i didn't set that as the package. is it just automatically assuming it? org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred at line: 3 in the jsp file: /courses.jsp Generated servlet error: /export/home/tomcat/work/localhost/roster/courses$jsp.java:66: Class org.apache.jsp.Course not found. Course course = null; ^ An error occurred at line: 3 in the jsp file: /courses.jsp Generated servlet error: /export/home/tomcat/work/localhost/roster/courses$jsp.java:69: Class org.apache.jsp.Course not found. course= (Course) ^ An error occurred at line: 3 in the jsp file: /courses.jsp Generated servlet error: /export/home/tomcat/work/localhost/roster/courses$jsp.java:74: Class org.apache.jsp.Course not found. course = (Course) java.beans.Beans.instantiate(this.getClass().getClassLoader(), Course); ^ An error occurred between lines: 75 and 81 in the jsp file: /courses.jsp Generated servlet error: /export/home/tomcat/work/localhost/roster/courses$jsp.java:116: Class org.apache.jsp.PoolManager not found. PoolManager poolMgr = PoolManager.getInstance(); ^ An error occurred between lines: 75 and 81 in the jsp file: /courses.jsp Generated servlet error: /export/home/tomcat/work/localhost/roster/courses$jsp.java:116: Class org.apache.jsp.PoolManager not found. PoolManager poolMgr = PoolManager.getInstance(); ^ An error occurred between lines: 75 and 81 in the jsp file: /courses.jsp Generated servlet error: /export/home/tomcat/work/localhost/roster/courses$jsp.java:116: Undefined variable or class name: PoolManager PoolManager poolMgr = PoolManager.getInstance(); ^ An error occurred between lines: 97 and 100 in the jsp file: /courses.jsp Generated servlet error: /export/home/tomcat/work/localhost/roster/courses$jsp.java:138: Class org.apache.jsp.CourseData not found. CourseData dc = (CourseData)data.elementAt(i); ^ An error occurred between lines: 97 and 100 in the jsp file: /courses.jsp Generated servlet error: /export/home/tomcat/work/localhost/roster/courses$jsp.java:138: Class org.apache.jsp.CourseData not found. CourseData dc = (CourseData)data.elementAt(i); ^ 8 errors, 1 warning at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at
RE: why do i get this error?
For all classes without a package you need to import them explicitly. (i.e. %@ page import=Course % Randy -Original Message- From: Peter Choe [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 8:08 AM To: [EMAIL PROTECTED] Subject: why do i get this error? what does this error mean? i install tomcat 4.0.3 from binaries on to my solaris 8 for intel and tried to migrate some jsps i had on tomcat 3 to the new one. i have my jar files in $TOMCAT_HOME/lib. i thought that tomcat was suppose to read the jar files from that directory? i am wrong to assume this with tomcat 4? and why is it looking for my PoolManager class in org.apache.jsp package? i didn't set that as the package. is it just automatically assuming it? org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred at line: 3 in the jsp file: /courses.jsp Generated servlet error: /export/home/tomcat/work/localhost/roster/courses$jsp.java:66: Class org.apache.jsp.Course not found. Course course = null; ^ An error occurred at line: 3 in the jsp file: /courses.jsp Generated servlet error: /export/home/tomcat/work/localhost/roster/courses$jsp.java:69: Class org.apache.jsp.Course not found. course= (Course) ^ An error occurred at line: 3 in the jsp file: /courses.jsp Generated servlet error: /export/home/tomcat/work/localhost/roster/courses$jsp.java:74: Class org.apache.jsp.Course not found. course = (Course) java.beans.Beans.instantiate(this.getClass().getClassLoader(), Course); ^ An error occurred between lines: 75 and 81 in the jsp file: /courses.jsp Generated servlet error: /export/home/tomcat/work/localhost/roster/courses$jsp.java:116: Class org.apache.jsp.PoolManager not found. PoolManager poolMgr = PoolManager.getInstance(); ^ An error occurred between lines: 75 and 81 in the jsp file: /courses.jsp Generated servlet error: /export/home/tomcat/work/localhost/roster/courses$jsp.java:116: Class org.apache.jsp.PoolManager not found. PoolManager poolMgr = PoolManager.getInstance(); ^ An error occurred between lines: 75 and 81 in the jsp file: /courses.jsp Generated servlet error: /export/home/tomcat/work/localhost/roster/courses$jsp.java:116 : Undefined variable or class name: PoolManager PoolManager poolMgr = PoolManager.getInstance(); ^ An error occurred between lines: 97 and 100 in the jsp file: /courses.jsp Generated servlet error: /export/home/tomcat/work/localhost/roster/courses$jsp.java:138: Class org.apache.jsp.CourseData not found. CourseData dc = (CourseData)data.elementAt(i); ^ An error occurred between lines: 97 and 100 in the jsp file: /courses.jsp Generated servlet error: /export/home/tomcat/work/localhost/roster/courses$jsp.java:138: Class org.apache.jsp.CourseData not found. CourseData dc = (CourseData)data.elementAt(i); ^ 8 errors, 1 warning at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfN ecessary(JspServlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service (JspServlet.java:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet .java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilt er(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli cationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardW rapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardP ipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel ine.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardC ontextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardP ipeline.java:566) at
log4j in different context
Hi, I´m using tomcat 4.0.2 on Win2K and I´d like to use log4j as logging method ... but I need to define diferent properties of each context, how can I do it?, cause If I put a log4j.properties file on each WEB-INF\classes\ folder of each context .. the log4j use the last one ... maybe I´m missing something about the log4j.properties keys ... Please, Help Eduardo.
Re: Apache Tomcat as Service on Win2k
I am having severe difficulties getting Apache (1.3) + Tomcat 4.0.3 to run as services together on either Win2k or WinXP. How can I ensure Apache starts running later? You will have to go into the Win Registry and find the key HKLM/System/CurrentControlSet/Services. Then locate the Apache service entry.and change it so that it has a dependency on the Tomcat service. To figure out how to format a dependency entry, just mimic another service that has a dependency. Basically you add a key DependOnService (check out the RasMan service if you have RAS installed). I believe this will take care of the order in which the services are started for you at boot time. Caveat: Edit the Windows Registry at your OWN RISK. I will not be responsible for any damage you might do to your windows system by mucking about incorrectly. Andrzej Jan Taramina Chaeron Corporation: Enterprise System Solutions http://www.chaeron.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Upgrade to JDK1.4 -- unable to compile JSPs
Hi all, I've browsed the archives and found people asking this question, but couldn't find any answers to it, so here goes... Platform: Win2K + Cygwin Tomcat: 4.0.1 I upgraded to JDK1.4 in order to take advantage of the java.util.regex package (yay, no reason to use perl again!). Everything was going swimmingly until it was time to recompile some JSPs, and I now consistently get errors of the form: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\cygwin\usr\local\java\jdk1.4\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. Any assistance will be greatly appreciated... Thanks, Scott -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat vs CPU
Do you starting non daemon threads in your web applications (Servlets)? As long as non daemon Java threads are running you will have Java processes in your memory. Erwin Am Donnerstag, 7. M(B?(Brz 2002 07:05 schrieben Sie: Does anybody clue me in thsi situation? Plus,in below situation ,when I shutdoun Tomcat4,seems after shutting down there are some Java processes still remains. After killing them by kill PID, Cpu State is becoming normal. Please help,any hints will be welcomed. Moi wrote: Suddenly,when I saw Current System Resources in Linux with top command I found out that Tomcat4 eats 96% of CPU.In regular days it eats only 3%. Dear gurus. What can be the reason and how I solve it? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: client side object to server side
I have been developing an app that needs to send large amounts (~kilobytes) of structured data between the server and the client. I have been working on a framework to facilitate this by using JavaScript's object notation. Essentially, I have a JavaScript function that converts a JavaScript object or array into it's string representation. This string is then placed in a hidden field and posted to the servlet. The servlet then reads the field and decomposes the string into an object hierarchy composed of strings, floats and Booleans either singularly (addressable by name) or in an array. The client-side is very small. It consists of a single JavaScript function that creates the string. The servlet-side piece requires several class files which I have placed in a package. At this time there is very little (read: no) documentation and it is probably not the most efficient code, but for the most part it works. The only known current limitation is the inability to handle nulls. Please keep in mind that for small amounts of data, this would be overkill. By the time you define the structure of the objects being passed you could have written and debugged the code to add a dozen or so hidden fields and process them in the servlet. But in my case I need to pass an object that contains multiple, variable-length arrays, some containing another object. Trying to do this by adding hidden fields through the DOM was getting ugly, so I came up with this. If you or anyone else is interested I could post both the client and server side code, but I would need to tie up a few loose ends before subjecting myself to a code review. :0) I also need to write up a page or two of documentation (something I need to do anyway), so it may take a day or two. Mark -Original Message- From: Henry [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 2:11 AM To: [EMAIL PROTECTED] Subject: client side object to server side I have defined some client side objects using javascript, these objects' number and value varies during the interaction with users. But when the user submit the form, I want an easy way to send the objects to the server (servlet, say). I am wondering this is doable by having a hidden field which the value is the object (rather than a string or a number)? thanx in advance. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: BASIC Authentication Question
Mark Shaw wrote: In subsequent requests I pass back the sessionID (in a cookie labeled jsessionid...) instead of the BASIC authentication You need to include the authentication information with every request for a protected resource, or you're going to get another challenge. rfc2617 says: 2 Basic Authentication Scheme ... A client SHOULD assume that all paths at or deeper than the depth of the last symbolic element in the path field of the Request-URI also are within the protection space specified by the Basic realm value of the current challenge. A client MAY preemptively send the corresponding Authorization header with requests for resources in that space without receipt of another challenge from the server. -- Christopher St. John [EMAIL PROTECTED] DistribuTopia http://www.distributopia.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
AW: Upgrade to JDK1.4 -- unable to compile JSPs
Tomcat is still using parts of your previous java installation to compile. The rt.jar is the new one but javac is the old. Check your PATH, the environment and the registry keys. (Can't be more precise, I don't have java running on windows) -Ursprüngliche Nachricht- Von: Scott Shorter [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 7. März 2002 15:12 An: 'Tomcat Users List' Betreff: Upgrade to JDK1.4 -- unable to compile JSPs snip/ org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\cygwin\usr\local\java\jdk1.4\jre\lib\rt.jar(java/lang/Objec t.class). The major.minor version '48.0' is too recent for this tool to understand. snip/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: client side object to server side
Mark, We are doing the exact same thing. Our plan was to send a single XML document embedded in a hidden string variable to the sever. You plan sounds like it may make what we are trying to do easier. I would like a copy of both the client and server code. Thanks, Jim -Original Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 8:15 AM To: 'Tomcat Users List' Subject: RE: client side object to server side I have been developing an app that needs to send large amounts (~kilobytes) of structured data between the server and the client. I have been working on a framework to facilitate this by using JavaScript's object notation. Essentially, I have a JavaScript function that converts a JavaScript object or array into it's string representation. This string is then placed in a hidden field and posted to the servlet. The servlet then reads the field and decomposes the string into an object hierarchy composed of strings, floats and Booleans either singularly (addressable by name) or in an array. The client-side is very small. It consists of a single JavaScript function that creates the string. The servlet-side piece requires several class files which I have placed in a package. At this time there is very little (read: no) documentation and it is probably not the most efficient code, but for the most part it works. The only known current limitation is the inability to handle nulls. Please keep in mind that for small amounts of data, this would be overkill. By the time you define the structure of the objects being passed you could have written and debugged the code to add a dozen or so hidden fields and process them in the servlet. But in my case I need to pass an object that contains multiple, variable-length arrays, some containing another object. Trying to do this by adding hidden fields through the DOM was getting ugly, so I came up with this. If you or anyone else is interested I could post both the client and server side code, but I would need to tie up a few loose ends before subjecting myself to a code review. :0) I also need to write up a page or two of documentation (something I need to do anyway), so it may take a day or two. Mark -Original Message- From: Henry [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 2:11 AM To: [EMAIL PROTECTED] Subject: client side object to server side I have defined some client side objects using javascript, these objects' number and value varies during the interaction with users. But when the user submit the form, I want an easy way to send the objects to the server (servlet, say). I am wondering this is doable by having a hidden field which the value is the object (rather than a string or a number)? thanx in advance. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Upgrade to JDK1.4 -- unable to compile JSPs
Double (and triple check) that you are really running Tomcat with JDK 1.4. This error message is only generated by older JVMs when presented with newer JAR files (i.e. a 1.3 JVM trying to read a 1.4 JAR file). Randy -Original Message- From: Scott Shorter [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 9:12 AM To: 'Tomcat Users List' Subject: Upgrade to JDK1.4 -- unable to compile JSPs Hi all, I've browsed the archives and found people asking this question, but couldn't find any answers to it, so here goes... Platform: Win2K + Cygwin Tomcat: 4.0.1 I upgraded to JDK1.4 in order to take advantage of the java.util.regex package (yay, no reason to use perl again!). Everything was going swimmingly until it was time to recompile some JSPs, and I now consistently get errors of the form: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\cygwin\usr\local\java\jdk1.4\jre\lib\rt.jar(java/lang/Objec t.class). The major.minor version '48.0' is too recent for this tool to understand. Any assistance will be greatly appreciated... Thanks, Scott -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Upgrade to JDK1.4 -- unable to compile JSPs
Okay, I look again and find information, but it doesn't seem to be enough to fix the problem. Just to follow up: I did set my JAVA_HOME to the new location. I did delete all of my tomcat work directories. Those were the only items I saw recommended as solutions in the archives, but they didn't do the trick. Thanks in advance, Scott -Original Message- From: Scott Shorter [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 9:12 AM To: 'Tomcat Users List' Subject: Upgrade to JDK1.4 -- unable to compile JSPs Hi all, I've browsed the archives and found people asking this question, but couldn't find any answers to it, so here goes... Platform: Win2K + Cygwin Tomcat: 4.0.1 I upgraded to JDK1.4 in order to take advantage of the java.util.regex package (yay, no reason to use perl again!). Everything was going swimmingly until it was time to recompile some JSPs, and I now consistently get errors of the form: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\cygwin\usr\local\java\jdk1.4\jre\lib\rt.jar(java/lang/Objec t.class). The major.minor version '48.0' is too recent for this tool to understand. Any assistance will be greatly appreciated... Thanks, Scott -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Upgrade to JDK1.4 -- unable to compile JSPs
If you are using Windows, I would suggest that you totally delete the Java that came with Windows using the Add/Remove Programs from the Control Panel. I've had similar problems before with mixed Java setups. I hope this helps. Okay, I look again and find information, but it doesn't seem to be enough to fix the problem. Just to follow up: I did set my JAVA_HOME to the new location. I did delete all of my tomcat work directories. Those were the only items I saw recommended as solutions in the archives, but they didn't do the trick. -- D. Jay Newman ! All: There's nothing we can't face... [EMAIL PROTECTED]! Anya: Except for bunnies... http://www.sprucegrove.com/~jay/ !-- Buffy, the Musical -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Upgrade to JDK1.4 -- unable to compile JSPs
Randy and Ralph, Thanks for you quick replies. I've quadruple checked - I deleted all JDKs and JVMs on my machine except for the one I just installed. The problem remains, unmodified. Is it possible that some of my jar files need updating? Thanks, Scott -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 8:42 AM To: 'Tomcat Users List' Subject: RE: Upgrade to JDK1.4 -- unable to compile JSPs Double (and triple check) that you are really running Tomcat with JDK 1.4. This error message is only generated by older JVMs when presented with newer JAR files (i.e. a 1.3 JVM trying to read a 1.4 JAR file). Randy -Original Message- From: Scott Shorter [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 9:12 AM To: 'Tomcat Users List' Subject: Upgrade to JDK1.4 -- unable to compile JSPs Hi all, I've browsed the archives and found people asking this question, but couldn't find any answers to it, so here goes... Platform: Win2K + Cygwin Tomcat: 4.0.1 I upgraded to JDK1.4 in order to take advantage of the java.util.regex package (yay, no reason to use perl again!). Everything was going swimmingly until it was time to recompile some JSPs, and I now consistently get errors of the form: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\cygwin\usr\local\java\jdk1.4\jre\lib\rt.jar(java/lang/Objec t.class). The major.minor version '48.0' is too recent for this tool to understand. Any assistance will be greatly appreciated... Thanks, Scott -- To unsubscribe: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem?
Thanks Randy, I'll look into it more. Restarting Tomcat does seem to help, but it slowly starts to grow again. I'm thinking that rules out JavaC. I read that servlets and jsp's get loaded into memory when they are accessed and never get released. Is there any truth to this? I have seen a lot of questons in the list about this same topic, so either way, I'll post whatever information I find. Brandon -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 5:43 AM To: 'Tomcat Users List' Subject: RE: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem? 80MB is definitely possible (our application generally runs at about 130MB with peaks into the 300MB range for users, some nightly processing can push that to more than 500MB), it really depends on your application. Places where you could be loosing memory: 1. JavaC. Apparently JavaC has a memory leak and that memory can only be reclaimed by stopping and restarting Tomcat. To avoid this memory leak you have two options: A - use JSPC and precompile all your JSPs into servlets and B - When you do a new release launch Tomcat, have someone hit every page in the application, and restart Tomcat. 2. You might want to look at your session timeout along with how much data you are putting into the session, this could cause you to hold memory longer than is really necessary 3. Static variables on classes that somehow grow (like lists or maps that you keep putting data in and never remove). You can try running something like OptimizeIt! to determine where you are using the memory, but you might want to try and narrow down where the leak is occurring (some small set of actions or screens). Randy -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 8:08 PM To: Tomcat Users List Subject: RE: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem? I am using Linux RedHat 7.1, Sun JDK 1.3.1_01. Actually, it looks like it has gone down a bit. The memory was slowly growing all day today, up to about 80MB for java. It has gone back down a bit, so hopefully that means that something (gc) is working. Do those numbers sound right for an application that is mostly jsp's, and usually has around 15-20 concurrent database connections? Sessions are stored for each user as well. Maybe that's what I should be expecting??? -Original Message- From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 6:58 PM To: Tomcat Users List Subject: Re: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem? Can you give a bit more information, Brandon? Which Linux? What JVM? Etc.? At 02:32 PM 3/6/02 -0600, you wrote: This is probably a problem with our application, but does anyone know of any possible misconfiguration or anything that will cause a very slow increase in the amount of memory that Tomcat is using on Linux? If nobody has had a similar experience, what about possible solutions to tracking down the cause of this slow memory usage increase? We have hundreds of classes to search. Is there a tool or anything to help us out? Any help is GREATLY appreciated!!! Brandon -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Upgrade to JDK1.4 -- unable to compile JSPs
I believe that your problem might stem from a problem in the catalina.bat file. First, from a command prompt, type java -fullversion and I believe that you will see a response indicating JVM 1.3 or before (not 1.4). Edit your path statement so that the 1.4 JDK is before the other JVMs and try the above command again. Once you get the 1.4 version of java to be the default version Tomcat should work correctly. The problem seems to be that catalina.bat doesn't use the absolute path to the JVM. Randy -Original Message- From: Scott Shorter [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 9:27 AM To: 'Tomcat Users List' Subject: RE: Upgrade to JDK1.4 -- unable to compile JSPs Okay, I look again and find information, but it doesn't seem to be enough to fix the problem. Just to follow up: I did set my JAVA_HOME to the new location. I did delete all of my tomcat work directories. Those were the only items I saw recommended as solutions in the archives, but they didn't do the trick. Thanks in advance, Scott -Original Message- From: Scott Shorter [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 9:12 AM To: 'Tomcat Users List' Subject: Upgrade to JDK1.4 -- unable to compile JSPs Hi all, I've browsed the archives and found people asking this question, but couldn't find any answers to it, so here goes... Platform: Win2K + Cygwin Tomcat: 4.0.1 I upgraded to JDK1.4 in order to take advantage of the java.util.regex package (yay, no reason to use perl again!). Everything was going swimmingly until it was time to recompile some JSPs, and I now consistently get errors of the form: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\cygwin\usr\local\java\jdk1.4\jre\lib\rt.jar(java/lang/Objec t.class). The major.minor version '48.0' is too recent for this tool to understand. Any assistance will be greatly appreciated... Thanks, Scott -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Upgrade to JDK1.4 -- unable to compile JSPs
The ONLY way you get this message is to use a JVM 1.4 JAR file with a previous version. If you have only one JVM installed it is NOT 1.4. Randy -Original Message- From: Scott Shorter [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 9:36 AM To: 'Tomcat Users List' Subject: RE: Upgrade to JDK1.4 -- unable to compile JSPs Randy and Ralph, Thanks for you quick replies. I've quadruple checked - I deleted all JDKs and JVMs on my machine except for the one I just installed. The problem remains, unmodified. Is it possible that some of my jar files need updating? Thanks, Scott -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 8:42 AM To: 'Tomcat Users List' Subject: RE: Upgrade to JDK1.4 -- unable to compile JSPs Double (and triple check) that you are really running Tomcat with JDK 1.4. This error message is only generated by older JVMs when presented with newer JAR files (i.e. a 1.3 JVM trying to read a 1.4 JAR file). Randy -Original Message- From: Scott Shorter [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 9:12 AM To: 'Tomcat Users List' Subject: Upgrade to JDK1.4 -- unable to compile JSPs Hi all, I've browsed the archives and found people asking this question, but couldn't find any answers to it, so here goes... Platform: Win2K + Cygwin Tomcat: 4.0.1 I upgraded to JDK1.4 in order to take advantage of the java.util.regex package (yay, no reason to use perl again!). Everything was going swimmingly until it was time to recompile some JSPs, and I now consistently get errors of the form: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\cygwin\usr\local\java\jdk1.4\jre\lib\rt.jar(java/lang/Objec t.class). The major.minor version '48.0' is too recent for this tool to understand. Any assistance will be greatly appreciated... Thanks, Scott -- To unsubscribe: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem?
You are correct - once a servlet is loaded into Tomcat it is never unloaded (it could be according to the spec, but Tomcat doesn't implement this). Remember - there is only one instance of the JSP/Servlet for all the requests, so this isn't the cause of leaking memory, although class variables that continue to grow in size (string buffers, lists, arrays, maps, etc) would cause this behavior. Randy -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 9:43 AM To: Tomcat Users List Subject: RE: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem? Thanks Randy, I'll look into it more. Restarting Tomcat does seem to help, but it slowly starts to grow again. I'm thinking that rules out JavaC. I read that servlets and jsp's get loaded into memory when they are accessed and never get released. Is there any truth to this? I have seen a lot of questons in the list about this same topic, so either way, I'll post whatever information I find. Brandon -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 5:43 AM To: 'Tomcat Users List' Subject: RE: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem? 80MB is definitely possible (our application generally runs at about 130MB with peaks into the 300MB range for users, some nightly processing can push that to more than 500MB), it really depends on your application. Places where you could be loosing memory: 1. JavaC. Apparently JavaC has a memory leak and that memory can only be reclaimed by stopping and restarting Tomcat. To avoid this memory leak you have two options: A - use JSPC and precompile all your JSPs into servlets and B - When you do a new release launch Tomcat, have someone hit every page in the application, and restart Tomcat. 2. You might want to look at your session timeout along with how much data you are putting into the session, this could cause you to hold memory longer than is really necessary 3. Static variables on classes that somehow grow (like lists or maps that you keep putting data in and never remove). You can try running something like OptimizeIt! to determine where you are using the memory, but you might want to try and narrow down where the leak is occurring (some small set of actions or screens). Randy -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 8:08 PM To: Tomcat Users List Subject: RE: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem? I am using Linux RedHat 7.1, Sun JDK 1.3.1_01. Actually, it looks like it has gone down a bit. The memory was slowly growing all day today, up to about 80MB for java. It has gone back down a bit, so hopefully that means that something (gc) is working. Do those numbers sound right for an application that is mostly jsp's, and usually has around 15-20 concurrent database connections? Sessions are stored for each user as well. Maybe that's what I should be expecting??? -Original Message- From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 6:58 PM To: Tomcat Users List Subject: Re: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem? Can you give a bit more information, Brandon? Which Linux? What JVM? Etc.? At 02:32 PM 3/6/02 -0600, you wrote: This is probably a problem with our application, but does anyone know of any possible misconfiguration or anything that will cause a very slow increase in the amount of memory that Tomcat is using on Linux? If nobody has had a similar experience, what about possible solutions to tracking down the cause of this slow memory usage increase? We have hundreds of classes to search. Is there a tool or anything to help us out? Any help is GREATLY appreciated!!! Brandon -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL
RE: Upgrade to JDK1.4 -- unable to compile JSPs
Hi, I had something similar (Win2K, Cygwin :). I had to do some minor modifications in the startup srcipt to amend the situation: 1) as it seems JAVA_HOME is read by the executing JVM to resolve the place of the bootstrap classes set JAVA_HOME=c:\jdk1.4.0 2) calling explicitly the appropriate java.exe %JAVA_HOME%\bin\java blahblah... hope this helps Janos |-Original Message- |From: Scott Shorter [mailto:[EMAIL PROTECTED]] |Sent: Thursday, March 07, 2002 3:36 PM |To: 'Tomcat Users List' |Subject: RE: Upgrade to JDK1.4 -- unable to compile JSPs | | |Randy and Ralph, | |Thanks for you quick replies. | |I've quadruple checked - I deleted all JDKs and JVMs on my machine |except for the one I just installed. The problem remains, unmodified. | |Is it possible that some of my jar files need updating? | |Thanks, |Scott | | -Original Message- | From: Randy Layman [mailto:[EMAIL PROTECTED]] | Sent: Thursday, March 07, 2002 8:42 AM | To: 'Tomcat Users List' | Subject: RE: Upgrade to JDK1.4 -- unable to compile JSPs | | | | Double (and triple check) that you are really running | Tomcat with JDK 1.4. This error message is only generated by | older JVMs when presented with newer JAR files (i.e. a 1.3 | JVM trying to read a 1.4 JAR file). | | Randy | | -Original Message- | From: Scott Shorter [mailto:[EMAIL PROTECTED]] | Sent: Thursday, March 07, 2002 9:12 AM | To: 'Tomcat Users List' | Subject: Upgrade to JDK1.4 -- unable to compile JSPs | | | Hi all, | | I've browsed the archives and found people asking this | question, but | couldn't find any answers to it, so here goes... | | Platform: Win2K + Cygwin | Tomcat: 4.0.1 | | I upgraded to JDK1.4 in order to take advantage of the | java.util.regex | package (yay, no reason to use perl again!). Everything was going | swimmingly until it was time to recompile some JSPs, and I now | consistently get errors of the form: | | org.apache.jasper.JasperException: Unable to compile class | for JSPerror: | Invalid class file format in | C:\cygwin\usr\local\java\jdk1.4\jre\lib\rt.jar(java/lang/Objec | t.class). | The major.minor version '48.0' is too recent for this tool to | understand. | | Any assistance will be greatly appreciated... | | Thanks, | Scott | | | -- | To unsubscribe: | mailto:tomcat-user- [EMAIL PROTECTED] | For | additional commands: | mailto:[EMAIL PROTECTED] | Troubles with the list: | mailto:[EMAIL PROTECTED] | | | -- | To | unsubscribe: mailto:[EMAIL PROTECTED] | For additional commands: mailto:[EMAIL PROTECTED] | Troubles with the list: mailto:[EMAIL PROTECTED] | | | |-- |To unsubscribe: mailto:[EMAIL PROTECTED] |For additional commands: mailto:[EMAIL PROTECTED] |Troubles with the list: mailto:[EMAIL PROTECTED] | | -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
AW: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem?
The classes that implement the servlet are not unloaded. AFAIK currently java has no means to unload single classes. You can only destroy the classloader. This way you loose all classes loaded by the classloader. (that's what happens if you change a JSP and have automatic reloading enabled) -Ursprüngliche Nachricht- Von: Brandon Cruz [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 7. März 2002 15:43 An: Tomcat Users List Betreff: RE: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem? snip/ read that servlets and jsp's get loaded into memory when they are accessed and never get released. Is there any truth to this? snip/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Upgrade to JDK1.4 -- unable to compile JSPs
Correct me if I'm wrong, but doesn't Tomcat 4 distribution come with bundled javac? I'd expect JSP compiler uses the bundled (presumably 1.3) javac and no tweaking of your classpath will help... Just my 2c Attila. -- Attila Szegedi home: http://www.szegedi.org |-Original Message- |From: Scott Shorter [mailto:[EMAIL PROTECTED]] |Sent: Thursday, March 07, 2002 3:36 PM |To: 'Tomcat Users List' |Subject: RE: Upgrade to JDK1.4 -- unable to compile JSPs | | |Randy and Ralph, | |Thanks for you quick replies. | |I've quadruple checked - I deleted all JDKs and JVMs on my machine |except for the one I just installed. The problem remains, unmodified. | |Is it possible that some of my jar files need updating? | |Thanks, |Scott | -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Upgrade to JDK1.4 -- unable to compile JSPs
it doesn't indeed, because if you that you would be breaking license rules. Mvgr, Martin -Original Message- From: Attila Szegedi [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 16:01 To: Tomcat Users List Subject: Re: Upgrade to JDK1.4 -- unable to compile JSPs Correct me if I'm wrong, but doesn't Tomcat 4 distribution come with bundled javac? I'd expect JSP compiler uses the bundled (presumably 1.3) javac and no tweaking of your classpath will help... Just my 2c Attila. -- Attila Szegedi home: http://www.szegedi.org |-Original Message- |From: Scott Shorter [mailto:[EMAIL PROTECTED]] |Sent: Thursday, March 07, 2002 3:36 PM |To: 'Tomcat Users List' |Subject: RE: Upgrade to JDK1.4 -- unable to compile JSPs | | |Randy and Ralph, | |Thanks for you quick replies. | |I've quadruple checked - I deleted all JDKs and JVMs on my machine |except for the one I just installed. The problem remains, unmodified. | |Is it possible that some of my jar files need updating? | |Thanks, |Scott | -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Upgrade to JDK1.4 -- unable to compile JSPs
what do you mean by 1.3 javac? AFAIK sun.tools.javac.Main is called. which is in the tools.jar loaded from the bootstrap classpath. cheers, J |-Original Message- |From: Attila Szegedi [mailto:[EMAIL PROTECTED]] |Sent: Thursday, March 07, 2002 4:01 PM |To: Tomcat Users List |Subject: Re: Upgrade to JDK1.4 -- unable to compile JSPs | | |Correct me if I'm wrong, but doesn't Tomcat 4 distribution come |with bundled |javac? |I'd expect JSP compiler uses the bundled (presumably 1.3) javac and no |tweaking of your classpath will help... | |Just my 2c |Attila. | |-- |Attila Szegedi |home: http://www.szegedi.org | | | |-Original Message- | |From: Scott Shorter [mailto:[EMAIL PROTECTED]] | |Sent: Thursday, March 07, 2002 3:36 PM | |To: 'Tomcat Users List' | |Subject: RE: Upgrade to JDK1.4 -- unable to compile JSPs | | | | | |Randy and Ralph, | | | |Thanks for you quick replies. | | | |I've quadruple checked - I deleted all JDKs and JVMs on my machine | |except for the one I just installed. The problem remains, unmodified. | | | |Is it possible that some of my jar files need updating? | | | |Thanks, | |Scott | | | | |-- |To unsubscribe: mailto:[EMAIL PROTECTED] |For additional commands: mailto:[EMAIL PROTECTED] |Troubles with the list: mailto:[EMAIL PROTECTED] | | -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Upgrade to JDK1.4 -- unable to compile JSPs
I saw this issue with Cocoon 2. The cocoon.war file includes javac.jar in WEB-INF/lib which is not compatible with jdk 1.4. Something very similar might be happening here. Check the directories for a tools equivalent .jar file built for use with jdk1.3. Hope this helps... --David On Thursday 07 March 2002 08:58 am, you wrote: The ONLY way you get this message is to use a JVM 1.4 JAR file with a previous version. If you have only one JVM installed it is NOT 1.4. Randy -Original Message- From: Scott Shorter [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 9:36 AM To: 'Tomcat Users List' Subject: RE: Upgrade to JDK1.4 -- unable to compile JSPs Randy and Ralph, Thanks for you quick replies. I've quadruple checked - I deleted all JDKs and JVMs on my machine except for the one I just installed. The problem remains, unmodified. Is it possible that some of my jar files need updating? Thanks, Scott -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 8:42 AM To: 'Tomcat Users List' Subject: RE: Upgrade to JDK1.4 -- unable to compile JSPs Double (and triple check) that you are really running Tomcat with JDK 1.4. This error message is only generated by older JVMs when presented with newer JAR files (i.e. a 1.3 JVM trying to read a 1.4 JAR file). Randy -Original Message- From: Scott Shorter [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 9:12 AM To: 'Tomcat Users List' Subject: Upgrade to JDK1.4 -- unable to compile JSPs Hi all, I've browsed the archives and found people asking this question, but couldn't find any answers to it, so here goes... Platform: Win2K + Cygwin Tomcat: 4.0.1 I upgraded to JDK1.4 in order to take advantage of the java.util.regex package (yay, no reason to use perl again!). Everything was going swimmingly until it was time to recompile some JSPs, and I now consistently get errors of the form: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\cygwin\usr\local\java\jdk1.4\jre\lib\rt.jar(java/lang/Objec t.class). The major.minor version '48.0' is too recent for this tool to understand. Any assistance will be greatly appreciated... Thanks, Scott -- To unsubscribe: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Upgrade to JDK1.4 -- unable to compile JSPs
To be more precise, I was thinking about the inclusion of the tools.jar in Tomcat 4 - AFAIK Sun has loosened the licensing for redistribution of tools.jar for the very reason of its inclusion in Tomcat 4 so that it can fully run in a presence of a JRE instead of JDK (as was the case previously). Again, maybe I have false memories... Attila. -- Attila Szegedi home: http://www.szegedi.org - Original Message - From: Martin van den Bemt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: 2002. március 7. 15:59 Subject: RE: Upgrade to JDK1.4 -- unable to compile JSPs it doesn't indeed, because if you that you would be breaking license rules. Mvgr, Martin -Original Message- From: Attila Szegedi [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 16:01 To: Tomcat Users List Subject: Re: Upgrade to JDK1.4 -- unable to compile JSPs Correct me if I'm wrong, but doesn't Tomcat 4 distribution come with bundled javac? I'd expect JSP compiler uses the bundled (presumably 1.3) javac and no tweaking of your classpath will help... Just my 2c Attila. -- Attila Szegedi home: http://www.szegedi.org -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
How to Unsubscribe?
I keep trying to unsubscribe without luck ... Anyone know a reliable way of doing it? thanks Paul This message contains confidential information and is intended only for the named individual and may not be disseminated without prior permission. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this message in error and delete this e-message from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, delayed in transmission, incomplete, or may contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this Message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any software or services. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Upgrade to JDK1.4 -- unable to compile JSPs
I believe that your problem might stem from a problem in the catalina.bat file. I actually kick off Tomcat from an ant target: target name=start java jar=${catalina.home}/bin/bootstrap.jar dir=${catalina.home} fork=true arg value=start/ /java /target First, from a command prompt, type java -fullversion and I believe that you will see a response indicating JVM 1.3 or before (not 1.4). Nope. $ java -fullversion java full version 1.4.0-b92 Edit your path statement so that the 1.4 JDK is before the other JVMs and try the above command again. Once you get the 1.4 version of java to be the default version Tomcat should work correctly. The problem seems to be that catalina.bat doesn't use the absolute path to the JVM. I don't think that's it. Thanks, though. - Scott -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: How to Unsubscribe?
Hi send an empty mail to the following address: [EMAIL PROTECTED], and follow the instructions mailed to you in reply. Cheers J |-Original Message- |From: Paul Brown [mailto:[EMAIL PROTECTED]] |Sent: Thursday, March 07, 2002 3:49 PM |To: Tomcat Users List |Subject: How to Unsubscribe? | | |I keep trying to unsubscribe without luck ... | |Anyone know a reliable way of doing it? | |thanks |Paul | -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Upgrade to JDK1.4 -- unable to compile JSPs
That did the trick! I had an older version of tools.jar in $CATALINA_HOME/common/lib. I moved the new one from $JAVA_HOME/jre/lib to there, and the problem went away. Regards, Scott -Original Message- From: Attila Szegedi [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 10:13 AM To: Tomcat Users List Subject: Re: Upgrade to JDK1.4 -- unable to compile JSPs To be more precise, I was thinking about the inclusion of the tools.jar in Tomcat 4 - AFAIK Sun has loosened the licensing for redistribution of tools.jar for the very reason of its inclusion in Tomcat 4 so that it can fully run in a presence of a JRE instead of JDK (as was the case previously). Again, maybe I have false memories... Attila. -- Attila Szegedi home: http://www.szegedi.org - Original Message - From: Martin van den Bemt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: 2002. március 7. 15:59 Subject: RE: Upgrade to JDK1.4 -- unable to compile JSPs it doesn't indeed, because if you that you would be breaking license rules. Mvgr, Martin -Original Message- From: Attila Szegedi [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 16:01 To: Tomcat Users List Subject: Re: Upgrade to JDK1.4 -- unable to compile JSPs Correct me if I'm wrong, but doesn't Tomcat 4 distribution come with bundled javac? I'd expect JSP compiler uses the bundled (presumably 1.3) javac and no tweaking of your classpath will help... Just my 2c Attila. -- Attila Szegedi home: http://www.szegedi.org -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: How to Unsubscribe?
Guys - someone needs to check this - because I must have done this about 10 times in the past 3 months - and it simply doesn't do the job. -Tom Riemer Jarecsni János wrote: Hi send an empty mail to the following address: [EMAIL PROTECTED], and follow the instructions mailed to you in reply. Cheers J |-Original Message- |From: Paul Brown [mailto:[EMAIL PROTECTED]] |Sent: Thursday, March 07, 2002 3:49 PM |To: Tomcat Users List |Subject: How to Unsubscribe? | | |I keep trying to unsubscribe without luck ... | |Anyone know a reliable way of doing it? | |thanks |Paul | -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
AW: How to Unsubscribe?
Is your current mail adress different from the one you used to subscribe ? Did you also try the following ? ezml-snippet To stop subscription for this address, mail: [EMAIL PROTECTED] /ezml-snippet s/john/tom s/host.domain/58k.com -Ursprüngliche Nachricht- Von: Thomas Riemer [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 7. März 2002 16:49 An: Tomcat Users List Betreff: Re: How to Unsubscribe? Guys - someone needs to check this - because I must have done this about 10 times in the past 3 months - and it simply doesn't do the job. -Tom Riemer Jarecsni János wrote: Hi send an empty mail to the following address: [EMAIL PROTECTED], and follow the instructions mailed to you in reply. Cheers J |-Original Message- |From: Paul Brown [mailto:[EMAIL PROTECTED]] |Sent: Thursday, March 07, 2002 3:49 PM |To: Tomcat Users List |Subject: How to Unsubscribe? | | |I keep trying to unsubscribe without luck ... | |Anyone know a reliable way of doing it? | |thanks |Paul | -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Setting the org.xml.sax.driver
How do I set the org.xml.sax.driver system property to create an createXMLReader? I know it can be done on the compiler command line. However, I would like to do it in my program. I have tried the command System.setProperty (org.xml.sax.driver,org.xml.sax.helpers.ParserFactory); but it does not work. I get the error: java.lang.IllegalAccessException: org.xml.sax.helpers.ParserFactory at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:121) at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:96) at cms.xml.xmljava1.Example1.main(Example1.java:81) I suspect I am using the wrong SAX Parser. Anybody offer any help!!! Thanks in Advance Jeff Sulman -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: How to Unsubscribe?
no, the mail address has not changed. can you expand on your instruction a little bit pelase. i can't follow it. -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 4:13 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: AW: How to Unsubscribe? Is your current mail adress different from the one you used to subscribe ? Did you also try the following ? ezml-snippet To stop subscription for this address, mail: [EMAIL PROTECTED] /ezml-snippet s/john/tom s/host.domain/58k.com -Ursprüngliche Nachricht- Von: Thomas Riemer [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 7. März 2002 16:49 An: Tomcat Users List Betreff: Re: How to Unsubscribe? Guys - someone needs to check this - because I must have done this about 10 times in the past 3 months - and it simply doesn't do the job. -Tom Riemer Jarecsni János wrote: Hi send an empty mail to the following address: [EMAIL PROTECTED], and follow the instructions mailed to you in reply. Cheers J |-Original Message- |From: Paul Brown [mailto:[EMAIL PROTECTED]] |Sent: Thursday, March 07, 2002 3:49 PM |To: Tomcat Users List |Subject: How to Unsubscribe? | | |I keep trying to unsubscribe without luck ... | |Anyone know a reliable way of doing it? | |thanks |Paul | -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] This message contains confidential information and is intended only for the named individual and may not be disseminated without prior permission. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this message in error and delete this e-message from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, delayed in transmission, incomplete, or may contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this Message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any software or services. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
I can not get servlet work
Hi, I have a post.html file which was put in the directory of webapps/ROOT. I have this code in post.html FORM METHOD=POST ACTION=http://localhost:8080/post; where should I put the class post? Jianping Zhu Department of Computer Science Univerity of Georgia Athens, GA 30602 Tel 706 5423900 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: How to Unsubscribe?
Try to send send a mail to [EMAIL PROTECTED] Gruss, Wolfgang -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
AW: How to Unsubscribe?
It just a snippet from standard ezml mail which you (should) get by sending a mail to [EMAIL PROTECTED] In casse it does not work for you here the complete text: Hi! This is the ezmlm program. I'm managing the [EMAIL PROTECTED] mailing list. I'm working for my owner, who can be reached at [EMAIL PROTECTED] This is a generic help message. The message I received wasn't sent to any of my command addresses. --- Administrative commands for the tomcat-user list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: To subscribe to the list, send a message to: [EMAIL PROTECTED] To remove your address from the list, send a message to: [EMAIL PROTECTED] Send mail to the following for info and FAQ for this list: [EMAIL PROTECTED] [EMAIL PROTECTED] Similar addresses exist for the digest list: [EMAIL PROTECTED] [EMAIL PROTECTED] To get messages 123 through 145 (a maximum of 100 per request), mail: [EMAIL PROTECTED] To get an index with subject and author for messages 123-456 , mail: [EMAIL PROTECTED] They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: [EMAIL PROTECTED] The messages do not really need to be empty, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example [EMAIL PROTECTED], just add a hyphen and your address (with '=' instead of '@') after the command word: [EMAIL PROTECTED] To stop subscription for this address, mail: [EMAIL PROTECTED] In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at [EMAIL PROTECTED] Please be patient, my owner is a lot slower than I am ;-) -Ursprüngliche Nachricht- Von: Paul Brown [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 7. März 2002 17:17 An: Tomcat Users List Betreff: RE: How to Unsubscribe? no, the mail address has not changed. can you expand on your instruction a little bit pelase. i can't follow it. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
sending mail exception ...
hi everyone, I'm trying to send mails thanks to javax.mail ... an exeption occurs ... -- StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: Unable to compile class for JSP /var/tomcat4/work/site.univ-nantes.fr/_/jsp/test_0005fmail$jsp.java:39: Class javax.mail.NoSuchProviderException not found in try. try { ^ 1 error org.apache.jasper.JasperException: Unable to compile class for JSP /var/tomcat4/work/site.univ-nantes.fr/_/jsp/test_0005fmail$jsp.java:39: Class javax.mail.NoSuchProviderException not found in try. try { ^ 1 error at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java:217) at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194) at java.lang.Thread.run(Thread.java:498) any ideas ? thanks in advance Julien OIX Service Informatique de Gestion Tél: 02 40 99 83 65 mail: [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
applet to servlet problem
Hello everybody, I'm quite sure it's not tomcat problem, however, I give it a shot, mainly because I know all the people here usually have great ideas... I'm using tomcat 3.3.1b. I've an applet that runs several threads. Each thread calls to the server using URLConnection. Everything works fine, however, only 2-3 threads can simoulantously achieve the server, and the rest are waiting. When one thread finishes, the other one can connect the server. The stuck command is: java.io.InputStreamReader is = new java.io.InputStreamReader(con.getInputStream()); I'm using the Applet tag to run my applet. Do you have any clues for me ? Best regards, Tamir -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: BUG? Tomcat-4.0.3 eats PathInfo slashes, TDK leaves them alone
[Followup to my own post; I did some digging and now understand why my app works under TDK2 but not Tomcat; perhaps this in the archive will help others who encounter this. I expect it will most often bite people working on things like the Commons httpclient, or proxies.] I was using PathInfo to hold URLs my app wants to proxy. I found that multiple slashes, like http://localhost:8080/gov.nasa.hq.sna.intranetbroker.Proxy/http://example.co m got transmogrified to collapse the double-slash: http://localhost:8080/gov.nasa.hq.sna.intranetbroker.Proxy/http://example.co m I tried a workaround to url-encode my target URL, but Tomcat rejected the URI early on, logging the rejection to catalina_log: 2002-03-06 23:53:43 HttpProcessor[58080][4] Invalid request URI: '/sna/servlet/gov.nasa.hq.sna.intranetbroker.Proxy/http%3A%2F%2Fexample.com' catalina/src/share/org/apache/catalina/connector/http/HttpProcessor.java class version 1.29 added a collapse the slashes, transform dot-slash and backslash types of strings. This is responsible for my first problem. Version 1.30 added the change which causes it to reject URL-encoded slashes, along with dots, backslashes, and percents. This is responsible for the second problem. I expect these were both done to prevent URL-based attacks which might cause the server to wander around the filesystem where it's not supposed to be. Unfortunately, it breaks my app even though I'm not accessing the filesystem -- just trying to proxy to other sites. Only in part. It was also a big security hole for mapping and security constraints (you could bypass authentication and access protected areas using '/' encoding). BTW, you have to encode '/' and ':' in your URI, as you did in the second case. The first URL with unencoded special chars is invalid (ie, it may work, but it's not sure). These changes have deeper implications for folks writing HTTP clients and proxies. If the client's desired target URL has any of the characters [/\.%] in them and they've been URL-encoded (perhaps by the previous page on the target server) the entire URI will be rejected. Similarly, if it has unencoded sequences of these (like the double-slash) the target URL will be damaged. I understand, but this won't be fixed in 4.0.x, as it is way too risky. We could consider fixing it in 4.1, since we'll have the benefit of going through a whole beta phase. I'm not sure what the answer is. I don't know what types of problems this normalization is designed to prevent. Perhaps the normalization could be made more conservative, changing only the part up to the ContextPath and ServletPath, and leave PathInfo and QueryString unchanged. Is there anything I could do to help here? I'm not a stud Java coder, but I'd be happy to contribute. Remy -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Controlling processes
Hi everyone, So I have tomcat running with mod_webApp and apache on a redhat 6.2 box. I have read that you can set the maximum number of processes that tomcat has by setting it in the server.xml file. Which I have. Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=50 enableLookups=false acceptCount=10 debug=0/ so why are there 86 child processes running under tomcat??? init-+-atd |-crond |-httpd---10*[httpd] |-httpsd---5*[httpsd] |-java---java---86*[java] Am I missing something here??? Thanks, -chad -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: BUG? Tomcat-4.0.3 eats PathInfo slashes, TDK leaves them alone
Remy Maucherat [EMAIL PROTECTED] writes: BTW, you have to encode '/' and ':' in your URI, as you did in the second case. The first URL with unencoded special chars is invalid (ie, it may work, but it's not sure). But if I encode `/' (as %2F), then HttpProcessor.normalize() will reject it: // Prevent encoding '%', '/', '.' and '\', which are special reserved // characters if ((normalized.indexOf(%25) = 0) || (normalized.indexOf(%2F) = 0) || (normalized.indexOf(%2E) = 0) || (normalized.indexOf(%5C) = 0) || (normalized.indexOf(%2f) = 0) || (normalized.indexOf(%2e) = 0) || (normalized.indexOf(%5c) = 0)) { return null; } and you're rejecting URIs with this encoded-slash to avoid bypassing security. So it sounds like there's no real way to pass in a slash. Sorry if I'm being stupid and not seeing the right way to do this. I understand, but this won't be fixed in 4.0.x, as it is way too risky. We could consider fixing it in 4.1, since we'll have the benefit of going through a whole beta phase. OK, thanks for the feedback. If I can help, let me know. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: BUG? Tomcat-4.0.3 eats PathInfo slashes, TDK leaves them alone
[Followup to my own post; I did some digging and now understand why my app works under TDK2 but not Tomcat; perhaps this in the archive will help others who encounter this. I expect it will most often bite people working on things like the Commons httpclient, or proxies.] I was using PathInfo to hold URLs my app wants to proxy. I found that multiple slashes, like http://localhost:8080/gov.nasa.hq.sna.intranetbroker.Proxy/http://example.com got transmogrified to collapse the double-slash: http://localhost:8080/gov.nasa.hq.sna.intranetbroker.Proxy/http://example.com I tried a workaround to url-encode my target URL, but Tomcat rejected the URI early on, logging the rejection to catalina_log: 2002-03-06 23:53:43 HttpProcessor[58080][4] Invalid request URI: '/sna/servlet/gov.nasa.hq.sna.intranetbroker.Proxy/http%3A%2F%2Fexample.com' catalina/src/share/org/apache/catalina/connector/http/HttpProcessor.java class version 1.29 added a collapse the slashes, transform dot-slash and backslash types of strings. This is responsible for my first problem. Version 1.30 added the change which causes it to reject URL-encoded slashes, along with dots, backslashes, and percents. This is responsible for the second problem. I expect these were both done to prevent URL-based attacks which might cause the server to wander around the filesystem where it's not supposed to be. Unfortunately, it breaks my app even though I'm not accessing the filesystem -- just trying to proxy to other sites. These changes have deeper implications for folks writing HTTP clients and proxies. If the client's desired target URL has any of the characters [/\.%] in them and they've been URL-encoded (perhaps by the previous page on the target server) the entire URI will be rejected. Similarly, if it has unencoded sequences of these (like the double-slash) the target URL will be damaged. I'm not sure what the answer is. I don't know what types of problems this normalization is designed to prevent. Perhaps the normalization could be made more conservative, changing only the part up to the ContextPath and ServletPath, and leave PathInfo and QueryString unchanged. Is there anything I could do to help here? I'm not a stud Java coder, but I'd be happy to contribute. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: BUG? Tomcat-4.0.3 eats PathInfo slashes, TDK leaves them alone
Remy Maucherat [EMAIL PROTECTED] writes: BTW, you have to encode '/' and ':' in your URI, as you did in the second case. The first URL with unencoded special chars is invalid (ie, it may work, but it's not sure). But if I encode `/' (as %2F), then HttpProcessor.normalize() will reject it: // Prevent encoding '%', '/', '.' and '\', which are special reserved // characters if ((normalized.indexOf(%25) = 0) || (normalized.indexOf(%2F) = 0) || (normalized.indexOf(%2E) = 0) || (normalized.indexOf(%5C) = 0) || (normalized.indexOf(%2f) = 0) || (normalized.indexOf(%2e) = 0) || (normalized.indexOf(%5c) = 0)) { return null; } and you're rejecting URIs with this encoded-slash to avoid bypassing security. So it sounds like there's no real way to pass in a slash. Sorry if I'm being stupid and not seeing the right way to do this. I was just saying that the '/' should be encoded to comply with the standard. Tomcat will indeed reject that URL, I know that. I don't plan to put that normalization code in the new HTTP connector, so we'll see how many security problems it create. I think it would be a lot safer to keep the current HTTP connector frozen, and don't fix that issue there at all. Remy -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
AW: How to Unsubscribe?
This is what i always get back when trying to UNSUBSCRIBE -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 5:54 PM To: Paul Brown Subject: failure notice Hi. This is the qmail-send program at nagoya.betaversion.org. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: Sorry, no mailbox here by that name. (#5.1.1) --- Below this line is a copy of the message. Return-Path: [EMAIL PROTECTED] Received: (qmail 572 invoked from network); 7 Mar 2002 17:53:37 - Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 7 Mar 2002 17:53:37 - Received: (qmail 85352 invoked by uid 500); 7 Mar 2002 17:53:34 - Delivered-To: [EMAIL PROTECTED] Received: (qmail 85347 invoked from network); 7 Mar 2002 17:53:34 - Received: from unknown (HELO ln-proxy-1.spirit-soft.com) (213.38.112.221) by daedalus.apache.org with SMTP; 7 Mar 2002 17:53:34 - Received: from 192.168.1.12 by ln-proxy-1.spirit-soft.com (InterScan E-Mail VirusWall NT); Thu, 07 Mar 2002 17:02:43 - Content-Class: urn:content-classes:message Subject: Date: Thu, 7 Mar 2002 17:02:42 - MIME-Version: 1.0 Content-Type: multipart/mixed; boundary==_NextPartTM-000-4c204813-4842-4db2-89fa-1e5ada6643a6 Message-ID: [EMAIL PROTECTED] X-MS-Has-Attach: X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 X-MS-TNEF-Correlator: thread-index: AcHF+eVi1u0igewTRLCeCodQ+e928A== From: Paul Brown [EMAIL PROTECTED] To: tomcat-user-unsubscribe-Paul.Brown= [EMAIL PROTECTED] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --=_NextPartTM-000-4c204813-4842-4db2-89fa-1e5ada6643a6 Content-Type: multipart/alternative; boundary=_=_NextPart_001_01C1C5F9.E556B748 --_=_NextPart_001_01C1C5F9.E556B748 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =20 --_=_NextPart_001_01C1C5F9.E556B748 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTMLHEAD META HTTP-EQUIV=3DContent-Type CONTENT=3Dtext/html; = charset=3Diso-8859-1 META content=3DMSHTML 5.00.3315.2870 name=3DGENERATOR/HEAD BODY DIVnbsp;/DIV/BODY/HTML --_=_NextPart_001_01C1C5F9.E556B748-- --=_NextPartTM-000-4c204813-4842-4db2-89fa-1e5ada6643a6 Content-Type: text/plain; name=InterScan_Disclaimer.txt Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=InterScan_Disclaimer.txt This message contains confidential information and is intended only for the named individual and may not be disseminated without prior permission. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this message in error and delete this e-message from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, delayed in transmission, incomplete, or may contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this Message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any software or services. --=_NextPartTM-000-4c204813-4842-4db2-89fa-1e5ada6643a6-- This message contains confidential information and is intended only for the named individual and may not be disseminated without prior permission. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this message in error and delete this e-message from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, delayed in transmission, incomplete, or may contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this Message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any software or services. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Moving to windows from linux ? bug ?
Yo, I'm moving from linux to windows (yeah, yeah I know :( ) On the linux platform, our web application runs PERFECTLY but on windows we have problems when the jsp pages are compiled. appearantly, tomcat doesn't like the following situation. file : /PROBLEM/abc.jsp %@ page language=java import=xxx.* % % SomeClass x=new SomeClass(); // class really exists in package xxx // and was compiled with the same compiler. % it gives following error: org.apache.jasper.JasperException: Unable to compile Found 2 semantic errors compiling .../XXX/abc_1.java: SomeClass x=new SomeClass(); --- *** Error: The type SomeClass was found in package XXX. However, that type is associated with another named package, xxx. I guess the compiler gets confused with the cases on windows, because he has both an XXX and xxx package in the classpath. Is this a bug ? or is this 'known/specified behaviour' and what do I do about it ? TIA, Sloot. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Moving to windows from linux ? bug ?
You need to make sure that the directory names are the correct case. The only way I know to do this is using a command prompt (Windows Explorer assumes that the first character is upper case and all others are lower). The only way to fix it is to remove the directory (delete, not rename) and then create a new directory with the correct capitalization. You can use anything you want to create the directories (including mkdir and Explorer), but they must be the correct capitalization. Randy -Original Message- From: Romain Slootmaekers [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 1:35 PM To: [EMAIL PROTECTED] Subject: Moving to windows from linux ? bug ? Yo, I'm moving from linux to windows (yeah, yeah I know :( ) On the linux platform, our web application runs PERFECTLY but on windows we have problems when the jsp pages are compiled. appearantly, tomcat doesn't like the following situation. file : /PROBLEM/abc.jsp %@ page language=java import=xxx.* % % SomeClass x=new SomeClass(); // class really exists in package xxx // and was compiled with the same compiler. % it gives following error: org.apache.jasper.JasperException: Unable to compile Found 2 semantic errors compiling .../XXX/abc_1.java: SomeClass x=new SomeClass(); --- *** Error: The type SomeClass was found in package XXX. However, that type is associated with another named package, xxx. I guess the compiler gets confused with the cases on windows, because he has both an XXX and xxx package in the classpath. Is this a bug ? or is this 'known/specified behaviour' and what do I do about it ? TIA, Sloot. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: How to Unsubscribe?
I'm guessing the apache server isn't accepting your message beacause your mail server is adding that InterScan_Disclaimer.txt attachment. Not sure how you get around that. -Original Message- From: Paul Brown [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 12:56 PM To: [EMAIL PROTECTED] Subject: AW: How to Unsubscribe? This is what i always get back when trying to UNSUBSCRIBE -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 5:54 PM To: Paul Brown Subject: failure notice Hi. This is the qmail-send program at nagoya.betaversion.org. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: Sorry, no mailbox here by that name. (#5.1.1) --- Below this line is a copy of the message. Return-Path: [EMAIL PROTECTED] Received: (qmail 572 invoked from network); 7 Mar 2002 17:53:37 - Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 7 Mar 2002 17:53:37 - Received: (qmail 85352 invoked by uid 500); 7 Mar 2002 17:53:34 - Delivered-To: [EMAIL PROTECTED] Received: (qmail 85347 invoked from network); 7 Mar 2002 17:53:34 - Received: from unknown (HELO ln-proxy-1.spirit-soft.com) (213.38.112.221) by daedalus.apache.org with SMTP; 7 Mar 2002 17:53:34 - Received: from 192.168.1.12 by ln-proxy-1.spirit-soft.com (InterScan E-Mail VirusWall NT); Thu, 07 Mar 2002 17:02:43 - Content-Class: urn:content-classes:message Subject: Date: Thu, 7 Mar 2002 17:02:42 - MIME-Version: 1.0 Content-Type: multipart/mixed; boundary==_NextPartTM-000-4c204813-4842-4db2-89fa-1e5ada6643a6 Message-ID: [EMAIL PROTECTED] X-MS-Has-Attach: X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 X-MS-TNEF-Correlator: thread-index: AcHF+eVi1u0igewTRLCeCodQ+e928A== From: Paul Brown [EMAIL PROTECTED] To: tomcat-user-unsubscribe-Paul.Brown= [EMAIL PROTECTED] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --=_NextPartTM-000-4c204813-4842-4db2-89fa-1e5ada6643a6 Content-Type: multipart/alternative; boundary=_=_NextPart_001_01C1C5F9.E556B748 --_=_NextPart_001_01C1C5F9.E556B748 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =20 --_=_NextPart_001_01C1C5F9.E556B748 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTMLHEAD META HTTP-EQUIV=3DContent-Type CONTENT=3Dtext/html; = charset=3Diso-8859-1 META content=3DMSHTML 5.00.3315.2870 name=3DGENERATOR/HEAD BODY DIVnbsp;/DIV/BODY/HTML --_=_NextPart_001_01C1C5F9.E556B748-- --=_NextPartTM-000-4c204813-4842-4db2-89fa-1e5ada6643a6 Content-Type: text/plain; name=InterScan_Disclaimer.txt Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=InterScan_Disclaimer.txt This message contains confidential information and is intended only for the named individual and may not be disseminated without prior permission. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this message in error and delete this e-message from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, delayed in transmission, incomplete, or may contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this Message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any software or services. --=_NextPartTM-000-4c204813-4842-4db2-89fa-1e5ada6643a6-- -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Moving to windows from linux ? bug ?
On Thu, 7 Mar 2002, Randy Layman wrote: You need to make sure that the directory names are the correct case. The only way I know to do this is using a command prompt (Windows Explorer assumes that the first character is upper case and all others are lower). The only way to fix it is to remove the directory (delete, not rename) and then create a new directory with the correct capitalization. You can use anything you want to create the directories (including mkdir and Explorer), but they must be the correct capitalization. Randy You have to read carefully the problems occur on Windows, not Linux! and since the application runs correcty under linux, and it was moved from linux to windos using tar -zcvf and winzip, the correct capitalization was preserved Anyway, I double checked this and the cap's of the files are the same under linux and Windows Anyone else wanna hava a go at this ? -Original Message- From: Romain Slootmaekers [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 1:35 PM To: [EMAIL PROTECTED] Subject: Moving to windows from linux ? bug ? Yo, I'm moving from linux to windows (yeah, yeah I know :( ) On the linux platform, our web application runs PERFECTLY but on windows we have problems when the jsp pages are compiled. appearantly, tomcat doesn't like the following situation. file : /PROBLEM/abc.jsp %@ page language=java import=xxx.* % % SomeClass x=new SomeClass(); // class really exists in package xxx // and was compiled with the same compiler. % it gives following error: org.apache.jasper.JasperException: Unable to compile Found 2 semantic errors compiling .../XXX/abc_1.java: SomeClass x=new SomeClass(); --- *** Error: The type SomeClass was found in package XXX. However, that type is associated with another named package, xxx. I guess the compiler gets confused with the cases on windows, because he has both an XXX and xxx package in the classpath. Is this a bug ? or is this 'known/specified behaviour' and what do I do about it ? TIA, Sloot. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Trouble starting Tomcat - omvs
Tomcat 4.0.1, JDK 1.3.1, OMVS Unix Os390. When I start Tomcat I get this error. Exception during startup processing java.lang.reflect.InvocationTargetException: javax.xml.parsers.FactoryConfigurationError at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:157) at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:224) at org.apache.catalina.startup.Catalina.start(Catalina.java:725) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) Can you please point me to the right direction. Thanks. Brown. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tomcat 4.0.2 isn't reading WEB-INF/lib files .. please help!
I have jars in a project\WEB-INF\lib directory on Windows XP. The log shows the jars included, but I get a java.lang.NoClassDefFoundError. When I added the jars to the common/lib directory it works fine. I have run out of ideas. The file that contains the class ValidatableObject resides in jaxb-rt-1.0-ea.jar which also depends on jaxp.jar Thank you for any assistance. Here is a printout of the classpath from the log file: 2002-03-07 09:49:30 JspEngine -- /install_remote.jsp 2002-03-07 09:49:30 ServletPath: /install_remote.jsp 2002-03-07 09:49:30 PathInfo: null 2002-03-07 09:49:30 RealPath: C:\Program Files\Apache Tomcat 4.0\webapps\wwa\install_remote.jsp 2002-03-07 09:49:30RequestURI: /wwa/install_remote.jsp 2002-03-07 09:49:30 QueryString: null 2002-03-07 09:49:30Request Params: 2002-03-07 09:49:30 Classpath according to the Servlet Engine is: C:/Program Files/Apache Tomcat 4.0/webapps/wwa/WEB-INF/classes;C:/Program Files/Apache Tomcat 4.0/webapps/wwa/WEB-INF/lib/crimson.jar;C:/Program Files/Apache Tomcat 4.0/webapps/wwa/WEB-INF/lib/imageio.jar;C:/Program Files/Apache Tomcat 4.0/webapps/wwa/WEB-INF/lib/jaxb-rt-1.0-ea.jar;C:/Program Files/Apache Tomcat 4.0/webapps/wwa/WEB-INF/lib/jaxp.jar;C:/Program Files/Apache Tomcat 4.0/webapps/wwa/WEB-INF/lib/kunststoff.jar;C:/Program Files/Apache Tomcat 4.0/webapps/wwa/WEB-INF/lib/msbase.jar;C:/Program Files/Apache Tomcat 4.0/webapps/wwa/WEB-INF/lib/mssqlserver.jar;C:/Program Files/Apache Tomcat 4.0/webapps/wwa/WEB-INF/lib/msutil.jar;C:/Program Files/Apache Tomcat 4.0/webapps/wwa/WEB-INF/lib/soap.jar;C:/Program Files/Apache Tomcat 4.0/webapps/wwa/WEB-INF/lib/xalan.jar;C:/Program Files/Apache Tomcat 4.0/classes/;C:/Program Files/Apache Tomcat 4.0/lib/jasper-compiler.jar;C:/Program Files/Apache Tomcat 4.0/lib/jasper-runtime.jar;C:/Program Files/Apache Tomcat 4.0/lib/naming-factory.jar;C:/Program Files/Apache Tomcat 4.0/common/classes/;C:/Program Files/Apache Tomcat 4.0/common/lib/activation.jar;C:/Program Files/Apache Tomcat 4.0/common/lib/jdbc2_0-stdext.jar;C:/Program Files/Apache Tomcat 4.0/common/lib/jta-spec1_0_1.jar;C:/Program Files/Apache Tomcat 4.0/common/lib/mail.jar;C:/Program Files/Apache Tomcat 4.0/common/lib/naming-common.jar;C:/Program Files/Apache Tomcat 4.0/common/lib/naming-resources.jar;C:/Program Files/Apache Tomcat 4.0/common/lib/servlet.jar;C:/Program Files/Apache Tomcat 4.0/common/lib/tools.jar;C:/Program Files/Apache Tomcat 4.0/common/lib/tyrex-0.9.7.0.jar;C:/Program Files/Apache Tomcat 4.0/common/lib/xerces.jar 2002-03-07 09:49:30 Class name is: install_0005fremote$jsp 2002-03-07 09:49:30 Class name is: install_0005fremote$jsp 2002-03-07 09:49:30 jsp: init 2002-03-07 09:49:30 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception javax.servlet.ServletException: javax/xml/bind/ValidatableObject at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex tImpl.java:463) at org.apache.jsp.install_0005fremote$jsp._jspService(install_0005fremote$j sp.java:114) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle t.java:202) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234 3) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa lve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) at
Re: tuning tomcat!!
What borthers you with that ? Is the system too slow / sloppy ? I would also try to switch some flags like the green threads / native threads see how it behaves. Have you try these while running as a normal APP ? I mean not an NT-service ? Another thing you could do is to simply have a dummy jsp / servlet creating an chain of Objects to force allocation of lots of memeory see then what you do monitor ! R U using perfmon to do so ? thomas, -- Thomas SMETS rue J. Wytsmanstraat 62 1050 Bruxelles yahoo-id : smetsthomas - Original Message - From: Rahul Asanikar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 07 March, 2002 12:30 PM Subject: Re: tuning tomcat!! Hi Thomas, I have tried it, but in vain :-( Anyway its using only 20-25 MB out of default 64 MB memory. Any thoughts? Rahul. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 07, 2002 2:26 PM Subject: re : tuning tomcat!! Rahul, Have you tried to pass to the VM unsupported argument like java -xmsMinSizeInMbOfHeap -xmxMax_Size_in_MB_of_Heap ClasstoStart (I would not have a clue on how you 'd it when it's as a NT-service). Thomas, === Hi, I am using Tomcat 4.0.1 with IIS 5 on Win2K as a service. The no. of hits on the IIS Tomcat are 250 per sec. When this happens, tomcat IIS start eating up CPU upto 30-80%. This is directly related to the no. of hits to the server as it calms down when the no. of users (hits/sec) are less. I am using default configuration of tomcat. Is that enough? or Is there any way of tuning the tomcat. I have 512 MB RAM out of which 50% is still free and my servlet uses only 20-25 MB. So its not using its default 64 MB also. Any suggestions? Best Regards, Rahul. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: tuning tomcat!!
For Tomcat on NT as a service, you can set the -Xms and -Xmx in the registry. Its HKEY_LOCAL_MACHINE\Service\CurrentControlSet\Name of Service\Configuration. You can add new JVM Option Number X (and make sure to increment the JVM Option Count key) to contain the additional parameters. Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 7:32 AM To: Rahul Asanikar Cc: Tomcat Users List Subject: Re: tuning tomcat!! What borthers you with that ? Is the system too slow / sloppy ? I would also try to switch some flags like the green threads / native threads see how it behaves. Have you try these while running as a normal APP ? I mean not an NT-service ? Another thing you could do is to simply have a dummy jsp / servlet creating an chain of Objects to force allocation of lots of memeory see then what you do monitor ! R U using perfmon to do so ? thomas, -- Thomas SMETS rue J. Wytsmanstraat 62 1050 Bruxelles yahoo-id : smetsthomas - Original Message - From: Rahul Asanikar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 07 March, 2002 12:30 PM Subject: Re: tuning tomcat!! Hi Thomas, I have tried it, but in vain :-( Anyway its using only 20-25 MB out of default 64 MB memory. Any thoughts? Rahul. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 07, 2002 2:26 PM Subject: re : tuning tomcat!! Rahul, Have you tried to pass to the VM unsupported argument like java -xmsMinSizeInMbOfHeap -xmxMax_Size_in_MB_of_Heap ClasstoStart (I would not have a clue on how you 'd it when it's as a NT-service). Thomas, === Hi, I am using Tomcat 4.0.1 with IIS 5 on Win2K as a service. The no. of hits on the IIS Tomcat are 250 per sec. When this happens, tomcat IIS start eating up CPU upto 30-80%. This is directly related to the no. of hits to the server as it calms down when the no. of users (hits/sec) are less. I am using default configuration of tomcat. Is that enough? or Is there any way of tuning the tomcat. I have 512 MB RAM out of which 50% is still free and my servlet uses only 20-25 MB. So its not using its default 64 MB also. Any suggestions? Best Regards, Rahul. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Making Embedded tomcat work off tomcat config files
Hi All, I am embedding tomcat in my application , but I dont want to deal with the configuration aspects of tomcat. I see that embedded tomcat requires that we set the configuration information programatically (like ports, connectors, contexts) etc. Is there a way to make an embedded tomcat read this information from the configuration files! Alos that the org.apache.catalina.startup.Catalina uses a SAX parser and adds actions and builds a object hierarchy . Alternatively Is there a single tomcat api that we could call to build this object hierarchy? Any help will be greatly appreciated ! Thanx in advance Ganesh -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Moving to windows from linux ? bug ? - DEMO
a follow up for those that wanna see it for themselves. I attached a nano-web app that shows the exact problem. (extracting and installing, you have to do yourself, you'll also have to modify the bug.xml for your system) I tried this with Win98: -)tomcat 3.3.1-rc1 on Windows 98 with the ibm 1.3 jdk and jikes. gives the problem described below. -)tomcat 3.3.1-rc1 on Windows 98 with sun's jdk1.4 and its compiler same problem, plus warnings that the way tomcat fires up the compiler is deprecated. -)tomcat 3.2.1 on Windows 98 widh sun's and ibm's jds 1.4 and 1.3 same problem Linux: -)tomcat 3.3.1-rc1 on Linux Mandrake 8.1 with ibm 1.3 jdk and jikes runs perfectly -)tomcat 3.2.1 on Linux Suse 7.0 with ibm 1.3 and its compiler runs perfectly Sorry, that's all I could get my hands on for now... the problem is the generated Java file .../X/index_1.java included below: like I said the package X ... import x.* combination makes the compilers go berserk. --- code --- package X; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import x.*; public class index_1 extends org.apache.jasper.runtime.HttpJspBase { static { } public index_1( ) { } private boolean _jspx_inited = false; public final synchronized void _jspx_init() throws org.apache.jasper.JasperException { if (! _jspx_inited) { _jspx_inited = true; } } public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { JspFactory _jspxFactory = null; PageContext pageContext = null; HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; String _value = null; try { try { _jspx_init(); _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType(text/html;charset=ISO-8859-1); pageContext = _jspxFactory.getPageContext(this, request, response, , true, 8192, true); application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); // HTML // begin [file=D:\\tmp\\BUG\\X\\index.jsp;from=(0,40);to=(1,0)] out.write(\r\n); // end // begin [file=D:\\tmp\\BUG\\X\\index.jsp;from=(1,2);to=(3,0)] X myX=new X(); out.println(myX); // end } catch (Exception ex) { if (out != null out.getBufferSize() != 0) out.clearBuffer(); if (pageContext != null) pageContext.handlePageException(ex); } catch (Error error) { throw error; } catch (Throwable throwable) { throw new ServletException(throwable); } } finally { if (out instanceof org.apache.jasper.runtime.JspWriterImpl) { ((org.apache.jasper.runtime.JspWriterImpl)out).flushBuffer(); } if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext); } } } end of code--- I hope this clearly demonstrates the problem, and I think it really is a bug. the problem is : is it a compiler of tomcat bug ? and more important how do I work around this problem... have fun, Sloot. On Thu, 7 Mar 2002, Romain Slootmaekers wrote: Yo, I'm moving from linux to windows (yeah, yeah I know :( ) On the linux platform, our web application runs PERFECTLY but on windows we have problems when the jsp pages are compiled. appearantly, tomcat doesn't like the following situation. file : /PROBLEM/abc.jsp %@ page language=java import=xxx.* % % SomeClass x=new SomeClass(); // class really exists in package xxx // and was compiled with the same compiler. % it gives following error: org.apache.jasper.JasperException: Unable to compile Found 2 semantic errors compiling .../XXX/abc_1.java: SomeClass x=new SomeClass(); --- *** Error: The type SomeClass was found in package XXX. However, that type is associated with another named package, xxx. I guess the compiler gets confused with the cases on windows, because he has both an XXX and xxx package in the classpath. Is this a bug ? or is this 'known/specified behaviour' and what do I do about it ? TIA, Sloot. bug.tar.gz Description: application/gunzip -- To unsubscribe: mailto:[EMAIL PROTECTED] For
RE: Moving to windows from linux ? bug ? - DEMO
Since case is supposed to be significant, this would appear to be a bug in the java compiler as the index_1.java file is generated correctly. However, expecting package X and package x to be distinguishable on a case insensitive OS may be expecting too much. Is there a reason the two x directories have to be a different case? Note that this would not be a problem in Tomcat 4.x since org.apache.jsp is always included in the package name. I will look as what can be done to provide a package prefix in Tomcat 3.3.x. Not sure if it will make it in 3.3.1. Cheers, Larry -Original Message- From: Romain Slootmaekers [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 3:49 PM To: [EMAIL PROTECTED] Subject: Re: Moving to windows from linux ? bug ? - DEMO a follow up for those that wanna see it for themselves. I attached a nano-web app that shows the exact problem. (extracting and installing, you have to do yourself, you'll also have to modify the bug.xml for your system) I tried this with Win98: -)tomcat 3.3.1-rc1 on Windows 98 with the ibm 1.3 jdk and jikes. gives the problem described below. -)tomcat 3.3.1-rc1 on Windows 98 with sun's jdk1.4 and its compiler same problem, plus warnings that the way tomcat fires up the compiler is deprecated. -)tomcat 3.2.1 on Windows 98 widh sun's and ibm's jds 1.4 and 1.3 same problem Linux: -)tomcat 3.3.1-rc1 on Linux Mandrake 8.1 with ibm 1.3 jdk and jikes runs perfectly -)tomcat 3.2.1 on Linux Suse 7.0 with ibm 1.3 and its compiler runs perfectly Sorry, that's all I could get my hands on for now... the problem is the generated Java file .../X/index_1.java included below: like I said the package X ... import x.* combination makes the compilers go berserk. --- code --- package X; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import x.*; public class index_1 extends org.apache.jasper.runtime.HttpJspBase { static { } public index_1( ) { } private boolean _jspx_inited = false; public final synchronized void _jspx_init() throws org.apache.jasper.JasperException { if (! _jspx_inited) { _jspx_inited = true; } } public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { JspFactory _jspxFactory = null; PageContext pageContext = null; HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; String _value = null; try { try { _jspx_init(); _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType(text/html;charset=ISO-8859-1); pageContext = _jspxFactory.getPageContext(this, request, response, , true, 8192, true); application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); // HTML // begin [file=D:\\tmp\\BUG\\X\\index.jsp;from=(0,40);to=(1,0)] out.write(\r\n); // end // begin [file=D:\\tmp\\BUG\\X\\index.jsp;from=(1,2);to=(3,0)] X myX=new X(); out.println(myX); // end } catch (Exception ex) { if (out != null out.getBufferSize() != 0) out.clearBuffer(); if (pageContext != null) pageContext.handlePageException(ex); } catch (Error error) { throw error; } catch (Throwable throwable) { throw new ServletException(throwable); } } finally { if (out instanceof org.apache.jasper.runtime.JspWriterImpl) { ((org.apache.jasper.runtime.JspWriterImpl)out).flushBuffer(); } if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext); } } } end of code--- I hope this clearly demonstrates the problem, and I think it really is a bug. the problem is : is it a compiler of tomcat bug ? and more important how do I work around this problem... have fun, Sloot. On Thu, 7 Mar 2002, Romain Slootmaekers wrote: Yo, I'm moving from linux to windows (yeah, yeah I know :( ) On the linux platform, our web application runs PERFECTLY but on windows we have problems when the jsp pages are compiled. appearantly,
what about server to client side using javascript
I am wondering this can be done or not: A server send a whole bunch of information to client side. These are treated as objects on the client side, and client side initiates javascript objects for them. Are there any framework for that kind of job? thanx a lot! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Disable session serialization
How does one disable session serialization? I don't want this feature enabled at all, and I can't find anyway to turn it off. I know that the StandardManager handles this aspect, but it's not explicitly defined anywhere in the config files. Does this have to be done programmatically? If it helps, I'm using JBoss 2.4.4 w/ Tomcat 4.01. Thank you! -Ryan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RV: problem trying to run C:\Program Files\Apache Tomcat 4.0\bin\startup
come again, a more explained version of my problem... I need to build a aplication using JSP's I use the following how-to-install everithing needs to run JSP's this is the link http://www.javahispano.com/articulos/como/apache-t omcat/windows.shtml I read the intructions and make everything. But in this step c:\jakarta-tomcat-3.2.1\bin\startup the error appears. thakyou very much c. -Mensaje original- De: Carlos A. Díaz [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 07 de marzo de 2002 15:44 Para: [EMAIL PROTECTED] Asunto: problem trying to run C:\Program Files\Apache Tomcat 4.0\bin\startup I have installed on w2k, SPK2: -mysql-3.23.49-win.zip -jakarta-tomcat-4.0.1.exe -apache_1.3.23-win32-x86-no_src.msi -j2sdk-1_3_1-win.exe I really don`t know what's the meaning of this error. a copy of the error: run: C:\Program Files\Apache Tomcat 4.0\bin\startup Catalina.start: LifecycleException: null.open: java.net.BindException: Address in use: JVM_Bind LifecycleException: null.open: java.net.BindException: Address in use: JVM_Bind at org.apache.catalina.connector.http.HttpConnector.i nitialize(HttpConnector.java:1116) at org.apache.catalina.core.StandardService.initializ e(StandardService.java:454) at org.apache.catalina.core.StandardServer.initialize (StandardServer.java:552) at org.apache.catalina.startup.Catalina.start(Catalin a.java:775) at org.apache.catalina.startup.Catalina.execute(Catal ina.java:681) at org.apache.catalina.startup.Catalina.process(Catal ina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:243) - Root Cause - java.net.BindException: Address in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java :405) at java.net.ServerSocket.init(ServerSocket.java:170 ) at java.net.ServerSocket.init(ServerSocket.java:121 ) at org.apache.catalina.net.DefaultServerSocketFactory .createSocket(Defau ltServerSocketFactory.java:118) at org.apache.catalina.connector.http.HttpConnector.o pen(HttpConnector.java:946) at org.apache.catalina.connector.http.HttpConnector.i nitialize(HttpConnector.java:1114) at org.apache.catalina.core.StandardService.initializ e(StandardService.java:454) at org.apache.catalina.core.StandardServer.initialize (StandardServer.java:552) at org.apache.catalina.startup.Catalina.start(Catalin a.java:775) at org.apache.catalina.startup.Catalina.execute(Catal ina.java:681) at org.apache.catalina.startup.Catalina.process(Catal ina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:243) Carlos A. Díaz Zamora, Student, Computer Science Department Costa Rica Institute of Technology El aprendizage no se comprende sOlo por la erudiciOn, sino porque el profundizar en el conocimiento de cOmo funciona el mundo facilitarA concebir mejores estrategias para manejarse en El Russell-Norvig -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Load-on-startup
When tomcat is restarted, the servlets are initialized according to the value in their load-on-startup tags in web.xml. However, I have noticed that if I restart the context using the manager, the servlet are initialized according to their physical order in web.xml, thus ignoring the load-on-startup tag. Is this how it is meant to happen? OS: HP-UX 11.0 Tomcat: 4.0.1 Thank you, Jeffrey Peloquin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Disable session serialization
there is one ugly way to do it, disable the path all together, this will throw an IO Exception when the system is shutdown, but the exception is caught and printed, nothing to worry about Manager className=org.apache.catalina.session.StandardManager pathname= /Manager other than that, there is no way of doing it Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net -Original Message- From: Ryan Daigle [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 1:52 PM To: '[EMAIL PROTECTED]' Subject: Disable session serialization How does one disable session serialization? I don't want this feature enabled at all, and I can't find anyway to turn it off. I know that the StandardManager handles this aspect, but it's not explicitly defined anywhere in the config files. Does this have to be done programmatically? If it helps, I'm using JBoss 2.4.4 w/ Tomcat 4.01. Thank you! -Ryan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Making Embedded tomcat work off tomcat config files
On Thu, 7 Mar 2002, Sankaranarayanan Ganapathy wrote: Date: Thu, 7 Mar 2002 12:23:15 -0800 From: Sankaranarayanan Ganapathy [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Making Embedded tomcat work off tomcat config files Hi All, I am embedding tomcat in my application , but I dont want to deal with the configuration aspects of tomcat. I see that embedded tomcat requires that we set the configuration information programatically (like ports, connectors, contexts) etc. Is there a way to make an embedded tomcat read this information from the configuration files! Simplest thing would be to call the main() method of org.apache.catalina.startup.Bootstrap yourself -- that's all that the catalina.sh/catalina.bat scripts do. It will then parse server.xml and create the hierarchy. Alos that the org.apache.catalina.startup.Catalina uses a SAX parser and adds actions and builds a object hierarchy . Alternatively Is there a single tomcat api that we could call to build this object hierarchy? That's what the Embedded class is for, but you said you didn't want to deal with the configuration complexity yourself. Tomcat's standard approach is to do an XML parse of $CATALINA_HOME/conf/server.xml and create the corresponding Catalina components in response to interesting SAX events. Without reading server.xml, it's up to you to build the object hierarchy yourself, which Embedded can help you with. Note that you're going to need an XML parser anyway, because it's used for reading web.xml files, tag library descriptors, and JSP pages in XML syntax. Any help will be greatly appreciated ! Thanx in advance Ganesh Craig -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Making Embedded tomcat work off tomcat config files
Craig, Thanx for writing! I want to provide our users the convienience of doing the necessary operations (start/stop and disbaling/enabling contexts dynamically)that they want to do on tomcat for our apps from our console. I am writing a wrapper on top of tomcat for the same. The thing I dont like about calling org.apache.catalina.startup.Bootstrap.main is that 1. The api is asynchronous I dont really know when its started completely / stopped completely 2. It handles all exceptions by itself , so my wrapper has no way of knowing if it started correctly or not. 3. I dont have handles to tomcat objects like contexts, connectors - so if I wanted to change something dynamically I cant 4. Atleast earlier versions of tomcat when invoked via main used to call System.exit and stuff , so I had to register system.exit handlers to deal with this condition I like the embedded approach in that it solves all my problems. What I want to be able to do is Embedded server = getEmbeddedTomcat(String strConfFile); // The tomcat server is constructed based //on the xml config gile server.start(); //at the end of this I know its started , I see exceptions I there is a failure server.stop();//at the end of this I know its stopped In short ,I am trying to see if I can have the convenience of construction of my embedded tomcat object hierarchy (through an api) with out me having to parse the server.xml and construct my embedded tomcat heirarchy. This way I dont have to deal with the config files now and any changes that might happen to them in future. Thanx Ganesh -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 2:30 PM To: Tomcat Users List Subject: Re: Making Embedded tomcat work off tomcat config files On Thu, 7 Mar 2002, Sankaranarayanan Ganapathy wrote: Date: Thu, 7 Mar 2002 12:23:15 -0800 From: Sankaranarayanan Ganapathy [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Making Embedded tomcat work off tomcat config files Hi All, I am embedding tomcat in my application , but I dont want to deal with the configuration aspects of tomcat. I see that embedded tomcat requires that we set the configuration information programatically (like ports, connectors, contexts) etc. Is there a way to make an embedded tomcat read this information from the configuration files! Simplest thing would be to call the main() method of org.apache.catalina.startup.Bootstrap yourself -- that's all that the catalina.sh/catalina.bat scripts do. It will then parse server.xml and create the hierarchy. Alos that the org.apache.catalina.startup.Catalina uses a SAX parser and adds actions and builds a object hierarchy . Alternatively Is there a single tomcat api that we could call to build this object hierarchy? That's what the Embedded class is for, but you said you didn't want to deal with the configuration complexity yourself. Tomcat's standard approach is to do an XML parse of $CATALINA_HOME/conf/server.xml and create the corresponding Catalina components in response to interesting SAX events. Without reading server.xml, it's up to you to build the object hierarchy yourself, which Embedded can help you with. Note that you're going to need an XML parser anyway, because it's used for reading web.xml files, tag library descriptors, and JSP pages in XML syntax. Any help will be greatly appreciated ! Thanx in advance Ganesh Craig -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Processing BodyContent in doAfterTag() has no effect
This is no JSP forum and I understand that. I would appreciate any pointers on this. Using Tomcat4.0.2 I have written a custom tag with body. The intention is to process the body and replace any periods with line breaks (in HTML) before writing the BodyContent to the enclosing JspWriter. It seems that replacing . with .br does not take any effect. The output HTML does not contain the br tags (when viewed from the browser). From the doAfterBody() I call the filter to replace the periods with br as follows. Pl let me know if my understanding of the TAG lifecycle is wrong: public int doAfterBody() throws JspException { try { String txt = getBodyContent().getString(); replaceDots(txt.toLowerCase() getPreviousOut() ); } catch (java.io.IOException ioxc) { throw new JspException(ioxc.toString()); } return SKIP_BODY; } private void replaceDots(final String x, JspWriter w) throws java.io.IOException { if (x == null) return ; StringTokenizer st = new StringTokenizer(x, .); while (st.hasMoreTokens()) { String f = (String)st.nextToken(); w.println( f.equals(.) ? .br:f); } } -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: what about server to client side using javascript
Well, since this is a tomcat list I would say that you can use tomcat/java/servlets/jsp to send dynamically generated html with dynamically generated embedded javascripts in them back to a browser. Once there these javascripts ( embedded in the dynamically generated html ) can operate on javascript objects.most of which control HTML form elements ( select tags, menus, textareas etc ). Henry wrote: I am wondering this can be done or not: A server send a whole bunch of information to client side. These are treated as objects on the client side, and client side initiates javascript objects for them. Are there any framework for that kind of job? thanx a lot! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: applet to servlet problem
tamir java.io.InputStreamReader is = new tamir java.io.InputStreamReader(con.getInputStream()); ^^^ Do each thread uses their own con? each thread must create URLConection newly inside run() if each thread need to connect to server in the same time. regards, Watanabe. In the message applet to servlet problem D054B0637615D611967000D0B78059CB0254F4@IBM3000 tamir [EMAIL PROTECTED] wrote: tamir Hello everybody, tamir I'm quite sure it's not tomcat problem, however, I give it a shot, mainly tamir because I know all the people here tamir usually have great ideas... tamir I'm using tomcat 3.3.1b. tamir I've an applet that runs several threads. Each thread calls to the server tamir using URLConnection. tamir Everything works fine, however, only 2-3 threads can simoulantously achieve tamir the tamir server, and the rest are waiting. When one thread finishes, the other one tamir can connect the server. tamir The stuck command is: tamir java.io.InputStreamReader is = new tamir java.io.InputStreamReader(con.getInputStream()); tamir I'm using the Applet tag to run my applet. tamir Do you have any clues for me ? tamir Best regards, tamir Tamir tamir -- tamir To unsubscribe: mailto:[EMAIL PROTECTED] tamir For additional commands: mailto:[EMAIL PROTECTED] tamir Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
expire page after form submission
I'm having some trouble with users pressing the browser back button after submitting a form, entering more data and attempting to resubmit. Is it possible to expire the form page immediately after it's submitted? I tried adding: META HTTP-EQUIV=Pragma CONTENT=no-cache META HTTP-EQUIV=Expires CONTENT=0 META HTTP-EQUIV=Cache-Control CONTENT=no-cache ...to no avail. I'm running Tomcat 4 on Linux, and I've tested with IE and Mozilla with same results. The page is generated with a Velocity servlet. Thanks -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: problem trying to run C:\Program Files\Apache Tomcat 4.0\bin\startup
Hi Carlos,don´t have the time to read... but you missed the cd(change directory)instruction.So go to a DOS command prompt(C:\windows) and type as follows: cd C:\jakarta-tomcat-3.2.1\bin followed by startup do whatever you need to and shutdown (always from the bin directory). Hope this helps. -Mensaje original- De: Carlos A. Díaz [mailto:[EMAIL PROTECTED]] Enviado el: Jueves, 07 de Marzo de 2002 06:14 p.m. Para: [EMAIL PROTECTED] Asunto: RV: problem trying to run C:\Program Files\Apache Tomcat 4.0\bin\startup come again, a more explained version of my problem... I need to build a aplication using JSP's I use the following how-to-install everithing needs to run JSP's this is the link http://www.javahispano.com/articulos/como/apache-t omcat/windows.shtml I read the intructions and make everything. But in this step c:\jakarta-tomcat-3.2.1\bin\startup the error appears. thakyou very much c. -Mensaje original- De: Carlos A. Díaz [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 07 de marzo de 2002 15:44 Para: [EMAIL PROTECTED] Asunto: problem trying to run C:\Program Files\Apache Tomcat 4.0\bin\startup I have installed on w2k, SPK2: -mysql-3.23.49-win.zip -jakarta-tomcat-4.0.1.exe -apache_1.3.23-win32-x86-no_src.msi -j2sdk-1_3_1-win.exe I really don`t know what's the meaning of this error. a copy of the error: run: C:\Program Files\Apache Tomcat 4.0\bin\startup Catalina.start: LifecycleException: null.open: java.net.BindException: Address in use: JVM_Bind LifecycleException: null.open: java.net.BindException: Address in use: JVM_Bind at org.apache.catalina.connector.http.HttpConnector.i nitialize(HttpConnector.java:1116) at org.apache.catalina.core.StandardService.initializ e(StandardService.java:454) at org.apache.catalina.core.StandardServer.initialize (StandardServer.java:552) at org.apache.catalina.startup.Catalina.start(Catalin a.java:775) at org.apache.catalina.startup.Catalina.execute(Catal ina.java:681) at org.apache.catalina.startup.Catalina.process(Catal ina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:243) - Root Cause - java.net.BindException: Address in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java :405) at java.net.ServerSocket.init(ServerSocket.java:170 ) at java.net.ServerSocket.init(ServerSocket.java:121 ) at org.apache.catalina.net.DefaultServerSocketFactory .createSocket(Defau ltServerSocketFactory.java:118) at org.apache.catalina.connector.http.HttpConnector.o pen(HttpConnector.java:946) at org.apache.catalina.connector.http.HttpConnector.i nitialize(HttpConnector.java:1114) at org.apache.catalina.core.StandardService.initializ e(StandardService.java:454) at org.apache.catalina.core.StandardServer.initialize (StandardServer.java:552) at org.apache.catalina.startup.Catalina.start(Catalin a.java:775) at org.apache.catalina.startup.Catalina.execute(Catal ina.java:681) at org.apache.catalina.startup.Catalina.process(Catal ina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:243) Carlos A. Díaz Zamora, Student, Computer Science Department Costa Rica Institute of Technology El aprendizage no se comprende sOlo por la erudiciOn, sino porque el profundizar en el conocimiento de cOmo funciona el mundo facilitarA concebir mejores estrategias para manejarse en El Russell-Norvig -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
AJP12 to AJP13
I have a web app that is configured on ajp12, Is there anything I need to change in the app itself to get it to run on ajp13... or is it just a question of changing tomcat configurations I was specifically wondering I could get it to work with SSL hence the interest in ajp13 A few details I am using Win2K pro, Apache 1.323 ,Mod_gzip1.319, Mod jk 1.10, with Tomcat 4.0 with Jdk1.22 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tomcat jsp engine and weblogic jsp engine
Hi, 1.Is there any bench mark available to compare tomcat and weblogic jsp engine. I am asking this because our client are using weblogic application server. but they are not using the jsp engine that comes with it. I gave reasons to my colleagues that weblogic jsp engine is not as powerful and robust as tomcat engine. WL gives jsp engine so that you can test your jsp to work with ejbs. Am I right ?? 2. Suppose weblogic is as powerful as Tomcat then can I configure with Apache as the jsp engine. TIA Ashwani Kalra winmail.dat Description: application/ms-tnef -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
persistent session
Hi list, i want to know which tomcat version support persistent session, what steps should i follow to acheive this, how database handles this session. regards munish
RE: Processing BodyContent in doAfterTag() has no effect
I believe you have to flush the writer out to the body content of the tag at the end tag event: doEndTag() throws JspException { bodyContent.writeOut(YourWriter); } That work? -Original Message- From: K Br [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 6:29 PM To: [EMAIL PROTECTED] Subject: Processing BodyContent in doAfterTag() has no effect This is no JSP forum and I understand that. I would appreciate any pointers on this. Using Tomcat4.0.2 I have written a custom tag with body. The intention is to process the body and replace any periods with line breaks (in HTML) before writing the BodyContent to the enclosing JspWriter. It seems that replacing . with .br does not take any effect. The output HTML does not contain the br tags (when viewed from the browser). From the doAfterBody() I call the filter to replace the periods with br as follows. Pl let me know if my understanding of the TAG lifecycle is wrong: public int doAfterBody() throws JspException { try { String txt = getBodyContent().getString(); replaceDots(txt.toLowerCase() getPreviousOut() ); } catch (java.io.IOException ioxc) { throw new JspException(ioxc.toString()); } return SKIP_BODY; } private void replaceDots(final String x, JspWriter w) throws java.io.IOException { if (x == null) return ; StringTokenizer st = new StringTokenizer(x, .); while (st.hasMoreTokens()) { String f = (String)st.nextToken(); w.println( f.equals(.) ? .br:f); } } -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]