Re: Howto compile mod_jk2 under windows?

2003-06-27 Thread Ares Liu
After I hit build button, the MSVC debug windows displayed as follow: Configuration: mod_jk2 - Win32 Debug Creating resources from ..\..\common\jk_logger_win32_message.mc MC: may only specify one message file to compile. MC: may only specify one message

Re: index.html

2003-06-27 Thread Oki DZ
On Thu, 2003-06-26 at 18:53, Tim Funk wrote: Are you sure you installed the right tomcat? Ouch, silly me; no it was 4.0-b4. OK, cd to the right directory. But, [EMAIL PROTECTED]:/usr/local/jakarta-tomcat-5.0.3/bin$ ./catalina.sh run Using CATALINA_BASE: /usr/local/jakarta-tomcat-5.0.3

Re: HTTP10Interceptor: SocketException

2003-06-27 Thread Bill Barker
Robert Irwin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thanks Bill, Followed the directions(thanks), no love... Same problem, HTTP10Interceptor: SocketException 6 times on close of browser. Well, part of the instructions were to comment out the HTTP10Interceptor in

Help. how to get ServletContext ?

2003-06-27 Thread Antony
Hi, I have a class which implements HttpSessionBindingListener interface. The class is put in the session scope. I have to get the ServletContext from inside this class. How to get it ?. I don't know much about servlets and Java. Antony

RE : JK2 question again + context in a different partition

2003-06-27 Thread Hertenstein Alain
Thanks John, I tried to create a context pointing to a different partition, to no avail (tried with backslashes, double-slashes, etc). Maybe you could explain how to achieve this ? Thanks. Regards Alain -Message d'origine- De : John Turner [mailto:[EMAIL PROTECTED] Envoyé : jeudi, 26.

Memory Activity

2003-06-27 Thread BOULAY Arnaud
Hi ! How can I mesure the memory used for a web app (A struts one) that is started but not used by any client. What must I do to prevent any waste of memory in this case. In the same way, I must limit the memory consumtion of Tomcat on my system : It must be very small consumer as far as there

RE: Log4j problem mixing 2 apps

2003-06-27 Thread Donie Kelly
OK, I think I see the problem but I'm not sure how to fix. I'm using eclipse to debug and run tomcat and as it uses log4j to log in the webapps I have to put log4j in the classpath for eclipse so that the code will compile. However, I think this is causing a problem when the application runs as

RE: Log4j problem mixing 2 apps

2003-06-27 Thread Deepak Nagpal
Hi New to servlets. could anybody tell me what is log4j and about its usage. Thanks and Regards Deepak -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 3:17 PM To: 'Tomcat Users List' Subject: RE: Log4j problem mixing 2 apps OK, I think I see

manager reload vs tomcat restart

2003-06-27 Thread Euan Guttridge
If I use the manager http command to reload my app, it looses the DB connection. If I use /bin/shutdown and startup scripts it is fine. I am on tomcat 1.1.24, linux rh 9, oracle 9.2 thick client. Thanks, Euan - To unsubscribe,

RE: Help. how to get ServletContext ?

2003-06-27 Thread Atreya Basu
Try calling getServletContext(). But I think you have to set CrossContext to 'true' in the Context element of Server.xml _ Atreya Basu Developer, Greenfield Research Inc. e-mail: atreya (at) greenfieldresearch (dot) ca -Original Message- From: Antony

Re: Log4j problem mixing 2 apps

2003-06-27 Thread Holger Klawitter
Am Freitag, 27. Juni 2003 12:04 schrieb Deepak Nagpal: Hi New to servlets. could anybody tell me what is log4j and about its usage. log4j ist not servlet specific, it can be used for any java based project. It's a system helping you creating configurable logs. See http://jakarta.apache.org

Re: hosting services offering tomcat

2003-06-27 Thread g4
I've used jsp-servlet.net, based in the US, reasonable prices, have had no complaints. On Friday, Jun 27, 2003, at 03:19 Europe/London, Lajos wrote: Replying late to this post ... but, I can highly recommend http://www.smedia.info. Having done work for them in the past, I know they have a

Re: index.html

