Questions tagged as 'tomcat'

1
answer

Problems with the OpenSessionInViewer + JPA + Tomcat standard

Hello, I'm using Tomcat + JPA + Vraptor 4 and I'm using cdi to inject EntityManager as follows. EntityManagerFactoryCreator: public class EntityManagerFactoryCreator { @ApplicationScoped @Produces public EntityManagerFactory get...
asked by 28.07.2016 / 02:30
2
answers

Error starting Tomcat 9 as service

I have a problem starting the Tomcat service. When I try to start the service, some problem happens and it is not initialized. The log in C:\Program Files\Apache Software Foundation\Tomcat 9.0\logs is as follows: [2015-12-12 17:34:58...
asked by 12.12.2015 / 20:41
1
answer

What is the difference between Start and Publish on a server in Eclipse?

When I add Tomcat as a server in Eclipse, Start and Publish appear. What's the difference between them?     
asked by 12.05.2014 / 16:55
1
answer

Change Tomcat Settings on Amazon ElasticBeanstalk

I'm having difficulty assigning the JDBCHealm properties to the tomcat server. How to include new properties in the server.xml file or in the tomcat-users.xml file when the app is on the amazon server hosted with tomcat server as elasticbeanstal...
asked by 15.09.2016 / 22:14
1
answer

Tomcat log too heavy

I've noticed that some files that are inside the Log folder of Tomcat are getting too heavy. Yesterday I deleted a file with 40GB and today it already has another with 2GB . I can not read the contents of these file...
asked by 05.01.2016 / 13:44
1
answer

REST with error could not find resource for full path

I'm trying to create a very simple REST application in Java, using Tomcat 8 as the server. However, when trying to access the application: http://localhost:8080/aplicacao/rest/teste It brings me the following error: Mar 03, 2015 9:18:39 A...
asked by 03.03.2015 / 13:40
1
answer

How to ensure that a Servlet is Deployed on Tomcat 7 using Servlet Container 3.0?

I'm developing an application that uses the Servlet 3.0 API via Notes and porting does not need WEB-INF / web.xml file The problem that sometimes when I do Deploy in Tomcat 7 the Servlet is not available and I get a 404 error. There is no err...
asked by 21.03.2014 / 20:26
1
answer

Problems with Tomcat 7

I have a Java web application, installed on a Windows Server. When starting tomcat, it works normally, and addresses like: http://localhost:8085 and http://localhost:8085/examples (examples that already come with tomcat) They work n...
asked by 05.01.2015 / 17:09
1
answer

How can Maven webapp archetype work without web.xml?

I tried to create a Maven archetype webapp application in Eclipse JEE Photon: File > New > Maven Project > Next > maven-archetype-webapp 1.0 It generates the following file structure: . |-- src | '-- main | '-- ja...
asked by 02.08.2018 / 01:02
1
answer

How to configure tomcat in windows 7? [closed]

How to configure Tomcat 7 on windows 7? Do I need to configure java environment variables?     
asked by 26.08.2015 / 18:01