Questions tagged [servlet]
35 questions
0
votes
1 answer
Servlet hosting with peak capacity
I am hosting a website that is currently run on Google Cloud Storage, and a completely static interface. I am considering upgrading it to allow for better plotting tools, which will require it to run a server, in this case a Java Servlet. The…

PearsonArtPhoto
- 103
- 3
0
votes
1 answer
Application GUI on a heavy load tomcat doesn't respond
We have a backend webapp installed on tomcat 8 that has a GUI part written in Apache wicket MVC (version 1.4) - the wicket GUI fails to respond the moment the server starts doing heavy processing.
On average the CPU sits around 85% utilization. The…

psyopguy
- 1
- 1
0
votes
0 answers
Sending XML Response When Maxed Allowed Connections Reached to Servlet
I have a requirement to limit the number of incoming connections, and if another connection is initiated as the limit is reached to send an XML response. This is for JBoss EAP 6, but a general standard servlet solution would work. How should I…

cyotee doge
- 101
- 2
0
votes
1 answer
Jetty only serving static files
For some weird reason I can not get jetty to properly deploy my gwt project.
I have put the war folder in the webapps folder and renamed it to root after that i can start jetty and it recognizes the project and its web.xml.
2013-12-03…

spydon
- 133
- 1
- 1
- 9
0
votes
1 answer
How to create new Servlet and JSP project on Ubuntu?
I've installed Tomcat 7, javaservlet 3.0 and openjdk 7. I read that I need to install Eclipse and Web Tool platform (from eclipse) but I can't find it. I install few packages from eclipse there is no dynamic web project that I need to create. I…

jcubic
- 230
- 1
- 4
- 15
0
votes
2 answers
JVM/Tomcat crashes when to many uploads occur in parallel (Heap Space)?
I have a Servlet application running on Tomcat 7. I set the following in setenv.sh
CATALINA_OPTS="
-server
-Xms1G
-Xmx5G
-XX:MaxPermSize=512m
-Dfile.encoding=UTF-8";
The server runs on Ubuntu 12.04LTS, has 6 Cores and 8GB of RAM.
My application…

Michael
- 183
- 1
- 2
- 8
0
votes
1 answer
Tomcat 7.0.42 crashes many times a day
I have a Tomcat7 server running and it crashes and shows sometimes a memory warning that there is not enough Heap Space.
What do I have to do here?
My server has 4GB RAM, 4CPU and runs on ubuntu 12.04 LTS 64-Bit
I am new with Tomcat so I will be…

Michael
- 183
- 1
- 2
- 8
0
votes
1 answer
server localhost to get access to /admin/* pages and block all others
Requirements:
every one in the local network can access all pages except /admin pages.
only localhost should have access to the /admin pages.
how to write webfilter for tomcat 6 or other alternatives?
0
votes
1 answer
placing war file in the webapps subdirectory of the servlet container’s installation directory
i am trying to install a particular software and it is asking me to place the .war file in the webapps subdirectory of the servlet container's installation directory. I am not sure which location is this exactly. I know that the tomcat 6 webapps…

Sam007
- 135
- 1
- 6
0
votes
1 answer
How can I redirect a JSP to use HTTPS
My web app is running, so that access to /admin/login.jsp happens over an unsecure HTTP connection.
I do not want to change web.xml file.
How can I change access to /admin/login.jsp from HTTP to HTTPS without editing the web.xml file?
Is there a way…

amir2 taghvaei
- 1
- 2
- 4
0
votes
1 answer
Load balance Apache and a SOAP application over SSL while retaining client IP address
We are trying to find the most suitable load balancing solution that will work with our application, but I quickly found I don't know much on the subject. We were going to run Varnish Cache but we use client IP addresses at various levels and SSL -…

KCD
- 958
- 3
- 12
- 24
0
votes
1 answer
Redirect from specific port to another port and specific path
How can I configure Tomcat that
http://hostname:5555/ can be redirected to http://hostname:8080/somepath
Thanks

Benjamin Harel
- 103
- 4
0
votes
2 answers
How to craft a Virtual Host in Apache 2.2.x to map a Sub-Domain to a Servlet Context?
I have Tomcat 6.x installed and Apache 2.2.x.
I want to map my Applications running on tomcat to sub-domains without having to specify ports and contexts.
I want: http://app1.mycompany.com/ to point to dev.mycompany.com:8080/app1/
I have tried…
user35861
0
votes
1 answer
About servlet and session configuration in Tomcat
I have two web application related questions:
i) If a web application contains two servlets and a customer accesses these two servlets using proper URLs, how many sessions are created? One or two?
ii) Could one use HTTPS for one servlet and not for…

Jérôme Verstrynge
- 4,787
- 7
- 24
- 35
0
votes
1 answer
Tomcat is logging everything to stdout
I have Tomcat 6 installed as a Windows service. All log messages from my web application dreambear (logged with getServletContext().log()) are going to the stdout log instead of the log file I specified. This happened even before I added the…

Bart van Heukelom
- 1,199
- 6
- 21
- 41