tagged [tomcat]

Can't access Tomcat using IP address

Can't access Tomcat using IP address I'm running a Tomcat 5.5 instance (port 8089) on Windows 7. The server runs correctly if I open http://localhost:8089/ but it gives me an error (Connection refused...

20 Jul at 14:27

Cannot connect to Tomcat's MBeanServer via jconsole in Java6

Cannot connect to Tomcat's MBeanServer via jconsole in Java6 I'm on a vista machine. I've started tomcat 5.5.27 with these options: When I connect via jconsole and added the following service url ``` ...

3 Dec at 10:32

Is Tomcat running?

Is Tomcat running? Interested to know how people usually check to see if Tomcat is running on a Unix environment. I either check that the process is running using or i check that the port number is ac...

15 Oct at 16:25

How to get UTF-8 working in Java webapps?

How to get UTF-8 working in Java webapps? I need to get UTF-8 working in my Java webapp (servlets + JSP, no framework used) to support `äöå` etc. for regular Finnish text and Cyrillic alphabets like `...

20 Mar at 20:32

Add JVM options in Tomcat

Add JVM options in Tomcat How can I add jvm(Java virtual machine) options in Apache Tomcat 6? Is there a administration console in tomcat? I tried [http://localhost:8080/admin](http://localhost:8080/a...

17 Dec at 09:3

Remote debugging Tomcat with Eclipse

Remote debugging Tomcat with Eclipse I can't seem to debug the tomcat application through Eclipse. I've set `CATALINA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n` and th...

23 May at 11:53

java.net.BindException: Address already in use: JVM_Bind <null>:80

java.net.BindException: Address already in use: JVM_Bind :80 I am getting binding exception while starting the Tomcat server. I tried to kill the process that which is using '80' as couple of processe...

20 Jul at 08:53

Tomcat - maxThreads vs. maxConnections

Tomcat - maxThreads vs. maxConnections In Tomcat's `server.xml` what is `maxThreads` versus `maxConnections`? I understand that `maxConnections` is the number of connections open to the server. And `m...

17 Aug at 11:7

Is there a max size for POST parameter content?

Is there a max size for POST parameter content? I'm troubleshooting a Java app where XML is sent between two systems using HTTP POST and Servlet. I suspect that the problem is that the XML is growing ...

7 Jan at 13:26

"Server Tomcat v7.0 Server at localhost failed to start" without stack trace while it works in terminal

"Server Tomcat v7.0 Server at localhost failed to start" without stack trace while it works in terminal So got this project which worked just fine before the weekend (have other problems, but at least...

26 Apr at 11:0

Maven Deploy To Multiple Tomcat Servers

Maven Deploy To Multiple Tomcat Servers What is the most minimal example of deploying a war to multiple tomcat servers using maven that can be written? I've tried the following URLs and asked the mail...

18 Apr at 01:18

Run a php app using tomcat?

Run a php app using tomcat? Is it possible to run a PHP app using tomcat? Before you tell me to just use httpd, I already have a Java application running on my webserver at `host/myapp`. Now I want to...

24 Nov at 14:12

Apache: ProxyPass max parameter has no effect

Apache: ProxyPass max parameter has no effect I am using the following Apache config to forward requests to a Tomcat server: This is a simplified config, but is enough to reproduce the issue, which is...

7 Jul at 13:11

How to use JNDI DataSource provided by Tomcat in Spring?

How to use JNDI DataSource provided by Tomcat in Spring? It is said that in the Spring javadoc article about `DriverManagerDataSource` class, that this class is very simple and that it is recommended ...

10 Jan at 04:57

Getting Error:JRE_HOME variable is not defined correctly when trying to run startup.bat of Apache-Tomcat

Getting Error:JRE_HOME variable is not defined correctly when trying to run startup.bat of Apache-Tomcat When trying to start Tomcat Server through cmd prompt using 'startup.bat' getting error as-"JRE...

11 Mar at 16:25

Starting of Tomcat failed from Netbeans

Starting of Tomcat failed from Netbeans I have problem with starting Apache Tomcat 6 from Netbeans IDE 7.4 (on 7.3 version I had the same troubles. Other people mentioned that this problem exist also ...

5 Mar at 21:4

Multiple contexts with the same path error running web service in Eclipse using Tomcat

Multiple contexts with the same path error running web service in Eclipse using Tomcat This is the error that I got when I created my first Axis2 web service using Eclipse. After I wrote the class, I ...

23 Jul at 12:23

Increase HTTP Post maxPostSize in Spring Boot

Increase HTTP Post maxPostSize in Spring Boot I've got a fairly simple Spring Boot web application, I have a single HTML page with a form with `enctype="multipart/form-data"`. I'm getting this error: ...

20 Oct at 09:46

How can I specify system properties in Tomcat configuration on startup?

How can I specify system properties in Tomcat configuration on startup? I understand that I can specify system properties to Tomcat by passing arguments with the -D parameter, for example "". I am won...

Can not find the tag library descriptor for “http://java.sun.com/jsp/jstl/core”

Can not find the tag library descriptor for “http://java.sun.com/jsp/jstl/core” I have included this at the very top of my JSP page: I already placed the JSTL JAR file in the `WEB-INF/lib` directory. ...

22 Jul at 07:37

how to set JAVA_OPTS for Tomcat in Windows?

how to set JAVA_OPTS for Tomcat in Windows? I'm trying to set `JAVA_OPTS` for Tomcat on a Windows machine, but I keep getting an error if I add more than one variable. For example, this works: But thi...

17 May at 09:40

port 8080 is already in use and no process using 8080 has been listed

port 8080 is already in use and no process using 8080 has been listed I am trying to start Tomcat from Eclipse, but a problem occured: > Port 8080 required by Tomcat v6.0 Server at localhost is alrea...

26 Nov at 09:21

Tomcat Server Error - Port 8080 already in use

Tomcat Server Error - Port 8080 already in use I received the following error while attempting to execute a Servlet program in Eclipse Mars EE. > 'Starting Tomcat v8.0 Sever at localhost' has encounte...

13 Dec at 17:55

how to start stop tomcat server using CMD?

how to start stop tomcat server using CMD? I set the path for the tomcat and set all variables like 1. JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_22 2. CATALINA_HOME=G:\springwork\server\apache-to...

Error during SSL Handshake with remote server

Error during SSL Handshake with remote server I have `Apache2` (listening on 443) and a web app running on `Tomcat7` (listening on 8443) on `Ubuntu`. I set apache2 as reverse proxy so that I access th...

18 Sep at 13:19