Thanks for responding, Matt!
Actually, it does load on server start up...
Using Oracle Enterprise Pack for Eclipse, I created an Enterprise Project and named it:
PropertiesDemoEAR
I also created a PropertiesDemoEARWeb module in which I put this code
(inside PropertiesDemoEARWeb /
Java Resources / src / com.project.util):
Inside PropertiesDemoEAR/EarContent/META-INF/weblogic-application.xml
Added the following listener declaratively:
Right clicked on the PropertiesDemoEAR / Export / EAR file / Destination:
C:\Oracle\Middleware\user_projects\domains\MyDomain\autodeploy
When I run WebLogic 11g through Eclipse, I get this error message in the console:
Question(s):
(1) What am I possibly doing wrong? Why can't it find my PropertiesFileHandler class?
(2) Is the location (c:/etc/error.properties) of my properties file suitable or should it be inside MyDomain directory?
(3) Is there a default directory or just simple configuration area that WebLogic loads properties files which are accessible to any application that runs in WebLogic?