2003-06-27 Thread Tim Funk
Odd. I'll download the binary and take a look. -Tim Oki DZ wrote: But, [EMAIL PROTECTED]:/usr/local/jakarta-tomcat-5.0.3/bin$ ./catalina.sh run Using CATALINA_BASE: /usr/local/jakarta-tomcat-5.0.3 Using CATALINA_HOME: /usr/local/jakarta-tomcat-5.0.3 Using CATALINA_TMPDIR:

jkmounts screwing up my namevirtualhost

2003-06-27 Thread Heather Buch
Hello, My NameVirtualHost fails when I try to set the JkMount directives. I am using httpd-2.0.43 jakarta-tomcat-4.1.12 (I am also using jakarta-struts-1.0.2, but this might not be so relevant to my problem) Here is my setup (I describe the problem at the end using the specific names that

Re: PrintServiceLookup And Tomcat

2003-06-27 Thread Michael Duffy
Hi Jason, Yes, it's a Windows service and they are network printers. Your point about changing the user under which Tomcat is running is interesting, but I'm not sure I understand what I should do. Can you give more details or point me to a reference? The logs are all clean - no exceptions,

Re: Client Certificates Authentication in Tomcat v4.1.24

2003-06-27 Thread Minimalist Manager
ERROR: There is no such list CERTIFICATES here. SOLUTION: Send a message to [EMAIL PROTECTED] with a subject of 'info' (no quotes) for a list of available mailing lists. -- Sincerely, the Minimalist - To

Possible workaround for invalid direct reference to login page

2003-06-27 Thread ben . jessel
Java Authentication with tomcat relies on realms. If you access a page protected by that realm you get directed to the login page. However, it is possible to go directly to the login page ( this can happen when users bookmark the login page inadvertantly ). This happens in two scenarios: 1)

Re: REALM question - please help

2003-06-27 Thread Dinh, Chinh
Thanks for your help . I'm new to TOMCAT , so I may have some confusion. I thought it's the way that TOMCAT does. We have to use REALM to authenticate as we define this in web.xml : login-config auth-methodBASIC/auth-method realm-nameMyRealm/realm-name /login-config It will pop up

download of csv file

2003-06-27 Thread Shanta B
Hi We have a servlet which will download csv file from server.It works fine in some browser. The file type CSV is standard Excel format file. When i click on the link 'file open/save as' dialog appears, i see only html as supported filetype. Why? I expected CSV file as filetype here. This

RE: Help. how to get ServletContext ?

2003-06-27 Thread Shapira, Yoav
Howdy, I have a class which implements HttpSessionBindingListener interface. The class is put in the session scope. I have to get the ServletContext from inside this class. How to get it ?. I don't know much about servlets and Java. You might want to get a book or go through some tutorials.

RE: How to use HTTP1.0 by default

2003-06-27 Thread Shapira, Yoav
Howdy, If an HTTP/1.1 server receives an HTTP/1.0 request, it should respond with HTTP/1.0. The response will say HTTP/1.1 because that indicates the version that the server is capable of providing, not the version that it is using for the response. RFC 2145 says An HTTP server MAY send a lower

RE: Log4j problem mixing 2 apps

2003-06-27 Thread Shapira, Yoav
Howdy, Apparently new to mailing list etiquette as well? Please don't hijack other threads, start your own with your question, or better yet, RTFM at http://jakarta.apache.org/log4j Yoav Shapira Millennium ChemInformatics -Original Message- From: Deepak Nagpal [mailto:[EMAIL

RE: Memory Activity

2003-06-27 Thread Shapira, Yoav
Howdy, How can I mesure the memory used for a web app (A struts one) that is You can't just for one webapp. You can measure the memory usage of the whole JVM. If all you have one the server is the one webapp, than the JVM memory = tomcat memory + webapp memory. used by any client. What must

RE: PrintServiceLookup And Tomcat

