Questions tagged as 'tomcat'

0
answers

Use @RolesAllowed annotation in tomcat using basic authentication in jax rs

I have a rest service like the following @Path("/noticias") public class ServicioNoticias { @GET @Produces(MediaType.APPLICATION_JSON) @RolesAllowed({ "user" }) public List<Noticia> getNoticias() { List<Notic...
asked by 04.12.2018 / 18:19
1
answer

Error Unsupported major.minor version 52.0 servlet and tomcat

Friends I get this error when uploading my project to the apache tomcat I use apache tomcat 7.0.67 IDE: Netbeans 8.2 with java plataform jdk 1.8 run java EE 6 Web  your help please.     
asked by 21.11.2018 / 22:53
0
answers

Tomcat 9 WebXMLParseException with Spring 5

I've been trying to migrate an application from Tomcat 8.0.27 to Tomcat 9.0.12 to start using HTTPS / 2. The application has Spring 5.0 framework, these are the libraries I am using: <!-- https://mvnrepository.com/artifact/org.springframewo...
asked by 26.10.2018 / 08:57
0
answers

Error configuration single sign on CAS Server

I'm trying to create a java application which redirects to other applications for which it uses cas server 5.3 to authenticate the users, the problem comes when I try to redirect the applications because the session is saved but only for that ap...
asked by 14.09.2018 / 18:49
0
answers

Tomcat does not process my xhtml

I'm doing a project with sprig-boot, jsf, tomcat and maven, when I run the app with the command mvn-spring-boot:run works perfectly with my embedded tomcat, but when I go to my tomcat on the server, I charge my war and it I give in deploy...
asked by 31.08.2018 / 00:06
1
answer

Connection failed through JNDI

Running under a Tomcat 9 and JDK 1.8, using Spring 5, I am trying to configure a JNDI connection to use a DataSource. If I configure Spring, through XML, I get my DataSource and everything seems to work fine. I configured the DataSource in my...
asked by 30.08.2018 / 07:53
1
answer

Close session in hibernate when returning an ArrayList

I have a problem wanting to close a session in hibernate. I enclose the code that works for me public ArrayList<Empresa> getEmpresas() { Session session = null; SessionFactory sesion = HibernateUtil.getSessionFactory(); se...
asked by 21.06.2018 / 07:15
1
answer

Deployment of EAR in TomEE

Beginning to explore TomEE, the following question arises: to install an EAR according to what the documentation says, you must upload the EAR to the "apps" folder and say that you have to modify the tomee.xml so that the folder of deploy be "ap...
asked by 24.04.2018 / 15:37
0
answers

error when installing red5 shoutcast throws me the following error

I try to install it and I get the mistake of the following image, and I do not know where the Iscope file goes, create a folder called org, with its subdirectories, place an Iscope.class in the path, but do nothing ... I do not know where the ro...
asked by 15.04.2018 / 00:31
0
answers

Many files are generated in Tomcat's temporary folder

One of our clients informed us that the application that we did for them and that is hosted on AWS was falling constantly. We started to review the logs and discovered that the server was falling and throwing the following exception: "too man...
asked by 17.04.2018 / 15:51