Hi Ryan,

this sounds as if ojb.properties and/or the repository files were not on the classpath.
Did you follow the steps required for deploying ojb in an app server?
http://db.apache.org/ojb/docu/guides/deployment.html


cheers,
Thomas

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]



Reply via email to