Tomcat 4.1.29 freezing

2003-12-09 Thread ABED RABBO Tareq
Hi, Im using tomcat 4.1.29 with jdk 1.4.2 on linux. Ive written a web app using struts 1.1. From time to time tomcat freezes. In the log file I get this message: StandardWrapper[/]: Waiting for 99 instance(s) to be deallocated The number of instances varies. Ive looked in the mail

Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found

2003-12-09 Thread Lee Peik Feng
Hi, I have written a class that deal with org.apache.catalina.startup.Embedded to embed tomcat into my application. I use Tomcat 5.0.16 and Java 1.4.2. This problem does not occur with Tomcat 4.1.29. Any help is appreciated. javax.xml.parsers.FactoryConfigurationError: Provider

bug in apache 2 authentication + tomcat 4.1.29 + mod_jk 1.2.5 ?

2003-12-09 Thread Stefanos Karasavvidis
I have an issue with apache authentication and tomcat, but I'm not sure if this is a bug or just the way it works. I have Apache 2.0.47 (windows + linux) tomcat 4.1.29 mod_jk 1.2.5 The connector element has tomcatAuthentication=false (I tried also putting this in jk2.properties, but this

RE: How to prevent direct access to login.jsp

2003-12-09 Thread Jacob Kjome
At 01:54 AM 12/9/2003 -0500, you wrote: Put the file in something like WEB-INF/jsp/login.jsp. Then either configure form-based authentication for the path to that JSP I tried doing that, but when I specified /WEB-INF/jsp/login.html in login-config auth-methodFORM/auth-method

RemoteHostValve and RemoteAddrValve

2003-12-09 Thread Altug B. Altintas
Hi, i couldn't understand what does RemoteHostValve and RemoteAddrValve do ? i changed manager.xml like this * Context path=/manager docBase=../server/webapps/manager debug=0 privileged=true Valve

Installing Manager tool

2003-12-09 Thread mendez
Hi, I installed Tomcat 4.1 to test the Manager interface. I followed the manual step (add a user in the tomcat-users.xml file, add context ...). I use the default port and when I enter http://localhost:8080/manager, I get a 404 error (reported by tomcat). I saw in the list archive the same

AW: Installing Manager tool

2003-12-09 Thread Jan Behrens
hi, I installed Tomcat 4.1 to test the Manager interface. I followed the manual step (add a user in the tomcat-users.xml file, add context ...). I use the default port and when I enter http://localhost:8080/manager, I get a 404 error (reported by tomcat). I saw in the list archive the

AW: [OFF-TOPIC] Tomcat web hosting

2003-12-09 Thread SH Solutions
Hi If you are able to admin your own server, go here: www.ipx-server.de They have servers starting at 19 / month (700 MHz, 256 MB, 10 GB HDD, 50 GB Traffic, NOT Virtual). And higher end servers starting at 39 / month (2 GHz, 512 MB, 40 GB HDD, 100 GB Traffic, NOT Virtual). cu Steffen -- SH

Placement of JSP/HTML Files

2003-12-09 Thread Merrill Cornish
Asad, You need to define a context in the conf/server.xml file: Context path=/Test docBase=Test debug=0 reloadable=true crossContext=true Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_Test_log. suffix=.txt timestamp=true/ /Context The path

Re: How to prevent direct access to login.jsp

2003-12-09 Thread Jon Wingfield
Tomcat 4.0.x, 4.1.x does a redirect to the login page specified in the web.xml Tomcat 5 does a forward so the login page url never reaches the browser. There are a number of workarounds/hacks in the archives for tc4. eg the thread j_security_check - Bookmarking the login page. A teaser! Jon

Re: connection refused, localhost not found

2003-12-09 Thread Adam Hardy
On 12/08/2003 01:46 PM Damien Pacaud wrote: i disagree with you, since the root context works fine he's got a server up and running listenning on port 8080 but his app does create an error/interaction with it (hope i got this correct for the original email) Unfortunately i haven't got a clue

AW: REPOST: Can't find child 2386 in scoreboard

2003-12-09 Thread Frankl Martina
This is a repost. Please help. Hi I have checked the archives and google to solve the problem but to no avail. Please help. The error I get in my apache error_log when navigating to http://localhost/examples is: [Sat Dec 06 00:11:21 2003] [info] Server: Apache/2.0.46, Interface:

Re: context

