Re: TOMCAT 1.4
Hi tuosu, Happy new year to you and Charles also. ;) The reason why you cant see using ps is because your tomcat startup was failed. Your tomcat startup failed is because that its port (8080) was occupied by someother running process. using lsof to check what port using 8080 is running. Li On 1/1/07, tuosu [EMAIL PROTECTED] wrote: Hello Charles, Honored to see your post, since i have seen your wonderful, worthful posts. Thanks for all your info. It was a typo - it should have been - 4.1.34 .profile = CATALINA_HOME=/tomcat-4.1.34 I am running solaris -8, postgresql-8.1.5-sol8-sparc-local j2sdk-1_4_2_13-solaris-sparc j2re-1_4_2_13-solaris-sparc J2SE_Solaris_8_Recommended patches rrdtool-1.0.49-sol8-sparc-local and opennms-1.2.8-sol8-sparc-local The question i have is - when i do ps -ae, i don't see tomcat as a deamon process. How can i make tomcat a process. If tomcat cannot be a process then how do i verify if tomcat is working or not. When i enter the following: ./catalina.sh run Using CATALINA_BASE: /tomcat-4.1.34 Using CATALINA_HOME: /tomcat-4.1.34 Using CATALINA_TMPDIR: /tomcat-4.1.34/temp Using CATALINA_OUT:/tomcat-4.1.34/logs/catalina.out Using JAVA_HOME: /usr/java log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester). log4j:WARN Please initialize the log4j system properly. Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java :1324) at org.apache.catalina.core.StandardService.initialize(StandardService.java :531) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java :2268) at org.apache.catalina.startup.Catalina.start(Catalina.java:457) at org.apache.catalina.startup.Catalina.execute(Catalina.java:345) at org.apache.catalina.startup.Catalina.process(Catalina.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:150) Catalina.stop: LifecycleException: This server has not yet been started LifecycleException: This server has not yet been started at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2235) at org.apache.catalina.startup.Catalina.start(Catalina.java:489) at org.apache.catalina.startup.Catalina.execute(Catalina.java:345) at org.apache.catalina.startup.Catalina.process(Catalina.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:150) I have no clue on this error message. Thanks in advance Caldarale, Charles R wrote: From: tuosu [mailto:[EMAIL PROTECTED] Subject: TOMCAT 1.4 My O.S == sun solaris 8.0, running tomcat 1.4.2 It's highly unlikely you have Tomcat 1.4.2; the oldest level in the archives is 3.0, and that's almost seven years old. The 1.4.2 probably refers to the level of Java (JRE) you have installed. You probably need to download and install Tomcat from here: http://tomcat.apache.org/download-55.cgi Since you are most likely running version 1.4.2 of the JVM, you'll also need the JDK 1.4 Compatibility Package, from the same download page. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/TOMCAT-1.4-tf2903356.html#a8112283 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- When we invent time, we invent death.
Re: TOMCAT 1.4
don't know about solaris too much, but the exception to me sounds as if there's already an instance of tomcat running which is listenig on port 8080. Port 8080 is the default port tomcat will listen to. So, if you start tomcat and then start another instance, both listening on port 8080, you will get the above error-message (exception) as soon as you try to start the second tomcat-instance. try to see what's listening on port 8080: - su to root - type netstat -lnp - take a look what process is listening on port 8080 happy new year! greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT 1.4
Greg Thanks for the input Can you double check the Tomcat version as 1.4? Thx, Martin -- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. --- Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: Gregor Schneider [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, January 01, 2007 7:31 AM Subject: Re: TOMCAT 1.4 don't know about solaris too much, but the exception to me sounds as if there's already an instance of tomcat running which is listenig on port 8080. Port 8080 is the default port tomcat will listen to. So, if you start tomcat and then start another instance, both listening on port 8080, you will get the above error-message (exception) as soon as you try to start the second tomcat-instance. try to see what's listening on port 8080: - su to root - type netstat -lnp - take a look what process is listening on port 8080 happy new year! greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
I have deployed build , using root user ,
Hi All I have deployed build using root user on tomcat 5.0 [( Mysql 5.0 ) server (installed on fedora linux box)] , Now I want to delete complete code which was on done using root user . But I am finding it difficult to delete all the stuff , Clean build command is not working even with root user . Please help me . What would be appropriate method .??? Vijay G Hatewar |Member of Technical Staff - TQE|Persistent Systems Pvt, Ltd., Pune.| |Ph: +91 .20 .3023.5331| Mobile: +91.9890678168| @: [EMAIL PROTECTED]| DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT 1.4
Hi Martin, sorry, don't get you: What do you mean by double-checking version 1.4? As Chuck wrote above, there's no such version of Tomcat 1.4. However, there is a Java-Version named 1.4.2 - maybe you're mixing it up? Maybe you should let us know what you're trying to achieve: I understood that you want to run Tomcat. I also understood that you want to run httpd (I figure you're talking about Apache httpd). However, when you start Tomcat, you are getting an exception saying that port 8080 is already in use. Now what you have to do is to figure out which process is blocking port 8080 (my guess is, that it's already another instance of Tomcat running). To check this, in Unix (Linux) there's a command to check what process is listening on which port. I think it also should exist within Solaris. The command is netstat -lnp which will give you an overview of the processes listening to the network and showing the ports to which each of those processes is bound. If the command doesn't exist within Solaris, maybe somebody in this list can give a hint and show an alternative command. Anyways, please describe what you'd like to achieve, and maybe the members of this list can sketch some solutions for you. And last not least: Be aware that, if you run Tomcat on port 8080 (the default port), then the url will be http://your_host:8080 - otherwise port 80 is requested, and then you'll either have to change the Listener within Tomcat to listen to port 80 or you'll need something like Apache httpd in front. Cheers Greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: I have deployed build , using root user ,
I have deployed build using root user on tomcat 5.0 Lesson No 1: Never run Tomcat as root Write that down for at least 100 times Getting serious again: What do you want to delete? The Tomcat-Installation? A web-app that you distributed? Please be specific Cheers Greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to set up a special folder to list all files under it?
1)yes you need to setup the listings options for your servlet in web.xml as in servlet servlet-nameNameOfServlet/servlet-name /servlet-classFullPackageNameOfServletClass/servlet-class init-param param-namelistings/param-name param-valuetrue/param-value /init-param /servlet 2)make sure you copy your viewable (txt) files to the the webapps/WEBAPPNAME (Note the WEB-INF folder is for web.xml, /classes and /lib) a href=${contextPath}/src/org/ajaxtags/demo/servlet/AutocompleteServlet.java.txtJava source/a 3)ensure the files that you wish to view have an extension that your browser will know to associate with text editor(as in .txt extension for vi or wordpad) (Expanding on previous poster's extremely late nite posting..) M- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. --- Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, January 01, 2007 1:48 AM Subject: RE: How to set up a special folder to list all files under it? From: kkus [mailto:[EMAIL PROTECTED] Subject: How to set up a special folder to list all files under it? Now I need add a specific folder which will let user to browse all files under it without authentication. I haven't personally tried the following, so take it with a grain of salt. Also, others might know an easier way to accomplish what you want. Delivery of static content and directory listings is under control of the default servlet, as defined in the conf/web.xml file. By default, this has the listings param set to false, to disable ad hoc browsing. I think you could copy the config for the default servlet, change servlet-name from default to something appropriate for your purpose, set the listings param to true, and add a servlet mapping for this renamed default to use a url-pattern pointing to the directory you want to store your public files in. You would want to put this redefined servlet definition and mapping in the WEB-INF/web.xml of the webapp that will hold the public directory. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT 1.4
If you're speaking of 1.4 JVM instead of Tomcat then you should make your distinctions clear as in I am using Tomcat 5.x with JVM 1.4 Dont get mixed up again Good Luck --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. --- Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: Gregor Schneider [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org; Martin Gainty [EMAIL PROTECTED] Sent: Monday, January 01, 2007 11:45 AM Subject: Re: TOMCAT 1.4 Hi Martin, sorry, don't get you: What do you mean by double-checking version 1.4? As Chuck wrote above, there's no such version of Tomcat 1.4. However, there is a Java-Version named 1.4.2 - maybe you're mixing it up? Maybe you should let us know what you're trying to achieve: I understood that you want to run Tomcat. I also understood that you want to run httpd (I figure you're talking about Apache httpd). However, when you start Tomcat, you are getting an exception saying that port 8080 is already in use. Now what you have to do is to figure out which process is blocking port 8080 (my guess is, that it's already another instance of Tomcat running). To check this, in Unix (Linux) there's a command to check what process is listening on which port. I think it also should exist within Solaris. The command is netstat -lnp which will give you an overview of the processes listening to the network and showing the ports to which each of those processes is bound. If the command doesn't exist within Solaris, maybe somebody in this list can give a hint and show an alternative command. Anyways, please describe what you'd like to achieve, and maybe the members of this list can sketch some solutions for you. And last not least: Be aware that, if you run Tomcat on port 8080 (the default port), then the url will be http://your_host:8080 - otherwise port 80 is requested, and then you'll either have to change the Listener within Tomcat to listen to port 80 or you'll need something like Apache httpd in front. Cheers Greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to set up a special folder to list all files under it?
Still confused with servlet class (FullPackageNameOfServletClass) here. What is required in building such a class? Can you provide a sample? Thanks! Martin Gainty wrote: 1)yes you need to setup the listings options for your servlet in web.xml as in servlet servlet-nameNameOfServlet/servlet-name /servlet-classFullPackageNameOfServletClass/servlet-class init-param param-namelistings/param-name param-valuetrue/param-value /init-param /servlet 2)make sure you copy your viewable (txt) files to the the webapps/WEBAPPNAME (Note the WEB-INF folder is for web.xml, /classes and /lib) ${contextPath}/src/org/ajaxtags/demo/servlet/AutocompleteServlet.java.txt Java source 3)ensure the files that you wish to view have an extension that your browser will know to associate with text editor(as in .txt extension for vi or wordpad) (Expanding on previous poster's extremely late nite posting..) M- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. --- Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, January 01, 2007 1:48 AM Subject: RE: How to set up a special folder to list all files under it? From: kkus [mailto:[EMAIL PROTECTED] Subject: How to set up a special folder to list all files under it? Now I need add a specific folder which will let user to browse all files under it without authentication. I haven't personally tried the following, so take it with a grain of salt. Also, others might know an easier way to accomplish what you want. Delivery of static content and directory listings is under control of the default servlet, as defined in the conf/web.xml file. By default, this has the listings param set to false, to disable ad hoc browsing. I think you could copy the config for the default servlet, change servlet-name from default to something appropriate for your purpose, set the listings param to true, and add a servlet mapping for this renamed default to use a url-pattern pointing to the directory you want to store your public files in. You would want to put this redefined servlet definition and mapping in the WEB-INF/web.xml of the webapp that will hold the public directory. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/How-to-set-up-a-special-folder-to-list-all-files-under-it--tf2903441.html#a8115081 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to set up a special folder to list all files under it?
From: kkus [mailto:[EMAIL PROTECTED] Subject: Re: How to set up a special folder to list all files under it? Still confused with servlet class (FullPackageNameOfServletClass) here. What is required in building such a class? You don't have to create any classes. Just do what I said in the original response, which is to copy the existing declaration for the default servlet from conf/web.xml to your own WEB-INF/web.xml. Change the name of the servlet, but not the servlet class - leave that as: org.apache.catalina.servlets.DefaultServlet Also change the param-value for listings to true (in your copy), and supply a servlet mapping for the renamed servlet to use the directory that has your public files. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to set up a special folder to list all files under it?
From: Caldarale, Charles R Subject: RE: How to set up a special folder to list all files under it? You don't have to create any classes. Just do what I said in the original response, which is to copy the existing declaration for the default servlet from conf/web.xml to your own WEB-INF/web.xml. In case I didn't make it clear before, the idea is to create a copy of the default servlet specifically for your webapp. This renamed copy will allow access to and listings of the directory specified in its url-pattern, and nothing else. The normal default servlet would continue to supply static content for all other paths, without exposing their directory structure. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANN] Java Web Parts 1.0 (GA) is now available
The Java Web Parts (JWP) team is proud to announce that new year's day sees our first GA release, 1.0, unleashed upon the world! For those of you new to JWP, it is a project that provides small, reusable and largely independant Java components of interest to all web application developers. You can think of this project as being somewhat similar to the Jakarta Commons projects conceptually. JWP is comprised of a number of packages, each supplied in its own individual JAR, with little (ideally no) cross-dependency. The packages currently include: * AjaxParts - A collection of components for doing AJAX, including the very popular AjaxParts Taglib (APT Taglib) * Context - A collection of components for dealing with a servlet context including functionality to calculate the size of the context object * Filter - A collection of useful servlet filters including a Javascript compressor, a request recorder, a cross-site scripting filter, a compression filter and an IP access control filter * Listener - Context and Session listeners for various occassions including functionality to limit the number of concurrent sessions * Misc - Things that didn't fit anywhere else, including a very powerful CoR implementation and a utility to play back recorded sessions created with the session recorder filter (useful for automated load testing) * Taglib - Various tag libraries including some UI widgets, string utilities and a taglib to insert various useful Javascript functions * Servlet - A collection of servlets to fulfill common needs including one that can render a graphical representation of a string of text using various font styles * Request - Classes and functions for dealing with an HTTP request including functions to get various information about a request easily * Response - Classes and functions for dealing with an HTTP response including functionality to encode HTML entities in the response * Session - Classes and functions... eh, you see the pattern! (includes the ability to calculate the size of session, etc) Please visit http://javawebparts.sourceforge.net for further info, docs, downloads, all that jazz. We now return you to your regularly scheduled mailing list posts and wish every a happy new year! Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of Practical Ajax Projects With Java Technology (2006, Apress, ISBN 1-59059-695-1) Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT 1.4
hi martin, actually, i just wanted to give the op tuosu some hints how to solve his problems. you puzzled me by asking *me* to double-check tomcat v 1.4 - actually tuosu (the op) has to double-check... kinda mixed it up. anyways, i guess tuoso has a few starting-points now. cheers greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk.dll Support
Hi, I can not find the mod_jk.dll from jk-1.2.20 build. Does it mean that is not supported any more? Or I should use the mod_jk-apache-2.2.3.so instead? Thanks! Dong - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk.dll Support
JiaDong Huang wrote: Hi, I can not find the mod_jk.dll from jk-1.2.20 build. Does it mean that is not supported any more? Or I should use the mod_jk-apache-2.2.3.so instead? Thanks! Dong When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. This makes it harder for other users to find relevant information when searching the lists. This is known as thread hijacking and is behaviour that is frowned upon on this list. Frequent offenders will be removed from the list. It should also be noted that many list subscribers automatically ignore any messages that hijack another thread. The correct procedure is to create a new message with a new subject. This will start a new thread. Mark tomcat-user-owner - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to set up a special folder to list all files under it?
Under listing directory, is there any way putting a file link there since I want to put physical file in a different disk? I tried and it showed me a file with a link, but after I clicked this test.lnk it can't show me the physical file at all. Thanks! Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: How to set up a special folder to list all files under it? You don't have to create any classes. Just do what I said in the original response, which is to copy the existing declaration for the default servlet from conf/web.xml to your own WEB-INF/web.xml. In case I didn't make it clear before, the idea is to create a copy of the default servlet specifically for your webapp. This renamed copy will allow access to and listings of the directory specified in its url-pattern, and nothing else. The normal default servlet would continue to supply static content for all other paths, without exposing their directory structure. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/How-to-set-up-a-special-folder-to-list-all-files-under-it--tf2903441.html#a8118643 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk.dll Support
dong- download from Apache HTTP Server at http://httpd.apache.org/download.cgi mod_jk.dll is windows mod_jk-apache-2.2.3.so is Unix HTH Martin -- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. --- Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: Mark Thomas [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, January 01, 2007 7:27 PM Subject: Re: mod_jk.dll Support JiaDong Huang wrote: Hi, I can not find the mod_jk.dll from jk-1.2.20 build. Does it mean that is not supported any more? Or I should use the mod_jk-apache-2.2.3.so instead? Thanks! Dong When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. This makes it harder for other users to find relevant information when searching the lists. This is known as thread hijacking and is behaviour that is frowned upon on this list. Frequent offenders will be removed from the list. It should also be noted that many list subscribers automatically ignore any messages that hijack another thread. The correct procedure is to create a new message with a new subject. This will start a new thread. Mark tomcat-user-owner - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk.dll Support
Hi, This is a re-post as a new email thread. Thanks Mark pointing it out - I did not realize using reply would cause confusion to the mailing list. I can not find the mod_jk.dll from jk-1.2.20 build. Does it mean that is not supported any more? Or I should use the mod_jk-apache-2.2.3.so instead? Thanks! Dong
RE: How to set up a special folder to list all files under it?
From: kkus [mailto:[EMAIL PROTECTED] Subject: RE: How to set up a special folder to list all files under it? Under listing directory, is there any way putting a file link there since I want to put physical file in a different disk? This isn't really a Tomcat issue. The Windows implementation of soft links is a bit strange, as you're finding out. However, there are ways to make it work, mostly. Try looking at this: http://shell-shocked.org/article.php?id=284 - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to set up a special folder to list all files under it?
a good tutorial for constructing URLS is located here http://www.javaworld.com/javaworld/javatips/jw-javatip66.html html body In my situation I have a contextPath which points to $CATALINA_BASE\webapps\WebAppName (so this href tag will display AutoCompleteServlet.java.txt) a href=${contextPath}/src/org/ajaxtags/demo/servlet/AutocompleteServlet.java.txtJava source/a I could have just as easily setup to point to a local file in Unix such as a href=file:///user/martin/index.htmlIndex.html/a or to point to a local file on a windows box a href=file://C:\\user\\martin\\index.htmlIndex.html/a /body /html HTH Martin -- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. --- Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, January 01, 2007 1:26 PM Subject: RE: How to set up a special folder to list all files under it? From: Caldarale, Charles R Subject: RE: How to set up a special folder to list all files under it? You don't have to create any classes. Just do what I said in the original response, which is to copy the existing declaration for the default servlet from conf/web.xml to your own WEB-INF/web.xml. In case I didn't make it clear before, the idea is to create a copy of the default servlet specifically for your webapp. This renamed copy will allow access to and listings of the directory specified in its url-pattern, and nothing else. The normal default servlet would continue to supply static content for all other paths, without exposing their directory structure. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: mod_jk.dll Support
Thanks Martin for the reply, I don't seem to be able to find the DLL from the Apache HTTP Server at http://httpd.apache.org/download.cgi. Something must be going not quite right - I have been trying to download mod_jk.dll from the link below, which is the proposed place, for Tomcat component. I can not find mod_jk.dll, but find the mod_jk-apache-2.2.3.so instead, with some confusing documentation. http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2 .20/ Dong -Original Message- From: JiaDong Huang [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 January 2007 11:54 AM To: users@tomcat.apache.org Subject: mod_jk.dll Support Hi, This is a re-post as a new email thread. Thanks Mark pointing it out - I did not realize using reply would cause confusion to the mailing list. I can not find the mod_jk.dll from jk-1.2.20 build. Does it mean that is not supported any more? Or I should use the mod_jk-apache-2.2.3.so instead? Thanks! Dong - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to set up a special folder to list all files under it?
kkus wrote: Under listing directory, is there any way putting a file link there since I want to put physical file in a different disk? I tried and it showed me a file with a link, but after I clicked this test.lnk it can't show me the physical file at all. Thanks! Have a look at http://tomcat.apache.org/tomcat-5.5-doc/config/context.html you want the allowLinking attribute Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to set up a special folder to list all files under it?
From: Mark Thomas [mailto:[EMAIL PROTECTED] Subject: Re: How to set up a special folder to list all files under it? Have a look at http://tomcat.apache.org/tomcat-5.5-doc/config/context.html you want the allowLinking attribute The OP is running on WinXP; is allowLinking safe to use on that platform now? The doc seems pretty adamant about not enabling it for Windows. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to set up a special folder to list all files under it?
Caldarale, Charles R wrote: From: Mark Thomas [mailto:[EMAIL PROTECTED] Subject: Re: How to set up a special folder to list all files under it? Have a look at http://tomcat.apache.org/tomcat-5.5-doc/config/context.html you want the allowLinking attribute The OP is running on WinXP; is allowLinking safe to use on that platform now? The doc seems pretty adamant about not enabling it for Windows. Sorry should have read the post more closely. No - this is not safe on Windows. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: I have deployed build , using root user ,
I want to delete the web app that I have deployed .the code etc .. Regards Vijay -Original Message- From: Gregor Schneider [mailto:[EMAIL PROTECTED] Sent: Monday, January 01, 2007 10:20 PM To: Tomcat Users List Subject: Re: I have deployed build , using root user , I have deployed build using root user on tomcat 5.0 Lesson No 1: Never run Tomcat as root Write that down for at least 100 times Getting serious again: What do you want to delete? The Tomcat-Installation? A web-app that you distributed? Please be specific Cheers Greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: I have deployed build , using root user ,
From: Vijay Hatewar [mailto:[EMAIL PROTECTED] Subject: RE: I have deployed build , using root user , I want to delete the web app that I have deployed .the code etc .. Have you tried using the Undeploy command of the Tomcat manager app? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: I have deployed build , using root user ,
I tried with ant clean from root, I got the message build is clean successfully. but when If I would deploy build using my profile , I got the message build unsuccessful . What would be appropriate command for the same. Please writ me. regards Vijay -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 02, 2007 10:44 AM To: Tomcat Users List Subject: RE: I have deployed build , using root user , From: Vijay Hatewar [mailto:[EMAIL PROTECTED] Subject: RE: I have deployed build , using root user , I want to delete the web app that I have deployed .the code etc .. Have you tried using the Undeploy command of the Tomcat manager app? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: I have deployed build , using root user ,
From: Vijay Hatewar [mailto:[EMAIL PROTECTED] Subject: RE: I have deployed build , using root user , I tried with ant clean from root, I got the message build is clean successfully. but when If I would deploy build using my profile , I got the message build unsuccessful . Sounds like the ownership and permissions on some of the Tomcat directories are getting confused. You may be able to straighten it out with the manager app, but I suspect you're going to have to log on as root to clean things up properly. Then again, it could be something as simple as a badly constructed webapp, which could also result in deployment failure. To access Tomcat's manager webapp, you'll need to have a userid defined with a role name of manager in whatever authentication mechanism you're using with Tomcat (by default, it's just the conf/tomcat-users.xml file). Then either bring up the Tomcat home page in your browser and click on the Tomcat Manager link on the left side, or directly enter the appropriate URL: http://[hostname][:port]/manager/html After entering an acceptable userid and password, you'll see a list of applications, their statuses, and commands to use with them. Below that is an area you can use to deploy additional apps. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]