All I want is to get access to the properties in the tomee.xml file from
within my servlet.  I can not get the #Resource DI to work (as seen by the
stack dump above), nor does the 

                Session session = Session.getDefaultInstance(properties,
                                new javax.mail.Authenticator() {
                                        protected PasswordAuthentication 
getPasswordAuthentication() {
                                                return new 
PasswordAuthentication("my@emailaddress","mypassword");
                                        }
                                });     


work, all the values return as null.

I have read 6 - 8 different web pages before posting here.  I don't
understand what I am missing.




--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/Why-does-Resource-crash-the-start-of-TomEE-tp4678614p4678621.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to