Can you try @Resource(lookup="fileloc"), or @Resource(mappedName="fileloc")?
lookup("fileloc") should work. Can you post the stacktrace? Could be
caused by some special characters in your value like : \
-Cheng
--
[Message sent by forum member 'cf126330']
View Post: http://forums.java.net/node/880055