Questions tagged [tomcat]
The tomcat tag has no usage guidance.
32
questions
2
votes
2
answers
150
views
Cloudflare plus Nginx plus Tomcat - is Nginx redundant?
With my past project, I have Nginx serving static files as well as being a reverse proxy for Tomcat (backend written in Java). There was no Cloudflare or other CDN.
With my current project, I have ...
2
votes
2
answers
2k
views
Restrict access for a virtual URL path that is reverse proxied from Apache 2.4 to Tomcat backend
How can I configure restriction for URL generated by opencms application on Apache Tomcat?
I tried
<Location "/cs/intranet">
order deny,allow
deny from all
allow from XXX.XXX.XXX.XXX
</...
0
votes
2
answers
465
views
Google site verification of www https site redirected from domain
I have an Apache Tomcat 8 web app correctly running on my website that is reverse proxied to the Apache2 server which serves up the web app at my domain name. I then provided alias' in my site's conf ...
0
votes
1
answer
879
views
Adding LetsEncrypt to Tomcat/Apache setup with mod_jk
I have a Tomcat server running behind Apache using mod_jk (the AJP connector in Tomcat). I just tried adding SSL to this setup with LetsEncrypt, but certbot was unable to verify that I own the domain ...
6
votes
2
answers
581
views
Bingbot is encoding non-ASCII characters in URLs with backslash x rather than percent
We have hashbang urls with extended utf-8 characters. For example:
https://example.com/#!каталог
Bing bot fetches the html snapshot https://example.com?_escaped_fragment_=каталог encoded URL as \...
1
vote
1
answer
514
views
Host Tomcat web-app to work in IE11 with disabled compatibility mode
I have host a war file on Tomcat which created with WebLogic and ADF. I had to make little changes and now it working fine on Tomcat in all browsers except IE11.
When I run web-app with enabled IE ...
1
vote
1
answer
563
views
AWS EBS Tomcat instance being hacked [closed]
I'm using AWS EBS instances with tomcat for my java web application. But somehow some guy manages to hack into my instances and all I can see are these processes being ran by tomcat:
tomcat 26988 ...
0
votes
1
answer
49
views
Can multiple websites/domains be hosted by the same Platform as a Service [PAAS]?
Sorry if this is trivial, but I am still learning the basics of PAAS, so I appreciate your patience...
Can separate websites both be hosted by a single PAAS (used via single account with a given ...
2
votes
1
answer
6k
views
How log rotation is done in Tomcat for access logs
How log rotation is done in Tomcat ie catalina.out and access.out ?
We can logrotate for catalina.out :
# vim /etc/logrotate.d/tomcat7
/var/log/tomcat7/catalina.out {
copytruncate
daily
# ...
2
votes
0
answers
269
views
Not able to access public_html images from application deployed in tomcat
I an using cpanel at server ther I have deployed my application on tomcat7 to deploy a java war file.
I have saved images on public_html folder likepublic_html/img/image1.jpg
My problem is I am unable ...
3
votes
1
answer
179
views
Does Google treat pages on same domain but on different ports as part of same site?
My main website uses port 80/8080 (Apache with Tomcat). But running on the same server I run my own Atlassian JIRA bugtracker, Atlassian requires this to run in its own Apache tomcat server I cannot ...
0
votes
0
answers
15
views
Private Java Hosting with 512 or more heap size [duplicate]
I would like to know service provider for private java hosting with 521 or more heap size with unlimited mysql databases with apache tomcat.
Edit:max $400
3
votes
1
answer
820
views
Umlaut URLs fail in Tomcat when accessed via isapi_redirect
I have some PDF Documents in my Servlet that contain ä,ö,ü,ß, etc.
On accessing the documents like this http://hostname:8080/ServletName/test_ä.txt the tomcat initially responded with an 404.
After ...
2
votes
1
answer
57
views
Apache Tomcat Password?
I'm using dsBudget to manage my budgeting software.
It's an apache tomcat web app.
Would anyone know how I can password protect it? Basically it is designed to work on a local machine, but I want to ...
1
vote
0
answers
629
views
How to install/update/upgrade SSL certificate in Tomcat?
I am about to install/update/upgrade a SSL certificate in one of the servers which has the following configuration
Sever information: Sever version: Apache Tomcat/6.0.35 OS version: Linux 2.6.18-371....
1
vote
2
answers
3k
views
How to run WordPress and Java web app running on Tomcat on the same server?
I have to run a WordPress site served via Apache2 & Java-based webapp using Tomcat on the same server.
When users come to example.com or example.com/public-pages they need to served from ...
1
vote
0
answers
3k
views
Maintenance Page via Apache when Tomcat is down [closed]
I have an Apache2, sitting in front of Tomcat7 via ajp, all on Ubuntu. What I want to do is serve a simple static page with Apache when I perform maintenance.
I found this nice tutorial, but I am not ...
1
vote
0
answers
1k
views
IE 11 doesn't preserve session between pages in my Java Web Application
I have a Java web application running in Apache/Tomcat. The web application runs fine in the latest Chrome & Firefox builds, and in older versions of Internet Explorer (IE) such as IE 8. The ...
2
votes
0
answers
595
views
Tomcat WebDAV root directory
Is it possible to configure WebDAV in such a way that it serves content outside the root directory?
I basically want to serve content via WebDAV from an absolute path C:\Content. (A third party ...
2
votes
1
answer
1k
views
Where to place web.xml outside WAR file for secure redirect?
I am running Tomcat 7 and am deploying a bunch of applications delivered to me by a third party as WAR files.
I'd like to force some of those apps to always use SSL. (All the "SSL" apps are in one ...
5
votes
2
answers
27k
views
Cannot load local resource
In spring project, I am generating some pdf file automatically in my application and storing it in $CATALINA_BASE in tomcat server. The path is :
D:\Project_Local\workspace\.metadata\.plugins\org....
0
votes
1
answer
90
views
how to host 2 domains in 1 tomcat instance
I have 2 domains which point to my virtual server. The domains are accessible using different context paths like below:
domain1.com:8080/1stapp
domain1.com:8080/2ndapp
How should I configure Tomcat ...
4
votes
2
answers
338
views
How do I prevent spam domains from pointing to my site or IP?
I came across an issue where I saw a domain xyz.com that is pointing to mydomain.com.
How do I prevent spam domains from pointing to my domain? I read some posts about setting my virtual hosts and ...
6
votes
1
answer
13k
views
Tomcat serving static content with directory listings
I have Tomcat 7 configured to serve static contents from a directory:
<Host appBase="webapps" name="localhost">
...
<Context docBase="/var/projectA/static" path="/projectA/" />
&...
1
vote
1
answer
3k
views
Why the difference between Tomcat and Tomcat7 regarding servlet mapping and defaults?
With the following configuration:
<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>*.css</url-pattern>
</servlet-mapping>
<servlet-...
0
votes
1
answer
665
views
Where is my Tomcat running on my virtual server?
According to what I know; Apache and Tomcat are listing on different ports by default. If I have both of them running locally then:
localhost -> Apache home page (port 80)
localhost:8080" -> Tomcat ...
2
votes
2
answers
2k
views
Redirect to subdomain port 8080
I have my domain registered and running. I have installed lifray which is running on tomcat 7, my site url is iloveliferay.com:8080 and I want this to be at themes.iloveliferay.com, which file I need ...
3
votes
2
answers
152
views
Site-wide redirect with Tomcat4
Disclaimer: My webmastering experience is almost nil. Apologies if anything seems ignorant - if it sounds that way, it probably is.
My employer is in the middle of switching over from one version of ...
1
vote
1
answer
2k
views
mod_rewrite with Apache -> mod_jk -> tomcat
Related to some of my earlier questions.
I now have a setup I quite like;
Apache httpd listening on port 80 accepting http and https connections.
Several Tomcat instances running on several AJP ...
2
votes
2
answers
210
views
SSL Certification on both www and no-www domains
We've got our website running and HTTPS / SSL works just great.
EXCEPT: when users enter http://www.mydomain.com and then enter the secure area and get directed to https://www.mydomain.com it works ...
2
votes
2
answers
2k
views
Need some help on tomcat URL mod_rewrite or mod_jk
I am trying to remove the context name from the URL of my server.
Current URL - http://www.domainname.com/MyApp/
What I need to make is to make it available at - www.domainname.com/
So it is only ...
8
votes
1
answer
34k
views
How can I redirect port 80 to a different port with Apache?
I have tomcat running on port 8080 and want a particular URL, lets say http://example.com/app, to actually point to example.com:8080/app
I have other content on the website that should remain ...