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 me

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

Re: Tomcat 9.0.36 - JDK 13/14

2020-06-29 Thread Kiran Badi
ringBootApplication; @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: > --

o Tomcat alter the page encoding for JSP file created via Netbeans 7.01

2011-11-05 Thread Kiran Badi
Hi All, I working on creating my own website with JSP/Servlet/Jquery with Tomcat 7.0.11 which I had installed it as a package via Netbeans 7.0.1.I am trying to build a header JSP File and below is my code for it, <%@page contentType="text/html" pageEncoding="UTF-8"%> div.cldi

Re: o Tomcat alter the page encoding for JSP file created via Netbeans 7.01

2011-11-05 Thread Kiran Badi
ways run Tomcat from inside Eclipse (which allows easy debugging of your Java code) and have never had this kind of issue. I have tried DW, but I've never come to grips with it. Regards Ron - Original Message ----- From: "Kiran Badi" To: "Tomcat Users List" Sent: S

Re: o Tomcat alter the page encoding for JSP file created via Netbeans 7.01

2011-11-06 Thread Kiran Badi
Thanks Konstantin, I will make the changes.Now I understand somewhat as why for some of the files were complaining of mismatch encoding. On 11/6/2011 5:32 AM, Konstantin Kolinko wrote: 2011/11/5 Kiran Badi: <%@page contentType="text/html" pageEncoding="UTF-8"%> T

Re: o Tomcat alter the page encoding for JSP file created via Netbeans 7.01

2011-11-08 Thread Kiran Badi
Got it Pid.Thanks. On 11/8/2011 8:53 PM, Pid wrote: On 05/11/2011 17:57, Kiran Badi wrote: Hi All, I am aware this might be offtopic but being a silent member to this list, I think this list can give me better suggestion than doing a google.So posting here. Unfortunately it was on someone

How to I add JSTL Lib to Tomcat with Netbeans

2011-12-05 Thread Kiran Badi
ed by my app and jstl tags are getting ignored. Can someone point me to right way to add jstl lib with tomcat ? Thanking you Kiran Badi - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e

Re: How to I add JSTL Lib to Tomcat with Netbeans

2011-12-06 Thread Kiran Badi
11 9:23 AM, Mark Eggers wrote: - Original Message ----- From: Kiran Badi To: Tomcat Users List Cc: Sent: Monday, December 5, 2011 6:34 PM Subject: How to I add JSTL Lib to Tomcat with Netbeans Hi I have jstl-api-1.2 and jstl-impl-1.2 jars in web/lib folder for my project setting.Is this the

Re: How to I add JSTL Lib to Tomcat with Netbeans

2011-12-07 Thread Kiran Badi
Thanks Mark its working now. Also I will make sure replies goes to the list. I must have used Reply all earlier by oversight. On 12/8/2011 3:35 AM, Mark Eggers wrote: - Original Message - From: Kiran Badi To: Tomcat Users List Cc: Mark Eggers Sent: Tuesday, December 6, 2011 3:51

Breadcrumbs Tomcat 7.0.11

2011-12-27 Thread Kiran Badi
Hi , Just wanted to check if Tomcat has any packages that can be used for building Breadcrumbs.I think some j2ee servers provide some inbuilt packages which can be used for building breadcrumbs. I would be helpful if someone can give some suggestions here.I am working on plain JSP/Servlets and

Re: OT: Breadcrumbs Tomcat 7.0.11

2011-12-28 Thread Kiran Badi
b path. Google search for some reasons is not taking me anywhere.Appreciate some directions here. On 12/28/2011 2:23 PM, Pid * wrote: On 28 Dec 2011, at 03:50, Kiran Badi wrote: Hi , Just wanted to check if Tomcat has any packages that can be used for building Breadcrumbs. No, it's an app s

Re: OT: Breadcrumbs Tomcat 7.0.11

2011-12-28 Thread Kiran Badi
navigational bar ? On 12/29/2011 3:18 AM, Hassan Schroeder wrote: On Wed, Dec 28, 2011 at 12:39 PM, Kiran Badi wrote: But I am somewhat lost as how do I pull out the title of the clicked links and stick it to breadcrumb path. Where are you getting the "title" to put into the page