2003-12-09 Thread Adam Hardy
On 12/09/2003 06:30 AM Jerald Powel wrote: Hello, Prostrating my self to a tongue lashing, can any one tell me why I am getting the 500 error: HTTP Status 500 - No Context configured to process this request ? In my server.xml I have defined: Context path=/myapp docBase=myapp debug=0

Re: RemoteHostValve and RemoteAddrValve

2003-12-09 Thread Adam Hardy
On 12/09/2003 08:17 AM Altug B. Altintas wrote: i couldn't understand what does RemoteHostValve and RemoteAddrValve do ? i changed manager.xml like this * Context path=/manager docBase=../server/webapps/manager debug=0 privileged=true

Re: Copying files from Tomcat 4.1.x to Tomcat 5.x

2003-12-09 Thread Adam Hardy
On 12/09/2003 07:08 AM Antony Paul wrote: Hi all, Is there any compatibility issues in putting the jsp/servlet files developed in Tomcat 4.1.x series to Tomcat 5.x. Application uses only Servlets 2.3 and JSP 1.2. I expect that there are very few issues, however I managed to find one. In

Re: How to prevent direct access to login.jsp

2003-12-09 Thread Adam Hardy
On 12/08/2003 11:59 PM Chaikin, Yaakov Y (US SSA) wrote: I realized that my user can mess himself by bookmarking the login page he is asked to log in. The login.jsp appears in the URL address in the browser... Does anyone know how to avoid this? How do I block that URL for the user and not for the

Re: Testing servlet for thread safety.

2003-12-09 Thread Adam Hardy
On 12/09/2003 07:16 AM Antony Paul wrote: Hi, I asked this question as part of another mail but Mr. Tim Funk left it unanswered. How to test a servlet for thread safety. Antony, it might be the case that he didn't have time to answer, you know. Nobody on this list is obliged to answer any

Re: How to prevent direct access to login.jsp

