Re: tomcat server start up without looking dependency jars

2009-12-06 Thread ahmed kasim
Hi thanks a lot for your response and valuable inputs. I want to avoid looking of that classes during server startup, my requirement is, specified classes/properties should lookup only when my war file deployed. many thanks, Kasim From: Jorge Medina

Re: Security Query.

2009-12-06 Thread Juha Laiho
R. S. Patil wrote: Thanks Chuk, In some discussion i heard that the WEB-INF contents can not be accessed from Internet at all. The servlet spec requires that the servlet container (Tomcat) prevent direct access to WEB-INF. How far this is true ? Completely, as far as Tomcat is concerned.

Re: Security Query.

2009-12-06 Thread R. S. Patil
Thanks Juha, Yes, context root will be served, as will be other folders under context root. WEB-INF and its subfolders are safe, from the container (Tomcat) point-of-view. Note however, that you as web application developer can break this safety mechanism: a servlet can be programmed to

Re: Control character in cookie value

2009-12-06 Thread itay sahar
Hi Andre, please see below input and output of: protected String encodeToken(String username, String value) { StringBuilder sb = new StringBuilder(); sb.append(username); sb.append(:); sb.append(value); return Base64.encodeBytes(sb.toString().getBytes()); } Input

mod_proxy tomcat6 question

2009-12-06 Thread groupalias v
Hi, Hope this is not off-topic on this list. I am new to tomcat and have recently set up the bridge between apache and tomcat. I am able to access the pages if I access them directly. But when one servlet forwards the request to another I get an error. For example here is what I have in my

Re: mod_proxy tomcat6 question

2009-12-06 Thread André Warnier
groupalias v wrote: Hi, Hope this is not off-topic on this list. In the principle, it is not. But what is getting close to off-topic, is being confusing in your explanations, to the point of making people wonder what exactly you are trying to achieve. What exactly is the layout below your

RE: Tomcat Crashes out of continuous servicing of stuck request

2009-12-06 Thread Hadole, Nishant IN BOM SISL
Dear Chris, Tomcat crashes means, the free memory starts declining dramatically to zero, and server stops responding to new requests. I am sure with little modifications, this can be handled in code itself, and this is not a concern at all. I am more interested in knowing whether there exists

Apache Tomcat Windows Installer Insecure Password Vulnerability

2009-12-06 Thread Saw Chee Hong
I seen this at one of apache website. *[Summary]* Apache Tomcat is prone to an insecure-password vulnerability in the Windows installer. The administrative password defaults to a blank password during the install process. Attackers may exploit this issue to obtain administrative access to the

Publishing Java webservice - tomcat 5.5 shared hosting

2009-12-06 Thread Abdul Raheem Seyed (NDC IST)
Hi, We have requirement to host a webservice in a shared tomcat 5.5 webhosting environment ( virtual server ). The hosting company doesn't provide access to tomcat Manager as it's shared web hosting. Can some one tell how we can deploy a java webservice in tomcat 5.5. We have access to

RE: Publishing Java webservice - tomcat 5.5 shared hosting

2009-12-06 Thread Gerwood Stewart
I'd first check your hosting providers policy on webservices etc. Do you develop the context /webapps/mywebsite? Can you fully redeploy it or modify it? Can you ask for it to be restarted? Gerwood Stewart Senior Programmer/System Administrator Information Technology Directory Armidale NSW

RE: Publishing Java webservice - tomcat 5.5 shared hosting

2009-12-06 Thread Abdul Raheem Seyed (NDC IST)
Hi, Thanks for looking in to my question. 1) Web hosting provider doesn't have any defined policy as such. 2) No, the context was developed and configured by the provider. We have only ftp access to the /webapps/mywebsite folder. So, we can not redeploy it. 3) Yes, We can request for a restart

RE: Publishing Java webservice - tomcat 5.5 shared hosting

2009-12-06 Thread Karthik Nanjangude
Hi One Quick Hack is Open Web.xml make some temp modification (probably the Description) and save the file This automatically restarts the Web Application With regards Karthik -Original Message- From: Abdul Raheem Seyed (NDC IST) [mailto:ase...@ndc.ae] Sent: Monday, December 07,

RE: Publishing Java webservice - tomcat 5.5 shared hosting

2009-12-06 Thread Hadole, Nishant IN BOM SISL
The changes in web.xml will cause instant restart Only due to TRUE value for parameter autoDeploy in server.xml. Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=falsexmlNamespaceAware=false / With best regards, Nishant Hadole -Original Message-

Re: Tomcat 6.0.16 + mod_jk 1.2.19 - request threads hanging up

2009-12-06 Thread Nishant Hadole
Dear Ale, I am interested in solution of issue mentioned, as we are having similar one. Did the upgrade resolves the issue? Alessandro Bahgat wrote: On Wed, Nov 18, 2009 at 3:26 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Alessandro Bahgat