Re: OT: Breadcrumbs Tomcat 7.0.11

2011-12-28 Thread Kiran Badi
I know this is quite of the easier task as developer I should be doing but again it will take sometime for my to come to speed with self coaching. - Kiran On 12/29/2011 3:44 AM, Hassan Schroeder wrote: On Wed, Dec 28, 2011 at 2:02 PM, Kiran Badi wrote: Books All these static title whi

Re: OT: Breadcrumbs Tomcat 7.0.11

2011-12-29 Thread Kiran Badi
n include that jsp in my all pages.Do I need to implement this exactly the way we implement httpsession listener ? and also Hassan many thanks for direction. On 12/29/2011 6:02 AM, Hassan Schroeder wrote: On Wed, Dec 28, 2011 at 3:58 PM, Kiran Badi wrote: Books How can I pull out name value

Re: OT: Breadcrumbs Tomcat 7.0.11

2012-01-05 Thread Kiran Badi
file so that it gets called everytime. On 12/30/2011 9:06 PM, Hassan Schroeder wrote: On Thu, Dec 29, 2011 at 7:15 PM, Kiran Badi wrote: One final doubt can I have one servlet similar to listener which will listen to the clicks, store the path info,validate the sessions and then push that data

Re: OT: Breadcrumbs Tomcat 7.0.11

2012-01-10 Thread Kiran Badi
ssan Schroeder wrote: On Thu, Dec 29, 2011 at 7:15 PM, Kiran Badi wrote: One final doubt can I have one servlet similar to listener which will listen to the clicks, store the path info,validate the sessions and then push that data to some jsp and I can include that jsp in my all pages.Do I ne

Re: OT: Breadcrumbs Tomcat 7.0.11

2012-01-11 Thread Kiran Badi
Yes Andre you are correct here,it did exactly the same way you mentioned. It seems like fault lies with IE, as per specs it should not work,but it works in IE and fails in other browsers. Good learning experience for me. On 1/11/2012 2:00 PM, André Warnier wrote: Kiran Badi wrote: Sorry I

Re: OT: Breadcrumbs Tomcat 7.0.11

2012-01-11 Thread Kiran Badi
Yes Terence, IE adds the trailing slash, but other browsers dont, thats one of the reason it fails in other browser other than IE. On 1/11/2012 9:58 PM, Terence M. Bandoian wrote: On 1:59 PM, Kiran Badi wrote: Sorry I need some more help, have one more weird issue at my plate now, I am

Re: OT: Breadcrumbs Tomcat 7.0.11

2012-01-11 Thread Kiran Badi
In fact i was trying to see if base url can be of any help here as I lot of links in my pages,but it seems it is giving me more work. I think I should be good without base tag now. On 1/11/2012 10:08 PM, Hassan Schroeder wrote: On Tue, Jan 10, 2012 at 7:18 PM, Kiran Badi wrote: I am using

Re: OT: Breadcrumbs Tomcat 7.0.11

2012-01-12 Thread Kiran Badi
/JSTL/Servlets.Did came across atleast 2 such edge cases issues one with Jquery clone and other was this one. On 1/12/2012 1:32 PM, André Warnier wrote: Kiran Badi wrote: In fact i was trying to see if base url can be of any help here as I lot of links in my pages,but it seems it is giving

How to run Tomcat as Service on windows start up.

2012-04-27 Thread Kiran Badi
Hi, I have installed and added tomcat 7.0.11 to netbeans 7.01 and now I want it to run as windows service so that whenever I start windows, it should start up and run. Currently whenever I close netbeans it shut down tomcat along with it. PS : I cannot download and install the fresh copy sin

Re: How to run Tomcat as Service on windows start up.

2012-04-28 Thread Kiran Badi
Thanks for the all your suggestions, How about running service.bat and registering tomcat7.exe as windows service , the one for which I already have a copy, Below is the output I get, C:\Program Files\Apache Software Foundation\Apache Tomcat 7.0.11\bin>service.bat install tomcat7.exe Neit

