WebappClassLoader :Lifecycle error:CL stopped

2003-09-16 Thread Shanta B
Hi I am getting following error when i am calling shutdown.sh .whats the reason for this error. shanta.B - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to enforce URL-rewriting?

2003-09-16 Thread Johann Uhrmann
Hello, is there a way to enforce URL rewriting in tag libraries? (e.g. the common tag library and the struts tags) As far as I know, setting cookies=false in the context should disable all cookies and therefore force URL rewriting to be used. Unfortunately, some browsers fool Tomcat (4.1.24) and

Re: Stackoverflow after DB inactivity

2003-09-16 Thread Jon Wingfield
I don't use dbcp but it sounds like your database connections are timing out. Do you have autoReconnect=true in your mysql jdbc connection url? Vikram Goyal wrote: Hello all, I am getting a Stackoverflow error in Tomcat 4.1+ after a period of database inactivity, typically (3+ hours). I am

Character Set Issues (windows vs. Unix)

2003-09-16 Thread Hans Liebenberg
Hi, I am yet again being haunted by character set problems and actually don't have a clue what is happening here. I have one web application and 2 servers. Linux Server: Red Hat Linux 2.4.18-14 JDK 1.4.2 Apache Tomcat/4.1.24-LE-jdk14 Postgres 7.2.2 Accessing the Database via JDBC,

Re: Character Set Issues (windows vs. Unix)

2003-09-16 Thread Christopher Williams
Hans, Make the database fields BLOBs as you're storing binary data. No attempt should then be made by your database to interpret character codes. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Cannot find jakarta-tomcat-connectors/webapp

2003-09-16 Thread SimonRichardson2
I have downloaded and packages and am now trying to compile tomcat. But I get the following exception message: BUILD FAILED file:/hfx/opt/lenya/jakarta-tomcat-4.1.27-src/catalina/build.xml:902: Basedir /hfx/opt/lenya/jakarta-tomcat-connectors/webapp does not exist Total time: 1 minute 42

Memory Woes

2003-09-16 Thread Pountain, John (KAZ at Alcoa)
Hi, I have a problem running applications under Tomcat 4.1.24 with jdk1.4.1_01 on Win2K. I have a couple of simple apps - some using struts, some not. I find that when I start my app and go through a number of pages the memory (in the java process on the windows task manager) goes up - no

Can access tomcat locally but not from another machine

2003-09-16 Thread Geir Øvsttun (AS/ETO)
New to Tomcat and have an initial problem: Can access tomcat locally but not from another machine Setup is : Two machines (Host and Client) connected to a corporate intranet Host (Win XP) is running Tomcat 4.1.27 installed from binary distribution Installation verified by accessing the tomcat

Application Not Updated After Reload from TOMCAT Manager

2003-09-16 Thread Thana Letchumi
Hi, The application is not updated to the latest changes after I recompile the code and update the jar file in the WEB-INF/lib directory. I stop/start the application from TOMCAT MANAGER. What could be the problem ?. Please advise. Thanks Regards, Thana -Original Message- From:

Re: Memory Woes

2003-09-16 Thread Jon Wingfield
Once memory has been grabbed by the JVM it is only handed back to the OS once the JVM process quits. You can find out the total and free memory the JVM has by using the Runtime class: Runtime.freeMemory() Runtime.totalMemory() Runtime.maxMemory() Pountain, John (KAZ at Alcoa) wrote: Hi, I

Re: Can access tomcat locally but not from another machine

2003-09-16 Thread Christopher Williams
If your company is hot on security, the most likely cause is that port 8080 is blocked (possibly at the router). Ask your admin guys about freeing it for internal network access or try running Tomcat on port 80. Ping doesn't use TCP so you won't experience the same connectivity problems.

help: can't unsubscibe from digest

2003-09-16 Thread scott
To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] doesn't work - anyone know why? thanks, Scott -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JNI and Tomcat

2003-09-16 Thread David LAFAY
Hi, I have exactly the same problem ! do you found a solution ? Thanks, David LAFAY -- Harald Wehr [EMAIL PROTECTED] a écrit dans le message news: [EMAIL PROTECTED] I use tomcat 4.0.1 on a SuSE

Re: Query on url-pattern element of web.xml file ??

