Re: jdk1.4 tomcat.4.30

2004-09-29 Thread Markus Brigl
Hi, thanks for you fast answer. You're right, we are starting tomcat from ant! What I'm wondering for is that we havn't any problem on linux hpunix (obviously using the same build script). The problem appears only on windows! Is the JMX API, required by

___Close xml for reading from browser. how?

2004-09-29 Thread Eugene
Hello Users! I'm using xml files like configuration files for servlets. Is it possible to prevent these xml's from reading in browser but do not close access to servlet for read these files. Any ideas how to achieve this? Thanks in advance! -- Best regards, Eugene

AW: ___Close xml for reading from browser. how?

2004-09-29 Thread Steffen Heil
Hi Hello Users! I'm using xml files like configuration files for servlets. Is it possible to prevent these xml's from reading in browser but do not close access to servlet for read these files. Any ideas how to achieve this? Put these files in the webapps WEB-INF folder. Everything there should

Servlet mapping problem

2004-09-29 Thread Anto Paul
Hi all, I am writing an application which have to serve content based on the hostname it is requested. Different hosts will be set to same ROOT directory. There wont be any content at the ROOT. Everything will be on subdirectories. I wrote a servlet with mapping as / . But when it is forwarded

How can I deploy 2 tomcat and work on both of them at the same ti me?

2004-09-29 Thread Bachler, Elisabeth (Elisabeth)
Hello, I have tomcat jakarta-tomcat-5.0.19 installed on my machine under /opt Now, I have installed another tomcat (same version) under another root directory. I need to have two versions working at the same time. Under one, I will have a client web version and under the other one, my test

Re: Servlet mapping problem

2004-09-29 Thread Michael McGrady
Anto Paul wrote: Hi all, I am writing an application which have to serve content based on the hostname it is requested. Different hosts will be set to same ROOT directory. There wont be any content at the ROOT. Everything will be on subdirectories. I wrote a servlet with mapping as / . But when

Re: AW: ___Close xml for reading from browser. how?

2004-09-29 Thread Marek Wójtowicz
limit get locationmach /WEB-INF /location /limit or somthink like that? Steffen Heil wrote: Hi Hello Users! I'm using xml files like configuration files for servlets. Is it possible to prevent these xml's from reading in browser but do not close access to servlet for read these files. Any ideas

[OFF TPOIC] System.out.println in JAVAbeans

2004-09-29 Thread Atishay Kumar
hi, If i give System.out.println in JavaBeans it is displayed on the command prompt in Windows. How do it see the output of System.out.println in linux. Is it stored in some file/log? thanks -- :) Atishay Kumar Btech, SEM VII DA-IICT Gandhinagar - 382009 India ph: +91 9825383948

Re: How can I deploy 2 tomcat and work on both of them at the same ti me?

2004-09-29 Thread zhicheng wang
you should not have problem to run two or more if they do not use the port. for your test one, you may not want to use port 80. cheng --- Bachler, Elisabeth (Elisabeth) [EMAIL PROTECTED] wrote: Hello, I have tomcat jakarta-tomcat-5.0.19 installed on my machine under /opt Now, I have

Re: Servlet mapping problem

2004-09-29 Thread Anto Paul
Hi there, I posted this to Tomcat User List. I didnt posted this to Struts. Although the application is using Struts it is not specific to Struts. rgds Anto Paul On Wed, 29 Sep 2004 00:59:53 -0700, Michael McGrady [EMAIL PROTECTED] wrote: Anto Paul wrote: Hi all, I am writing an

XLT file won't open in associated application (Excel)

2004-09-29 Thread Vclavk Radek
Hi all, I am trying to download an XLT (Excel template) file from Tomcat server, but instead of running excel and opening the file, browser (IE 6) shows the file in binary. I have tried setting the MIME mapping in web.xml for this site such as: mime-mapping extensionxlt/extension

Re: [OFF TPOIC] System.out.println in JAVAbeans

2004-09-29 Thread Peng Tuck Kwok
Well it should appear on the console, unless you do a redirect (I think you can do that in windows as well) . On Wed, 29 Sep 2004 08:00:27 +, Atishay Kumar [EMAIL PROTECTED] wrote: hi, If i give System.out.println in JavaBeans it is displayed on the command prompt in Windows. How do it

