How to resolve the idlewait time in tomcat ?
Hi, I have connection pooling error.Please help me out. Currently working properly..but after long idle time getting error. url="jdbc:mysql://localhost:3306/test?autoReconnect=true"/> ...
Hi, I have connection pooling error.Please help me out. Currently working properly..but after long idle time getting error. url="jdbc:mysql://localhost:3306/test?autoReconnect=true"/> ...
Hi guys, I have a little problem with using SSL on a Tomcat that is behind Apache. I have used Google all morning to try to find a good solution, but nothing so far. As a part of my SSL VirtualHost configuration I have <Location /MyApp/> ProxyPass http://localhost:8080/MyApp/ </Location> This works fine for most cases, but j_securi...
Hey, I am in a WTF code situation working on a jsp tomcat server and trying to pass session data (user id, etc.) to php. i am planning to rewrite php session handling with session_set_save_handler() my question is where does tomcat stores it session data (harddrive?) and what kind of encoding does it uses? or am i on the wrong path? i kn...
Hello, I have a simple HTML file which has one link to a file kept for download. The site uses SSL (self signed cert). When I click on the file to be downloaded in FF or Chrome, it works fine and saves the file on to disk. Here is the code- <html><body> download from <a href="hello.tar.gz">here</a></body></html> When I open the same...
Dear ppl, I am unable to open html page of my web application and getting error Not Found(404). Resource Not found.Also I am unable to open Tomacat Manger/Examples. Checked that instance is already running whnen I try to configure or start manually. I donot have start.exe n stop.exe in my bin but having tomcat6.exe tomcat6w.exe as menti...
Hi, all. I've got an application running on Apache Tomcat 5.5 on a Win2k3 VM. The application serves up XML to be consumed by some telephony appliances as part of our IVR infrastructure. The application, in turn, receives its information from a handful of SOAP services. This morning, the SOAP services were timing out intermittently, ...
I want to redistribute tomcat as part of my application. I'll be distributing a bundled jre as well, and I need to have my app's installer a) install the tomcat service in windows and b) not have it use JAVA_HOME if it's already set on the machine. That is, I need tomcat to point to my bundled jre. I read here that you can pass a comman...
I'm using Eclipse and Maven-2 and I'd like to be able to edit my HTML files without "it" (not sure if it's Eclipse or Maven) recompiling my application. I understand that usually Eclipse tries to do a hot replace of new compiled Java classes with Eclipse and Tomcat. Can I use something like this? getResourceSettings().setResourcePollFr...
Twitter's REST api allows you to append a JSON or XML at the end of the URI. e.g. http://twitter.com/statuses/public_timeline.json http://twitter.com/statuses/public_timeline.xml In the context of servlet, statuses will be the webapp context name & public_timeline.json is mapped to some servlet. I want to maintain one servlet to do ...
Hello, I am q java web apps developer. I am using Eclipse+Tomcat. Currently I am working on about 10 web apps. Here is my problem: My web apps are not all placed under a single folder, they are located in different places. To test my changes I have to export my web apps into war files or to move the updated files manually every time s...
I have an existing, fully functional Spring web application based on Spring 2.5.6 - developed using SpringSource Tool Suite 2.1.0.SR1. Because I'd like to use REST I decided to upgrade to Spring 3.0.0.M4. After editing the dependencies in pom.xml and changing my code to reflect the API changes in Spring 3.0 I tried to publish my web app...
Hello Perhaps someone can help me with this: I'm a complete novice with JMeter but I'm trying to use it to connect to a web application deployed in Tomcat to simulate a small number of users logging in and browsing a page. But when I run the test plan, all I seems to get in the JMeter log is a a series of HTTP 404 messages indicating t...
have changed web.xml and jsp to details for mysql and also put mysql drivers in classpath. yet unable to connect. mysql server of wamp running on port= 3306 and socket= /tmp/mysql.sock what necessary changes do i have to make in my application ...
In production we run tomcat behind apache, in development bare tomcat. How can I know inside the Servlet class if it is running behind apache or not? ...
What is the best practice when dealing with Errors within a server application? In particular, how do you think an application should handle errors like OutOfMemoryError? I'm particularly interested in Java applications running within Tomcat, but I think that is a more general problem. The reason I'm asking is because I am reviewing...
I have deployed JAX-WS web services in Tomcat and when i restarting the tomcat server. I am getting this error on console. I have putted entry in web.xml and sun-jaxws.xml as per guidelines given in this link - http://www.jroller.com/eldaaran/entry/using%5Fjax%5Fws%5F2%5F0 Please advise. SEVERE: WSSERVLET11: failed to parse runtime d...
Hi, I've installed Tomcat 5.5 in windows Xp, but when I try to run my servlet by typing for instance localhost:8081\Servlet\Servlet1 in Mozilla browser, I'm getting blank page . I already uninstalled, and then reinstalled it, but it didn't work. I've to keep refresh the page, to make my servlet run. What's the reason of not running Tomc...
Hi, I have Apache configured to compress content from web app running on Tomcat. Also the application uses Compression Filter. How apache handle such situation when it receives compressed content and it's setup to compress content too. Does Apache just shift the content to client or unzip content first and then compress it again? ...
Hello, I was using msacces n tomcat6.0 previously for my application testing and was working fine. Now I want to use myswl database through apache tomcat 6.0. I have wamp server installed on my computer so want to connect to same mysql server. I have created database succesfully on it. I have put mysql-connector-java-5.1.9 , mysql-5.0....
I have developed an application that will create lot of PDF's and serve those file. (Its normal Servlet-Buffering serving). How to make sure my application works efficient with multiple request? Is there any tool available to test the load/scalability/efficiency and how many parallel request does my code handle with the current server ...