Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.5.0
-
None
-
None
-
Windows 7 x64; jdk-1.7.0_07 32 bit; apache-tomee-1.5.0-webprofile.zip
Description
Steps to reproduce:
1. Download Tomee 1.5.0 ZIP, unzip to some folder.
2. Setup CATALINA_HOME variable pointing to the same folder.
3. Put the file TomeeTest.war (attached) to /webapps folder
3. Execute startup.bat (tomme starts up OK, http://localhost:8080/tomee is visible and functions OK, all the tests are OK)
4. Point browser to http://localhost:8080/TomeeTest/
5. Page loads, renders only: "Current date is:" without actual date.
index.xhtml contains:
<h:body>
Current date is: #
</h:body>
DateBean.java contains:
@Named
@RequestScoped
public class DateBean {
@PostConstruct
private void init()
@PreDestroy
private void die()
public String currentDate()
{ System.out.println("Method was called..."); return "" + new Date(); }}