2003-12-09 Thread Andoni
I had this excact problem some time ago. You might search the archive for the subject line I used: j_security_check - Bookmarking the login page. A teaser! The problem was solved for me then. Andoni. - Original Message - From: Chaikin, Yaakov Y (US SSA) [EMAIL PROTECTED] To: [EMAIL

Re: RemoteHostValve and RemoteAddrValve

2003-12-09 Thread Altug B. Altintas
No, i try http://localhost:8081/manager/html like this. And it is still asking username and password Any working example will be really appreciated. Thanks. - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, December 09, 2003

Re: RemoteHostValve and RemoteAddrValve

2003-12-09 Thread Adam Hardy
Go into server/webapps/manager/WEB-INF/web.xml and remove the security-constraint on the manager. I haven't tried this myself so make sure you test the RemoteHostValve thoroughly to make sure it is protecting your manager app as you wish, before you put it in production! Adam On 12/09/2003

Re: SSL problem with TC 5.0.16

2003-12-09 Thread Baer Peter Christoph Alexander
Yes. And, what is more, apparently, Tomcat 5 can use the keystore, now. Maybe a problem with Windows 2000, cured by the reboot (yesterday it didn't work, today it does, computer was switched off overnight...) ;-). However, I've made a few more experiments, and found a snag in TC 5, possibly.

TC5 + SSL: Keystore password bound to default changeit?

2003-12-09 Thread Baer Peter Christoph Alexander
Hi! I have a question about something, I observe, but don't want to believe... ;-) Tomcat 5 can use my keystore, but only if the password is changeit, the default password. Now, the docs say, one should use this, but with TC 4.0.6 it was possible to change it. Is the password hard coded in TC 5?

Re: TC5 + SSL: Keystore password bound to default changeit?

2003-12-09 Thread Remy Maucherat
Baer Peter Christoph Alexander wrote: Hi! I have a question about something, I observe, but don't want to believe... ;-) Tomcat 5 can use my keystore, but only if the password is changeit, the default password. Now, the docs say, one should use this, but with TC 4.0.6 it was possible to change

where to put context myapp.xml files

2003-12-09 Thread Adam Hardy
Hi, I thought that xml context configuration files had to reside in tomcat/webapps, but it seems they only take effect when they are placed in tomcat/conf/Catalina/localhost. Is this correct or am I doing something that prevents tomcat from using it when I place it in webapps? Thanks Adam

Two Tomcats and One Apache Web Server

2003-12-09 Thread Walter do Valle
Hello all Is it possible to install two Tomcats in the same linux server, put some web applications in one tomcat, put some web applications in other tomcat and both tomcats answer to the same Apache Web Server? Anyone has made this? Is there any tips and tricks about this matter? What is the

RE: Two Tomcats and One Apache Web Server

2003-12-09 Thread Galbayar
try google Apache tomcat load balancing -Original Message- From: Walter do Valle [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 8:14 PM To: [EMAIL PROTECTED] Subject: Two Tomcats and One Apache Web Server Hello all Is it possible to install two Tomcats in the same linux

Re: How to prevent direct access to login.jsp

2003-12-09 Thread Ben Souther
You could create a mapping for login.jsp that points to an error page from your web.xml descriptor. Then you will only be able to get to login.jsp with server side forwards. On Tuesday 09 December 2003 05:33 am, you wrote: I had this excact problem some time ago. You might search the

Re: RemoteHostValve and RemoteAddrValve

2003-12-09 Thread Tim Funk
RemoteHostValve and RemoteAddrValve docs: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html What you are encountering is the permissions to use a webapp. To remove permissions for the manager webapp, you need to remove its security constraints from the manager webapp's web.xml.

Re: Testing servlet for thread safety.

2003-12-09 Thread Antony Paul
My intention was not to blame anybody for not answering it. I just want to mention that he answered all other questions. I am not writing more because I dont know whether it may damage any one else. And sorry for my poor communication and I am not fluent in English. Thanks for answering. I

How to configure the default application in apache to point to tomcat??

2003-12-09 Thread Natarajan Arun
Hi, I have integrated tomcat and apache. Now when I type http://localhost/myapp i get the page from the tomcat myapp application. However now, I want http://localhost to point to this application, since this is my default application. What configuration would I have to change ?? I tried using +

Re: Two Tomcats and One Apache Web Server

2003-12-09 Thread Martin Kuba
Walter do Valle wrote: Hello all Is it possible to install two Tomcats in the same linux server, put some web applications in one tomcat, put some web applications in other tomcat and both tomcats answer to the same Apache Web Server? Anyone has made this? Is there any tips and tricks about this

RE: How to configure the default application in apache to point to tomcat??

2003-12-09 Thread Altankov Peter
The reason for 404 is that your application context is mapped in tomcat container under /myapp. Try this: JkMount /* your_worker_definition In apache httpd.conf, and: Context debug=0 docBase=/absolute/path/to/myapp - (or relative to CATALINA_HOME ofcorse) path=

RE: where to put context myapp.xml files

2003-12-09 Thread Altankov Peter
It must be put in TOMCAT_HOME/webapps, where webapps is defined in your server.xml 's Host tag, i.e.: Host name=localhost debug=0 appBase=path_to_webapps_folder/ ---AND --- Your context is marked as reloadable i.e: Context debug=0 docBase=/path/to/your_app

Re: Testing servlet for thread safety.

2003-12-09 Thread Tim Funk
There is no real test for thread safety. Thats why I was unable to answer it. Thread safety is really a finite state machine problem. The real issue is know that any concurrent flow of control will always keep the system in a stable state. I use system as a generic term for servlet, webapp, or

Re: RemoteHostValve and RemoteAddrValve

2003-12-09 Thread Altug B. Altintas
ok it works. Thanks... - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 12:33 PM Subject: Re: RemoteHostValve and RemoteAddrValve Go into server/webapps/manager/WEB-INF/web.xml and remove the

Re: [SPAM] Re: Testing servlet for thread safety.

2003-12-09 Thread Jon Wingfield
OTOH: http://jakarta.apache.org/cactus/index.html http://jakarta.apache.org/commons/latka/ http://jakarta.apache.org/jmeter/index.html http://www.mockobjects.com/wiki/SimpleServletTest Jon Antony Paul wrote: Subject: Re: Testing servlet for thread safety. From: Antony Paul [EMAIL PROTECTED]

RE: How to prevent direct access to login.jsp

2003-12-09 Thread Chaikin, Yaakov Y (US SSA)
Tomcat 5 is a stable release now? Yaakov Chaikin Software Engineer BAE SYSTEMS 301-838-6899 (phone) 301-838-6802 (fax) [EMAIL PROTECTED] -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 5:10 AM To: Tomcat Users List Subject: Re: How to

RE: Compression 5.0.16 - web.xml or server.xml

2003-12-09 Thread Shapira, Yoav
Howdy, There is a compression filter that ships with tomcat as an example, and that's what you enabled. The Coyote connector also supports compression as the documentation indicates, it's just that compression is not enabled by default so you don't see it in server.xml. Yoav Shapira Millennium

mod jk failover without loadbalancing

2003-12-09 Thread Daniel Moscufo
Hello All, I have what seems to be a unique problem. I have trawled through all the mailing lists but could not find a response. My question is: Is it possible to setup mod_jk to do only failover clustering without load balancing? We have an application that does much internal caching and

RE: where to put context myapp.xml files

2003-12-09 Thread Shapira, Yoav
Howdy, It's different between different major releases (tomcat 4.x and 5.x). Yoav Shapira Millennium ChemInformatics -Original Message- From: Altankov Peter [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 8:20 AM To: Tomcat Users List Subject: RE: where to put context

Re: How to prevent direct access to login.jsp

2003-12-09 Thread Tom Holmes Jr.
I realize that you're asking if there is a Tomcat-configurable solution to this problem but that isn't the best way to handle this in the Java world. The Tomcat-configurable way might be to force a directory (or web-app) to force a new hit to the server instead of allowing the page to be

Directory explaination

2003-12-09 Thread Atreya Basu
Could someone explain the directory structure of Tomcat to me? bin --the executable to run tomcat conf -- configuration file common --? logs -- log files server -- libraries for the server shared ---? temp -- temp files work -- work files where compiled jsps are read from webapps -- where the web

RE: Directory explaination

2003-12-09 Thread Shapira, Yoav
Howdy, Read the classloader how-to. Yoav Shapira Millennium ChemInformatics -Original Message- From: Atreya Basu [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 8:52 AM To: Tomcat Users List Subject: Directory explaination Could someone explain the directory structure of

RE: Compression 5.0.16 - web.xml or server.xml

2003-12-09 Thread Ron Andersen
Thanks..one last question..does this means if compression is turned on in the server.xml and web.xml, compression is attempted twice?? If so, which one should be enabled and whcih one should be disabled? Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, There is a compression filter that ships with

RE: Compression 5.0.16 - web.xml or server.xml

2003-12-09 Thread Shapira, Yoav
Howdy, Yup, it would be attempted twice (if the request matches both the filter and the connector, which is the default setup). Personally I prefer the filter, as it's more portable and not tomcat-specific. Yoav Shapira Millennium ChemInformatics -Original Message- From: Ron Andersen

RE: Compression 5.0.16 - web.xml or server.xml

2003-12-09 Thread Ron Andersen
Thanks!! :) Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, Yup, it would be attempted twice (if the request matches both the filter and the connector, which is the default setup). Personally I prefer the filter, as it's more portable and not tomcat-specific. Yoav Shapira Millennium

Re: where to put context myapp.xml files

2003-12-09 Thread Adam Hardy
Yes, that's what I thought, but I am upgrading to 5.0.16 and it is not the case now. Perhaps I have killed the configuration somehow but I have set all the salient configuration items correctly. I am sceptical whether you really need to set reloadable to true - which I have done anyway -

Re: where to put context myapp.xml files

2003-12-09 Thread Adam Hardy
Howdy. Are you implying that CATALINA_HOME/conf/Catalina/localhost/ is actually the correct directory for it in 5.x? Thanks Adam On 12/09/2003 03:09 PM Shapira, Yoav wrote: Howdy, It's different between different major releases (tomcat 4.x and 5.x). Yoav Shapira Millennium ChemInformatics

RE: Ant install tasks

2003-12-09 Thread Rich Garabedian
Thanks everyone for your comments. Here is more detail: I'm using the build.xml directly downloaded from the tomcat 5 documentation. The install task of that build file looks like this: deploy url=${manager.url} username=${manager.username} password=${manager.password}

RE: How to prevent direct access to login.jsp

2003-12-09 Thread Chaikin, Yaakov Y (US SSA)
Tom, You are confusing programmatic security with declarative. Yes, it's a piece of cake with programmatic security since YOU are doing all the work. However, unless your application requires it for some special reason, there is no need to for programmatic security. Thanks for trying though.

Re: How to prevent direct access to login.jsp

2003-12-09 Thread Adam Hardy
Sure On 12/09/2003 02:52 PM Chaikin, Yaakov Y (US SSA) wrote: Tomcat 5 is a stable release now? Yaakov Chaikin Software Engineer BAE SYSTEMS 301-838-6899 (phone) 301-838-6802 (fax) [EMAIL PROTECTED] -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, December

RE: Ant install tasks

2003-12-09 Thread Robert D. Abernethy IV
Here is what I copied from the deployer build script to my build script: !-- Compile JSPs -- jasper2 validateXml=false uriroot=${web.home} webXmlFragment=${build.home}/WEB-INF/generated_web.xml addWebXmlMappings=true outputDir=${build.home}/WEB-INF/classes / And here is what is being

Tomcat error while using a class with JSP!

2003-12-09 Thread GuptaD
Title: Tomcat error while using a class with JSP! Hi All, I am new to Tomcat so I would really appreciate if somebody could help me in this. I have Tomcat 4.1.29 installed on my windows 2000 machine. At the same level as examples is in Tomcat path, I've created a directory called

How to get username

2003-12-09 Thread Chaikin, Yaakov Y (US SSA)
Hi, Does anyone know how to get back the username once the person logged in with declarative security? Thanks. Yaakov Chaikin Software Engineer BAE SYSTEMS 301-838-6899 (phone) 301-838-6802 (fax) [EMAIL PROTECTED] - To

RE : How to get username

2003-12-09 Thread ABED RABBO Tareq
request.getRemoteUser(); -Message d'origine- De : Chaikin, Yaakov Y (US SSA) [mailto:[EMAIL PROTECTED] Envoyé : mardi 9 décembre 2003 15:56 À : [EMAIL PROTECTED] Objet : How to get username Hi, Does anyone know how to get back the username once the person logged in with declarative

RE: How to get username

2003-12-09 Thread Shapira, Yoav
Howdy, Umm, how about request.getUserPrincipal().getName() ? Yoav Shapira Millennium ChemInformatics -Original Message- From: Chaikin, Yaakov Y (US SSA) [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 9:56 AM To: [EMAIL PROTECTED] Subject: How to get username Hi, Does

RE: Tomcat error while using a class with JSP!

2003-12-09 Thread jakarta
I believe that you have to package your class ie boots.PVDatabase as I recall unpackaged classes are not valid John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 9:42 AM To: [EMAIL PROTECTED] Subject: Tomcat error while using a

RE: where to put context myapp.xml files

2003-12-09 Thread Shapira, Yoav
Howdy, Yup ;) See the Deployer documentation. Yoav Shapira Millennium ChemInformatics -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 9:41 AM To: Tomcat Users List Subject: Re: where to put context myapp.xml files Howdy. Are you implying

RE: Tomcat error while using a class with JSP!

2003-12-09 Thread GuptaD
Hi John, Thanks very much for that.I'll try that. Did you get the files in my last mail. If yes then does server.xml looks Ok to you.. specially the way I have context for boots added in there.. Thanks in advance for your reply.. Regards, Divya -Original Message- From: jakarta

RE: How to get username

2003-12-09 Thread Wilson, Allen
You can use rundata.getUser().getUserName(); This will return user's login name Allen -Original Message- From: Chaikin, Yaakov Y (US SSA) [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 8:56 AM To: [EMAIL PROTECTED] Subject: How to get username Hi, Does anyone know how to

RE: Ant install tasks

2003-12-09 Thread Rich Garabedian
I'm not sure adding the extra slash is right or not. I don't get the host exception anymore, but I continue to get the zip error (below). After looking at my tests, I see that the war file created by ant dist is 1,149 KB. Yet, when I run ant install, the task is copying a war file to the webapp

Running tomcat on Solaris. Stops when exiting the console

2003-12-09 Thread Donie Kelly
Hi all We have had this problem lately where we can start tomcat using Catalina start but when we exit the console it stops. When you look at the ps ef | grep java it shows tomcat running and the PPID is 1 so the process belongs to inetd so I would have though it had detached from the

Re: where to put context myapp.xml files

2003-12-09 Thread Adam Hardy
I'm obviously going mad. I must have been looking at the 4.x documentation. Thanks Adam On 12/09/2003 04:05 PM Shapira, Yoav wrote: Howdy, Yup ;) See the Deployer documentation. Yoav Shapira Millennium ChemInformatics -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent:

Connecting to tomcat 5.0.16 via MC4J/XtremeJ

2003-12-09 Thread Olaf Bergner
I have been trying to connect to tomcat 5.0.16 via MC4J and XtremeJ - a management-console for Eclipse - in order to access tomcat's MBean server. Adapting instructins found in an article targeted at tomcat 4.1 I tried the following: 1) Edit jk2.properties under conf/ to contain the line

Re: How to get username

2003-12-09 Thread Atreya Basu
It should be HttpServletRequest.getRemoteUser() Chaikin, Yaakov Y (US SSA) wrote: Hi, Does anyone know how to get back the username once the person logged in with declarative security? Thanks. Yaakov Chaikin Software Engineer BAE SYSTEMS 301-838-6899 (phone) 301-838-6802 (fax) [EMAIL

RE: Two Tomcats and One Apache Web Server

2003-12-09 Thread Asif Chowdhary
Hi, I have done that with Apache on Linux and multiple instances of tomcat on same NT machine. It works. I think as long as tomcat is started in its own JVM separately from the first one you should not have any problem. -Original Message- From: Galbayar [mailto:[EMAIL PROTECTED]

Tomcat DataSources in non-Tomcat programs.

2003-12-09 Thread Chris Ward
Hi, Just a quickie. Can I use the DataSources I have set up in my Server.xml/Web.xml files for my web application in standalone/command line java apps? Assuming Tomcat is running of course. Or do I have to set up a separate JNDI thing for this (I'm new to JNDI - can you tell?). Best regards

Re: How to prevent direct access to login.jsp

2003-12-09 Thread Rodrigo Ruiz
I think there is another option that noone has mentioned yet :-P When the login.jsp page is presented as part of the login process, there will be some standard request attributes containing the original requested page (I don't remember the names now, but you can find them in the servlet spec).

JSP doubt

2003-12-09 Thread Edson Alves Pereira
Hello folks, i made a war file and i compiled my JSP pages and create a jar file with then. My question is, do i still need to put inside my webapp ( in my case war file, but is the same ) all JSP files anyway? Because tomcat complain about them. Regards, Edson

fmt setLocale

2003-12-09 Thread Maxime Colas des Francs
Hi all, I have a strange pb with my tomcat 4.1.29 and jstl this jsp works : %@ taglib prefix=fmt uri=http://java.sun.com/jstl/fmt; % fmt:setLocale value=en scope=session/ this one not : %@ taglib prefix=fmt uri=/tags/jstl-fmt % fmt:setLocale value=en scope=session/ (+ in web.xml taglib

RE: fmt setLocale

2003-12-09 Thread Edson Alves Pereira
Usually Standard Taglibs we get from Sun´s servers, do you have JSTL in your local machine? -- De: Maxime Colas des Francs[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: terça-feira, 9 de dezembro de 2003 13:14 Para: [EMAIL PROTECTED] Assunto:

Re: Compression 5.0.16 - web.xml or server.xml

2003-12-09 Thread Remy Maucherat
Shapira, Yoav wrote: Howdy, Yup, it would be attempted twice (if the request matches both the filter and the connector, which is the default setup). Personally I prefer the filter, as it's more portable and not tomcat-specific. I prefer the connector, since it's faster and more powerful (you get

Re: Ant install tasks

2003-12-09 Thread Remy Maucherat
Rich Garabedian wrote: Thanks everyone for your comments. Here is more detail: I'm using the build.xml directly downloaded from the tomcat 5 documentation. The install task of that build file looks like this: deploy url=${manager.url} username=${manager.username}

Re: Ant install tasks

2003-12-09 Thread Remy Maucherat
Robert D. Abernethy IV wrote: Here is what I copied from the deployer build script to my build script: !-- Compile JSPs -- jasper2 validateXml=false uriroot=${web.home} webXmlFragment=${build.home}/WEB-INF/generated_web.xml addWebXmlMappings=true outputDir=${build.home}/WEB-INF/classes

Re: Connecting to tomcat 5.0.16 via MC4J/XtremeJ

2003-12-09 Thread Remy Maucherat
Olaf Bergner wrote: I have been trying to connect to tomcat 5.0.16 via MC4J and XtremeJ - a management-console for Eclipse - in order to access tomcat's MBean server. Adapting instructins found in an article targeted at tomcat 4.1 I tried the following: 1) Edit jk2.properties under conf/ to

Confusing - Compression 5.0.16 - Filter or connector???

2003-12-09 Thread Ron Andersen
I am only using one platform and I need the best performance, since I will be compressing images. Therefore, if I use the connector compression, shall I turn the filter compression off(in web.xml). Also, does the connector(in server.xml) support the following attributes?? compression=on

Re: Tomcat5.0.16 not reading request attributes from mod_jk

2003-12-09 Thread Martin Kuba
Remy Maucherat wrote: Martin Kuba wrote: Hi, I have a problem getting request attributes (like SSL information and additional CGI variables) in Tomcat5.0.16 connected to Apache using mod_jk/1.2.5 It seems to be some problem with the new Coyote/JK2 AJP 1.3 connector, because it works in

RE: Confusing - Compression 5.0.16 - Filter or connector???

2003-12-09 Thread Shapira, Yoav
Howdy, That's not at all trivial to answer. The connector offers better performance as Remy said. How much better? I don't know. I haven't seen benchmarks, so you might want to do a few JMeter runs on your server, one with the connector compression and one with the filter. If you use one,

digest password setup

2003-12-09 Thread Ostad, James
Hi, I have installed Tomcat as usual. Now I want to use digest password with tomcat database by adding digest=MD5 to the realm. But, when I do that, how do I get back in? the original password in the tomcat-user.xml file is normal text. and during the login after the digest is setup, it is using

Re: Confusing - Compression 5.0.16 - Filter or connector???

2003-12-09 Thread Erik Wright
You will be compressing images?! :( Remember that most image formats - gif, jpeg, png, etc, are already compressed. In most cases compressing them again will only gain you 2-3% improvement if anything at all. So you will be spending time compressing for nothing. Notice that the

Re: Confusing - Compression 5.0.16 - Filter or connector???

2003-12-09 Thread Aymeric Alibert
Also, be aware of some bugs in IE with some formats: PDF - http://www.15seconds.com/issue/020314.htm I read somewhere that css and javascript files have issues too. In this case, the filter option is better since you can specify which extension to compress. Aymeric. [EMAIL PROTECTED]

RE: digest password setup

2003-12-09 Thread Vinh Tran
Simply change the password using MD5 and put it in the proper database field. The link below explains how to do this. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html#Digested%20 Passwords Vinh -Original Message- From: Ostad, James [mailto:[EMAIL PROTECTED] Sent:

Tomcat tunning

2003-12-09 Thread Schläppy Jean-Daniel
Hi all, I'm looking for some global references about the connector parameters to have the best perfomances. Something like: Site: avg response time: 20ms no processors: 2 Load: 20 c. users Tomcat ajp connector: minProcess: 5 maxProcess: 10 acceptCount: 20 I know there is no definitive

RE: Tomcat tunning

2003-12-09 Thread Shapira, Yoav
Howdy, There's not even close to a definitive answer because it's so highly dependent on your application. Yoav Shapira Millennium ChemInformatics -Original Message- From: Schläppy Jean-Daniel [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 12:08 PM To: Tomcat Users List

Re: JSP doubt

2003-12-09 Thread Rodrigo Ruiz
Edson Alves Pereira wrote: Hello folks, i made a war file and i compiled my JSP pages and create a jar file with then. My question is, do i still need to put inside my webapp ( in my case war file, but is the same ) all JSP files anyway? Because tomcat complain about them.

Apache SOAP Messaging Error (org.apache.soap.Envelope)

2003-12-09 Thread Clive Jordan
Hello, I am having a lot of difficulty getting apache SOAP messaging to work properly. It does not seem to be able to find org.soap.apache.Envelope for some reason. Sorry for the large amount of spam but I thought I'd put down as much info as possible. My environment is: Windows 2000

force JSP to recompile

2003-12-09 Thread jmorgan
Hello, My apologies if this question has already been answered. I've gone through the archives, but haven't found a suitable answer. I am running Tomcat 5 in a production environment and have set development=false and reloading=false. Occasionally, I do have to make a change to a JSP, which

Re: force JSP to recompile

2003-12-09 Thread Clive Jordan
Hi Jonathan, I have not tried on Tomcat 5, but you can force compilation as follows: http://host:8080/path/to/required/file.jsp?jsp_precompile=true Cheers, Clive [EMAIL PROTECTED] wrote: Hello, My apologies if this question has already been answered. I've gone through the archives, but

Re: force JSP to recompile

2003-12-09 Thread Jon Wingfield
it's page.jsp?jsp_precompile=true as per section JSP.8.4.2 of the JSP1.2 spec (or section JSP.10.4.2 of the JSP2.0 spec) HTH, Jon [EMAIL PROTECTED] wrote: Hello, My apologies if this question has already been answered. I've gone through the archives, but haven't found a suitable answer. I

RE: Apache SOAP Messaging Error (org.apache.soap.Envelope)

2003-12-09 Thread Shapira, Yoav
Howdy, Why are you using such an old xerces? Most apps, including tomcat and every recent SOAP handler (recent = a year at least) require a JAXP 1.1 compliant parser. From a clean install of tomcat 4.1, I've never had a problem using Apache Axis, MindElectric GLUE, or the SOAP APIs that come

Re: tomcat-5.0.16 with jsvc exists with error

2003-12-09 Thread Marten Lehmann
The jsvc name is a Linux thing, having to do with quirks in Linux permissions. You can look through the source if you really find this interesting (it's half decently documentented there :). Jsvc works on a parent-slave model. The parent sits around to see if the slave has died, and recieves

RE: Two Tomcats and One Apache Web Server

2003-12-09 Thread Michael Cardon
You can try my How-To file at http://www.cardon.biz/docs/tomcat/ Michael -Original Message- From: Galbayar [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 3:38 AM To: Tomcat Users List; Walter do Valle Subject: RE: Two Tomcats and One Apache Web Server try google Apache

RE: digest password setup

2003-12-09 Thread Ostad, James
Hi, I am putting the following command from the URL you send me to: java org.apache.catalina.realm.RealmBase \ -a {algorithm} {cleartext-password} But I am getting error of the class not found. my classpath does include the jar file. any suggestion, thanks, James -Original

Re: Apache SOAP Messaging Error (org.apache.soap.Envelope)

2003-12-09 Thread Clive Jordan
Hiya, Well, I have tried using Xerces 2.1.0 and found it made no difference so I assumed that the parser was not the problem. I'll try loading xerces 2.6 but I'm not convinced it will help. If it does, man will I be a happy bunny! Clive Shapira, Yoav wrote: Howdy, Why are you using such an

RE: JSP doubt

2003-12-09 Thread Edson Alves Pereira
Is there a tag to import these new xml file in my web.xml? -- De: Rodrigo Ruiz[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: terça-feira, 9 de dezembro de 2003 14:14 Para: Tomcat Users List Assunto: Re: JSP doubt Edson Alves Pereira

Manager App Doesn't Reload wars

2003-12-09 Thread Sleeper, Jesse
I'll give it another shot. In Tomcat 4.1.1.2, wars can be Deployed on a Hot Server for the first time but not Undeployed if there are any jars in the WEB-INF/lib directory of the app. Tomcat also does not reflect any changes in the application if Undeployed and Deployed again because the

RE: digest password setup

2003-12-09 Thread Vinh Tran
You need to set your classpath properly. Read the last line from the URL I sent you... [excerpt] To use either of the above techniques, the $CATALINA_HOME/server/lib/catalina.jar file will need to be on your class path to make the RealmBase class available. Vinh -Original Message- From:

Re: Apache SOAP Messaging Error (org.apache.soap.Envelope)

2003-12-09 Thread Clive Jordan
I have changed to use xerces 2.6.0. Same error :-( Clive Jordan wrote: Hello, I am having a lot of difficulty getting apache SOAP messaging to work properly. It does not seem to be able to find org.soap.apache.Envelope for some reason. Sorry for the large amount of spam but I thought I'd

RE: Manager App Doesn't Reload wars

2003-12-09 Thread D'Alessandro, Arthur
I pre-create my contexts within the server xml file, and point the source to the war file. I can then upgrade the war file, then stop/start the webapp from the manager application. This recreates the webapp from the new war. -Art -Original Message- From: Sleeper, Jesse [mailto:[EMAIL

Re: force JSP to recompile

2003-12-09 Thread jmorgan
Thanks for the responses. Sadly, this only seems to work if development=true, unless I am doing something wrong. Doesn't that seem a little redundant, seeing as Tomcat will always check for changes and compile when in development mode? Jonathan Jon Wingfield [EMAIL PROTECTED] 09/12/2003

  1   2   >