Re: Tomcat in a High Traffic Environment

2004-10-30 Thread Remy Maucherat
On Fri, 29 Oct 2004 16:39:36 -0700 (PDT), David Rees [EMAIL PROTECTED] wrote: Mladen Turk wrote: Yes, but the keepalive is used mainly for making the 'state' out of 'stateless' protocol, and it's main advantage is that you don't need to acquire a new connection all the time. Take a look

Re: problem with security manager, plesk and mysql (catalina.policy ignored?)

2004-10-30 Thread Alfonso Alba García
I see now where my problem can be. If I extract the war file to directory ${catalina.home}/psa-webapps/mydomain.com/myapplication/ and insert in the policy file grant codeBase file:${catalina.home}/psa-webapps/mydomain.com/myapplication/ { permission java.net.SocketPermission localhost,resolve;

Re: Return Custom Error Page from Realm

2004-10-30 Thread Tim Funk
Not really. The archives have a similar discussion. -Tim Anderson, M. Paul wrote: I've created a derived realm that performs a custom authentication scheme. I'd like to be return a custom error page when the user has attempted to login to the system 3 times and failed. The user will be locked

Filter, HttpServletResponseWrapper, ServletOutputStream PrintWriter in Tomcat 5.x

2004-10-30 Thread Giampaolo Tomassoni
Dears, I'm having troubles in doing a page hit counter Filter wrapping HttpServletResponse(s) with the purpose of obtaining the count of emitted bytes. In my specialization of the HttpServletResponseWrapper I basicly catch getOutputStream() requests wrapping the ServletOutputStream returned

Further details

2004-10-30 Thread Giampaolo Tomassoni
I got the feeling that has something to do with the JspWriter implementation of Tomcat 5.x, rather then with ServletOutputStream and PrintWriter: filtering a servlet invoking getWriter() to do its output works. It doesn't with jsp(s), which instead rely on JspWriter. In my JspWriter API doc, I

Deployment error

2004-10-30 Thread Vaishali Bhirud
Hello when I am trying to deploy my application it gives me an error as follows FAIL - Encountered exception java.io.IOException: org.xml.sax.SAXParseException: Content is not allowed in prolog. Can anyone please help me? I posted this before also. I didnt get any reply. Thanks

Re: Deployment error

2004-10-30 Thread e-Denton Subscriber
I am not sure if this is your problem, but there can be a conflict between the versions of xml in the jdk and in tomcat. jdk ones load in preference to tomcat ones. I loaded: xalan.jar xercesImpl.jar xml-apis.jar into tomcat/common/endorsed to fix my problem. Endorsed allows them to load in

How to deploy/redeploy when context.xml present

2004-10-30 Thread Allen Holub
Hi, Based on earlier discussions, I've opted to go with .war deployment. I find that my META-INF/context.xml file is not read all the time, however. (It seems to work when I do a remote deploy through the webadmin app, but not when I copy to the webapps directory. Often when I try to redeploy, I

Deploy - simple question

2004-10-30 Thread Willian Corrêa
How i configure the directory's deploy of each virtual host (virtual host configured on server.xml)? thanks -- Willian Corrêa C.O.I. - Centro de Operações e Infraestrutura Plug In Internet Corporativa http://www.plugin.com.br [EMAIL PROTECTED] Centro de Atendimento, Informação e Apoio ao

RE: Internationalization of characters --UTF8 encoding

2004-10-30 Thread Benson Margulies
Look up the base64 encoding support in the javamail API. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

context.xml deployed as folder in Tomcat 5

2004-10-30 Thread Woodchuck
hihi all, i put a context.xml file into my META-INF folder and created a war file. then i dropped the war file in to the webapps folder. but whenever TC5 auto deploys my war file, it creates a myapp.xml folder in the $CATALINA_HOME/conf/Catalina/localhost folder. it's supposed to basically

Re: Deploy - simple question

2004-10-30 Thread QM
: How i configure the directory's deploy of each virtual host (virtual : host configured on server.xml)? I'm not sure I understand this question. Are you trying to control the order of deployment? That's not possible. -QM -- software -- http://www.brandxdev.net tech news --

Re: How to deploy/redeploy when context.xml present

2004-10-30 Thread QM
On Sat, Oct 30, 2004 at 10:28:59AM -0700, Allen Holub wrote: : Based on earlier discussions, I've opted to go with .war deployment. So far, so good. ;) : find that my META-INF/context.xml file is not read all the time, : however. This is true: Tomcat doesn't compare a WAR file's

Re: context.xml deployed as folder in Tomcat 5

2004-10-30 Thread QM
On Sat, Oct 30, 2004 at 01:48:00PM -0700, Woodchuck wrote: : i put a context.xml file into my META-INF folder and created a war : file. then i dropped the war file in to the webapps folder. but : whenever TC5 auto deploys my war file, it creates a myapp.xml folder : in the

Re: context.xml deployed as folder in Tomcat 5

2004-10-30 Thread Woodchuck
it's version 5.0.27 is there a way i can tell whether it's patched with this fix or not? --- QM [EMAIL PROTECTED] wrote: On Sat, Oct 30, 2004 at 01:48:00PM -0700, Woodchuck wrote: : i put a context.xml file into my META-INF folder and created a war : file. then i dropped the war file

Re[2]: How to deploy/redeploy when context.xml present

2004-10-30 Thread Allen Holub
Hi QM, Q This is true: Tomcat doesn't compare a WAR file's META-INF/context.xml Q to its corresponding copy in Q {tomcat}/conf/{engine}/{host}/{file}.xml; Q if the latter file already exists, Tomcat ignore the former. Q If you use *only* WAR files you can use a custom Tomcat start/stop Q script

Simple - Deploy

2004-10-30 Thread Willian Corrêa
I need set the directory's deploy for an virtual host? how? Thanks -- Willian Corrêa C.O.I. - Centro de Operações e Infraestrutura Plug In Internet Corporativa http://www.plugin.com.br [EMAIL PROTECTED] Centro de Atendimento, Informação e Apoio ao cliente CAIA Local +55 51 3287 1700( Poa e

[ANN] Apache Jakarta Tomcat 5.5.4-alpha Released

2004-10-30 Thread Yoav Shapira
The Apache Jakarta Tomcat team is proud to announce the immediate availability of Tomcat 5.5.4-alpha. This build contains numerous bug fixes and other improvments, and hopefully gets us closer to the first stable 5.5 release. Release notes:

Mapping Servlets

2004-10-30 Thread Vaishali Bhirud
I am using Tomcat 5 Also I have created ant utility to build my servlets and jsp pages. I have a servlet named HelloWWW which is under src directory of (src created by ant) src/vjsp/HelloWWW.java This servlet I am mapping in web.xml file as servlet servlet-nameHelloWWW/servlet-name

Re: context.xml deployed as folder in Tomcat 5

2004-10-30 Thread QM
On Sat, Oct 30, 2004 at 02:04:01PM -0700, Woodchuck wrote: : is there a way i can tell whether it's patched with this fix or not? Yes -- search the archives and/or Bugzilla to see what version has the fix. If your version that version, well... ;) Quite frankly, the fact that you experience

Re: How to deploy/redeploy when context.xml present

2004-10-30 Thread QM
On Sat, Oct 30, 2004 at 03:47:11PM -0700, Allen Holub wrote: :1) Stop Tomcat :2) delete the .../conf/Catalina/localhost/myAPp.xml file :3) copy the new version of the .war to /webapps :4) restart tomcat That's what I do, at least. : Do I also need to delete the unpacked

