sunita, U can set that Calsspath inside the startWebLogic.sh or startWebLogic.bat or.. U can set that classpath to the jar file from setEnv.sh or setEnv.bat(note: sh is the unix based shellscript and bat is for windows batch file). I guess, this will address ur problem. I also have the following question for all...Pls help me if u can....
hi all, I am also facing simillar problem with sun J2EE reference implementation. can any one tell help me. When I run any EJB bean with log4j logging statement. I am getting follofing message: Initialization complete - waiting for client requests log4j:ERROR No appenders could be found for category (com.bodhtree.ejb.user.UserEJB). log4j:ERROR Please initialize the log4j system properly. I understant, that this is because of propert file. can any one tell me..how can I load the class requried onto sun RI. regards, Sreeram M C Software engineer(J2EE and J2ME) Bodhtree Consulting Ltd. Hyderabad. On Friday 29 March 2002 08:36 pm, you wrote: > I would appreacita if someone can tell me step by step procedure > of how to configure bea weblogic 6.1 to use log4j for logging in EJB and > servlets.And also how to use propertyconfigurator.configure(). > I tried to put log4j.jar in the callspath of setExampleEnv.cmd and > StartExamplesServer.cmd. > > I also tried to put log4.jar in library folder of ear file.But I am > getting foolowing message: > [java] > [java] ERROR: Error from ejbc: java.lang.NoClassDefFoundError: > Lorg/apache/log4j/Category > [java] at java.lang.Class.getFields0(Native Method) > [java] at java.lang.Class.getDeclaredFields(Class.java:998) > [java] at > weblogic.ejb20.compliance.SessionBeanClassChecker.checkEJBContextIsNotTrans > nBeanClassChecker.java:61) > [java] at java.lang.reflect.Method.invoke(Native Method) > [java] at > weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.j > > [java] at > weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBCompl > r.java:221) > [java] at > weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:480) > [java] at > weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:437) > [java] at > weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:204) > [java] at weblogic.ejbc20.runBody(ejbc20.java:360) > [java] at weblogic.utils.compiler.Tool.run(Tool.java:79) > [java] at weblogic.ejbc.main(ejbc.java:21) > > > Thanks, > sunita > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> For additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>