Operation Failed With Error Org/apache/log4j/category
CommunityOracle User Group CommunityTopliners CommunityOTN Speaker BureauJava CommunityError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. Please enter a title. You can not post a blank message. Please type your message and try again. More discussions in OC4J All PlacesOracle CommunityArchived ForumsFusion Middleware Archived ForumsApplication Server Archived ForumsOC4J This discussion is archived 2 Replies Latest reply on Apr 5, 2008 12:38 AM by 451746 Operation failed with error:org/apache/log4j/Category 547776 Mar 8, 2008 9:28 AM Hi all, I devlope ADF applicaiton using JDevloper 10.1.3.3 and it can run smoothly in the Jdevloper embedded OC4J,but the following error occurs when I delployed it to standalone OC4J 10.1.3.3,any suggestion,thanks in advance 08/03/08 04:22:26 warining: DeployerRunnable.run java.lang.ExceptionInInitializerErrororacle.oc4j.admin.internal.DeployerException: java.lang.ExceptionInInitializerError at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:139) at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52) at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.ExceptionInInitializerError at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:252) at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1141) at com.evermind.server.http.HttpApplication.
SupportProfessional SupportDownloadHosted Download Try now Administrator's Guide OC4J installation OC4J installation Last modified by Sorin Burjan on 2013/02/19 13:21 Export Annotate Print preview View Source Siblings Comments Attachments History Information × Export Export as PDF Export as HTML Cancel These instructions cover Oracle Application Server 10.1.3.1.0; other versions may differ.Choose/prepare a XWiki distributionThe 'web standard hsqldb.war' build will work right out of the box if you don't mind https://community.oracle.com/thread/629550 it storing its own HSQL database files in ...oracle/product/10.1.3.1/OracleAS_1/j2ee/home/database/.Note that the database directory already exists within the OAS install and is used for other things so you may want to change this directory by editing hibernate.cfg.xml in the .war file. Another option is to edit http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationOC4J hibernate.cfg.xml after it has been deployed to the server.Install XWiki as an OC4J webappInstall XWiki using the Oracle Enterprise Manager webapplication in an already working OAS installation.As of 10.1.3.x the Manager webapp is located at the following address: http://server_address/em/Click on an OC4J instance, then click the "Applications" tab and then "Deploy".Choose the xwiki.war file you have downloaded.On the third deployment page you will be given the option to "Edit Deployment Plan". Click this, open the "war" tree segment on the left, click "xwiki", scroll down and click "Edit webAppClassLoader", change "searchLocalClassesFirst" to "true", click "Continue" and then "Ok".Configuring XWiki to use the OC4J LoggerInside your xwiki.war file find WEB-INFcommons-logging.properties.As a default it looks like this: org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImplTo make it use "Oracles Logging" modify it to look like this: org.apache.commons.logging.LogFactory=oracle.core.ojdl.log4j.OracleAppenderMaking the above change also prev
This Site Careers Other all forums Forum: BEA/Weblogic Log4j in Weblogic - ClassNotFoundException https://coderanch.com/t/479763/BEA-Weblogic/Log-Weblogic-ClassNotFoundException please help Guy Belpa Ranch Hand Posts: 41 posted 6 years ago Hi all, I develope a web based application using Jdeveloper+struts For logging i used log4j My webserver is Oracle Weblogic. But when I install and start the web application using weblogic operation failed console it gives an error, java.lang.ClassNotFoundException: org.apache.log4j.Category My libries in WEB-INF/lib as follows, antlr.jar commons-beanutils.jar commons-digester.jar commons-fileupload-1.0.jar commons-validator.jar dom4j-1.6.1.jar dwr.jar jakarta-oro.jar struts.jar log4j-1.2.8.jar Do you have any idea? Do you need any more information please tell. Thanks in advace. Deepak Bala Bartender Posts: operation failed with 6663 5 I like... posted 6 years ago Are you sure the log4j library in your application is not being loaded. Can you post the entire stack trace ? SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks Andy Kay Greenhorn Posts: 29 posted 6 years ago Try adding log4j.jar to the classpath. if you are using logkit.jar, add that as well to classpath. http://ananthkannan.blogspot.com Guy Belpa Ranch Hand Posts: 41 posted 6 years ago entire stack trace : org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@116e2a2 for org.apache. commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons.logging.LogConfigurationException: No suitabl e Log constructor [Ljava.lang.Class;@116e2a2 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category)) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) at org.apache.struts.action.ActionServlet.