I think i've fallen fowl of a bug.... Let me outline the steps to reproduce.

1) Create an application scoped bean

public class BugBean {
        public String getBugVal(){
                return "bugval";

2) Create a JSP to show it.
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"

3) Start Tomee.....Load the page.  It doesn't work, bugbean is not resolved.

however. If you hot deploy a new version, (or make a code change within
Eclipse and allow TomEE to restart),  then it works!

The same problem regardless if you use @Singleton or @ApplicationScoped

.... OR, am I doing something wrong?


View this message in context: 
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to