aspose file tools*
The moose likes Glassfish and the fly likes Getting :"in server.log" title="" /> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Glassfish
Bookmark "Getting :"|SEVERE|glassfish3.1.2||No valid EE environment for injection of <classname>"in server.log" Watch "Getting :"|SEVERE|glassfish3.1.2||No valid EE environment for injection of <classname>"in server.log" New topic
Author

Getting :"|SEVERE|glassfish3.1.2||No valid EE environment for injection of <classname>"in server.log

shiva kanupuri
Greenhorn

Joined: Mar 03, 2014
Posts: 1
Hi All,

Our application is written in EJB and We are getting a warning as follows in the server.log:

"2014-02-10T06:14:15.340+0000|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=60;_ThreadName=Thread-2;|No valid EE environment for injection of <classname>" we have used @inject for CDI. Please let me know why we are getting this issue? Anyone please help me in resolving this issue.
Michael A Hoffman
Ranch Hand

Joined: Mar 04, 2009
Posts: 37

Can you check the installed features for Glassfish? By some chance, is it set as JavaEE 5?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting :"|SEVERE|glassfish3.1.2||No valid EE environment for injection of <classname>"in server.log