ws-wsif-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jackson, Douglas" <djack...@ugs.com>
Subject 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)
Date Fri, 25 Jan 2008 19:10:48 GMT
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:wsif-dev@ws.apache.org] 
Sent: Friday, January 25, 2008 11:50 AM
To: wsif-dev@ws.apache.org
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=com.atlassian.jira.pl
ugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562602#ac
tion_12562602 ] 

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 != 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);    
     }
   }
</snip> 

> 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.j
ava: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.


---------------------------------------------------------------------
To unsubscribe, e-mail: wsif-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wsif-dev-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: wsif-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wsif-dev-help@ws.apache.org


Mime
View raw message