Questions tagged as 'tomcat'

1
answer

Migrate Tomcat server for Wildfly in eclipse

I'm trying to migrate a project (Java, HIbernate, JSF, SpringSecurity, CDI, Mysql) that currently runs on TOMCAT, to WILDFLY. I already configured the "standalone" with the connection and Wildfly alone initializes without any error. When I in...
asked by 12.02.2018 / 13:34
0
answers

Problem when querying table by WebService

So, I'm creating a WebService in Java, after creating the class to connect to MySQL database and the class "UserData" to run the application I solved testing using soapUI, when I do the test it claims to me the error: / p> <faultstring>Th...
asked by 15.02.2018 / 20:37
0
answers

Openshift deploy error

I'm having trouble deploying in OpenShift. First of all, I know how to deploy, already looked at the documentation and videos explaining. The error is that after I deploy I do not have access to any web page of my project. I tried using the Tomc...
asked by 13.02.2018 / 01:14
1
answer

Tomcat maven web project rest application do not work netbeans

Personal I created a simple application to make a web service I did it as follows netbeans file - > new project - > Maven (web application) I created a class called RestApplication package br.com.teste.testeteste.rest; import javax.w...
asked by 29.03.2018 / 23:01
1
answer

Make a downloadable file available in an API that returns JSON

Hello, I'm developing an API in Java. It is basically a java servlet that returns content in json (application / json). With a tomcat server. One of the answer fields is supposed to be a link to downloading a .txt file. I do not know how....
asked by 06.02.2018 / 18:03
0
answers

Error executing project in TomCat

Hello everyone, I'm trying to run a JavaWeb project on TomCat, but when I run it it gives this error:    HTTP Status 404 - /Drogaria/faces/templates/modeloSistema.xhtml        type Status report       message /Drogaria/faces/templates/mo...
asked by 18.01.2018 / 17:07
0
answers

Tomcat 7.0.76 HTTP Status 500

Good evening guys, I'm breaking my head with this CentOS 7.0. The story is as follows: I installed a machine with CentOS 7.0 and installed Tomcat. So much to wonder, I accessed the default page that it confirms the installation. My deve...
asked by 16.12.2017 / 03:18
0
answers

Exception does not start application start

Below is my pom.xml and the exception that appears on the console. I've followed all the recommendations I've found, usually speaking to redo the steps to generate the project or to check the dependencies. I'm using java 8 and tomcat tbm 8. Any...
asked by 14.12.2017 / 15:59
0
answers

Schedule execution from time to time

I'm creating an antddos in my servlet, to better understand how I want to restrict the number of requests from the same ip to my servlet. Currently I'm doing it this way: I have a list where every request that is made to it is stored ip in th...
asked by 30.11.2017 / 15:21
1
answer

CDI is not working with Tomcat7 by maven + JSF

I'm not getting the CDI to work, I'm using the maven tomcat7 plugin. The beans.xml is created and in the WEB-INF folder, context.xml is also in the META-INF folder, I also put the dependencies of the CDI, both implementation and specification...
asked by 03.11.2017 / 19:31