Hello,

Trying to log from an EJB of a weblogic app-server I get the following
exception.


ERROR : java.lang.NullPointerException
ERROR :         at
java.io.ObjectOutputStream.writeInternal(ObjectOutputStream.java:1368)
ERROR :         at
java.io.ObjectOutputStream.write(ObjectOutputStream.java:1390)
ERROR :         at java.io.PrintStream.write(PrintStream.java:222)
ERROR :         at
java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:230)
ERROR :         at
java.io.OutputStreamWriter.flush(OutputStreamWriter.java:244)
ERROR :         at
org.apache.log4j.helpers.QuietWriter.flush(QuietWriter.java:49)
ERROR :         at
org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:306)
ERROR :         at
org.apache.log4j.WriterAppender.append(WriterAppender.java:150)
ERROR :         at
org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
ERROR :         at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(Append
erAttachableImpl.java:57)

ERROR :         at
org.apache.log4j.Category.callAppenders(Category.java:187)
ERROR :         at org.apache.log4j.Category.forcedLog(Category.java:372)
ERROR :         at org.apache.log4j.Category.log(Category.java:864)
ERROR :         at
com.terayon.framework.debugLogging.TrnLogger.debug(TrnLogger.java:92)
ERROR :         at
com.terayon.nms.function.discovery.CreateGroup.execute(CreateGroup.java:29)
ERROR :         at
com.terayon.nms.function.AFunction.executeFunction(AFunction.java:74)
ERROR :         at
com.terayon.meta.im.function.runRule(com_terayon_meta_im_function.java:85)
ERROR :         at
com.terayon.meta.im.function.run(com_terayon_meta_im_function.java:54)
ERROR :         at com.dorado.runtime.OWRule.run(Unknown Source)
ERROR :         at
com.dorado.core.ejb.ruleengine.OWRuleEngine.callEJBRule(Unknown Source)
ERROR :         at
com.dorado.core.ejb.ruleengine.OWRuleEngineEOImpl.callEJBRule(OWRuleEngineEO
Impl.java:275)
ERROR :         at
com.dorado.core.ejb.ruleengine.OWRuleEngineEOImpl_WLSkel.invoke(OWRuleEngine
EOImpl_WLSkel.java:119)
ERROR :         at
weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAda
pter.java:347)
ERROR :         at
weblogic.rmi.extensions.BasicRequestHandler.handleRequest(Unknown Source)
ERROR :         at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
5)
ERROR :         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
ERROR : TrnLogger.trnLogger =
com.terayon.framework.debugLogging.TrnLogger@1df61d



The properties file contains only a ConsoleAppender (have read that
file-appeanders cannot be used in EJBs).

What can be the matter?

        thank you,

              Rami A.
 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to