2003-09-16 Thread Jon Wingfield
Read chapter 11 of the servlet 2.3 specification. It's all there. The spec is available from here: http://www.jcp.org/aboutJava/communityprocess/final/jsr053/ Bikash Paul wrote: Hi all friends, If my web application's web.xml file contains this: filter-mapping filter-nameTest Filter/filter-name

Connection Pooling in Tomcat 4.0

2003-09-16 Thread santosh.bhushan
Hi, Can anyone send me the process of using Connection pooling in Tomcat 4.0 I have gone through Tomcat documentation, it says it can be done using Tyrex.jar file. Can anyone send me the process. The second question is It is likely to put Database(SqL Server in our case) credential like

Re: JNI and Tomcat

2003-09-16 Thread Dirk Griesbach
Hi Harald, Hi David, look at the fully classified name of your native functions in the DLL or in the .so and compare them to the ones you have in your jni.h headerfile (created using 'javah'). If you have a (windoze).DLL you can view at them using a tool like Depends.exe. Keep in mind that the

error when starting tomcat

2003-09-16 Thread Dionisio Ruiz de Zarate
Hello. in my linux i start the tomcat and appears this error: can anybody helps me for solving it? thnaks Sep 16, 2003 1:07:14 PM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Sep 16, 2003 1:07:14 PM

Extracting ROOT.war

2003-09-16 Thread Sarika Inamdar
Hi, When we run tomcat, the ROOT.war should be extracted automatically. With tomcat 4.1.24, when I run tomcat, its unable to extract ROOT.war We have set the unpackWARs=true in server.xml. Am I missing any other configuration ? Please help me on this. Thanks, Sarika The server.xml looks

error during make JK2

2003-09-16 Thread Johan Louwers
I am trying to build a JK2 connector on a solaris 9 box. I do: ./configure --with-apxs2=/usr/local/apache/bin/apxs \ --with-tomcat41=/usr/local/jakarta-tomcat-4.1.27 \ --with-java-home=/usr/local/j2sdk1.4.1_05 \ --with-jni \ --with-pcre All is fine, after that i do make and then the problem

TOMCAT 4.1.x AND JNI

2003-09-16 Thread David LAFAY
Hi, Hi, I have a stand alone Java Application that access native library (C++ DLL) via JNI. The application works properly in stand alone mode. However, when I need to run it from a Servlet into Tomcat * System.loadLibrary(MYdll) works properly. Library is found in the java.library.path BUT *

Re: Connection Pooling in Tomcat 4.0

2003-09-16 Thread Andoni
I have tried this and ended up using the DBCP package that comes with Tomcat 4.1. It is not part of Tomcat 4.1 thought so you can download it separately and use it with Tomcat 4.0.4 or later (I hope you have these). Tyrex is not the most useful of things and is major hassle to get working. You

performing init operations in webapp

2003-09-16 Thread Agarwal, Naresh
Hi I am developing an web application (essentially axis, the web service toolkit), which will be deployed in Tomcat. Now before any client make a request to this web application, I want to perform some *init* operations. How can I do this? thanks, Naresh

RE: error during make JK2

2003-09-16 Thread Dean Searle
I find that using gmake instead allows the comile to complete. I think that gmake is GNU's make. I have seen this problem in other postings and found one that recommended using gmake instead. I hope that this helps you. Dean -Original Message- From: Johan Louwers

RE: Connection Pooling in Tomcat 4.0

2003-09-16 Thread santosh.bhushan
Hi Andoni, Regards, Santosh Bhushan i-flex solutions ltd. Tel:2086013 Where there is will there is a way and everything is possible for a willing heart. Hi andoni, First of all thanks for reply. Because you have already done this configaration, Do we need to put Database user id and

Re: performing init operations in webapp

2003-09-16 Thread Tim Funk
2 ways: 1) init() of the Servlet 2) See ServletContextListener -Tim Agarwal, Naresh wrote: Hi I am developing an web application (essentially axis, the web service toolkit), which will be deployed in Tomcat. Now before any client make a request to this web application, I want to perform

RE: Connection Pooling in Tomcat 4.0

2003-09-16 Thread santosh.bhushan
Hi andoni, First of all thanks for reply. Because you have already done this configaration, Do we need to put Database user id and Password in the server.xml file. if yes what other thing we need to put in server.xml and what things we need to put in web.xml Thanks a lot.. Any