2003-06-27 Thread Shapira, Yoav
Howdy, Can you try running tomcat from the command-line, without a security manager, not as a service, and see what happens? Yoav Shapira Millennium ChemInformatics -Original Message- From: Michael Duffy [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 7:24 AM To: Tomcat Users

RE: PrintServiceLookup And Tomcat

2003-06-27 Thread Michael Duffy
Hi Yoav, Brilliant advice, as usual. When I shut down the Tomcat service and run it using startup.bat, it finds both printers beautifully and puts the names in the drop down. Now - what do I have to change so my service will behave as nicely? If you know, I'd appreciate hearing it. If not,

Re: Tomcat + Apache Problem

2003-06-27 Thread John Turner
What Tomcat version? For version 4.1.x, See my Win2K/XP HOWTO: http://www.johnturner.com/howto John On Thu, 26 Jun 2003 21:13:32 +0200, David Herranz [EMAIL PROTECTED] wrote: Hello, I trying to integrate Tomcat into the Apache server, but i need the file tomcat-Apache.conf, I read in some

Re: Howto compile mod_jk2 under windows?

2003-06-27 Thread John Turner
Best place for this is the tomcat-dev list, not tomcat-user. John On Fri, 27 Jun 2003 14:21:23 +0800, Ares Liu [EMAIL PROTECTED] wrote: After I hit build button, the MSVC debug windows displayed as follow: Configuration: mod_jk2 - Win32 Debug-- -- Creating

Re: [TRICK] mod_jk build on Redhat 8.0 / 9.0

2003-06-27 Thread John Turner
Good tip...thanks! John On Fri, 27 Jun 2003 11:43:43 +0200, Henri Gomez [EMAIL PROTECTED] wrote: Under Redhat 8.0/9.0, the Apache 2.0 installed is 2.0.40 with security fixes. But the apxs is still the one from 2.0.40 so the apxs -q LIBTOOL, used in configure didn't works. A solution for RH

tomcat stop does not kill all processes

2003-06-27 Thread mourad jaber
Hi, I'm using tomcat 4.1.24rpm but I have the same pb with binary installation under linux ( 2.4.21 ) jdk 1.4.1_03. When I shutdown tomcat, it log that the standalone tomcat is down but all processes stay in memory and if I restart tomcat there are more processes I must kill then all if I want

RE: tomcat stop does not kill all processes

2003-06-27 Thread Shapira, Yoav
Howdy, Do your applications start any non-daemon threads? Yoav Shapira Millennium ChemInformatics -Original Message- From: mourad jaber [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:03 AM To: Tomcat Users List Subject: tomcat stop does not kill all processes Hi, I'm using

RE: PrintServiceLookup And Tomcat

2003-06-27 Thread Shapira, Yoav
Howdy, One has to think it has something to do with the service security model in windows. I used to know a lot about this, but not for current windows platforms. Maybe someone on the list does, maybe someone who wrote the javax.print.spi at Sun does. Yoav Shapira Millennium ChemInformatics

Re: tomcat stop does not kill all processes

2003-06-27 Thread mourad jaber
I'm using Rmi with an encapsulated rmiregistery but I don't know how to stop it. Shapira, Yoav wrote: Howdy, Do your applications start any non-daemon threads? Yoav Shapira Millennium ChemInformatics -Original Message- From: mourad jaber [mailto:[EMAIL PROTECTED] Sent: Friday,

Win2003 IIS6 ISAPI filter problem

2003-06-27 Thread Nick Tatham
I have a Tomcat 3 application and have been running this successfully on several NT and 2000 machines under IIS using the isapi_redirect.dll filter (from Tomcat 3.3). I'm now trying to make it work under IIS 6 on Windows server 2003. Debug to the logfile shows it processing the HttpFilterProc OK

fileupload beta+tomcat release or filupload current+tomcat cvs?

2003-06-27 Thread Thomas Weller
Hello, thanks for the link to the tomcat sources. It took a while but we are willing to look at the code. We downloaded all tomcat sources (at least I hope so) and Ant to compile tomcat once, to see if it compiles before we begin to modify it. build-catalina: [javac] Compiling 335 source

Problem with new 4.1.24 install

2003-06-27 Thread Tom Cole
I'm integrating Tomcat 4.1.24 with IIS in a Windows 2000 Server environment. 1. I downloaded and installed the distribution. 2. Downloaded the isapi_redirector.dll and placed it in /conf/ 3. I created the workers.properties and uriworkermap.properties file. 4. Uncommented the APJ13 section of the

RE: Win2003 IIS6 ISAPI filter problem

2003-06-27 Thread Eriksen, Kjell
I have been experiencing a similar problem with the ISAPI from 4.1.18. The application works fine when I hit Tomcat's HTTP listener, but going through IIS I receive the error with ACCESS DENIED. I have tried everything imaginable with the permissions. Is there a new ISAPI filter for 2003?

Re: jkmounts screwing up my namevirtualhost

2003-06-27 Thread John Turner
If you want multiple name-based virtual hosts with JK, I have found that you need to do the following: - make sure NameVirtualHost is enabled and set to * - make sure all VirtualHost containers look like this: VirtualHost * ServerName your.host.name ... JkMount /*.jsp ajp13 /VirtualHost -

Re: Win2003 IIS6 ISAPI filter problem

2003-06-27 Thread Tom Cole
I'm using the latest isapi_redirector.dll (notice the 'or' at the end) with no problems. But I'm running 4.1.24. - Original Message - From: Eriksen, Kjell [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:20 AM Subject: RE: Win2003 IIS6 ISAPI

Encoding - UTF-16 vs ISO-8859-1

2003-06-27 Thread Mike Hulse
I am using tomcat 4.1.24 and have several webapps running. When I added anoter webapp and I kept getting SEVERE: Parse Fatal Error at line 1 column 44: Content is not allowed in prolog org.xml.sax.SAXParseException: Content is not allowed in prolog. After a little trial and error and a couple

RE: tomcat stop does not kill all processes

2003-06-27 Thread Shapira, Yoav
Howdy, Well, how are you starting the registry? I'm using Rmi with an encapsulated rmiregistery but I don't know how to stop it. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary

RE: Encoding - UTF-16 vs ISO-8859-1

2003-06-27 Thread Shapira, Yoav
Howdy, What content was before ?xml ... ? Is there a specific (e.g. int'l) reason you're not using the conventional UTF-8 encoding in the first place? Yoav Shapira Millennium ChemInformatics -Original Message- From: Mike Hulse [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:25

Re: Problem with new 4.1.24 install

2003-06-27 Thread Tim Funk
Here might be some reasons why ... http://jakarta.apache.org/tomcat/faq/misc.html#compile -Tim Tom Cole wrote: I'm integrating Tomcat 4.1.24 with IIS in a Windows 2000 Server environment. 1. I downloaded and installed the distribution. 2. Downloaded the isapi_redirector.dll and placed it in

RE: Problem with new 4.1.24 install

2003-06-27 Thread Shapira, Yoav
Howdy, Does it (JSP compilation) work in tomcat stand-alone? Always try that first in order to help distinguish between connector/configuration problems and tomcat internal/configuration problems. Yoav Shapira Millennium ChemInformatics -Original Message- From: Tom Cole [mailto:[EMAIL

Re: multiuser setup: please help

2003-06-27 Thread John Turner
I don't use this feature, but a couple of things come to mind: - does the user account that Tomcat uses have read permissions to those directories? - NOTHING under WEB-INF is ever directly accessible, both WEB-INF and META- INF are protected resources as far as tomcat is concerned. I'm not

RE: Win2003 IIS6 ISAPI filter problem

2003-06-27 Thread Nick Tatham
Tom, Where did you get that redirectOR from - I can't find it on the download site? Thanks, Nick -- Nick Tatham Peramon Technology Limited +44 118 984 0506 www.peramon.com -Original Message- From: Tom Cole [mailto:[EMAIL PROTECTED] Sent: 27 June 2003 14:23 To: Tomcat Users List

RE: Win2003 IIS6 ISAPI filter problem

2003-06-27 Thread Reynir Hübner
On win2003 ? -Original Message- From: Tom Cole [mailto:[EMAIL PROTECTED] Sent: 27. júní 2003 13:23 To: Tomcat Users List Subject: Re: Win2003 IIS6 ISAPI filter problem I'm using the latest isapi_redirector.dll (notice the 'or' at the end) with no problems. But I'm running

RE: PrintServiceLookup And Tomcat

2003-06-27 Thread Michael Duffy
Hi Yoav, You gave me the answer. When I looked at my service's log on properties, it was running under the local system account. There's a radio button that allows you to run under the local system account or another one of your own choosing. When I switched to another account and gave it my

Re: Encoding - UTF-16 vs ISO-8859-1

2003-06-27 Thread Mike Hulse
There is nothing before ?xml.? it starts on the first line in the first column and that's all that is on that line. I was using ISO-8859-1 because that's what was in all of the tomcat examples. Mike - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List

RE: Win2003 IIS6 ISAPI filter problem

2003-06-27 Thread Nick Tatham
To answer my own question, I have now found the -or version: isapi_redirector.dll in /builds/jakarta-tomcat-connectors/jk/release/v1.2.0/bin/win32 I have upgraded to this version and still get the same problem on Win2003. I did earlier have access problems but fixed those in IIS6 by going to

RE: Win2003 IIS6 ISAPI filter problem

2003-06-27 Thread connil
On IIS 6? Is there light in this darkness? Is it possible get Tomcat to work with IIS 6 (win 2003)? -- Original Message -- Reply-To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Win2003 IIS6 ISAPI filter problem Date: Fri, 27 Jun 2003 13:39:55 - From: Reynir Hübner [EMAIL PROTECTED]

Re: Win2003 IIS6 ISAPI filter problem

2003-06-27 Thread John Turner
Possible? Sure. Probable soon? Maybe. Please understand that the pool of people who are capable of understanding and developing a connector and have access to Win 2003 Server is decidedly small. When you consider that the number of overall Win 2003 Server installations is very tiny as

RE: PrintServiceLookup And Tomcat

2003-06-27 Thread Shapira, Yoav
Howdy, Glad to help. That was a refreshing departure from the usual my servlet doesn't work (and I didn't read the release notes or search the archives or the FAQ or anything before posting yet another invoker-servlet-related question) issue. ;) Yoav Shapira Millennium ChemInformatics

Unscubscribe while on holidays

2003-06-27 Thread Donie Kelly
Hi all Can anybody remind me how to unsubscribe while Im away on holidays to avoid you getting me Out of Office Tanks Donie ** This email and any files transmitted with it are confidential and intended solely

RE: Unscubscribe while on holidays

2003-06-27 Thread Shapira, Yoav
Howdy, As the footer of each list message says: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] That's nice, courteous of you. Enjoy your holidays ;) Yoav Shapira Millennium

RE: Unscubscribe while on holidays

2003-06-27 Thread Donie Kelly
Ok, I'll admit it. I'm blind :) Thanks -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 27 June 2003 15:14 To: Tomcat Users List Subject: RE: Unscubscribe while on holidays Howdy, As the footer of each list message says:

Maintenance of users and user_roles

2003-06-27 Thread Jon Haugsand
Being greatful for help received on how to use an oracle dbms for authentication. The next obvious thing to do is to make a simple servlet to maintain such a simple database. But before I do so, maybe someone has something like it laying around? -- Jon Haugsand, [EMAIL PROTECTED]

Re: Unscubscribe while on holidays

2003-06-27 Thread John Turner
Enjoy your holiday! John On Fri, 27 Jun 2003 15:01:15 +0100, Donie Kelly [EMAIL PROTECTED] wrote: Hi all Can anybody remind me how to unsubscribe while I'm away on holidays to avoid you getting me Out of Office Tanks Donie

Re: tomcat stop does not kill all processes

2003-06-27 Thread mourad jaber
I start it with LocateRegistery.createRegistery(1099) and Registery interface and LocateRegistery haven't got any close or destroy and any method to stop the RmiRegistery ! Have you got an idea about it ? Thanks a lot Mourad Shapira, Yoav wrote: Howdy, Well, how are you starting the registry?

Tomcat Classloaders and loading properties files

2003-06-27 Thread Mike Curwen
Hello, So I'm writing a few library classes that I hope I'll be able to use over and over again. Because goodness knows, someone needs to invent the wheel again. ;) Anyways.. I want my classes to use properties files for configuration, and what I really want is something like: 1. Place the

Hot deploy does not work?

2003-06-27 Thread Jon Haugsand
Running tomcat 4.1 installed from RPM things look fine, but for some reason or another I cannot get hot (re)deployment to work. Copying a war file into /var/tomcat4/webapps makes it jus lay there. I mean this worked yesterday :-( but I cannot imagine what I have done differently today except

RE: Tomcat Classloaders and loading properties files

2003-06-27 Thread Shapira, Yoav
Howdy, I'm expecting that when I go to load the properties, it will look in WEB-INF/classes *first*, from this snip from the CLASSLOADER doc Therefore, from the perspective of a web application, class or resource loading looks

Redirector problem? Apache 2.0.43 - Tomcat 4.1

2003-06-27 Thread Martín Mauri
Hi, I'm facing the following problem, I'm trying to get Tomcat and Apache working together, everything's fine since I've just set up the server.xml and httpd.conf and included the mod_jk.conf automcatic file in my httpd.conf. But when I try to access http://server/examples I get the 404 error and

Re: Hot deploy does not work?

2003-06-27 Thread ben . jessel
add reloadable=true in with the Context parameters Jon Haugsand [EMAIL PROTECTED] 27/06/2003 15:43 Please respond to Tomcat Users List To: [EMAIL PROTECTED] cc: Subject:Hot deploy does not work? Running tomcat 4.1 installed from RPM things look

RE: tomcat stop does not kill all processes

2003-06-27 Thread Shapira, Yoav
Howdy, I start it with LocateRegistery.createRegistery(1099) and Registery interface and LocateRegistery haven't got any close or destroy and any method to stop the RmiRegistery ! Have you got an idea about it ? Yeah, that's what I figured. They should've included a shutdown() method in that

Re: Redirector problem? Apache 2.0.43 - Tomcat 4.1

2003-06-27 Thread John Turner
What is the VirtualHost container for server and what is the Host entity in server.xml for server? John On Fri, 27 Jun 2003 11:53:59 -0300, Martín Mauri [EMAIL PROTECTED] wrote: Hi, I'm facing the following problem, I'm trying to get Tomcat and Apache working together, everything's fine

Re: Redirector problem? Apache 2.0.43 - Tomcat 4.1

2003-06-27 Thread Martín Mauri
ok, in both of them is images I've setup the following in mod_jk.conf: VirtualHost images ServerName images ... and the following in server.xml: Host name=images debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener

Re: Redirector problem? Apache 2.0.43 - Tomcat 4.1

2003-06-27 Thread John Turner
Is there more than one name-based virtual host? If so, do the following: - enable NameVirtualHost in httpd.conf, and set it to * - change your VirtualHost images to VirtualHost * I'm assuming you have JkMount directives inside your VirtualHost container? Note that if you have more than one

Re: Hot deploy does not work?

2003-06-27 Thread Jon Haugsand
* ben jessel add reloadable=true in with the Context parameters Did so: Context path=/tilgang docBase=tilgang debug=99 reloadable=true / /bin/ls -l /var/tomcat4/tilgang/ total 741 -rw-r--r--1 nbulo1 tomcat4754228 Jun 27 17:23 tilgang.war But no deployment

Re: Redirector problem? Apache 2.0.43 - Tomcat 4.1

2003-06-27 Thread Martín Mauri
no, the thing's that I've just got only one virtual host called images that's auto-generated in mod_jk.conf and as that file is included in httpd.conf I assume I don't have to modify it, or is it better than I replace it with a * anyway?? and yes, I have all the jkMount directives inside the

RE: Encoding - UTF-16 vs ISO-8859-1

2003-06-27 Thread Shanta B
In Java 1.3, the default encoding is set to ISO-8859-1 which includes all the German special characters In Java 1.4, the default encoding is set to ASCII which converts all German special characters to '?' -Original Message- From: Mike Hulse [mailto:[EMAIL PROTECTED] Sent: Friday, June

Re: Redirector problem? Apache 2.0.43 - Tomcat 4.1

2003-06-27 Thread John Turner
So what did you do then: change localhost in server.xml to images, and restart Tomcat, then restart Apache? Or did you add images to the already existing localhost in server.xml? If the latter, you will need to do what I described in my previous message. If you have localhost and images you

Re: Redirector problem? Apache 2.0.43 - Tomcat 4.1

2003-06-27 Thread Martín Mauri
I did like the first, I changed localhost to images so I have just one virtual host...but it's still not working :(( - Original Message - From: John Turner [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, June 27, 2003 12:39 PM Subject: Re: Redirector problem?

Re: Hot deploy does not work?

2003-06-27 Thread Jon Haugsand
* Jon Haugsand * ben jessel add reloadable=true in with the Context parameters Did so: Context path=/tilgang docBase=tilgang debug=99 reloadable=true / No, I mean this: Context path=/tilgang docBase=../tilgang debug=99 reloadable=true / It does

RE: Hot deploy does not work?

2003-06-27 Thread Shapira, Yoav
Howdy, Are there any errors in the logs when you redeploy? Does a simple reload (not redeploy) work? Yoav Shapira Millennium ChemInformatics -Original Message- From: Jon Haugsand [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 11:46 AM To: Tomcat Users List Subject: Re: Hot

Re: download of csv file

2003-06-27 Thread Antonio Fiol Bonnín
Shanta B wrote: Hi We have a servlet which will download csv file from server.It works fine in some browser. The file type CSV is standard Excel format file. When i click on the link 'file open/save as' dialog appears, i see only html as supported filetype. Why? I expected CSV file as filetype

Custom 500 error page

2003-06-27 Thread Nate
Hi all, I'm using tomcat 4.1.18 and am having a problem with custom error pages. I have included the following in my global web.xml file error-page error-code500/error-code location/server_err.jsp/location /error-page however, when a 500 error is returned, it still

Re: Custom 500 error page

2003-06-27 Thread Tim Funk
What if you try to access /server_err.jsp directly? Is the error page also throwing an error? -Tim Nate wrote: Hi all, I'm using tomcat 4.1.18 and am having a problem with custom error pages. I have included the following in my global web.xml file error-page

RE: Custom 500 error page

2003-06-27 Thread Tim Davidson
The change notes are in the distribution under release-notes.txt. This works for me: error-page error-code500/error-code location/jsp/errorPage.jsp/location /error-page -Original Message- From: Nate [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 5:15 PM

Re: Custom 500 error page

2003-06-27 Thread Nate
I can access the page directly with no problems. - Original Message - From: Tim Funk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, June 27, 2003 11:29 AM Subject: Re: Custom 500 error page What if you try to access /server_err.jsp directly? Is the error page

Re: Custom 500 error page

2003-06-27 Thread Nate
What version of Tomcat are you running? Perhaps I need to upgrade. - Original Message - From: Tim Davidson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, June 27, 2003 11:34 AM Subject: RE: Custom 500 error page The change notes are in the distribution under

Re: Redirector problem? Apache 2.0.43 - Tomcat 4.1

2003-06-27 Thread John Turner
Change images back to localhost, then try adding Aliasimages/Alias in the Host container in server.xml. Are you sure that images resolves to an IP address? John On Fri, 27 Jun 2003 12:45:00 -0300, Martín Mauri [EMAIL PROTECTED] wrote: I did like the first, I changed localhost to images so I

Servlet mapping error

2003-06-27 Thread KKolle
I'm trying to map a Servlet URL and then invoke that Servlet in my web app. When I attempt this, I'm getting the following error in my browser: [start error] HTTP Status 404 - /servlets/LoginServlet type Status

Re: Custom 500 error page

2003-06-27 Thread Nate
For future reference, I just upgraded from 4.1.18 to 4.1.24, and that fixed the issue. - Original Message - From: Nate [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, June 27, 2003 11:38 AM Subject: Re: Custom 500 error page What version of Tomcat are you

Re: REALM question - please help

2003-06-27 Thread Jean-Francois Arcand
Dinh, Chinh wrote: Thanks for your help . I'm new to TOMCAT , so I may have some confusion. I thought it's the way that TOMCAT does. We have to use REALM to authenticate as we define this in web.xml : login-config auth-methodBASIC/auth-method realm-nameMyRealm/realm-name /login-config

RE: Servlet mapping error

2003-06-27 Thread Bodycombe, Andrew
Try the following URL: http://host:port/bugtracker/servlets/LoginServlet Hope this helps, Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 27 June 2003 18:17 To: [EMAIL PROTECTED] Subject: Servlet mapping error I'm trying to map a Servlet URL and

RE: JDBC Session Manager.

2003-06-27 Thread Filip Hanik
that is for the membership detection of the cluster, session propagates upon each request is finished Filip -Original Message- From: Angus Mezick [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 5:09 AM To: Tomcat Users List Subject: RE: JDBC Session Manager. I REALLY

RE: Servlet mapping error

2003-06-27 Thread Shapira, Yoav
Howdy, Under tomcat home/webapps/bugtracker/WEB-INF/web.xml, I have the following snippet of lines: servlet servlet-nameLoginServlet/servlet-name servlet-classcom.bugtracker.servlets.LoginServlet/servlet-class /servlet servlet-mapping

RE: Servlet mapping error

2003-06-27 Thread KKolle
Thanks, I knew it was somthing simple/stupid. Works now. Shapira, Yoav

RE: Custom 500 error page

2003-06-27 Thread Joe Reger, Jr.
I'm having the same problem on Tomcat 5.0.2. Tried restarting the app. Then tried restarting Tomcat. Then rebooted the machine. Still getting the stack trace. I assumed for a while that I had a compilation error in my error.jsp so I made error.jsp a very simple page with no code. It still

Re: Custom 500 error page

2003-06-27 Thread Jean-Francois Arcand
Joe Reger, Jr. wrote: I'm having the same problem on Tomcat 5.0.2. Tried restarting the app. Then tried restarting Tomcat. Then rebooted the machine. Still getting the stack trace. I assumed for a while that I had a compilation error in my error.jsp so I made error.jsp a very simple page

ServletContextListener problem

2003-06-27 Thread augusto . guagliano
Hello people. I am trying to use a ServletContextListener but Tomcat 4.1.24 does not like my web.xml :-) The file follows below. I have no idea what's wrong! The error messages are: 27/06/2003 15:16:25 org.apache.commons.digester.Digester error SEVERE: Parse Error at line 9 column 14: Element

Redirect HTTP to HTTPS?

2003-06-27 Thread Latesha Williams
How do you redirect HTTP to HTTPS in a Tomcat Standalone configuration (no Apache WS)? This configuration serves static web content on port 80 and JSP/Java Servlets on port 8080. I would like requests coming in on port 80 to be routed to HTTPS automatically. Although the HTTP connectors are

RE: ServletContextListener problem

2003-06-27 Thread Shapira, Yoav
Howdy, You have a DTD DOCTYPE mismatch. Your web.xml is fine for a 2.3 container, just change the 2.2 to 2.3 in the DOCTYPE. Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 2:17 PM To: Tomcat

RE: ServletContextListener problem

2003-06-27 Thread Raible, Matt
You have 2.2 in the first part of your DTD: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/dtd/web-app_2_3.dtd; Change it to: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN

RE: ServletContextListener problem

2003-06-27 Thread augusto . guagliano
Thank you and Yoav! Right after sending the mail I found the mistake. Feel so stupid now :-) Thanks! === Augusto Cesar Guagliano [EMAIL PROTECTED] Project Manager +55 19 9106.9024 Infosoftware Consulting http://www.infosoftware.com.br

RE: Redirect HTTP to HTTPS?

2003-06-27 Thread Shapira, Yoav
Howdy, A webapp must have a WEB-INF folder. It's a good idea to put a web.xml file there, even if it only has the webapp / element in it. You'd like all port 80 requests (both HTTP and HTTPS) routed to port 8443? Yoav Shapira Millennium ChemInformatics -Original Message- From:

Persistent attributes

2003-06-27 Thread Christian Hvid
Hello list. I have tried posting this question to comp.lang.java but I didn't get the answer that I needed: I am writing a web application that stores its data in an XML-file. I am deploying it via Apache Tomcat. I would like to make it easy to deploy. For it to work the user deploying my

Re: Custom 500 error page

2003-06-27 Thread Nate
I don't know how to fix it on the 5.0.2 release. It works fine on 4.1.24 tho'. From what I could find it was a problem with some request valve. You can also check the url below for another way to handle this http://www.experts-exchange.com/Developer/Web/Web_Languages/JSP/Q_20634798.h tml

performance on Tomcat 4.0.6

2003-06-27 Thread Jose Santiago Oyervides Gonzalez
Hi, I'm doing some tests on performance with TC 4.0.6. My system (W2k IIS5.0 - JSDK 1.4.0). I'm expecting my site will have a heavy load (about 20,000 concurrent connections between several servers) My pages wont have database connections. I've read some documents about it, and I wonder if

RE: Persistent attributes

2003-06-27 Thread Shapira, Yoav
Howdy, I am writing a web application that stores its data in an XML-file. I am deploying it via Apache Tomcat. I would like to make it easy to deploy. For it to work the user deploying my application has to set the file name of the data storage. Just to clarify, let's call the person deploying

  1   2   >