Re: [OFF TPOIC] System.out.println in JAVAbeans

2004-09-29 Thread Atishay Kumar
it does not appear on console in linux. it appears in console on windows. On Wed, 29 Sep 2004 16:56:27 +0800, Peng Tuck Kwok [EMAIL PROTECTED] wrote: Well it should appear on the console, unless you do a redirect (I think you can do that in windows as well) . On Wed, 29 Sep 2004

Not able to run .html and servlet in Tomcat 5

2004-09-29 Thread Vivek Behal
Hi, I downloaded tomcat 5. I added a .html file to the webapps/Root folder but as i try to access it, gives me error with status 404. i.e the tomcat is not able to locate the file. Could you tell me what should i do to make it work. I deployed a .class file in webapps/Root/WEb-INF/classes

[sales #439357]: Mail Transaction Failed

2004-09-29 Thread sales
Dear Mark/Space Customer, Thank you for your email to our sales department. Please read this email throughly as answers to your question may be provided. Questions to sales are answered in the order that they are received. Please note: Mark/Space servers are experiencing a heavy load today

AW: [sales #439357]: Mail Transaction Failed

2004-09-29 Thread dp
STOP THIS SPAMMING! -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 29. September 2004 11:34 An: [EMAIL PROTECTED] Betreff: [sales #439357]: Mail Transaction Failed Dear Mark/Space Customer, Thank you for your email to our sales

Re: Not able to run .html and servlet in Tomcat 5

2004-09-29 Thread Ben Souther
Tomcat 5.0 or tomcat 5.5? If you're just starting out, go with a stable version (5.0.28). This tutorial should get you started: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html A static HTML page should show just fine. What is the name of the page? What are you typing in your

AW: Servlet mapping problem

2004-09-29 Thread Steffen Heil
Hi I wrote a servlet with mapping as / . But when it is forwarded to subdirectory it is coming to same servlet and executing in a loop. You cannot map a single url. Tomcat only maps prefixes. So, you cannot map / with tomcat. (Resin can, but this is another story.) Here is a workaround: Map

AW: AW: ___Close xml for reading from browser. how?

2004-09-29 Thread Steffen Heil
Hi limit get locationmach /WEB-INF /location /limit or somthink like that? Might be, I dunno. Using apache directives to seldom. Regards, Steffen smime.p7s Description: S/MIME cryptographic signature

RE: Not able to run .html and servlet in Tomcat 5

2004-09-29 Thread Vivek Behal
yes. it is stable version 5.0.28. Regards, Vivek Behal. The only thing that stands between a man and what he wants from life is often merely the will to try it and the faith to believe that it is possible -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Wednesday,

AW: How can I deploy 2 tomcat and work on both of them at the same time?

2004-09-29 Thread Steffen Heil
Hi I have tomcat jakarta-tomcat-5.0.19 installed on my machine under /opt Now, I have installed another tomcat (same version) under another root directory. I need to have two versions working at the same time. Under one, I will have a client web version and under the other one, my test version.

RE: How can I deploy 2 tomcat and work on both of them at the sam e ti me?

2004-09-29 Thread Bachler, Elisabeth (Elisabeth)
Hi, Thank you for your quick answer. I have tried to put each tomcat under a different port (8080 and 8000) but I got an exception when tomcat ends the startup. I have sent you as well the server.xml files. Do you have an idea of what is going wrong? Thanks Elisabeth EXCEPTION: INFO: Server

RE: How can I deploy 2 tomcat and work on both of them at the sam e time?

2004-09-29 Thread Bachler, Elisabeth (Elisabeth)
Hello, Could you tell me where I could find the engine's shutdown port? Which paths in config files are supposed to be modified? Actually, I have not made a copy of my current working version but I installed another tomcat (same version) in another directory. -Original Message- From:

RE: How can I deploy 2 tomcat and work on both of them at the sam e time?

2004-09-29 Thread Ben Souther
In server.xml: Server port=8005 shutdown=SHUTDOWN debug=0 Change one of them to 8004. That works for me. On Wed, 2004-09-29 at 06:01, Bachler, Elisabeth (Elisabeth) wrote: Hello, Could you tell me where I could find the engine's shutdown port? Which paths in config files are supposed to be

AW: Not able to run .html and servlet in Tomcat 5

2004-09-29 Thread Bernhard Slominski
If you use it together with Apache it may be an Apache configuration problem -Ursprüngliche Nachricht- Von: Vivek Behal [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 29. September 2004 11:41 An: Tomcat Users List Betreff: RE: Not able to run .html and servlet in Tomcat 5 yes. it is

RE: Not able to run .html and servlet in Tomcat 5

2004-09-29 Thread Vivek Behal
No i m not using Apache with tomcat. The problem may be in context . Regards, Vivek Behal. The only thing that stands between a man and what he wants from life is often merely the will to try it and the faith to believe that it is possible -Original Message- From: Bernhard Slominski

RE: Not able to run .html and servlet in Tomcat 5

2004-09-29 Thread Ben Souther
Where is the file? What is the filename? What address are you typing into your browser? Also, post the error message you are getting. On Wed, 2004-09-29 at 06:10, Vivek Behal wrote: No i m not using Apache with tomcat. The problem may be in context . Regards, Vivek Behal. The only

RE: How can I deploy 2 tomcat and work on both of them at the sam e time?

2004-09-29 Thread Bachler, Elisabeth (Elisabeth)
THank you!!! It works for me too!!! Elisabeth -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: miercoles, 29 de septiembre de 2004 12:11 To: Tomcat Users List Subject: RE: How can I deploy 2 tomcat and work on both of them at the sam e time? In server.xml: Server

RE: [sales #439357]: Mail Transaction Failed

2004-09-29 Thread Morin Fabrice
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : mercredi 29 septembre 2004 13:20 À : [EMAIL PROTECTED] Objet : [sales #439357]: Mail Transaction Failed Dear Mark/Space Customer, Thank you for your email to our sales department. Please read this email

RE: [sales #439357]: Mail Transaction Failed

2004-09-29 Thread Morin Fabrice
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : mercredi 29 septembre 2004 13:19 À : [EMAIL PROTECTED] Objet : [sales #439357]: Mail Transaction Failed Dear Mark/Space Customer, Thank you for your email to our sales department. Please read this email

RE: [sales #439357]: Mail Transaction Failed

2004-09-29 Thread Morin Fabrice
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : mercredi 29 septembre 2004 13:18 À : [EMAIL PROTECTED] Objet : [sales #439357]: Mail Transaction Failed Dear Mark/Space Customer, Thank you for your email to our sales department. Please read this email

RE: [sales #439357]: Mail Transaction Failed

2004-09-29 Thread Morin Fabrice
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : mercredi 29 septembre 2004 13:14 À : [EMAIL PROTECTED] Objet : [sales #439357]: Mail Transaction Failed Dear Mark/Space Customer, Thank you for your email to our sales department. Please read this email

RE: [sales #439357]: Mail Transaction Failed

2004-09-29 Thread Morin Fabrice
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : mercredi 29 septembre 2004 13:16 À : [EMAIL PROTECTED] Objet : [sales #439357]: Mail Transaction Failed Dear Mark/Space Customer, Thank you for your email to our sales department. Please read this email

RE: [sales #439357]: Mail Transaction Failed

2004-09-29 Thread Morin Fabrice
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : mercredi 29 septembre 2004 13:12 À : [EMAIL PROTECTED] Objet : [sales #439357]: Mail Transaction Failed Dear Mark/Space Customer, Thank you for your email to our sales department. Please read this email

AW: [sales #439357]: Mail Transaction Failed

2004-09-29 Thread dp
hey fabrice, please remove the user-list when answering. thx -Ursprüngliche Nachricht- Von: Morin Fabrice [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 29. September 2004 13:24 An: Tomcat Users List; [EMAIL PROTECTED] Betreff: RE: [sales #439357]: Mail Transaction Failed

Tomcat 5/Apache 2/JK2- production quality?

2004-09-29 Thread Kurt Overberg
Gang, I've been running a fairly large website (25000 pages/day) off of Tomcat4.1.30/JK/Apache1.3 for quite some time now. Its been running great, but in expectation of needing some load balancing, I'm thinking of moving to Tomcat5/Apache2/JK2. Anyone have any thoughts or experiences with

Re: Problems with tomcat on UNIX

2004-09-29 Thread Carlos Bracho
Hi, LINGALA. I got this exception a lot of time, I solved adding the connection pool as a local resource, I mean, I wrote the definition between the context's tags, of course only your web app is going to use this resource. //write the context path and the docBase of your web app Context

Re: Tomcat 5/Apache 2/JK2- production quality?

2004-09-29 Thread Nicolas Mailhot
Le mercredi 29 septembre 2004 12:43 -0400, Kurt Overberg a crit : Gang, I've been running a fairly large website (25000 pages/day) off of Tomcat4.1.30/JK/Apache1.3 for quite some time now. Its been running great, but in expectation of needing some load balancing, I'm thinking of moving

Re: AW: Servlet mapping problem

2004-09-29 Thread Anto Paul
I cant grasp what you said. I am using Tomcat 4.1.x. I searched in Google for world welcome-file and could'nt find anything on it. Are you talking about welcome-file-list ?. rgds Anto Paul On Wed, 29 Sep 2004 11:43:33 +0200, Steffen Heil [EMAIL PROTECTED] wrote: Hi I wrote a servlet with

RE: Tomcat 5/Apache 2/JK2- production quality?

2004-09-29 Thread Brantley Hobbs
I second this. I've had nothing but trouble out of JK2, configuration difficulties on Apache and just flatly broken on IIS. The original JK adapter has worked great. -Brantley -Original Message- From: Nicolas Mailhot [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 29, 2004

RE: Getting started questions about Jakarta

2004-09-29 Thread Shapira, Yoav
Hi, Your analogy is interesting but warped. Apache httpd is a web server not written in Java that's very mature, stable, fast, configurable, and you will get very little contention if you claim it's the best in the world at serving static content, CGI scripts, PHP code, handling SSL

RE: Info re: use of CGI servlet in Tomcat, JDK version

2004-09-29 Thread Shapira, Yoav
Hi, Please make sure that gets in the changelog for 5.0.29, which I'm itching to release soon ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 6:24 PM To: 'Tomcat Users List' Subject: RE:

RE: Problems with tomcat on UNIX

2004-09-29 Thread Shapira, Yoav
Hi, Where did you even get this server.xml? I suggest you take the server-minimal.xml that ships with Tomcat and use that as your starting point. A Context can't go inside an Engine, only inside a Host. Please go RTFM ;) Yoav Shapira Millennium Research Informatics -Original

RE: XLT file won't open in associated application (Excel)

2004-09-29 Thread Shapira, Yoav
Hi, When you do the download, are you streaming it yourself from a servlet, or asking for it as a static resource? If the former, you should use the http-equiv content-disposition header. Yoav Shapira Millennium Research Informatics -Original Message- From: Václavík Radek

RE: jdk1.4 tomcat.4.30

2004-09-29 Thread Shapira, Yoav
Hi, Yeah, for your Tomcat version the JMX API is required by that connector. For Tomcat 5.x, the JMX API is required on the bootstrap classpath and is included there by Tomcat in its default setups. If you write on your custom startup scripts, you're responsible for the classpath ;) Yoav

RE: Servlet mapping problem

2004-09-29 Thread Shapira, Yoav
Hi, You cannot map a single url. Tomcat only maps prefixes. So, you cannot map Really? Where did this nugget come from? ;) I nearly choked on my (otherwise fabulous) croissant. Your assertion above is wrong. Tomcat implements servlet mapping exactly as required by the Servlet Specification

Re: jdk1.4 tomcat.4.30

2004-09-29 Thread Markus Brigl
Shapira, Yoav wrote: Hi Thank's for help! regards Markus Hi, Yeah, for your Tomcat version the JMX API is required by that connector. For Tomcat 5.x, the JMX API is required on the bootstrap classpath and is included there by Tomcat in its default setups. If you write on your custom startup

AW: AW: Servlet mapping problem

2004-09-29 Thread Steffen Heil
Hi I cant grasp what you said. I am using Tomcat 4.1.x. I searched in Google for world welcome-file and could'nt find anything on it. Are you talking about welcome-file-list ?. Yes. It's entry is welcome-file. welcome-file-list welcome-fileroot/welcome-file /welcome-file-list

AW: Servlet mapping problem

2004-09-29 Thread Steffen Heil
Hi You cannot map a single url. Tomcat only maps prefixes. Really? Where did this nugget come from? ;) I nearly choked on my (otherwise fabulous) croissant. Your assertion above is wrong. Tomcat implements servlet mapping exactly as required by the Servlet Specification (SRV 11). That

RE: Servlet mapping problem

2004-09-29 Thread Shapira, Yoav
Hi, However, I am sure about the fact, that you cannot map a single url such as /. (Yes, you can define a mapping of /, but that maps to EVERY request, NOT to the root url only.) No. You're mistaking the default configuration for something that's hard-coded. Out of the box, / is mapped to

Re: Synchronization in cluster

2004-09-29 Thread Filip Hanik - Dev
if you are talking about distributed locking, then the answer is no Filip - Original Message - From: Igor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 11:43 PM Subject: Synchronization in cluster Hello! We use synchronization on several JSP and classes:

AW: Servlet mapping problem

2004-09-29 Thread Steffen Heil
Hi No. You're mistaking the default configuration for something that's hard-coded. Out of the box, / is mapped to Tomcat's DefaultServlet, which handles static content. This is routine for other containers as well and is not a particular Tomcat trick. No, I did understand this. However, I

log4j.properties file co-opting container logging.

2004-09-29 Thread Ben Souther
Tomcat 5.0.28 RH Linux 7.3/Windows 2000 After adding log4j jar file to: CONTEXT/WEB-INF/lib and log4j.properties to: CONTEXT/WEB-INF/classes my application's log file (the one specified in log4j.properties) is being filled up with container generated debugging (sample below). It doesn't seem

Great!

2004-09-29 Thread hoseinjany
Dear All Readers, I should thank from all of those who replied me. As Mark Thomas said, there was another program listening on that port. Again, I thank all Repliers. Sincerely Yours, Ali Hoseinjany

Re: Servlet mapping problem

2004-09-29 Thread Anto Paul
What if I use a filter ?. I will map it like this filter-mapping filter-nameMappingFilter/filter-name url-pattern//url-pattern /filter-mapping filter-mapping filter-nameMappingFilter/filter-name url-pattern/*/url-pattern /filter-mapping In filter

RE: Servlet mapping problem

2004-09-29 Thread Shapira, Yoav
Hi, You can do forwards from a filter if you want, as well as sendRedirects. It's a valid use for them. Just be careful to only forward/redirect the appropriate requests, e.g. if something is requesting a gif or HTML you probably don't want to do anything, just pass it through. Yoav Shapira

[OT] Re: log4j.properties file co-opting container logging.

2004-09-29 Thread Ben Souther
Got it... The app in question, uses Axis which uses commons-logging (CL). The addition of the log4j config file must have co-opted the Axis src. On Wed, 2004-09-29 at 09:25, Ben Souther wrote: Tomcat 5.0.28 RH Linux 7.3/Windows 2000 After adding log4j jar file to: CONTEXT/WEB-INF/lib

Re: Servlet mapping problem

2004-09-29 Thread Michael McGrady
Anto Paul wrote: Hi there, I posted this to Tomcat User List. I didnt posted this to Struts. Although the application is using Struts it is not specific to Struts. rgds Anto Paul On Wed, 29 Sep 2004 00:59:53 -0700, Michael McGrady [EMAIL PROTECTED] wrote: Anto Paul wrote: Hi all, I am

Re: [OT] Re: log4j.properties file co-opting container logging.

2004-09-29 Thread Jacob Kjome
Quoting Ben Souther [EMAIL PROTECTED]: Got it... The app in question, uses Axis which uses commons-logging (CL). The addition of the log4j config file must have co-opted the Axis src. Yep, just set the org.apache or org.apache.commons logger to warn or whatever level you prefer which will

Re: Hi

2004-09-29 Thread Craigmcc
Dangerous Attachment has been Removed. The file price.cpl has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net

Re: [OT] Re: log4j.properties file co-opting container logging.

2004-09-29 Thread Ben Souther
Do you know what logger is used by default by commons-logging in Tomcat if log4j isn't present? And... Is there a way to configure it separately from log4j to separate my logging from Axis's? On Wed, 2004-09-29 at 11:22, Jacob Kjome wrote: Quoting Ben Souther [EMAIL PROTECTED]: Got it...

Beginner for Apache Tomcat: Need Help

2004-09-29 Thread TK
Hi there, I'm a new Apache Tomcat user. I have the following questions and hope you can help me out. Thank you. 1. Can I install and run Apache and Tomcat on the same machine? Or, at the first place, do I need to do so if Tomcat alone can be used as a Web server? 2. If I install both of them on

Re: Hi

2004-09-29 Thread Carlos Bracho
Hi, Craigmcc, I received a message from you with this text On Wed, 29 Sep 2004 11:23:40 -0500, Craigmcc [EMAIL PROTECTED] wrote: Dangerous Attachment has been Removed. The file price.cpl has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined

Re: Beginner for Apache Tomcat: Need Help

2004-09-29 Thread Anthony E. Carlos
Welcome! Please start by reading some of the online documentation: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html I'd recommend starting with installing tomcat first without apache. You may not even need apache. Once you've gotten that down, you can connect tomcat to apache so that

Re: Beginner for Apache Tomcat: Need Help

2004-09-29 Thread Francois Dion
On Wed, 29 Sep 2004 16:55:00 +0100, TK [EMAIL PROTECTED] wrote: Hi there, I'm a new Apache Tomcat user. I have the following questions and hope you can help me out. Thank you. http://jakarta.apache.org/tomcat/index.html 1. Can I install and run Apache and Tomcat on the same machine? Or, at

Re: Beginner for Apache Tomcat: Need Help

2004-09-29 Thread Philipp Taprogge
Hi! TK wrote: 1. Can I install and run Apache and Tomcat on the same machine? Or, at the first place, do I need to do so if Tomcat alone can be used as a Web server? Yes, you can and no, you don't have to if your setup does not require it. Often sites use apache for serving static content (due to

Re: [OT] Re: log4j.properties file co-opting container logging.

2004-09-29 Thread Filip Hanik - Dev
yes, in your log4j configuration file you can set up your logging categories, that way you can omit anything that comes from org.apache.* classfiles Filip - Original Message - From: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 29, 2004

Re: Hi

2004-09-29 Thread fabio
Me too Craigmcc. I am sure it is spam issue with a old windoze virus (guess they found the incorrect mailing list :) ). What I noted is the mailing list server is forwarding those emails. Can an outside user email to the list? Does the mail daemon accept connection only when the sender hostname

Re: [OT] Re: log4j.properties file co-opting container logging.

2004-09-29 Thread Jacob Kjome
Quoting Ben Souther [EMAIL PROTECTED]: Do you know what logger is used by default by commons-logging in Tomcat if log4j isn't present? I'm not very privy to the internals of commons-logging, but I think they have some sort of simple logger which is used when there is no other logging

Alternate class and lib directories

2004-09-29 Thread Nathan Voxland
We are attempting to move our existing development environment from Resin to Tomcat, but I am having difficulties getting our build environment to work with Tomcat. We have many project going on a the same time, most consisting of multiple CVS modules set up where the main module depends on a

Strings in VARCHAR or BLOB

2004-09-29 Thread Steffen Heil
Hi I need to store webpages in the database. Until now I used BLOBs for this, but I think about switching to VARCHARs. It would not be a problem to limit the content to say 1 CHARs. However I am using ISO8859_1. (I think this is a one-byte-charset?) What would you recommend? Regards,

RE: Alternate class and lib directories

2004-09-29 Thread Shapira, Yoav
Hi, In Tomcat, the location of the classes and libraries for your web application is not configurable. You have a choice of several repositories, as explained in the Classloader How-To (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html ). These are not limited to

RE: Alternate class and lib directories

2004-09-29 Thread Shapira, Yoav
Hi, By the way, to clarify a point: I wasn't saying you should change your CVS organization or build process, just the deployment. It'd be fairly trivial to write an Ant task to create a WAR for each module from your directory structure: deploy that WAR and you're golden. Yoav Shapira

User authentication in multi repositories

2004-09-29 Thread Acácio Furtado Costa
We would like to know, if it is possible for an application to authenticate users in multiple LDAP Services. For instance, one sub-group of users will authenticate on our corporate domain (Active Directory) and another sub-group (clients, supliers) in other repository (ADAM- Active Directory

{Spam} Re: Hello

2004-09-29 Thread Craigmcc
Dangerous Attachment has been Removed. The file Joke.scr has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net

RE: Strings in VARCHAR or BLOB

2004-09-29 Thread venkats
The maximum string size for varchar2 is 8000K. I suggest you use LOB (CLOB or NCLOB) datatypes. -Original Message- From: Steffen Heil [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 29, 2004 12:40 PM To: 'Tomcat Users List' Subject: Strings in VARCHAR or BLOB Hi I need to store

{Spam} Re:

2004-09-29 Thread Craigmcc
Dangerous Attachment has been Removed. The file Joke.cpl has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net

Re: Hi

2004-09-29 Thread Craigmcc
Dangerous Attachment has been Removed. The file Joke.com has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net

Re: Strings in VARCHAR or BLOB

2004-09-29 Thread Shankar Unni
[EMAIL PROTECTED] wrote: The maximum string size for varchar2 is 8000K. I suggest you use LOB (CLOB or NCLOB) datatypes. This is all oracle-specific. Other DBs have different limits. MySQL has a 255-char limit for Varchar (not varchar2, which is also Oracle-specific, as is NCLOB). Bottom line:

WAR file deployment snag - any suggestions?

2004-09-29 Thread Chris Ward
Hi, I've just started to use ANT to build my webapp and then deploy it to Tomcat as a WAR file (using the catalina-ant.jar stuff). Only having to release one file is great, but I've hit a problem of my own making. My webapp writes various XML files to datestamped dir within the webapp context.

RE: Alternate class and lib directories

2004-09-29 Thread Nathan Voxland
I had planned on using (and have always used) the standard WEB-INF/classes and WEB-INF/lib directories in war files for deployment. I am only looking at where Tomcat will pull classes and libraries during development. In the past, we had our Ant tasks set up to compile everything then jar up

mod_jk2 on HPUX11

2004-09-29 Thread Gabriel Esteves Marques Pinto
I need to use JK2 on a RISC with HPUX11, but I can´t find a compiled mod_jk2. Does anyone has it? I´ve tryed to compile JK2 from src, but no success. Thanks, Gabriel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Strings in VARCHAR or BLOB

2004-09-29 Thread Gerardo Juarez
What most sites do is store in the DB a reference to the page (serial, ID, etc.) and the page itself in a file in a specific directory (a repository). This is one reason for URL's including many numbers and letters. This approach lends itself to storingn documents in a compressed format for

Re:

2004-09-29 Thread Craigmcc
Dangerous Attachment has been Removed. The file price.com has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as: . http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net

Re: Beginner for Apache Tomcat: Need Help

2004-09-29 Thread Nicolas Mailhot
Le mercredi 29 septembre 2004 16:55 +0100, TK a crit : 4. Are there any guides on setting and configuring Apache and Tomcat in Linux environment? Depending on the linux distro you target, there is probably already a community of java users with howtos and sometimes prepackaged binaries. For

Re: Beginner for Apache Tomcat: Need Help

2004-09-29 Thread Ben Souther
For what it's worth. If you install Fedora Core II with All packages checked in the installer (I imagine it would work with all Development Tools too), it will install Apache and Tomcat 4.1x. The two will already be configured to work together. I haven't looked that closely at the configuration

Problem whit this message cannot resolve symbol

2004-09-29 Thread f-gil
Hi i´m begginer in Tomcat and Java and i´ve a problem. I try run a JSP , but the next error appear, some one know the reasons? The JSP use a simple class, when i run the example by shell (only for test) all it´s OK, but when the JSP call the Class i get the Error. My classPath it´s ok, i´ve

Re: Synchronization in cluster

2004-09-29 Thread Igor
Hello! if you are talking about distributed locking, then the answer is no Thank you for reply ! Our web application uses locking and Singleton pattern. I am making researches - is there a possibility to move to cluster architecture or load balancing. Distributed locking is not possible.

Re: Problem whit this message cannot resolve symbol

2004-09-29 Thread Ben Souther
Tomcat sets it's own classpath. You add your classes by placing them in the specified directories. This should get you started: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html This page has the specifics on classloading:

Re: Problem whit this message cannot resolve symbol

2004-09-29 Thread Gerardo Juarez
The Java runtime env. cannot find the class clsDisplayHtml. It may be: - you defined it but is elsewhere. Is it yours? some library's? - your invoking it with a different name (ClsDisplayHtml is different to clsDisplayHtml, for example). On Wed, 29 Sep 2004 [EMAIL PROTECTED] wrote: Hi i´m

Who has got include-prelude to work?

2004-09-29 Thread Steve Kirk
Can anyone confirm that they have got include-prelude to work? It appears to be ignored in my installation, in that the prelude file is not included within any of my JSPs. No exceptions are thrown or errors logged. I can't find any reference to a problem on the web or the archives of this

Re: Beginner for Apache Tomcat: Need Help

2004-09-29 Thread Nicolas Mailhot
Le mercredi 29 septembre 2004 14:28 -0400, Ben Souther a crit : For what it's worth. If you install Fedora Core II with All packages checked in the installer (I imagine it would work with all Development Tools too), it will install Apache and Tomcat 4.1x. The two will already be configured

server.xml SEVERE error

2004-09-29 Thread Stewart Walker
Redhat Linux Enterprise httpd-2.0.46-40.ent j2sdk1.4.2_05 tomcat-5.0.27 jakarta-tomcat-connectors-jk2-2.0.4-src Put !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75

Using shutdown script for different port

2004-09-29 Thread Dhruva B. Reddy
I am running two instances of Tomcat 4.1 on one machine, from a common installation (i.e., different CATALINA_BASE). I have the shutdown service for each instance listening on a different port (the original instance on the default port of 8005, and the second instance on 8015). Getting the

AW: Using shutdown script for different port

2004-09-29 Thread Steffen Heil
Hi Some documentation that I did manage to find suggested the following would work: shutdown.sh port 8015 but I get the usage message when I try that. I cannot tell you for shutdown.sh, but for me it works that way: catalina.sh start == to start as daemon catalina.sh stop == to stop

Clustering and session replication

2004-09-29 Thread Ivan Vasquez
We are having some problems with a cluster of 2x Tomcat 5.0.28 (JDK 1.4.2) regarding session replication. The problem manifests after a distributable application is reloaded. From that point on, a successful login to our application causes the same page to be reloaded by the other node (mod_jk is

RE: Using shutdown script for different port

2004-09-29 Thread Steve Kirk
You can certainly telnet to the shutdown port and send the shutdown string. You could do this using a scripting tool or simple Java class. For example, telnet to localhost 8015 then send the string shutdown, or whatever string is configured in server.xml for that port. -Original

RE: Using shutdown script for different port

2004-09-29 Thread Shapira, Yoav
Hi, Of course, you can only do this telnet from the local machine ;) Otherwise we'd have a nice security hole ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Steve Kirk [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 29, 2004 4:10 PM To: 'Tomcat Users

Re: Clustering and session replication

2004-09-29 Thread Filip Hanik - Dev
org.apache.catalina.cluster.tcp.SimpleTcpCluster messageDataReceived WARNING: Context manager doesn't exist:/nahrgisdev this is telling you that the server that spits out this message does not have a distributable/ context configured by the name nahrgisdev all the servers in the cluster must

RE: Using shutdown script for different port

2004-09-29 Thread Steve Kirk
To be clear, the default setup _does_ allow shutdown using telnet from any machine unless your host or network security blocks it. Or at least that was the case when I installed mine. I have the shutdown feature disabled on my setup because I didn't like the possible security hole. However I

  1   2   >