Questions tagged [servlet]

The tag has no usage guidance.

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
1 answer
4k views

Tomcat 8.5 can't load @WebServlet annotations

I want to transfer my web application from tomcat7 / java7 to tomcat 8.5 / java8. My application consists of a directory with some JSP files & WEB-INF folder which contains my application's web....
Ehsan Khodarahmi's user avatar
1 vote
0 answers
1k views

Forcing TLS 1.2 in Tomcat; catching non-compliant requests and redirecting

I'm using Tomcat (v 7 and v 8 depending on the project) with Java. I want to force Tomcat to use only TLS 1.2 (more specifically, prohibit TLS v1.0 or v1.1). In development in Eclipse I've added -...
Bumptious Q Bangwhistle's user avatar
1 vote
0 answers
30 views

Java Webapp on Tomcat6 using libservlet3

I am quite new to all this Java stuff. I Installed a bunch of War-Packed Webapps on a Ubuntu Machine with tomcat6. One of them does not work (skos-play), apparently because it needs libservlet3 and ...
Paflow's user avatar
  • 187
1 vote
0 answers
203 views

How to enable authentication for cargo webapp in jetty container? (docs does not work for me)

It looks like I'm stuck with a simple and well documented issue, but nevertheless. I'm trying to enable basic authentication in cargo web-app deployed to the Jetty server. I'm following this document ...
shabunc's user avatar
  • 87
1 vote
0 answers
730 views

How to handle serlvet login redirects which cross reverse proxy virtual host boundary

I'm trying to setup the GlassFish application server behind an Apache reverse proxy. I've got it working with both port 80 and 443, but the problem is the transition between the two that occurs when ...
Ryan's user avatar
  • 430
0 votes
0 answers
308 views

com.google.api.client.googleapis.json.GoogleJsonResponseException: 401 Unauthorized when I try to create a google people contact

Good day. I'm developing a java servlet that allow to add or update a contact on Google Contact. I've created a Google application having Google People service active. Before to use the Google People ...
stefano errani's user avatar
0 votes
1 answer
253 views

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. ...
psyopguy's user avatar
0 votes
0 answers
51 views

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 ...
cyotee doge's user avatar
0 votes
1 answer
774 views

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....
Michael's user avatar
  • 183
0 votes
1 answer
267 views

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 ...
user2229171's user avatar
0 votes
1 answer
1k views

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 ...
jcubic's user avatar
  • 250