Most voted "tomcat" questions
Tomcat is a Java Web application container server. As a container, it simplifies the application code by managing: communication, contexts and tasks. It also has management tools and development support.
Learn more…278 questions
Sort by count of
-
3
votes1
answer570
viewsServlet Container (Tomcat) or Application Server?
I am currently developing a project that uses JSF, JPA, CDI and EJB. I read in several places where they said that Tomcat (Servlet Container) does not have support for these technologies, but…
-
3
votes1
answer110
viewsHow can Maven’s archetype webapp work without web.xml?
I tried creating an app Maven archetype webapp in Eclipse JEE Photon: File > New > Maven Project > Next > maven-archetype-webapp 1.0 It generates the following file structure: . |-- src…
-
2
votes3
answers1547
viewsSave same object multiple times
Solution: setar id = null Code saved 10 times if running on the Tomcat server, but running on Glassfish only adds once. <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.0"…
-
2
votes1
answer949
viewsTomcat continues to show old files
I update the files (html, javascript), but when I access the index.html, the files are not as they should, there shows a totally different page, older, and the file of this page does not exist…
-
2
votes1
answer187
viewsModularization without OSGI in Web project
I have a project that will be fairly large, so it would be very interesting to modularize, I know, there is Osgi, but I found it very complex and had difficulty adapting my application, the…
tomcatasked 10 years, 7 months ago Rodrigo Rodrigues 573 -
2
votes1
answer3184
viewsgetOutputStream() has already been called for this Response
I created two identical error pages for two systems running within the same Tomcat. One of the pages works normally and the other occurs the following error. Within the development and homologation…
-
2
votes0
answers375
viewsHow to automate the deployment process?
Using Jenkins, to get changes to a branch and send immediately to production what are the ways to build the server infrastructure? I mean, there is another possibility to do this besides owning more…
-
2
votes1
answer69
viewsAndroid server
I would like to know how apps like this, provide a web service through the smartphone? Is there a Tomcat that runs on Android? or something that does this? Ps.: Google showed me just the Talking Tom…
-
2
votes0
answers305
viewsError while logging in with Spring Security and JSF
I am trying to implement a login with Spring Security 4.0.1.RELEASE and JSF 2.2, when trying to log in it always returns as invalid login. login.xhtml <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0…
-
2
votes1
answer634
viewsTomcat does not update files
The problem is this, every time I change a file (index for example), restart the tomcat(v7) and F5 tightening in the browser, it stays the same, does not update anything, ie end up staying in the…
-
2
votes1
answer2869
viewsTomcat 9 - #algaworks boot problem
Following #algaworks' book, I tried to install and check the functionality of Tomcat (both version 8 and version 9), and when opening the startup.bat file and accessing localhost:8080 via browser,…
-
2
votes0
answers277
viewsUse of two different certificates for nfse abrasf issuance
I am sending notes to abrasf using the code below to load keystrore certificate information and tals. Only when sending with a certificate and then with another from another taxpayer refuses to…
-
2
votes1
answer113
viewsSpring Loaded is not working
I have a Spring 3.1.4 project and I’m setting up the spring-loaded follows the image below: The Tomcat performs well but the spring-loaded is not working any change I have to raise Tomcat again.…
-
2
votes1
answer435
viewsHide Tomcat version on error pages
I have a API Rest running on a server Tomcat. If I try to directly access the API and some error happens to the error page of Tomcat is displayed: Notice that at the end is the following passage:…
-
2
votes0
answers162
viewsHeroku does not work after adding dependencies to pom.xml (Maven)
I deployed a java project with Maven, it worked smoothly, but after I put the dependencies in the pom.xml file and push, Heroku no longer runs, not even "hello world". Follows as was pom.xml, then…
-
2
votes1
answer271
viewsCreate Rest service versions
I am creating Rest services with Java (Jersey). This service tends to grow and evolve, and may undergo changes in existing routines, therefore, I believe that the best way would be to create…
-
2
votes0
answers695
viewsHow to make a download available on a web page having the files on my computer, outside of my web project?
I need to make a web application that the user uploads PDF files and can download them later. The upload part is done, save the files to a folder on my PC /home/william/web. To save the files on my…
-
2
votes1
answer143
viewsConfigure Tomcat to force Https
Good guys, I need a help to configure my Cat and "force" my application to run on Https. I am using the Integrator Server, I have already installed the certificate it runs in the root folder but in…
tomcatasked 7 years, 10 months ago Diego Adriano 101 -
2
votes0
answers92
viewserr_too_many_redirects only in production environment
I have an app that pays some employees. On the screen it comes selected from the current month, not to need to select, but if you have mtos data on screen it while processing brings "The…
-
2
votes6
answers2011
viewsHibernate is not creating the tables
I am new to the subject Hibernate, for the little I have learned, I believe I did everything right, ie, I lowered the dependencies, I wrote down the classes, etc. Below follows my class example:…
-
2
votes1
answer161
viewsConfiguring port in Tomcat
I am developing various services and these are run at port 8080 by Tomcat. Since the next services to be generated are unrelated to the services that have already been generated, it was requested…
-
2
votes1
answer285
viewsProblems picking up accentuated files on Tomcat 8!
I have the same application on Tomcat 7 and in the Tomcat 8, only in the Tomcat 8 is a problem, I’m src of an image but in the image files it has an "not found" error accentuation, it follows…
-
2
votes1
answer1299
viewsConfiguring Tomcat with SSL
I followed the tutorial on the site Tomcat who basically tells you to do two things: Create a . Keystore with password changeit through Keytool.exe. I saved the resultate file in C: Users Vinicius…
-
2
votes1
answer291
viewsError deploying with Tomcat 7
I made an app with springboot and when I run it inside the springboot it works normally but when I run War and I put to run in Tomcat it gives some errors. I’ve tried a few things I’ve seen on the…
-
2
votes1
answer73
viewsIs it possible to use libraries within the structure of the java project?
My question is the following, can I by relative way link my . JSP to a library within the project directory? Or only in the server directory: Webapps, etc? At the moment, when I want to show an…
-
2
votes0
answers35
viewsCDI bean that goes up with the application
Is there any way to start a CDI bean next to the application I have the following bean: @ApplicationScoped @Named public class MyBean implements Serializable { @Inject private Helper helper;…
-
2
votes0
answers115
viewsRedirecting HTTP requests to HTTPS in Spring Boot - (Wildfly server)
I want to deploy a Spring Boot app in Wildfly that features HTTP request forwarding to HTTPS. Here is the application.properties: server.port=8443 server.ssl.key-alias=https-example…
-
1
votes1
answer202
viewsUsing Newrelic to monitor Java applications on Tomcat7
As well as monitoring PHP and Django, I would like to monitor the "Browser page load time" of applications java. I installed the "Java agent self-installer" as described in the New Relic documents.…
-
1
votes1
answer1917
viewsTomcat: Application at context path /Project could not be Started
I’m facing some problems with Tomcat 8.0.9 when I tried to get into /Projeto I received a HTTP STATUS 404, I went to look at the manager and was standing still, when I tried to start the /Projeto…
-
1
votes0
answers289
viewsStarting Tomcat v7.0 server at localhost has encountered a problem
I am trying to start Tomcat Server locally, but this problem occurs. Could someone help me?…
-
1
votes1
answer2969
viewsAccess application on a virtual machine with Tomcat server
I’m not sure if I can ask here but come on, I have a demand because I want to test in this virtual machine the system in different browsers. Problem I can’t access, someone already made this type of…
-
1
votes2
answers1131
viewsGenexus X Ev3 and Tomcat error 7.0.54
I’m using Genexus X Ev3 to generate a web application with Java and I am using SDK 7 Update 55. I recently upgraded my Tomcat to version 7.0.54 and I started having the following error in the Tomcat…
-
1
votes0
answers133
viewsTomcat7 cluster does not replicate session
I have an Ubuntu with 2 Tomcat7 with the following cluster settings: The balancer is Apache MOD_JK. SERVER.XML: <Engine name="Catalina" defaultHost="localhost" jvmRoute="no0"> <Cluster…
-
1
votes1
answer87
viewsMemcached + Tomcat authentication
I’m testing the Memcached to implement failover on my Tomcat servers. Is there any way to implement user/password security? Memcached will be on a public IP, so I find it unsafe that he’ll be…
-
1
votes1
answer98
viewsVaadin project error in "pom.xml"
I created a Maven project and put the dependencies, I got the bug in the pom related to dependency Servlet . <dependency> <groupId>javax.servlet</groupId>…
-
1
votes1
answer161
viewsOutputtext only updates after Tomcat Restart
I’m using Tomcat 7, Eclipse Juno (on Windows 7) and Primefaces 5 for my application. After registering some information in the database (vaccines for vaccination booklet), access a screen…
-
1
votes1
answer498
viewsError running JSF page on Tomcat
Guys, I have a problem here that is hard to solve. I’m trying to list some disciplines on a JSF page, follow the code: Disciplinabean.java @ManagedBean(name="disciplinaBean") @SessionScoped public…
-
1
votes1
answer325
viewsSettings not applied when initializing Tomcat
I have a specific setting to be performed on catalina.bat, and this setting works perfectly when starting the application server by running the script catalina.bat (or of startup.bat). However, when…
-
1
votes1
answer72
viewsProblem registering a directive on Tomcat using Eclipse on Ubuntu
Good morning I’m having trouble putting this directive -Dorg.apache.el.parser.COERCE_TO_ZERO=false in the VM arguments of Tomcat 7, it does not save settings. I already gave permission in the folder…
-
1
votes0
answers353
viewsTomcat + jsf + Hibernate application = Slow to boot
My application is very slow to boot. Follow the eclipse log where it takes longer: INFO: HHH000397: Using Astquerytranslatorfactory
-
1
votes1
answer457
viewsError in applicationContext-security.xml
My first xml file applicationContext-security.xml: <?xml version="1.0" encoding="UTF-8"?> <b:beans xmlns="http://www.springframework.org/schema/security"…
-
1
votes1
answer281
viewsJSF cluster application
What my application (JSF + Primefaces) needs to work with in a cluster? I am doing a test in a cluster 3 Tomcat environment (with session replication) and my test application does not work. At first…
-
1
votes3
answers5288
viewsProblem with access to Tomcat at time of deployment
I am working on a Javaee project in Netbeans IDE 8.0.1 using Tomcat 8.0.9 as a container. The problem occurs at the time of project execution, the IDE asks for a user and password and I provide…
-
1
votes1
answer50
viewsDoubt with the Tomcat
I started to learn JSF and installed the Tomcat, but when I start it appears this message: Port 8080 required by Tomcat v7.0 Server at localhost is already in use. The server may already be running…
tomcatasked 9 years, 11 months ago Carlos Leandro Ferreira de Alm 339 -
1
votes1
answer790
viewsGenexus EV3 + Tomcat 8
Hello, I have a project where I have always used the Tomcat 7, and always worked smoothly. However, when asked to run the project with Tomcat 8 the pages return error 404. In the logs to Tomcat…
-
1
votes1
answer641
viewsThere is a standard size for increasing Tomcat memory
Hello, there is a standard size for increasing Tomcat memory, through the Xmx and Xms parameters?
-
1
votes2
answers30
viewsTomcat Problem - "Obsolete Files from Server"
Good night! This afternoon my computer got emotional and hung up by itself while I was climbing up the Tomcat. As I was going out, I didn’t care much. However, now that I arrived from college and…
-
1
votes2
answers336
viewsInstantiate an external Java directory class in JSP
I created my app Java with Eclipse in the directory Meus Documentos/workspace/TesteJAVA/ Now I want to call a class with JSP, want to know how to configure to grab the application from this…
-
1
votes0
answers533
viewsProblem with Tomcat sessions
I would like to know the following staff, a company application presents a high number of sessions in the manager of Tomcat. The system has been rising in the number of users and would like to know…
-
1
votes1
answer361
viewsJava Web Authentication Control
Good evening, I’m doing a project using JSF, Hibernate and Tomcat and one of the requirements is: X RF 01. The system must use access passwords for secure application control. What could I use in…