Re: Tomcat 9.0.36 - JDK 13/14

2020-06-29 Thread Kiran Badi
tion; @SpringBootApplication public class SpringwarApplication { public static void main(String[] args) { SpringApplication.run(SpringwarApplication.class, args); } } On Mon, Jun 29, 2020 at 4:57 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MES

Re: Tomcat 9.0.36 - JDK 13/14

2020-06-26 Thread Kiran Badi
some error saying major.minor version exception or something like that in some logs somewhere which java often throws in these cases. Any ways we are good to go now. Thanks for your reply. On Fri, Jun 26, 2020 at 6:34 AM Mark Thomas wrote: > On 26/06/2020 05:45, Kiran Badi wrote: > &g

Tomcat 9.0.36 - JDK 13/14

2020-06-25 Thread Kiran Badi
Hi All, I wanted to check if tomcat 9.0.36 supports open jdk 13/14. I created a simple spring boot war file and compiled/built it with openjdk 13/14. After running maven install , I deployed the war file from the target directory to tomcat webapps using tomcat manager. It did not work and gave

Re: Amazon EC2 Tomcat 7.0.85 not starting up due to some memory issue .Please mask if

2018-05-17 Thread Kiran Badi
compromise your server. But I wonder > about the application you run on you Tomcat and if you know about the > wide-used exploit in the Java JSF library "Primefaces" (see > https://www.exploit-db.com/exploits/43733/). > > With greetings > > Guido > > >--

Re: Amazon EC2 Tomcat 7.0.85 not starting up due to some memory issue .Please mask if

2018-05-16 Thread Kiran Badi
a look at all the files I have attached in the drive. Please let me know if more information is needed. On Wed, May 16, 2018 at 11:09 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Kiran, > > O

Amazon EC2 Tomcat 7.0.85 not starting up due to some memory issue

2018-05-15 Thread Kiran Badi
Hi All, For some reason my application hosted on ec2 is just not starting up. I know I never had any memory issues in last 1 year or so. I see below trace in catalina.out file. I am not sure if I need to add swap space or file permission is an issue here. Something changed in ec2 that is causing

Re: Tomcat 7.082 not starting in EC2 after doing yum update

2017-10-26 Thread Kiran Badi
Let me check logs tomorrow for finer details. Thanking you Kiran Badi I will On Thu, Oct 26, 2017 at 11:03 PM, Kiran Badi <ki...@poonam.org> wrote: > Hi, > > Couple of hours(3 hrs) back I did yum update to install 7.0.82 version to > install latest security patch. > &

Tomcat 7.082 not starting in EC2 after doing yum update

2017-10-26 Thread Kiran Badi
: line 40: /usr/share/tomcat7/logs/catalina.out: Permission denied and permissions I have on this folder is drwxr-xr-x 2 ec2-user ec2-user 12288 Oct 27 02:07 /usr/share/tomcat7/logs/ Thanking you Kiran Badi

Re: Context Dependency Injection with Tomcat 7.0 x / 8.0 x

2016-10-10 Thread Kiran Badi
the client I have has few legacy projects and I need to see if I can suggest them spring. Weld and openbeans seems to be good option I can explore.Thanks On Thu, Oct 6, 2016 at 6:02 AM, Mark Eggers <its_toas...@yahoo.com.invalid> wrote: > Kiran, > > On 10/5/2016 5:15 PM, Kiran Badi wr

Context Dependency Injection with Tomcat 7.0 x / 8.0 x

2016-10-05 Thread Kiran Badi
Hi All, I wanted to check if their is a way to do CDI with Tomcat for 7x and 8x version as per JEE spec ? I have a project for which I wanted to use CDI the way spring does it. Appreciate if someone can suggest something. - Kiran

Re: request.getParameter and special characters - Apache Tomcat/7.0.57 on win 7

2016-05-18 Thread Kiran Badi
:38 AM, Mark Thomas <ma...@apache.org> wrote: > On 18/05/2016 04:25, Kiran Badi wrote: > > Hi , > > > > I have this link in jsp which has below tags, > > > > <%@page contentType="text/html" pageEncoding="UTF-8"%> > > > > T

request.getParameter and special characters - Apache Tomcat/7.0.57 on win 7

2016-05-17 Thread Kiran Badi
testingServlet TestServlet at testing I really need to understand as what characters are accepted and what characters get truncated with getParameter. I am building few links on the fly which might have space,backslashes, comma and & characters in it.So wanted to understand should I encode it via js or container can take care of those for me. container connector setting has URIEncoding="UTF-8" settings. Thanking you Kiran Badi

Re: Tuckey Rewrite URL and infinite loop exception trace for Tomcat 7.0.57

2016-04-25 Thread Kiran Badi
I resolved it.My bad, to and from rule were having same url mapping and I feel thats the reason it filter was recursively called and finally resulting into stackoverflow error. On Mon, Apr 25, 2016 at 7:02 PM, Kiran Badi <ki...@poonam.org> wrote: > Hi, > > I am having some issu

Tuckey Rewrite URL and infinite loop exception trace for Tomcat 7.0.57

2016-04-25 Thread Kiran Badi
Hi, I am having some issues with Tuckey Rewrite URL/Tomcat 7.0.57 and for some reasons I believe I am not getting it correct. It seems to me that I am getting into infinite loop somewhere.Not sure why but conditions do match. Hello World! This is a link I am trying to clean it. Below is test

Re: File size >= 2GB not uploaded in application [Tomcat 7.0.54 Struts: 2.3.24 JAVA: openJDK 1.7.79]

2016-01-18 Thread Kiran Badi
40 AM, Christopher Schultz < > ch...@christopherschultz.net <javascript:;>> wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Kiran, > > > > On 1/18/16 1:33 AM, Kiran Badi wrote: > > > Did you exclude your upload servlet fr

Re: File size >= 2GB not uploaded in application [Tomcat 7.0.54 Struts: 2.3.24 JAVA: openJDK 1.7.79]

2016-01-17 Thread Kiran Badi
Did you exclude your upload servlet from struts.xml ? By default struts intercepts all multi part requests and this messes a lot specially when you have hybrid framework when few modules are plain j2ee and few are struts 2 or Spring MVc in the same app. Are you upload less than 2gb file ? On

Re: Tomcat Session issue - Session not expiring on browser close event

2015-09-19 Thread Kiran Badi
Thanks Chris, Let me check user guide and come back. On Fri, Sep 18, 2015 at 11:26 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Kiran, > > On 9/17/15 11:11 PM, Kiran Badi wrote: > > Thanks Ch

Re: Tomcat Session issue - Session not expiring on browser close event

2015-09-17 Thread Kiran Badi
D MESSAGE- > Hash: SHA256 > > Kiran, > > On 9/13/15 8:40 PM, Kiran Badi wrote: > >> Perhaps you should think about using a leaner session, and then > >> sessions living for longer than necessary won't be such a big > >> problem > > > > What do y

Re: Tomcat Session issue - Session not expiring on browser close event

2015-09-13 Thread Kiran Badi
is not doing anything on the site or I need to adjust my timeout value ? On Wed, Sep 9, 2015 at 9:34 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Kiran, > > On 9/7/15 12:54 PM, Kiran Badi wrote: > &g

Tomcat Session issue - Session not expiring on browser close event

2015-09-07 Thread Kiran Badi
it via ajax means injecting that code in all my jsp's and have lot many. Thanking you Kiran Badi

Re: doDelete Servlet

2015-09-07 Thread Kiran Badi
Yup I solved this , just not deleting anything, I am not just setting flag to yes or no. Thanks Chris. On Fri, Sep 4, 2015 at 3:44 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Kiran, > > On 9/

Re: Dynamically Create Subdomains - Tomcat 7x

2015-09-04 Thread Kiran Badi
On Fri, Sep 4, 2015 at 3:34 AM, André Warnier (tomcat) <a...@ice-sa.com> wrote: > On 04.09.2015 05:31, Kiran Badi wrote: > >> Hi, >> >> I need some help, I need to create subdomains dynamically, Is this >> possible >> ? >> >> I have a si

Re: Dynamically Create Subdomains - Tomcat 7x

2015-09-04 Thread Kiran Badi
Let me try again Chris, I have this site www.mysite.com ready with some x amount of features in it Now I need to customize this site based on regions,states, and cities.I will most likely go with cities. So I need my main site to redirect to city1.mysite.com etc based on cookie value which

Re: Dynamically Create Subdomains - Tomcat 7x

2015-09-04 Thread Kiran Badi
, 2015 at 1:49 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Kiran, > > On 9/4/15 12:25 PM, Kiran Badi wrote: > > Let me try again Chris, I have this site www.mysite.com ready with > > some x

doDelete Servlet

2015-09-04 Thread Kiran Badi
Hi , I have CRUD Multipart request and I have implemented it correctly works fine at my local host. I have upload upload pdf and tiff files, all this implemented via ajax call using onchange handler on file input multiple tag. The challenge I am having is that doDelete just deletes the file

Dynamically Create Subdomains - Tomcat 7x

2015-09-03 Thread Kiran Badi
Hi, I need some help, I need to create subdomains dynamically, Is this possible ? I have a site, www.mymainsite.com on this main site, I drop the zipcode and city cookie and then I forward it to front controller, and it's this front controller which will point it to city subdomain. Can we

Re: Tomcat 7.0.27 and Tomcat 7.0.50 - Valve - Dead thread and Crawlers

2015-07-19 Thread Kiran Badi
yes its StuckThreadDetectionValve for Tomcat 7.0.27. I made the change and its working fine now.Thanks On Sat, Jul 18, 2015 at 4:29 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kiran, On 7/17/15 10:35 AM, Kiran Badi wrote: I

Re: Tomcat 7.0.27 and Tomcat 7.0.50 - Valve - Dead thread and Crawlers

2015-07-18 Thread Kiran Badi
Hah thanks Kolinko ,I will try it today and provide update. On Saturday, July 18, 2015, Konstantin Kolinko knst.koli...@gmail.com wrote: 2015-07-17 18:35 GMT+03:00 Kiran Badi ki...@poonam.org javascript:;: Hi I wanted to check if this setting in Server.xml is still valid, Valve

Tomcat 7.0.27 and Tomcat 7.0.50 - Valve - Dead thread and Crawlers

2015-07-17 Thread Kiran Badi
Hi I wanted to check if this setting in Server.xml is still valid, Valve className=org.apache.catalina.valves.CrawlerSessionManagerValve crawlerUserAgents=*[bB]ot.*|.*Yahoo! Slurp.*|.*Feedfetcher-Google.*. sessionInactiveInterval=180/ Valve className= org.apache.catalina.valves.

Re: Tomcat - OOM Perm gen

2015-07-12 Thread Kiran Badi
...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kiran, On 7/5/15 10:24 AM, Kiran Badi wrote: Sorry for taking time to reply Chris. Christopher Schultz wrote: Are you periodically hot-re-deploying your application in production? If so, you may want to stop

Re: why is Tomcat 7 invoking WebSocket protocol?

2015-07-05 Thread Kiran Badi
Thanks Charles for clarification. On Tue, Jun 30, 2015 at 12:47 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Kiran Badi [mailto:ki...@poonam.org] Subject: Re: why is Tomcat 7 invoking WebSocket protocol? I know for sure I am not using websockets in my application

Re: Tomcat - OOM Perm gen

2015-07-05 Thread Kiran Badi
, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kiran, On 6/29/15 10:21 AM, Kiran Badi wrote: Christopher Schultz wrote: The number of users shouldn't impact your PermGen space. Perhaps only once you get to that stage are you hitting

Re: why is Tomcat 7 invoking WebSocket protocol?

2015-06-30 Thread Kiran Badi
Hi Mark, Sorry to jumping in But even I have seen this in few of my exception traces though I never use websockets.Some where down the line when exception is thrown wsfilter shows up in traces.I am guessing it should be some kind of exception filter so it bubbles up for exception types

Re: why is Tomcat 7 invoking WebSocket protocol?

2015-06-30 Thread Kiran Badi
. Sorry to jump in, and to top-post, and maybe make an irreverential comment : But maybe the solution consists simply in renaming that filter, so that it does not give the mistaken impression that the WebSocket protocol is necessarily being used ? Kiran Badi wrote: Hi Mark, Sorry to jumping

Re: Tomcat - OOM Perm gen

2015-06-29 Thread Kiran Badi
AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kiran, On 6/25/15 6:32 PM, Kiran Badi wrote: I have 2 web apps sitting on single tomcat instance, App A( Classic JSP/Servlet/jstl/velocity App) and App B (Struts2 based app

Tomcat - OOM Perm gen

2015-06-25 Thread Kiran Badi
Hi All, I have 2 web apps sitting on single tomcat instance, App A( Classic JSP/Servlet/jstl/velocity App) and App B (Struts2 based app). Now I have added S2 to App A and trying to fix some bad code in it with it.But after making this change I keep getting out of OOM issues once user count

Re: Tomcat 7.0.57 - Deployment Issue

2015-05-13 Thread Kiran Badi
, 2015 at 11:17 AM, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: -Original Message- From: Kiran Badi [mailto:ki...@poonam.org] Sent: Tuesday, May 12, 2015 9:30 PM To: Tomcat Users List Subject: Re: Tomcat 7.0.57 - Deployment Issue Thanks Hassan/Prabhu/Charles for reply. I

Re: Tomcat 7.0.57 - Deployment Issue

2015-05-12 Thread Kiran Badi
/Engine /Service /Server On Tue, May 12, 2015 at 7:43 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Kiran Badi [mailto:ki...@poonam.org] Subject: Re: Tomcat 7.0.57 - Deployment Issue for some reasons it's not going well. Its getting deployed as single app

Re: Tomcat 7.0.57 - Deployment Issue

2015-05-11 Thread Kiran Badi
] java.net.BindException: Address already in use null:17701 On Fri, May 8, 2015 at 10:09 PM, Kiran Badi ki...@poonam.org wrote: Thanks Hassan. I will let you know. On Fri, May 8, 2015 at 9:50 PM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Fri, May 8, 2015 at 6:14 PM, Kiran Badi ki

Re: Tomcat 7.0.57 - Deployment Issue

2015-05-08 Thread Kiran Badi
Thanks Hassan. I will let you know. On Fri, May 8, 2015 at 9:50 PM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Fri, May 8, 2015 at 6:14 PM, Kiran Badi ki...@poonam.org wrote: Here is server.xml I am going to try in this weekend. I have added host tags inside the engine element

Re: Tomcat 7.0.57 - Deployment Issue

2015-05-08 Thread Kiran Badi
;%rquot; %s %b / /Context /Host /Engine /Service /Server On Thu, May 7, 2015 at 10:46 PM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Thu, May 7, 2015 at 7:24 PM, Kiran Badi ki...@poonam.org wrote: www.webapp1.com Now I have another webapp2. which I need

Tomcat 7.0.57 - Deployment Issue

2015-05-07 Thread Kiran Badi
Hi All, I need some help with my situation here. I have private tomcat with hosting provider which allows me to deploy unlimited domains/sites. Now I have 1 web application deployed to that tomcat at the root folder. Lets call this app as webapp1. I just rename webapp1.war to ROOT.war and drop

Re: My problem: I cannot successfully get or set a session attribute from a JSP file.

2014-12-08 Thread Kiran Badi
I agree with Terence check if request is indeed getting fire. Add couple of alerts to jquery call. You can also check if value is getting added to session via tomcat manager admin interface , I remember there is option to see session values /attributes over there. On Monday, December 8, 2014,

Re: INFO: TLD skipped Messages in logs

2014-10-29 Thread Kiran Badi
Thanks Mark On Tuesday, October 28, 2014, Mark Thomas ma...@apache.org wrote: On 28/10/2014 00:59, Kiran Badi wrote: Hi Can someone reply to this query please. On 10/2/2014 8:10 PM, Kiran Badi wrote: Hi, I am getting below messages in the logs, Oct 26, 2014 4:05:46 PM

Re: INFO: TLD skipped Messages in logs

2014-10-27 Thread Kiran Badi
Hi Can someone reply to this query please. On 10/2/2014 8:10 PM, Kiran Badi wrote: Hi, I am getting below messages in the logs, Oct 26, 2014 4:05:46 PM org.apache.catalina.startup.TaglibUriRule body INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined Oct 26, 2014 4:05

INFO: TLD skipped Messages in logs

2014-10-26 Thread Kiran Badi
to understand if this messages are related to duplicate jstl jar or something else . - Kiran Badi - - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Struts 2 /Glassfish to Tomcat migration

2014-10-18 Thread Kiran Badi
Thanks Chris. I was able to fix the issue. On Fri, Oct 3, 2014 at 10:52 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kiran, On 10/3/14 8:02 PM, Kiran Badi wrote: Thanks Chris for replying.I did resolve the 404 issue,it's

Re: Struts 2 /Glassfish to Tomcat migration

2014-10-03 Thread Kiran Badi
/2/14 9:59 PM, Kiran Badi wrote: I am migration my glassfish struts 2 based application to Tomcat 7.055. I am coming across 2 issues, first one is below exception while starting Tomcat java.lang.UnsatisfiedLinkError: C:\Apache Software Foundation\apache-tomcat-7.0.55\bin\tcnative-1

Struts 2 /Glassfish to Tomcat migration

2014-10-02 Thread Kiran Badi
I am migration my glassfish struts 2 based application to Tomcat 7.055. I am coming across 2 issues, first one is below exception while starting Tomcat java.lang.UnsatisfiedLinkError: C:\Apache Software Foundation\apache-tomcat-7.0.55\bin\tcnative-1.dll: Can't load IA 64-bit .dll on a AMD 64-bit

Re: Deploy application as Root

2014-09-14 Thread Kiran Badi
Thanks Sergio, I will give this approach a shot for next deployment. On Fri, Sep 12, 2014 at 2:31 AM, Sergio Fernández wik...@apache.org wrote: Hi, On 12/09/14 04:22, Kiran Badi wrote: This will be basically myapp2.war ,so how do I manage this deployment so that whenever someones gives

Re: Deploy application as Root

2014-09-14 Thread Kiran Badi
? All web applications are unpacked to appBase folder. Work folder is internal Tomcat folder. On 12.9.2014 4:22, Kiran Badi wrote: However I have another application which I will be deploying in the same tomcat. This will be basically myapp2.war ,so how do I manage this deployment so

Re: Deploy application as Root

2014-09-11 Thread Kiran Badi
Blagojevic ognjen.d.blagoje...@gmail.com wrote: Kiran, On 11.9.2014 5:52, Kiran Badi wrote: I am trying to deploy application as ROOT.war in tomcat 7.50 provided by hosting service provider, but for some reasons I get below message FAIL - War file ROOT.war cannot be uploaded if context

Re: Deploy application as Root

2014-09-11 Thread Kiran Badi
.com, it should open up ? I assume we cannot have 2 root deployment in the same tomcat. On Thu, Sep 11, 2014 at 9:29 PM, Kiran Badi ki...@poonam.org wrote: Ok I made the changes, and trying. Andre, I tried your approach, it still same error.Making changes to server xml now. Pointing appBase

Deploy application as Root

2014-09-10 Thread Kiran Badi
Hi, I am trying to deploy application as ROOT.war in tomcat 7.50 provided by hosting service provider, but for some reasons I get below message FAIL - War file ROOT.war cannot be uploaded if context is defined in server.xml I have below in server xml, Host name=Myapp.com appBase=path to

Re: Tomcat-user versus StackOverflow

2014-03-14 Thread Kiran Badi
I think I prefer to stay with Tomcat users list. Problem with SO is that they close the questions without the second thought.Its becoming more of kind of dictatorship. Too generic , close it and too easy, flame the poster altitude. Again I don't have any issues with SO and I did receive lot of

Re: Encountered exception org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext for tomcat 7.0.50

2014-02-06 Thread Kiran Badi
, Feb 6, 2014 at 2:37 PM, Mark Thomas ma...@apache.org wrote: On 06/02/2014 03:32, Kiran Badi wrote: Hi All, I have 3 tomcats installed in my machine, one is 7.0.27, 7.0.35 and 7.0.50 Now when I deploy my war file to 7.0.27/7.0.35 it works perfectly fine and deployment goes

Encountered exception org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext for tomcat 7.0.50

2014-02-05 Thread Kiran Badi
Hi All, I have 3 tomcats installed in my machine, one is 7.0.27, 7.0.35 and 7.0.50 Now when I deploy my war file to 7.0.27/7.0.35 it works perfectly fine and deployment goes through. But on 7.0.50 it fails with below message, FAIL - Application at context path /myapp could not be started FAIL

Re: Trying to install tomcat 7.0.35 but after installation it shows me as Apache Tomcat 7.0.2

2013-01-23 Thread Kiran Badi
My bad, I removed 7.0.2 instance by using service.bat uninstall from cmd prompt and now I am not able to install updated one. getting the below message.Do I need to set environment variables, I dont remember setting it earlier for any of version I had installed. Microsoft Windows [Version

Re: Trying to install tomcat 7.0.35 but after installation it shows me as Apache Tomcat 7.0.2

2013-01-23 Thread Kiran Badi
Resolved and I am good now.Updated to 7.0.35. Thanks Chris On Wed, Jan 23, 2013 at 3:54 PM, Kiran Badi ki...@poonam.org wrote: My bad, I removed 7.0.2 instance by using service.bat uninstall from cmd prompt and now I am not able to install updated one. getting the below message.Do I need

Trying to install tomcat 7.0.35 but after installation it shows me as Apache Tomcat 7.0.2

2013-01-22 Thread Kiran Badi
Hi All, From this link, http://tomcat.apache.org/download-70.cgi I downloaded the Tomcat 7.0.35 from core binary distribution.32-bit Windows ziphttp://www.motorlogy.com/apache/tomcat/tomcat-7/v7.0.35/bin/apache-tomcat-7.0.35-windows-x86.zip

RE: Trying to install tomcat 7.0.35 but after installation it shows me as Apache Tomcat 7.0.2

2013-01-22 Thread Kiran Badi
in different directories.I will paste the screen to marrow as and will rechech once again. On Jan 22, 2013 11:52 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Kiran Badi [mailto:ki...@poonam.org] Subject: Trying to install tomcat 7.0.35 but after installation it shows me

RE: Trying to install tomcat 7.0.35 but after installation it shows me as Apache Tomcat 7.0.2

2013-01-22 Thread Kiran Badi
Also I see version number 7.0.2 in welcome page. On Jan 22, 2013 11:52 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Kiran Badi [mailto:ki...@poonam.org] Subject: Trying to install tomcat 7.0.35 but after installation it shows me as Apache Tomcat 7.0.2 I downloaded

[OT]- MYSQL + Tomcat + Apache + Java Hosting in India

2012-10-03 Thread Kiran Badi
that they do not support java or tomcat. Thanks Kiran Badi - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Where do I store Images in tomcat structure so that I can retrive it properly in all browsers

2012-09-22 Thread Kiran Badi
On 9/17/2012 10:20 PM, Christopher Schultz wrote: If you instead implemented your own aliases feature using a servlet, you could do it in a smarter way because you understand your own URL space: you might always know that /images/X will translate directly into /file/place/on/the/disk/X and you

Re: Where do I store Images in tomcat structure so that I can retrive it properly in all browsers

2012-09-13 Thread Kiran Badi
/beans. Thanks Chris and Konstantio for replies.Currently I am on 7.027/7.011 and maybe after some days, I will upgrade to 7.030 or still better have one more TC for testing purpose. - Kiran Badi - To unsubscribe, e-mail

Re: Where do I store Images in tomcat structure so that I can retrive it properly in all browsers

2012-09-11 Thread Kiran Badi
On 9/8/2012 4:09 PM, Konstantin Kolinko wrote: Regarding the aliases feature: single path - multiple file paths: No multiple different non-intersecting paths - multiple file paths: Yes As far as I remember, an example of using multiple aliases is present in documentation. Thanks Konstantin,

Re: Where do I store Images in tomcat structure so that I can retrive it properly in all browsers

2012-09-08 Thread Kiran Badi
Thanks Konstantin, I will check this and revert back. On 9/8/2012 4:09 PM, Konstantin Kolinko wrote: 2012/9/8 Kiran Badi ki...@poonam.org: Hi Chris and All, I hope its alright if I reopen my old thread since I want to expand my earlier requirement. I have a requirement where for each

Re: Where do I store Images in tomcat structure so that I can retrive it properly in all browsers

2012-09-07 Thread Kiran Badi
, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, On 6/5/12 1:31 AM, Kiran Badi wrote: After playing around for a day, this is another solutions which worked for me, Context aliases=/UploadedImages=c:/UploadedImages/Context with Tomcat 7.0.11 in context.xml Good, except

Re: [OT] Re: Warning: js modified in the future- not able to find the files

2012-08-08 Thread Kiran Badi
inside the app war file did not get impacted. Using that war file I was able to recover the library.Maybe its just my good luck. Probably since library was inside war file, it did not get impacted. Strange issue. On 8/5/2012 1:35 PM, Pid wrote: On 01/08/2012 04:35, Kiran Badi wrote: Hi All, I

Warning: js modified in the future- not able to find the files

2012-07-31 Thread Kiran Badi
Hi All, I have TC 7.0.11/7.0.27 and Apache 2.2 all sitting in the C://Program Files/Apache Software Foundation folder. I came across a strange issue today where in close to 10+ Javascript files were missing from the folder. Below is the way I do things I use dreamweaver for designing the

Re: Happy Birthday, Chuck!

2012-07-27 Thread Kiran Badi
please accept my best wishes. chuck. On Jul 27, 2012 3:19 AM, Leon Rosenberg rosenberg.l...@gmail.com wrote: Maybe a little bit late, but still! Happy Birthday Chuck! Leon On Thu, Jul 26, 2012 at 10:46 PM, Rainer Jung rainer.j...@kippdata.de wrote: On 26.07.2012 15:46, Gregor S. wrote:

Logging framework for Tomcat -Exceptions

2012-07-11 Thread Kiran Badi
Hi, I have below code for catching DAO exceptions,but I feel its not correct way to do this,Can some one point me to some library which will capture all exceptions which my code will throw and works with tomcat. I implementing Model2 mvc pattern and to my surprise I am able to show values to

Re: Logging framework for Tomcat -Exceptions

2012-07-11 Thread Kiran Badi
On 7/12/2012 7:20 AM, Tim Watts wrote: No offense, but this really isn't a list for teaching Java. But what the hell, I'll make one exception: public class DAOException extends Exception { public DAOException(String msg) { super(); } public

Re: Tomcat DBCP Connection pool issue

2012-06-28 Thread Kiran Badi
On 6/27/2012 8:35 PM, Christopher Schultz wrote: 100 active db connections sounds like a lot. Do you really need to support 100 simultaneous connections to your database? Can your database support that many connections with active queries from each? Do you have a cluster? Remember that each

Re: Tomcat DBCP Connection pool issue

2012-06-26 Thread Kiran Badi
On 6/26/2012 12:09 PM, Steven Sinclair wrote: You can use java jmx console to monitor the number of db connections. Thanks Steven, I will check this.Actually servlet was leaking connection and I had forgot to close connection.Fixed it now. But I still need to monitor DB side.I will check jmx

Re: Tomcat DBCP Connection pool issue

2012-06-26 Thread Kiran Badi
Probably waited too long for a connection. What does your pool configuration look like? Look in META-INF/context.xml or, I suppose, in conf/server.xml for Resource elements. Resource name=jdbc/mysitedb auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30

Tomcat DBCP Connection pool issue

2012-06-25 Thread Kiran Badi
Hi All, While testing the pagination links ,I am getting below error, SEVERE: null org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object at org.apache.tomcat.dbcp.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:114)

Re: Javamail exception in tomcat 7.0.11

2012-06-19 Thread Kiran Badi
On 6/19/2012 11:23 AM, Tim Watts wrote: I have send mail servlet, which looks something like below, protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String emailRecipient = request.getParameter(name);

Re: Javamail exception in tomcat 7.0.11

2012-06-19 Thread Kiran Badi
On 6/19/2012 9:55 PM, Pid * wrote: Unfortunately you've completely omitted the code for setting the session object, so we can only guess why it's not working. Yup Pid, I realized it later on when Tim highlighted it.Its fixed now.Thanks I am able to send mail comfortably.

Re: Protect JSP from Direct Access in Tomcat 7.0.xx

2012-06-19 Thread Kiran Badi
Yup done this Sharon.Thanks On 6/19/2012 2:03 PM, Sharon Prober (sprober) wrote: You could always position your jsp's inside the WEB-INF dir This will enable you to access them only through server redirects rather than absolute url's Sharon -Original Message- From: Kiran

Re: Javamail exception in tomcat 7.0.11

2012-06-19 Thread Kiran Badi
On 6/19/2012 11:09 PM, Mark Eggers wrote: If I remember correctly, you're using NetBeans. There are at least two ways of removing the JAR from the packaging without impacting your project. If you're using the NetBeans standard build mechanism: 1. Go to Project-Properties-Libraries 2. Uncheck

Protect JSP from Direct Access in Tomcat 7.0.xx

2012-06-18 Thread Kiran Badi
Hi All, I need your guidance again.I have bunch of JSP's close to 100+ which I need to protect it from direct access. I have this mapping in web xml and this is not working,It seems that probably i need to define a role first and then use below settings.But unfortunately my app is open

Re: Protect JSP from Direct Access in Tomcat 7.0.xx

2012-06-18 Thread Kiran Badi
On 6/19/2012 8:03 AM, Tim Watts wrote: Hi Kiran, On Tue, 2012-06-19 at 05:40 +0530, Kiran Badi wrote: Hi All, I need your guidance again.I have bunch of JSP's close to 100+ which I need to protect it from direct access. By direct access do you mean that http://host/myapp/sample.jsp

Javamail exception in tomcat 7.0.11

2012-06-18 Thread Kiran Badi
Hi All, I have send mail servlet, which looks something like below, protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String emailRecipient = request.getParameter(name); // String emailRecipient = xxx;

Re: Protect JSP from Direct Access in Tomcat 7.0.xx

2012-06-18 Thread Kiran Badi
On 6/19/2012 10:22 AM, Tim Watts wrote: Hopefully, you're trying to use or move toward the MVC (Model, View, Controller) pattern. If not, you should. Google MVC design pattern. There are many, many frameworks that will make this easier for you (once you learn them): Struts, Spring MVC... If

Re: URL Rewriting

2012-06-15 Thread Kiran Badi
Why are you so eager to remove the ids from the URL? Thanks Chris for reply,It was looking ugly thats the reason.Anyways, now that I have fixed most of gaps, I think I should be fine with this. - To unsubscribe, e-mail:

Re: URL Rewriting

2012-06-15 Thread Kiran Badi
on hold though point d is something I can experiment with. Give me sometime to think about to redesign this piece of code. On 6/15/2012 3:53 AM, André Warnier wrote: Kiran Badi wrote: Please inline for my answers Andre. Kiran, Why does that id=17 visible in the URL bother you ? Is it because

Re: URL Rewriting

2012-06-13 Thread Kiran Badi
Please inline for my answers Andre. Kiran, Why does that id=17 visible in the URL bother you ? Is it because of some security aspect ? (that the user could change it, and get something else than what they should be getting ?) Thanks for reminding this aspect.I was not checking for empty

Re: URL Rewriting

2012-06-13 Thread Kiran Badi
Thanks Hassan. If you want 'clean' URLs you should get rid of the '.jsp' too, but ... The bottom line is the value for 'id' needs to come from somewhere. Your choices are: 1) Embed it in the URL for GET requests, either via query string or as path info (e.g. /story/data/17 ) and handle

URL Rewriting

2012-06-12 Thread Kiran Badi
Hi All, For some of the functionality, I have url in the below format http://localhost:8080/mysite/getmyservice.do?id=17 What I was looking for is to hide the id part of the url and just show something like http://localhost:8080/mysite/getmyservice.do# Is this hack possible with tomcat

Re: URL Rewriting

2012-06-12 Thread Kiran Badi
are showing up with urls as http://localhost:8080/mysite/getmyservice.do?id=17 and I just need to hide them and show some neat url something like mysite/getmyservice.do without displaying parameters. Will hiding the url's cause any other issues ? - Kiran On 13/06/2012, at 1:21 PM, Kiran Badi

Re: Can someone suggest mail some opensource mail server which works well with Tomcat.

2012-06-11 Thread Kiran Badi
On 6/10/2012 1:49 AM, André Warnier wrote: Kiran Badi wrote: Any feedback on apache james ? I've never used it, so I can't comment. What I would ask is: why are you are specifically looking for a Java-based mail server? I was looking for open source server ,capable for serving atleast 5k

Re: Can someone suggest mail some opensource mail server which works well with Tomcat.

2012-06-09 Thread Kiran Badi
Any feedback on apache james ? I've never used it, so I can't comment. What I would ask is: why are you are specifically looking for a Java-based mail server? I was looking for open source server ,capable for serving atleast 5k mails daily to begin with.Since I am using java api, I am under

Re: Can someone suggest mail some opensource mail server which works well with Tomcat.

2012-06-09 Thread Kiran Badi
On 6/8/2012 12:17 PM, Jose María Zaragoza wrote: Kiran: Is google mail a part of google apps or its normal gmail service which we use ?.I feel there might be some limits on the number of requests like google api's Can you elaborate more please. Take a look this

Can someone suggest mail some opensource mail server which works well with Tomcat.

2012-06-06 Thread Kiran Badi
?. PS:I am going through apache james to see if it works for me. - Kiran Badi - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Can someone suggest mail some opensource mail server which works well with Tomcat.

2012-06-06 Thread Kiran Badi
that it should not have more set up or communication issues talking to tomcat.I plan to use Javamail api's and read mail servers parameters via web xml resources section. On 6/6/2012 11:46 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, On 6/6/12 12:24 PM, Kiran

Re: Can someone suggest mail some opensource mail server which works well with Tomcat.

2012-06-06 Thread Kiran Badi
If you are going to use Javamail to access a remote mailbox (even if it's on localhost), then you can use any email server software that otherwise meets your needs. Javamail can communicate with any POP3 or IMAP server -- it need not be Java-based. You can even use Google Mail as your email

Re: Where do I store Images in tomcat structure so that I can retrive it properly in all browsers

2012-06-05 Thread Kiran Badi
On 6/5/2012 7:41 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, On 6/5/12 1:31 AM, Kiran Badi wrote: After playing around for a day, this is another solutions which worked for me, Context aliases=/UploadedImages=c:/UploadedImages/Context with Tomcat

Re: Where do I store Images in tomcat structure so that I can retrive it properly in all browsers

2012-06-04 Thread Kiran Badi
to which it refers. Is this understanding correct ? In manager app I see something called /files , not sure as what is this ? On 6/2/2012 4:45 AM, Kiran Badi wrote: On 6/1/2012 9:27 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, On 5/31/12 10:37 PM, Kiran

Re: Where do I store Images in tomcat structure so that I can retrive it properly in all browsers

2012-06-01 Thread Kiran Badi
On 6/1/2012 9:27 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, On 5/31/12 10:37 PM, Kiran Badi wrote: Ok I did it this way in TC 7.0.27 as I decided not to touch Netbeans setup with 7.0.11( I had messed up TC7.0.11 after doing several trial and error

  1   2   >