Re: How to run Tomcat as Service on windows start up.

2012-04-29 Thread Kiran Badi
I think I got your point Mark,it has to bat file which net beans uses to control tomcat.Seems like I have to go and download a fresh copy of tomcat , install it as service and then use the manager app to deploy the war file.If I play around with my existing setup, there exists a risk of breaki

Re: How to run Tomcat as Service on windows start up.

2012-05-02 Thread Kiran Badi
I just want to have one instance of tomcat up and running always whenever I start my system exactly the way I have httpd service running always. ok now moving forward, I installed the tomcat 7.0.27 as service,made changes to shutdown ports/APR ports etc and now its runing fine as a service.I

Re: How to run Tomcat as Service on windows start up.

2012-05-03 Thread Kiran Badi
No Luck Andre :-( , Removed one of the tomcat users tag,how do i validate xml ? I tried with below tomcat users file, username="tomcat"/> On 5/3/2012 12:58 PM, André Warnier wrote: Kiran Badi wrote: I just want to have one instance of tomcat up and running alway

Re: How to run Tomcat as Service on windows start up.

2012-05-03 Thread Kiran Badi
03/05/2012 15:02, Kiran Badi wrote: No Luck Andre :-( , Removed one of the tomcat users tag,how do i validate xml ? I tried with below tomcat users file, Please don't top-post. Have you actually read the list of roles& users you have? Perhaps if you tidied it up&

Re: How to run Tomcat as Service on windows start up.

2012-05-03 Thread Kiran Badi
On 5/4/2012 7:32 AM, Caldarale, Charles R wrote: From: Kiran Badi [mailto:ki...@poonam.org] Subject: Re: How to run Tomcat as Service on windows start up. Please don't top-post. What do you mean by this ? http://lmgtfy.com/?q=top+post - Chuck Thanks Got it Chuck .Interesting

IE 9 ignoring my custom error pages with 404 codes

2012-05-12 Thread Kiran Badi
Hi, I am trying to setup custom error page and has done below modification to web.xml 500 /errorback.jsp 404 /errorback.jsp Then in errorback.jsp I wrote the default hello jsp page and triggered 404 condition to check if setting are working fine,the above setting seems to be working fine

Re: IE 9 ignoring my custom error pages with 404 codes

2012-05-12 Thread Kiran Badi
404 codes 2012/5/13 Kiran Badi: Hi, I am trying to setup custom error page and has done below modification to web.xml 500 /errorback.jsp 404 /errorback.jsp Then in errorback.jsp I wrote the default hello jsp page and triggered 404 condition to check if setting are working fine,the above settin

Re: IE 9 ignoring my custom error pages with 404 codes

2012-05-14 Thread Kiran Badi
Thanks everyone, I added lot of comments and now my custom error page is close to 1kb and this resolved my issue. Now I am battling another weird issue,maybe again I need help of community till I come to some speed. On 5/14/2012 9:05 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MES

Links not resolving to their correct path in TC 7.0.27

2012-05-14 Thread Kiran Badi
Hi, I have installed tomcat 7.0.27 on Windows Home premium 32 bit system with JDK 1.6.32. The tomcat is running successfully as service.I can access the home page of tomcat along with manager application. I deployed my application war file via manager application.The war file was pulled from

Re: Links not resolving to their correct path in TC 7.0.27

2012-05-14 Thread Kiran Badi
Sorry fixed it, it was my fault. Base tag was pointing to 8080.Make sense now. On 5/15/2012 5:27 AM, Kiran Badi wrote: Hi, I have installed tomcat 7.0.27 on Windows Home premium 32 bit system with JDK 1.6.32. The tomcat is running successfully as service.I can access the home page of tomcat

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

2012-05-28 Thread Kiran Badi
Hi, I am using Tomcat 7.0.11 and environment is win 7 home premium with servlet/jsp/jstl with netbeans 7.01 I have form where in I upload the image to the folder C://xx using apache commons file upload and then store the file name to the DB.Everything is good till here. Then when I want t

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

2012-05-30 Thread Kiran Badi
On 5/29/2012 8:15 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, On 5/28/12 6:38 PM, Kiran Badi wrote: I am using Tomcat 7.0.11 Upgrade. http://tomcat.apache.org/security-7.html Yup, I already have 7.0.27 and this one is tied with netbeans and I really

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

2012-05-31 Thread Kiran Badi
context between host tags so I did not use aliases at all, is this good solution or I am missing something again. Appreciate some feedback on this one as I really dont want to have rework again. On 5/31/2012 9:33 AM, Kiran Badi wrote: On 5/29/2012 8:15 PM, Christopher Schultz wrote

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

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
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 Badi wrote: Ok I did it this way in TC 7.0.27 as I decided

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, with Tomcat 7.0.11 in context.xml Good, except that you should really

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
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,

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 ser

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 http://www.google.com/enterprise

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

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 7.01

Re: URL Rewriting

2012-06-12 Thread Kiran Badi
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

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 resu

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 t

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: users

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 y

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 inter

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/myap

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: 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----- F

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

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: 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 con

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 elements. type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="1" username="user" password

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 membe

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: Happy Birthday, Chuck!

2012-07-27 Thread Kiran Badi
please accept my best wishes. chuck. On Jul 27, 2012 3:19 AM, "Leon Rosenberg" wrote: > Maybe a little bit late, but still! > Happy Birthday Chuck! > Leon > > On Thu, Jul 26, 2012 at 10:46 PM, Rainer Jung > wrote: > > On 26.07.2012 15:46, Gregor S. wrote: > >> > >> Hi Chuck, > >> > >> thanks aga

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 pa

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

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
lines if this saves me some bugs. 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, with Tomcat 7.0.11 in context.xml Good

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 : 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 category I need to

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-13 Thread Kiran Badi
size with unmanageable number of jsp/servlets/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 ---

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

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

2012-10-03 Thread Kiran Badi
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

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 zip (pgp

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
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

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" 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 > > &

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 6.0.6002

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 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 ne

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: 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
art Starting ProtocolHandler > ["http-nio-8080"] > 06-Feb-2014 14:50:38.115 INFO [main] > org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler > ["ajp-nio-8009"] > 06-Feb-2014 14:50:38.120 INFO [main] > org.apache.catalina.startup.Catalina.start Server startup in 2861 ms &

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 as

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 t

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 -

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 wrote: > Ok I made the changes, and trying. > > Andre, I tried your approach, it still same error.Making changes to server > xml now. > > P

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 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 s

Re: Deploy application as Root

2014-09-14 Thread Kiran Badi
folder, how about myapp.war ? >> > > myapp.war will be extracted to directory myapp. > > > Does it go to work folder ? >> > > All web applications are unpacked to appBase folder. Work folder is > internal Tomcat folder. > > > On 12.9.2014 4:22, Kiran Badi wro

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: Struts 2 /Glassfish to Tomcat migration

2014-10-03 Thread Kiran Badi
SHA256 > > Kiran, > > On 10/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.lan

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

INFO: TLD skipped Messages in logs

2014-10-26 Thread Kiran Badi
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: 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

Re: INFO: TLD skipped Messages in logs

2014-10-29 Thread Kiran Badi
Thanks Mark On Tuesday, October 28, 2014, Mark Thomas 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 m

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, Tere

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 Mond

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
; > ch...@christopherschultz.net > wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Kiran, > > > > On 1/18/16 1:33 AM, Kiran Badi wrote: > > > Did you exclude your upload servlet from struts.xml ? By default > > &g

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: 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 wrote: > Hi, > > I am having some issues with Tuckey Rewrite U

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

2016-05-17 Thread Kiran Badi
tingServlet 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: request.getParameter and special characters - Apache Tomcat/7.0.57 on win 7

2016-05-18 Thread Kiran Badi
3:38 AM, Mark Thomas 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"%> > > > > Testing > >

  1   2   >