Questions tagged as 'tomcat'

1
answer

Image upload with PrimeFaces on TomCat server, being saved only the path of the image in the database

Talk to people. I'm a beginner in Java and I'm doing a small Dynamic Web project using PrimeFaces, JSP, Hibernate and TomCat. Basically it is about several forms of registers and one of them is the register of users. The Domain, Bean, DAO, an...
asked by 10.06.2015 / 03:23
1
answer

Spring Beans Injection in JAX-WS / Tomcat 7 (@WebServices) - Does not work, returns NullPointerException (NPE)

I would like to inject ( @Autowired or @Resource ) beans created by Spring ( 3.x or 4.x ) into a class that implements a JAX-WS interface (reference implementation). I tested it on Tomcat 6 and it works, but on Tomca...
asked by 09.09.2014 / 20:42
2
answers

Tomcat only reads Log4J.properties when rebooted

Until recently I made changes to the log4j.properties ex file: change the level of the TestMB class) and just do the redeploy the application. Now, the changes only take effect when I restart Tomcat. What will happen? Log4j.properties...
asked by 20.01.2014 / 14:46
1
answer

Tomcat 8 + MySQL + Hibernate Name [jdbc / token_data] is not bound in this Context. Unable to find [jdbc]

I'm having serious problems with an application, trying to set it up, and nothing. As a beginner on the web part, I will first say what I understood: Tomcat needs settings (xml) to work with Hibernate. In the case of the TOMCAT folder y...
asked by 10.05.2016 / 02:33
1
answer

I can not initialize Tomcat on Netbeans

When I started Tomcat in Netbeans it gave the following error: Using CATALINA_BASE: "C:\Users\chrissian\Desktop\Todo sobre o JAVA\Tomcat\apache-tomcat-7.0.63" Using CATALINA_HOME: "C:\Users\chrissian\Desktop\Todo sobre o JAVA\Tomcat\apache...
asked by 30.07.2015 / 02:25
1
answer

Possible causes for a session leak

Through a monitoring tool, I'm noticing that my application has a considerable user session leak. Each day, about a thousand user sessions are created, with none being destroyed. To take the sessions from memory, you need to restart the applicat...
asked by 27.10.2014 / 17:48
1
answer

How to fix the error: HTTP Status 500 - Servlet execution threw an exception?

Language: Java Server: Apache Tomcat. Environment: Eclipse. I'm following Caelum's Handbook for course FJ21 - Web Development with Java. I created a form but at the time of writing it presents the following error:    HTTP Status 500 - Ser...
asked by 16.01.2017 / 00:14
0
answers

Problem with Weld CDI with TomCat server

Hello everyone, I'm having trouble using the CDI implementation, Weld on Tomcat 7. I've been researching and tried several proposed solutions, but all these solutions are old, with dates of 2012. None of these solutions worked. Let the setti...
asked by 09.12.2015 / 18:54
2
answers

Workaround problem with hot development in Java?

Problem situation: You are developing a web site and doing debugging on it. For example a users CRUD. For this you are using JavaEE 1.7, Eclipse Kepler and Apache Tomcat 7. However, to the development delongo, and already with the application...
asked by 31.05.2014 / 00:43
1
answer

Servlet Container (Tomcat) or Application Server?

Currently I'm developing a project that uses JSF, JPA, CDI and EJB. I have read in several places where they stated that Tomcat (Servlet Container) does not have support for these technologies, however I am currently using Tomcat and I use all o...
asked by 11.09.2017 / 19:54