What are the non-container thread errors in Tomcat?

In catalina.out log of my Tomcat7 I get an error caused by a third-party library that starts with: INFO: An error occurred in processing while on a non-container thread. The connection will be closed immediately java.net.SocketException: Broken pipe

How to manage multiple domain requests on a single server?

I am using dedicated server. I have hosted different HTML, PHP and wordpress websites on this server those are working perfectly. Now I want to deploy java web application on this server. So I have installed Apache tomcat server on another port. So n

java.net.BindException: address already used: JVM_Bind

I have 2 tomcats running in my server one Tomcat 7 and the other is tomcat 8, the configuration file server.xml for the first is: <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443

Tomcat 7.0+ How to launch with a custom ApplicationContext

I'm trying to figure out a way to ask Tomcat(nicely) to launch the server with my custom ApplicationContext for example: public class MyApplicationContext extends ApplicationContext { ... (Some BL) ... } Is there an xml parameter I can override somew

The server could not start

I have different eclipse versions and in every version the server(Tomcat v6) starts without a problem. For one version I get this errors: java.lang.ClassNotFoundException: org.eclipse.stardust.ide.wst.server.tomcat.EmbeddedDerbyLifecycleListener at j

Websocket 1.0 Replacing WebSocketServlet

I'm trying to adopt old code that uses (now deprecated) WebSocketServlet. The old code looks like this: @Singleton ExampleServlet extends WebSocketServlet { @Override protected StreamInbound createWebSocketInbound(String subProtocol, HttpServletReque

Error in tomcat & ldquo; too many files open & rdquo;

I have an application running on tomcat and sometimes I have the error below: SEVERE: Socket accept failed java.net.SocketException: Too many open files at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.AbstractPlainSocketImpl.accep

How to configure Tomcat AccessLogValve to hide passwords?

Is it possible to configure AccessLogValve to hide/replace passwords before they are written to the log file? I am not familiar with valves, perhaps there is a way to insert a custom filter/valve?Solution with custom AccessLogValve class Create a sep

Tomcat 7 does not start

I was running a java application and it's a lot of records i am bringing back form the database, i got a java.lang.OutOfMemoryError: PermGen space in the browser. Now Tomcat 7.0 wont start. The Tomcat logs showed this: Error Log [2013-04-29 16:23:05]

Tomcat - Unusual logs

I am seeing a few log entries which looks suspicious. Not a single request from listed below is actually for the application. Can someone advise me on what I should do? This is the first ever application I have deployed on server. Entries in catalina

PCI Diffie-Hellman Tomcat 7 Failure

We failed our periodic PCI audit because our Tomcat 7 is allowing Diffie-Hellman key exchanges. I'm not big on Tomcat and I've done some research to no avail. The audit said I have 3 choices to correct this. Upgrade to OpenSSL 1.0.0. Not available in

Launch Tomcat with Maven and Eclipse - Unknown Life Cycle Phase

I am using Eclipse Helios,Tomcat Server 7. I have build my project using Maven. When I try to build my project, I get the below error in Eclipse. [INFO] Scanning for projects... [INFO] [INFO] ----------------------------------------------------------

HTTP status 404 - on Eclipse with Tomcat

I am trying just to run a servlet on my local Tomcat with Eclipse. But I keep getting this error and do not have any idea what to do differently. I actually recorded it here : http://www.screenr.com/ZyD8 Many thanks! Also I changed the web.xml to thi

ClassNotFoundException on the Tomcat server

I am using this tutorial to set up Tomcat Server. After I have put the HelloServlet.java in classes and Web.xml in the WEB-INF folder and I'm giving the command localhost:9999/hello/sayhello On the browser. I'm always getting ClassNotFoundException.

how to deploy the GWT application on Tomcat

I searched this site for answer to this question and couldn't find a solution. what i did is that i simply compress the war directory in my eclipse GWT app project then rename it to .war then drop it to tomcat webapps folder. when i run the web app,

can not reload the server with tomcat7

I created a web application using eclipse and Tomcat 7 I had the following code in the html file and the java servlet class in the html file: <form action="UserAccessServlet" method = "get"> in the servlet class I had @WebServlet