Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tomcat]

Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies.

0
votes
0answers
10 views

Internal website blocking using DNS server

I have an internal network DNS server running on windows server 2016. Currently I have the DNS server to redirect all requests to blocked websites to an internal tomcat server which will display a ...
0
votes
1answer
11 views

Tomcat 8.5.37 failling to run application with Open JDK 8.u192 from AdoptOpenJDK in Eclipse

I was using the Oracle JDK but to avoid license issues I'm migrating to OpenJDK. I've opted for Windows AdoptOpenJdk 8_192, but I'm having some issues when running it with Tomcat 8.5 in Eclipse (this ...
0
votes
0answers
16 views

The trustAnchors parameter must be non-empty in Windows Server

I have installed Java SE Runtime Environment 8 Update 65 (64 bit) on Windows Server 2012 r2 x64 (for specific requirements of web application) list of applications involved: apache-tomcat-8.0.30 ...
0
votes
0answers
3 views

Apache2 ws_tunnel and many Tomcat instances

I have working 2 Tomcat running instances. 1) working on HTTP :8080/app1 and HTTPS :8443/app1 WS endpoint /app1/websocket 2) working on HTTP :8081/app2 and HTTPS :8444/app2 WS endpoint /app2/...
1
vote
0answers
11 views

What is the limit of redirects for Apache Tomcat 2.4?

We are replatforming to a new ecommerce system on a new server and due to SEO concerns, marketing is requesting we put a bit over 1000 product redirects into a rewrites.conf file. I have never seen ...
0
votes
0answers
51 views

How do I configure Tomcat 8 on Windows to allow access from external IPs?

I'm running Tomcat 8 on an Amazon Web Services EC2 instance. The instance's operating system is Windows Server 2012. I am trying to use my local PC's browser to connect to Tomcat on that instance. I ...
0
votes
0answers
14 views

Add PlantUML options in Tomcat 8 on Linux [closed]

How add option in Tomcat8 to a specific webapp (PlantUML)? -GRAPHVIZ_DOT=/usr/bin/dot /var/lib/tomcat8/conf/server.xml <Service name="plantuml"> <Connector port="8082" protocol="HTTP/1.1"...
0
votes
0answers
13 views

form parameters for huge data are not processed on submit