Re: Mapping Servlets

2004-10-30 Thread QM
On Sat, Oct 30, 2004 at 05:41:32PM -0700, Vaishali Bhirud wrote: : I have a servlet named HelloWWW which is under src directory of : (src created by ant) : : src/vjsp/HelloWWW.java : [snip: web.xml listing] : : resource /vjsp/HelloWWW not found : : Is there something else I have to do other

How to apply CLIENT_CERT to a page

2004-10-30 Thread GaryJ
I am trying to secure a single url_pattern but get errors when I try to use CLIENT_CERT. I have a new installation of Tomcat 5.53 with no changes to the configuration except uncomment the SSL connector in server.xml. Here's what works: - An SSL connector is installed on port 443 and I get the

Re: How to apply CLIENT_CERT to a page

2004-10-30 Thread GaryJ
I solved my own problem. I should have been using CLIENT-CERT (dash not underscore). I can't believe I missed that - how embarrassing ~) - Original Message - From: GaryJ To: Tomcat Users List Sent: Saturday, October 30, 2004 6:37 PM Subject: How to apply CLIENT_CERT to a page I am

Problems loading application Blojsom via ModJK2

2004-10-30 Thread Samuel V . Green III
I'm including a link with my current configuration of apache2 and Tomcat 5 and Blojsom 2.19. Basically, the blojsom app loads locally correctly but it is not loading correctly to the internet. I'm hoping a Tomcat user can take a look and tell me what I'm doing wrong? Config help:

Re: Mapping Servlets

2004-10-30 Thread Vaishali Bhirud
ant builds servlets and jsps everything. That is why I have mentioned that I am using ant to build my application. Thanks, : I have a servlet named HelloWWW which is under src directory of : (src created by ant) : : src/vjsp/HelloWWW.java : [snip: web.xml listing] : : resource