RE: [jira] Commented: (WSIF-92) NoClassDefFound error - Could not initialize class org.apache.wsif.logging.Trc - Although wsif.jar is visible in classpath (by classloader)
"Jackson, Douglas" <[email protected]> Fri, 25 Jan 2008 14:10:48 -0500
| Newsgroups | gmane.comp.apache.webservices.wsif.devel |
|---|---|
| Message-ID | <0419C2808E620348A3119DCCE2A7A6950608A8D1@USCIMPLM004.net.plm.eds.com> |
Hi! Commons logging can be configured to use log4j. Perhaps you need the log4j jars in your classpath. -Doug. -----Original Message----- From: Randy Kahn (JIRA) [mailto:[email protected]]=20 Sent: Friday, January 25, 2008 11:50 AM To: [email protected] Subject: [jira] Commented: (WSIF-92) NoClassDefFound error - Could not initialize class org.apache.wsif.logging.Trc - Although wsif.jar is visible in classpath (by classloader) [ https://issues.apache.org/jira/browse/WSIF-92?page=3Dcom.atlassian.jira.p= l ugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12562602#a= c tion_12562602 ]=20 Randy Kahn commented on WSIF-92: -------------------------------- We were able to get a more detailed Exception below on which is the missing class that Trc is looking for. Hoping WSIF experts may know how we can resolve this ?: Attaching a snippet of code from the LogFactory : We have all these files in the classpath: org.apache.wsif.logging.Trc org.apache.wsif.util.WSIFUtils org.apache.comons.logging.* The 'cause' detailed in ExceptionInInitializerError.txt Caused by: org.apache.commons.logging.LogConfigurationException: The chosen LogFactory implementation does not extend LogFactory. Please check your configuration. (Caused by oracle.classloader.util.AnnotatedClassNotFoundException: comes from the outer 'catch' in org.apache.commons.logging.LogFactory$2.run <snip> catch(Exception e) { if(logFactoryClass !=3D null && !(org.apache.commons.logging.LogFactory.class). isAssignableFrom(logFactoryClass)) { return new LogConfigurationException ("The chosen LogFactory implementation does not extend LogFactory. Please check yo" + "ur configuration.", e); } else { return new LogConfigurationException(e); =20 } } </snip>=20 > NoClassDefFound error - Could not initialize class org.apache.wsif.logging.Trc - Although wsif.jar is visible in classpath (by classloader) > ------------------------------------------------------------------------ ------------------------------------------------------------------- > > Key: WSIF-92 > URL: https://issues.apache.org/jira/browse/WSIF-92 > Project: Axis-WSIF > Issue Type: Bug > Components: Basic Architecture > Affects Versions: 2.0 > Environment: Redhat Linux, Oracle Application Server 10g (OC4J 10.1.3.1) > Reporter: Randy Kahn > Priority: Blocker > > Version number of WSIF - 2.0 > Version number of JDK (enter "java -fullversion") java full version "1.5.0_06-b" > Trying to invoke any webservice (via wsdl) using WSIF, the NoClassDef error points to Trc.class from WSIFUtils.class. > Both these classes are in wsif.jar, how come it fines WSIFUtils but not Trc ? > Here's the full error message: > Error=20 > =20 > java.lang.NoClassDefFoundError: Could not initialize class org.apache.wsif.logging.Trc at org.apache.wsif.util.WSIFUtils.readWSDL(WSIFUtils.java:446) at oracle.apps.fnd.wf.test.webui.WSIFTestCO.processFormRequest(WSIFTestCO.j ava:55) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]