We have a Spring MVC application. It is started into a tomcat container (version 8.0.46) When submitting huge data in a form it seems that the application is ignoring them. For example, if I submit (...
0
votes
1answer
76 views

Starting Tomcat 8.5 using systemd on Centos 7

I installed Tomcat 8.5 and I am able to start it successfully manually, for example: su tomcat startup.sh works properly and tomcat is able to serve on port 8080. I need to automate the startup, so ...
0
votes
0answers
24 views

Tomcat keeps shutting down on fresh Ubuntu 18.10 install

I'm running a completely fresh install on Ubuntu 18.10 and I can't for the life of me get Tomcat 8.5.37 to run. It keeps shutting down as soon as it runs. I have given group and user permissions. ...
0
votes
1answer
30 views

Orbeon Xforms Error Broken pipe oxf:/config/prologue-servlet.xpl Exception: java.io.IOException

I am inexperienced with Linux, so please go gentle on me. I have setup a CentOS Web server running Apache Tomcat. This server is hosting an ART-DECOR webapp which utilizes Orbeon Xforms. I am ...
0
votes
0answers
10 views

Issue in Tomcat Session replication for MVC dynamic web application

I have two tomcat instances running in different machines. I am using apache, modjk load balancer with sticky session. i enabled tomcat simple cluster in tomcat server.xml file. but session ...
0
votes
0answers
6 views

How to monitor Tomcat & IIS incoming request & outgoing response using Network monitor

I have a web application which is hosted on Tomcat, this web application invokes web services hosted on Tomcat which further calls some other services which are on IIS. Web page --> Service1 (Tomcat)...
0
votes
0answers
25 views

how to start tomcat with `script -c` command?

I want to start tomcat with the command: script -c "sh /usr/program/tomcat/tomcat-8.0.50/bin/startup.sh" After running the command, the console show the message that tomcat has started successfully. ...
0
votes
0answers
15 views

disable chunking by specifying HTTP 1.0 compatibility level

I am trying to find out a way to disable chunked response from tomcat, because my customer has legacy systems connecting that require content-legnth header. Right now I can only find answers that ...
0
votes
0answers
33 views

Access files from Tomcat user

I have a nologin tomcat user with a home directory /opt/tomcat/ I want to be able to access files from my sudo user. I have tried using environment variables to point to the file and just tried to ...
1
vote
0answers
160 views

Tomcat not releasing files [Too many open files error] (oracle APEX -> Tomcat)

I've been having an issue with tomcat where I keep getting "Too many open files" 25-Jul-2018 08:17:49.504 SEVERE [http-nio-443-exec-31] . /u01/app/ords/ords.18.1.1.95.1251/db_conf/m/url-mapping.xml: ...
0
votes
1answer
27 views

How to get jspwiki-custom.properties to work on JSPWiki on Tomcat?

I've got Tomcat 8.5.23 running on Linux (Slackware 14.1) just fine, and am trying to get JSPWiki 2.10.3 to work. The "easy-sh" installation, which consists of dropping JSPWiki.war into the webapps ...
0
votes
0answers
8 views

Need help upgrading Tomcat 7 on Windows

So the last systems administrator installed Tomcat 7.59 and I need to upgrade it to 7.88. What is the easiest way to upgrade tomcat? Currently Jenkins is setup using this tomcat install so I would ...
2
votes
1answer
310 views

Tomcat SSL error after setting up certificate

After generating certificate and key pem file using openssl on ubuntu 16.04 I configured tomcat connector in server.xml file as given below but, when I start tomcat I get an error. In the browser ...
0
votes
0answers
289 views

Can't access tomcat server from LAN

Launched tomcat server on host(windows) and responds to requests from outside the network. However I cant make it work trough host-only network(or any other lan). I tried with VMworkstation and ...
0
votes
0answers
148 views

Nginx rewrite .jsp extension and proxy to tomcat

Outgoing How can you create a Nginx rewrite rule in the appropriate server block, that takes any URL ending on .jsp and removes the .jsp extension after retrieving the correct .jsp page from the ...
1
vote
1answer
52 views

Where is JAVA_HOME expanded to JAVA_HOME/jre?

We have a Tomcat 8 running on Debian 8/jessie. When starting the tomcat using service tomcat8 start we can see INFO: Java Home: /usr/lib/jvm/java-7-openjdk-amd64/jre In /etc/default/tomcat8 we ...
0
votes
0answers
56 views

Puppet Tomcat Module creating context.xml

I might be doing something really stupid here but I'm damned if I can figure it out. We have a usual puppet with tomcat install and I'm trying to use the puppet tomcat module to lay down a context....
0
votes
0answers
484 views

Is there a way to set “working directory” for tomcat plugin

I noticed when creating a run configuration of a normal java application, there is a textbox where i can specify "working directory". However, I don't see the same option when creating a local "...
0
votes
0answers
1k views

tomcat server is not starting

my tomcat server in my mac ,the terminal is showing tomat started,but when is run the local host in the browser it says webpage not found ,but when I try to shutdown the tomcat it is throwing ...
0
votes
1answer
48 views

Redirect from Apache to Tomcat with mod_proxy

I have a domain with correctly configured DNS's called mydomain.com that points to my Ubuntu 16.04.3 server in 11.11.11.11, so when I introduce mydomain.com in a browser, I get to the default page of ...
0
votes
1answer
3k views

Request header is too large

I am getting this entry in my Tomcat 8.5 stderr log: 16-Jan-2018 02:38:04.089 INFO [http-nio-8080-exec-2] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header ...
0
votes
0answers
784 views

Renewed SSL Certificate throwing Cipher error

I am using Tomcat 7.0.70 for my application with SSL. I got renewed certificates from GoDaddy. I deleted the old certificates from KeyStore and installed the new certificates with same alias. After ...
2
votes
1answer
990 views

Can't get Tomcat 8 started on CentOS 7

I’m trying to start up Apache Tomcat on a Google cloud server. It’s a CentOS 7 server and has Apache Tomcat 8 on it. Instructions are https://www.digitalocean.com/community/tutorials/how-to-install-...
0
votes
1answer
179 views

Linux permissions when files are written/read by different processes

I have a Web application deployed via Tomcat that allows upload of files in a dir files. These files are uploaded by Tomcat with owner tomcat:tomcat and permissions 640. I need to mantain the group ...
2
votes
1answer
559 views

Downgrade tomcat 8.5.16 to tomcat 8.0.46 in AWS AMI

due to incompatibility (cookies related) I would like to downgrade tomcat 8.5.16 to tomcat 8.0.46 in my AWS AMI. Amazon just automatically updated it in the past day. I tried the following but ...
0
votes
0answers
433 views

Can't start Tomcat unless root, lacking permissions in conf/

I am unable to start Tomcat as a normal user belonging to the Tomcat group, I suspect this is a file permission issue. As a normal user I can't list the contents of the /conf directory and when I ...
0
votes
1answer
837 views

How to add localhost(127.0.0.1) rules in routing table?

superusers. I have two NICs with connected to different networks. what I did : route delete * route add 0.0.0.0 mask 0.0.0.0 172.16.15.254 METRIC 266 IF 11 route add 10.201.0.0 mask ...
0
votes
1answer
531 views

Restarting a service leads to system error 1069

Assume there is a service myTomcat running with Service Principal Name notMe which I want to restart. I tried the following C:\me\myTomcat>net stop myTomcat The Apache Tomcat 8.0 tomcatSecure ...
0
votes
0answers
636 views

Address localhost:80 is already in use on Mac OS X Sierra

I am trying to run Tomcat on port 80 on Mac OS X Sierra and it is telling me something is already bound to that port. It shows nothing on that port when I run: sudo lsof -i ':80' "sudo netstat -an | ...
0
votes
0answers
98 views

Tomcat 404 - Not Found

So my application on localhost is running: http:// localhost/hello-world/ I'm trying to port forward but this is where I'm getting 404 - not found. This is my tomcat settings Tomcat settings Here is ...
0
votes
1answer
364 views

Tomcat reason phrase

I've recently updated to Tomcat 9.0.0.M20 and noticed that tomcat doesn't add reason phrase to status line of the http response. Even if I use HttpServletResponse.sendError(code, msg) msg is not added ...
0
votes
0answers
389 views

Webpage displaying IP Address instead of the domain name

We have been working on a Tomcat web application which is now live. Everything is working fine except for the url. We have purchased the domain name at GoDaddy. The problem is as follows. We are ...
2
votes
1answer
292 views

Batch to stop/run tomcat server when max CPU

I'm looking for operation system properties that could be used in a batch script on windows, that will stop tomcat services and start them again when the CPU usage of tomcat process reach its maximum ...
0
votes
0answers
267 views

Why deleted file in AWS EC2 CentOS is not reducing disk free space?

I have deleted catalina.out file from tomcat's log folder in AWS EC2 CentOS Linux release 7.2.1511 (Core). The size of the file was 2.9GB, when I deleted using rm catalina.out it is deleted but the ...
1
vote
1answer
295 views

How to setup https ssl on tomcat server by wildcard certification?

I'm trying to setup https://my.example.com to access Tomcat web linux server. The first step, I trying to use 'keytool' to generate one, it works, but the browser will show red lock icon(I try https:/...
1
vote
0answers
3k views

Setting User Environment Variables for tomcat on Windows

I am running tomcat 8 on windows 2012. I have a webapp that needs an user environment variable to be set in order to run. I can start tomcat and retrieve the variable successfully like this: set ...
0
votes
1answer
586 views

What mean a number after HTTP Status Code in tomcat 7.0 log file?

What mean a number after HTTP Status Code in tomcat 7.0 log file (e.g localhost_access_log.2016-10-27.txt)? For example, 1147 after 404 in: XXX.XXX.XXX.XXX - - [27/Oct/2016:11:47:03 +0300] "GET /XXX....
3
votes
1answer
3k views

Retrieve ODBC DSN Password

Recently I inherited a web server and nobody knows the password to the ODBC connection that talks to the Sql database. The screen in particular that is asking for the pass looks like: I tried ...
0
votes
1answer
25 views

Can't seem to start up tomcat 8 under ecilpse on Win 7

Windows 7 Pro, eclipse, java EE environment. I downloaded the tomcat zip file, unzipped it into c:\program files\apache\tomcat-whatever. I can run eclipse from the command line, and entering "...
1
vote
0answers
93 views

Ignoring wrong wsdl=http://localhost:8080/service/wsdl

I've a warning in catalina.log com.sun.xml.ws.transport.http.DeploymentDescriptorParser getPrimaryWSDL Warning: Ignoring wrong wsdl=http://localhost:8080/service/wsdl. It should start with WEB-...
0
votes
1answer
56 views

whats preventing my server to respond

I have a Tomcat 8 server running on Windows 10. I would like to make access to my server public, I have added a port forwarding in my router to port 5555 (the same port as the servers). Using both ...
1
vote
1answer
2k views

netbeans-8.1 // add tomcat8 server // CATALINA_HOME/conf/server.xml // wrong path

i'm trying to add tomcat8 server to netbeans 8.1 ide, when specifying server location (catalina home) I provide /usr/share/tomcat8/ but the program searches for the server.xml file into a /conf ...
5
votes
4answers
24k views

Permissions for tomcat 8 service file not working

I'm trying to install tomcat 8 on ubuntu 16.04. This is the guide I'm following: https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-ubuntu-16-04 The basic idea is ...