[ https://issues.apache.org/jira/browse/WSIF-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706075#action_12706075 ]
Layne Wakerell commented on WSIF-92: ------------------------------------ Hi Randy, I have been struggling with exactly the same issue for the last few days now. It seems to be a classloader visibility problem. I have tried literally every combination like creating shared-libraries for wsif.jar, log4j.jar and commons-logging.jar, removing inherited shared libraries etc.. sometimes I am getting NoClassDefFound when Trc.entry() is called and sometimes I get problems with multiple common.logging classes found in classloader hierachy (which seems to suggest to me that common.logging is loaded at a higher level in the class loader?) Im assuming its a problem between wsif.jar and commons-logging.jar and where they sit in the classloader tree. could you explain further what you mean by 'turning off classpath inclusion in the core container'. also are you deploying the common-logging jars with your app or importing them as shared libraries? thank you in advance, Layne > 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 > > 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.java:55) > at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.