Hi Ryan,
I was having the same problem after updating from an older rc to the 1.0 release, ( I posted a question a few days ago, but I realized now I was not giving the right info, I was going crazy with that Exception ).
Well, I have just realized the problem is related with the Java policy permissions. I don't know yet which permission is needed, but if you want to try it, add "java.security.AllPermission" to your .java.policy file and try ( restart server ).
Hope this helps!
K.
Ryan Layer wrote:
I am able to get OJB to function properly in an un-managed environment. But when I attempt to deploy an EJB with in the Sun Application Server I get the following error :
Could not create Entity EJB; nested exception is: java.lang.NullPointerException
java.lang.NullPointerException
at org.apache.ojb.broker.util.logging.LoggerFactoryImpl.getLogger(Unknown Source)
at org.apache.ojb.broker.util.logging.LoggerFactory.getLogger(Unknown Source)
The line causing this error is:
private Logger log = LoggerFactory.getLogger(SectionBean.class);
I have read the ejb deployment documentation but cannot seem to fix this issue.
Could it be that I am not properly setting my CLASSPATH, therefore the
LoggerFactory cannot get the configs? Or would this produce a different error?
Thanks for your help.
--Ryan Layer
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