RE: performing init operations in webapp

2003-09-16 Thread Hans Liebenberg
Create a servlet that gets initialised on the context start up (you set that up in web.xml), Stick your code in the servlet's init() method -Original Message- From: Agarwal, Naresh [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 2:28 AM To: [EMAIL PROTECTED] Subject:

Recall: Connection Pooling in Tomcat 4.0

2003-09-16 Thread santosh.bhushan
Santosh Bhushan-OP would like to recall the message, Connection Pooling in Tomcat 4.0. DISCLAIMER: This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not

Vedr.: RE: Connection Pooling in Tomcat 4.0

2003-09-16 Thread Thomas Nybro Bolding
Hi santosh. I have been using DBConnectionBroker from http://www.javaexchange.com/ with Tomcat 4.03 and am currently using it with Tomcat 4.1.27. I have no clue what so ever about its performance etc. vs. DBCP but found it very easy to configure and use as I had no experience with connection

? catalina.out under Windows

2003-09-16 Thread Csaba Nemeth
Hi all, I would like to log everything under Windows (like under linux) to catalina.out. How should I configure this? ( A proper catalina.bat might help. ) Thanks: Csabi - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Vedr.: RE: Connection Pooling in Tomcat 4.0

2003-09-16 Thread santosh.bhushan
Hi Thomas, As you have used DBConnectionBroker, can you tell me what configuration is required,whatso ever and the second question i want to ask is if it is free. Regards, Santosh Bhushan i-flex solutions ltd. Tel:2086013 Where there is will there is a way and everything is possible for

Re: performing init operations in webapp

