You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Laila Taher <lt...@emirates.net.ae> on 2004/12/04 09:15:20 UTC
log4j:WARN No appenders could be found for logger
(org.apache.axis.i18n.ProjectResourceBundle)
Hi,
When i try to run one of the samples of UDDI4j i get the below error:
What could be the problem? I have added log4j.jar to the class path, and
have set the " log4j.appender.LOGFILE.File" to the a log file called
juddi.log
*********** Running FindBusinessExample ***********
log4j:WARN No appenders could be found for logger
(org.apache.axis.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" java.lang.ClassFormatError:
javax/mail/internet/MimeBodyPart (Truncated class file)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
at
org.apache.axis.Message.isAttachmentSupportEnabled(Message.java:277)
at org.apache.axis.Message.setup(Message.java:338)
at org.apache.axis.Message.<init>(Message.java:246)
at org.apache.axis.client.Call.invoke(Call.java:1718)
at org.uddi4j.transport.ApacheAxisTransport.send(Unknown Source)
at org.uddi4j.transport.TransportBase.send(Unknown Source)
at org.uddi4j.client.UDDIProxy.send(Unknown Source)
at org.uddi4j.client.UDDIProxy.find_business(Unknown Source)
at FindBusinessExample.run(FindBusinessExample.java:76)
at FindBusinessExample.main(FindBusinessExample.java:46)
--
Regards,
Laila Taher
Re: log4j:WARN No appenders could be found for logger
(org.apache.axis.i18n.ProjectResourceBundle)
Posted by Laila Taher <lt...@emirates.net.ae>.
Hi,
I have solved the below error, i found that i missed including axis.jar
in the class path.
But now i'm getting another error, any idea?
*********** Running FindBusinessExample ***********
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/axis/AxisFault
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at org.uddi4j.transport.TransportFactory.getTransport(Unknown
Source)
at org.uddi4j.client.UDDIProxy.send(Unknown Source)
at org.uddi4j.client.UDDIProxy.find_business(Unknown Source)
at FindBusinessExample.run(FindBusinessExample.java:76)
at FindBusinessExample.main(FindBusinessExample.java:46)
Laila Taher wrote:
> Hi,
>
> When i try to run one of the samples of UDDI4j i get the below error:
> What could be the problem? I have added log4j.jar to the class path,
> and have set the " log4j.appender.LOGFILE.File" to the a log file
> called juddi.log
>
> *********** Running FindBusinessExample ***********
> log4j:WARN No appenders could be found for logger
> (org.apache.axis.i18n.ProjectResourceBundle).
> log4j:WARN Please initialize the log4j system properly.
> Exception in thread "main" java.lang.ClassFormatError:
> javax/mail/internet/MimeBodyPart (Truncated class file)
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:219)
> at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:176)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
> at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
> at
> org.apache.axis.Message.isAttachmentSupportEnabled(Message.java:277)
> at org.apache.axis.Message.setup(Message.java:338)
> at org.apache.axis.Message.<init>(Message.java:246)
> at org.apache.axis.client.Call.invoke(Call.java:1718)
> at org.uddi4j.transport.ApacheAxisTransport.send(Unknown Source)
> at org.uddi4j.transport.TransportBase.send(Unknown Source)
> at org.uddi4j.client.UDDIProxy.send(Unknown Source)
> at org.uddi4j.client.UDDIProxy.find_business(Unknown Source)
> at FindBusinessExample.run(FindBusinessExample.java:76)
> at FindBusinessExample.main(FindBusinessExample.java:46)
>
>
>
--
Regards,
Laila Taher