2003-09-16 Thread Christopher Williams
The easiest way is as follows: Say your web service is called MyWebService. Implement the class that does the real work as a singleton class (i.e. private constructor, public getInstance() method which returns the only instance of the singleton class, creating it if it doesn't exist). This

RE: Logging with tomcat

2003-09-16 Thread Shapira, Yoav
Howdy, Where are your commons-logging, commons-logging-api jars, and logging configuration file? Yoav Shapira Millennium ChemInformatics -Original Message- From: Francisco Vides Fernandez [mailto:[EMAIL PROTECTED] Sent: Monday, September 15, 2003 5:37 PM To: [EMAIL PROTECTED] Subject:

RE: Query on url-pattern element of web.xml file ??

2003-09-16 Thread Shapira, Yoav
Howdy, Senor Wingfield pointed you at the right (and definitive) resource on this already. I just wanted to mention this EXACT question (complete with the /*.jsp mapping) has been asked on the list before, so you can search the archives if you'd like. Yoav Shapira Millennium ChemInformatics

RE: Specifying startup port on the command line?

2003-09-16 Thread Shapira, Yoav
Howdy, I mean writing a little Java class to launch tomcat as an embedded service. Then this class could read whatever CLI arguments you'd like and setup tomcat accordingly. Yoav Shapira Millennium ChemInformatics -Original Message- From: Stefan Lasiewski [mailto:[EMAIL PROTECTED]

RE: Starting EmbeddedTomcat

2003-09-16 Thread Shapira, Yoav
Howdy, After starting EmbeddedTomcat I run my application by entering a starting jsp page. Something that is not obvious to me is how to accomplish both in one fell swoop. What is the best way to do this? So you need a request to that JSP page in order to start your webapp? That's an

Vedr.: RE: Vedr.: RE: Connection Pooling in Tomcat 4.0

2003-09-16 Thread Thomas Nybro Bolding
The way I have done it (though this might not be the best...) is this: i) Copied the DBConnectionBroker.class file to Web-inf/classes/com/javaexchange/dbConnectionBroker ii) I have an initializing method being called from JspInit() such as this: package com.db.regnskab; import

RE: Vedr.: RE: Vedr.: RE: Connection Pooling in Tomcat 4.0

2003-09-16 Thread santosh.bhushan
Hi Thomas, Thanks a lot for all your help, I will check it out and will revert back in case of problem. Thanks a lot once again. Regards, Santosh Bhushan i-flex solutions ltd. Tel:2086013 Where there is will there is a way and everything is possible for a willing heart.

Basic authentication works - form authentication does not work

2003-09-16 Thread news
I'm having a problem that I was unable to find any info on in the documentation or the mailing list archives. I've set up Basic Authentication with Tomcat 4.1.27 and an Oracle LDAP server. I've got this working just fine but what I really want is Form-Based Authentication which has thus far

problems receiving date through the input stream

2003-09-16 Thread Bannert, Markus (Exchange)
Hi, I use the doPost method and send it a short string. However, reading from the input stream on the server, I get nothing. Any explanations? I added code snippets for client and server: client HttpURLConnection connection = (HttpURLConnection)url.openConnection();

RE: Memory Woes

2003-09-16 Thread Mike Curwen
There are reports of jdk 1.4.1 having a memory leak. You could try updating the JDK http://www.raibledesigns.com/page/rd/20030331 -Original Message- From: Pountain, John (KAZ at Alcoa) [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 4:45 AM To: 'Tomcat Users List'

RE: Application Not Updated After Reload from TOMCAT Manager

2003-09-16 Thread Mike Curwen
If you're using 4.1.27, there is a known bug in class reloading. There is a hotfix available http://apache.mirrored.ca/jakarta/tomcat-4/binaries/ -Original Message- From: Thana Letchumi [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 5:33 AM To: 'Tomcat Users List'

Using ParameterMap throws ClassCastException

2003-09-16 Thread Morten Andersen
I am using the ParameterMap in request in an authentication mechanism. Therefore I need to do the following: add a mapping of parameters to the request.getParameter(). I do the following: import org.apache.catalina.util.ParameterMap; ... System.out.println(ParameterMap is a: +

RE: Using ParameterMap throws ClassCastException

2003-09-16 Thread Shapira, Yoav
Howdy, Terrible idea. Don't use tomcat internal classes. Stick to the interface defined by the spec, whereby HttpServletRequest#getParameterMap returns an instance java.util.Map. Yoav Shapira Millennium ChemInformatics -Original Message- From: Morten Andersen [mailto:[EMAIL

SSL Cipher Suite Config in Tomcat JSSE

2003-09-16 Thread McClure, Timothy J(IndSys, GE Interlogix)
I am trying to configure Tomcat to only support cipher suite SSL_RSA_WITH_3DES_EDE_CBC_SHA as we have a requirement to only use Triple DES encryption. How does one do this? Tim McClure - To unsubscribe, e-mail: [EMAIL

Garbled Pages

2003-09-16 Thread Frank Febbraro
Hello Everyone, I have connected apache 2.0.43 and Tomcat 4.1.27-LE with mod_jk2. Some of the pages in my webapp are all screwed up when being returned via apache. It appears that they display a portion of included javascript files, then an HTTP header, and then my rendered content underneath

jk2_init() Can't find Child xxx in scoreboard

2003-09-16 Thread Johan Louwers
Build JK2 now on soalris 9. Placed mod_jk2.so in the Apache module dir. Also added: LoadModule jk2_module modules/mod_jk2.so at the end of my httpd.conf file. Stop and start apache and try to open http://10.99.1.115/examples Nothing!! http://10.99.1.115 is giving me the basic apache site

servlet unavailable

2003-09-16 Thread Dorin Ciuca
Hi, In what circumstances tomcat (4.1.x) set a servlet unavailable ? Is it possible that a servlet is set unavailable after a high load ? Some users of my web application report error page HTTP Status 503 - Servlet xxx is currently unavailable. Thanks, Dorin

Re: Garbled Pages

2003-09-16 Thread Frank Febbraro
I also get error_log entries like this.. [Tue Sep 16 09:55:41 2003] [error] channelSocket.receive(): Error receiving message body -1 131 [Tue Sep 16 09:55:41 2003] [error] workerEnv.processCallbacks() Error reading reply [Tue Sep 16 09:55:41 2003] [error] ajp13.service() ajpGetReply recoverable

servlet unavailable

2003-09-16 Thread Dorin Ciuca
Hi, In what circumstances tomcat (4.1.x) set a servlet unavailable ? Is it possible that a servlet is set unavailable after a high load ? Some users of my web application report error page HTTP Status 503 - Servlet xxx is currently unavailable. Thanks, Dorin

RE: servlet unavailable

2003-09-16 Thread Shapira, Yoav
Howdy, Are you seeing any errors in your logs? ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Dorin Ciuca [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 10:51 AM To: Tomcat Users List Subject: servlet unavailable Hi, In what circumstances tomcat

CATALINA_BASE/lib ?

2003-09-16 Thread Maxime Colas des Francs
Hi, For keep my files (configuration, lib) clearly separate from the Tomcat distribution files i attempt to use CATALINA_BASE I use JDBC Reaml with mysql driver, cryptographic external provider ... where can i put my jar file under CATALINA_BASE ? i test $CATALINA_BASE/common/lib

Re: error when starting tomcat

2003-09-16 Thread Yann Cébron
Hello, Hello. in my linux i start the tomcat and appears this error: can anybody helps me for solving it? thnaks Sep 16, 2003 1:07:14 PM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Sep 16, 2003

RE: CATALINA_BASE/lib ?

2003-09-16 Thread Shapira, Yoav
Howdy, For keep my files (configuration, lib) clearly separate from the Tomcat distribution files i attempt to use CATALINA_BASE Use directories under your webapp root only. Don't use the tomcat common/shared directories unless you have a really good reason ;) Yoav Shapira This e-mail,

Apache + Tomcat, a default servlet, and static content

2003-09-16 Thread Mike Curwen
Apologies if this is a dupe. I just realized I sent the first one from an account that is not subscribed ** Once more with feeling? Bill Barker, John Turner and others might recognize this question. Yes, it's me AGAIN. httpd.conf:

Re: setup of global resources, dbcp, mail, etc.

2003-09-16 Thread Paul
Hi Adam, thanks for samples. I finally got it working. My problem was simply in naming, specifically, the ResourceLink name, and using that in the jsp connection code, the specific ResourceLink name for each webapp connect code, respectively. -paul. - Original Message - From: Adam

Re: Apache + Tomcat, a default servlet, and static content

2003-09-16 Thread Tim Funk
That is because your have overridden the default servlet. It is now your servlet's job to also serve static content. A simple workaround: Extend the DefaultServlet, then use super.doGet(), super.doPost() ... when your servlet doesn't want the mapping. -Tim Mike Curwen wrote: Apologies if

RE: performing init operations in webapp

2003-09-16 Thread Agarwal, Naresh
thanks Williams for the detailed mail. Naresh -Original Message- From: Christopher Williams [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 6:15 PM To: Tomcat Users List Subject: Re: performing init operations in webapp The easiest way is as follows: Say your web service

Tomcat web.xml url-pattern Apache httpd.conf VirtualHost xxx.com DocumentRoot

2003-09-16 Thread [EMAIL PROTECTED]
Hi, Currently i'm having virtual hosts (subdomains) on Apache-2: abc.xxx.com def.xxx.com ghi.xxx.com ... with different DocumentRoots! On Tomcat-5 i have a servlet 'file' with url-pattern/file/url-pattern On workers2.properties i have [uri:/docs/*] This makes that i got the following:

Apache + Tomcat, a default servlet, and static content

2003-09-16 Thread Mike Curwen
Once more with feeling? Bill Barker, John Turner and others might recognize this question. Yes, it's me AGAIN. httpd.conf: VirtualHost 205.200.100.109 ServerName foo.myfoo.com ServerAlias www.foo.myfoo.com DocumentRoot /home/webhome/myfoo #deny WEB-INF Location

problems receiving date through the input stream

2003-09-16 Thread Bannert, Markus (Exchange)
Hi, I use the doPost method and send it a short string. However, reading from the input stream on the server, I get nothing. Any explanations? I added code snippets for client and server: client HttpURLConnection connection = (HttpURLConnection)url.openConnection();

[OT]Tomcat-Apache-Cocoon-Perl-Java-Linux-XML Job

2003-09-16 Thread Joachim Bauernberger
Hi, - plz, excuse this off-topic post. Anybody interested please contact me off-list under. mailto:[EMAIL PROTECTED] Good knowledge of German language is required. Best regards, ~/joachim - To unsubscribe, e-mail: [EMAIL

servlet unavailable

2003-09-16 Thread Dorin Ciuca
Hi, In what circumstances tomcat (4.1.x) set a servlet unavailable ? Is it possible that a servlet is set unavailable after a high load ? Some users of my web application report error page HTTP Status 503 - Servlet xxx is currently unavailable. Thanks, Dorin

Re: Looking for isapi_redirect.dll

2003-09-16 Thread Juergen Heckel
Barry Rader wrote: If anyone has a valid link or could email me this dll I would greatly appreciate it. Unless there is another way to run Tomcat along side IIS. Hi, http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.4/bin/win32/ -- Juergen Heckel

RE: CATALINA_BASE/lib ?

2003-09-16 Thread Maxime Colas des Francs
Hi, I think i have a good raison I use an authentification with a JDBC Realm and Mysql defined in my server.xml, where can i put driver jar ? Tks At 11:03 2003-09-16, you wrote: Howdy, For keep my files (configuration, lib) clearly separate from the Tomcat distribution files i attempt to use

tomcat apache webapps connector trailing slash

2003-09-16 Thread Zhi Cheng Wang
dear all I have been search the internet but could not find a solution. I need to omit the trailing / to enable apache to handle requests to tomcat. I am using apache 2.0, tomcat 4.1.27 and appropriate webapp connector any suggestions are welcome many thanks

Re: ? catalina.out under Windows

2003-09-16 Thread Adam Hardy
It depends on your logging configuration rather than catalina.bat. When you say catalina.out, you mean the console? On 09/16/2003 02:20 PM Csaba Nemeth wrote: Hi all, I would like to log everything under Windows (like under linux) to catalina.out. How should I configure this? ( A proper

Tomcat 4.1 MIME Type from web.xml

2003-09-16 Thread Lukas Bradley
In Tomcat 5.0 beta, there is a class MimeMap offering the following method: public String getContentType(String extn) {...} Is there a corresponding method within the Tomcat 4.1 framework? I would like to determine a file's MIME type as specified within the web.xml document. Thanks Lukas

Re: Tomcat 4.1 MIME Type from web.xml

2003-09-16 Thread Lukas Bradley
Is there a corresponding method within the Tomcat 4.1 framework? I would like to determine a file's MIME type as specified within the web.xml document. I'm an idiot, please don't bombard me Servlet Context java.lang.String getMimeType(java.lang.String file)

Re: Character Set Issues (windows vs. Unix)

2003-09-16 Thread Anton Tagunov
Hello Hans! HL When the application is installed on the windows server the particular HL character (which is some kind of spacing character in word) gets read out of HL the database as HL Ascii code 160, HL BUT on the Linux server the exact same routine reads it as ascii code 65533 HL Same

Re[2]: Memory Leak with static content

2003-09-16 Thread Anton Tagunov
Hello Yoav! Seth Newton [EMAIL PROTECTED] wrote: SNVirtual Size: 112592 SNReal Size: 61880 SNTime Up(days-hours:minutes:seconds): 01:05:20 SY You realize these numbers are meaningless to anyone except you, as we SY don't know what you're measuring, how you're measuring it, what the SY proper

Re: servlet unavailable

2003-09-16 Thread Paul Yunusov
On September 16, 2003 11:27 am, Dorin Ciuca wrote: Hi, In what circumstances tomcat (4.1.x) set a servlet unavailable ? Is it possible that a servlet is set unavailable after a high load ? Some users of my web application report error page HTTP Status 503 - Servlet xxx is currently

Specifying content type for file downloads

2003-09-16 Thread Doug Chamberlin
I'm using Tomcat 4.06 standalone and cannot find how to configure the server to properly identify downloaded files as Excel spreadsheets. I'm using links which look like: a href=https://webserver.com\Info\Docs\4211/SomeSpreadsheet.xls; bSomeSpreadsheet.xls/bbr /a When the user clicks on the

JSP that doesn't work with IBM JVM 1.4

2003-09-16 Thread McClure, Timothy J(IndSys, GE Interlogix)
ArrayList importList = (ArrayList)request.getAttribute(importList); // returns String[] String[] sortArray = new String[importList.size()]; // array for sorting input data sortArray = (String []) importList.toArray(sortArray); It seems the above code works fine under Tomcat when using the Sun

RE: Logging with tomcat

2003-09-16 Thread Francisco Vides Fernandez
Yoav == Yoav Shapira Shapira writes: Yoav Howdy, Where are your commons-logging, commons-logging-api Yoav jars, and logging configuration file? jakarta-tomcat-4.0.6-src/lib/commons-logging.jar also jakarta-tomcat-4.1.27/common/lib/commons-logging-api.jar

Re: A Hebrew Problem

2003-09-16 Thread Anton Tagunov
Hello Yair! YZ I have this hebrew problem: YZ I'm trying to include a html in a jsp page: YZ jsp:include page=relativePath/fileName flush=true / YZ When it comes to a hebrew html the browser displays question marks YZ instead of hebrew (no matter what charset do I choose in the browser). YZ The

RE: Logging with tomcat

2003-09-16 Thread Shapira, Yoav
Howdy, Try putting the commons-logging configuration file at the WEB-INF/classes directly of your webapp. Another location for it can be $CATALINA_HOME/common/classes. Yoav Shapira Millennium ChemInformatics -Original Message- From: Francisco Vides Fernandez [mailto:[EMAIL PROTECTED]

servlet unavailable

2003-09-16 Thread Dorin Neagu
Hi, In what circumstances tomcat (4.1.x) set a servlet unavailable ? Is it possible that a servlet is set unavailable after a high load ? Some users of my web application report error page HTTP Status 503 - Servlet xxx is currently unavailable. Thanks, Dorin

Re: Servlet testing tools

2003-09-16 Thread Rishikesh Tembe
JMeter http://jakarta.apache.org/jmeter/ fits your need perfectly. ciao, Rishi I'm looking for a tool to use for stress testing a servlet. = Yahoo! India Matrimony: Find your partner online. Go to

Re: Specifying content type for file downloads

2003-09-16 Thread Jon Wingfield
Tomcat is serving the static resource using its default servlet? If so, try adding the mime type to the conf/web.xml file: mime-mapping extensionxls/extension mime-typeapplication/vnd.ms-excel/mime-type /mime-mapping Doug Chamberlin wrote: I'm using Tomcat 4.06 standalone and cannot find

webapp classpath

2003-09-16 Thread Rob Augustinus
I could use some help on a little problem I ran into. As I'm developing with eclipse I have 2 projects on which I'm working. One of them is supposed to be packaged into a jar file for releases, but during development I'd like to just include the classes in my webapplication (the other project)

RE: webapp classpath

2003-09-16 Thread Shapira, Yoav
Howdy, Put them in the WEB-INF/classes folder of your webapp... Yoav Shapira Millennium ChemInformatics -Original Message- From: Rob Augustinus [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 3:18 PM To: Tomcat Users List Subject: webapp classpath I could use some help on

Re: JBoss embedded Tomcat setup with IIS - 2nd post

2003-09-16 Thread Carlos Cajina
Hi HS. I'm also having problems with the embedded Tomcat distribution. So far I haven't been able to find reliable documentation on the subject but I suggest you start with the free Quickstart guide for JBoss (@jboss.org documentation) and also take a look at the forums in the same web site. I

Help with Tomcat 5.0 setup.

2003-09-16 Thread Giri Gopal
Hello: Thanks for the help in installing Tomcat 5.0. I cannot start tomcat from the menu or icon, but I am able to start from dos prompt. I run the sample JSP test in Tomcat, they work fine. Now the real test: 1) I have an Oracle DB. I copied the classes12.Jar file to the tomcat

Re: ManagerServlet (autherization on a percontext basis)

2003-09-16 Thread Jaco Kroon
Actually no, reloadable=true will only reload the classes and lib directories (I've tried). Also, having almost 315 (314 iirc) users on the system each with his/her own webapp can get quite bad. Also, tomcat doesn't load all the contexts on startup unless there exists a WEB-INF/web.xml file.

Tomcat and Initial Naming

2003-09-16 Thread Pitre, Russell
I'm trying to understand naming contexts and their implementations in tomcat.looking at the code below, we lookup the jndi resource jdbc/test When tomcat starts up, it parses the server.xml file.It finds: Resource name=jdbc/test auth=Container

RE: ManagerServlet (autherization on a percontext basis)

2003-09-16 Thread Jason Lanpher
How about letting me see your code for your version of the manager app hack? I would love to play with it and any doc's you create to go along with it. Jason Lanpher [EMAIL PROTECTED] http://www.stealthnetworking.com -Original Message- From: Jaco Kroon [mailto:[EMAIL PROTECTED]

Tomcat and Initial Naming

2003-09-16 Thread Pitre, Russell
I'm trying to understand naming contexts and their implementations in tomcat.looking at the code below, we lookup the jndi resource jdbc/test When tomcat starts up, it parses the server.xml file.It finds: Resource name=jdbc/test auth=Container

Tomcat error: org.apache.coyote.http11.Http11Processor process SEVERE: Error processing request

2003-09-16 Thread Lucas, Maurice
I am running Tomcat 4.1.27 on Windows 2000. Installation/setup came out fine. A few days ago I load SAP DB on the same pc. Outside of that nothing has changed. Tomcat starts fine, no errors. But when I open IE to view localhost:8080 I get an HTTP 500 Internal error within IE. In

RE: ManagerServlet (autherization on a percontext basis)

2003-09-16 Thread Jaco Kroon
I hope I can use attachments. Ok, first off, there are a few issues with this, as I've said, it's quick and extremely dirty. Extract the archive, cd tuksmanager, ant. This will produce a .jar file (If I haven't left it lying around - hope not). This jar file needs to go into

MbeanException with realm defined within context

2003-09-16 Thread megarane
Hi. I am using tomcat 4.1.27. I have a context defined as shown below: Context path=/pweb docBase=pweb debug=0 Realm className=com.silentone.phoenix.tomcat.PhoenixRealm configFile=D:\Programs\jakarta-tomcat-4.1.2\conf\phoenixconfig.xml/ /Context I have created an mbeans-descriptor

Re: Can access tomcat locally but not from another machine

2003-09-16 Thread James Harman
Or it could be that the xp firewall is turned on an not allowing the 8080 connection externally. Christopher Williams wrote: If your company is hot on security, the most likely cause is that port 8080 is blocked (possibly at the router). Ask your admin guys about freeing it for internal

newbie

2003-09-16 Thread Dan McCullough
I cant seem to get started. After tackling some hardware issues I have all the pieces installed and everything setup according to several HOW-TOs. I have mod_jk configured and install, apache configured and installed, tomcat was a binary so that is setup and j2sdk 1.4.2 is setup. I start

Re: Stackoverflow after DB inactivity

2003-09-16 Thread Vikram Goyal
Yes I do. I don't use dbcp but it sounds like your database connections are timing out. Do you have autoReconnect=true in your mysql jdbc connection url? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Tomcat and Naming Context

2003-09-16 Thread Pitre, Russell
I'm trying to understand naming contexts and their implementations in tomcat.looking at the code below, we lookup the jndi resource jdbc/test When tomcat starts up, it parses the server.xml file.It finds: Resource name=jdbc/test auth=Container

Re: SSL Cipher Suite Config in Tomcat JSSE

2003-09-16 Thread Bill Barker
Tomcat 5 supports configuring the cipher suite (by specifying ciphers= on the Connector). I don't believe that this has been ported to Tomcat 4. McClure, Timothy J(IndSys, GE Interlogix) [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am trying to configure Tomcat to only support

Re: Apache + Tomcat, a default servlet, and static content

2003-09-16 Thread Bill Barker
If you have only a small number of static file types, then you could also do: servlet-mapping servlet-namedefault/servlet-name url-pattern*.gif/url-pattern /servlet-mapping !-- repeat as necessary -- Another trick is to include in your servlet something like: ServletContext

article on tomcat performance

2003-09-16 Thread Peter Lin
It looks like the tomcat performance book probably won't happen, so I am writing a short article based on some of the benchmark results. I should have a draft done in a week. Anyone interested in reviewing it? peter lin - Do you Yahoo!? Yahoo!

Apache 2, Tomcat 5, mod_jk?

2003-09-16 Thread Vaga Bond
Hey Guys, I've recently setup Apache2 and Tomcat 5 separately and was wondering if mod_jk or mod_jk2 can be used to link the two of them. Secondly, what's the difference between mod_jk and mod_jk2? Awaiting your reply. vagabond

Admin app

2003-09-16 Thread Jeff Cummings
Hi all, I have a JDBCRealm configured the server.xml to authenticate users. It all works fine. The following lines are in my server.xml and show up in when I click on the “User Database” followed by the “UserDatebase” nodes in the tree in the admin application. !-- Editable user database

  1   2   >