Hi! Im very desperate with this problem: I'm using client SIP (SIP-Communicator), which uses felix to implement a OSGI framework,and I want to communicate with a web services through an API, but I get this error when I try it:
log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable. [java] log4j:ERROR The class "org.apache.log4j.Appender" was loaded by [java] log4j:ERROR [52.0] whereas object of type [java] log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [sun.misc.launcher$appclassloa...@11b86e7]. [java] log4j:ERROR Could not instantiate appender named "CONSOLE". [java] log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable. [java] log4j:ERROR The class "org.apache.log4j.Appender" was loaded by [java] log4j:ERROR [52.0] whereas object of type [java] log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [sun.misc.launcher$appclassloa...@11b86e7]. [java] log4j:ERROR Could not instantiate appender named "CONSOLE". [java] 19:44:06.265 GRAVE: util.UtilActivator.uncaughtException().81 An uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message was: javax/naming/Referenceable [java] java.lang.NoClassDefFoundError: javax/naming/Referenceable [java] at java.lang.ClassLoader.defineClass1(Native Method) [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:621) [java] at org.apache.felix.framework.searchpolicy.ContentClassLoader.findClass(ContentClassLoader.java:223) [java] at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClassFromModule(ContentClassLoader.java:94) [java] at org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getClass(ContentLoaderImpl.java:166) [java] at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClassOrResource(R4SearchPolicyCore.java:471) [java] at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:185) [java] at org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass(R4SearchPolicy.java:45) [java] at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClass(ContentClassLoader.java:118) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:252) [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) [java] at java.lang.ClassLoader.defineClass1(Native Method) [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:621) [java] at org.apache.felix.framework.searchpolicy.ContentClassLoader.findClass(ContentClassLoader.java:223) [java] at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClassFromModule(ContentClassLoader.java:94) [java] at org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getClass(ContentLoaderImpl.java:166) [java] at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClassOrResource(R4SearchPolicyCore.java:471) [java] at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:185) [java] at org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass(R4SearchPolicy.java:45) [java] at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClass(ContentClassLoader.java:118) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:252) [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) [java] at es.upm.dit.ims.virtualwaitingroom.VirtualWaitingRoomImplProxy._initVirtualWaitingRoomImplProxy(VirtualWaitingRoomImplProxy.java:18) [java] at es.upm.dit.ims.virtualwaitingroom.VirtualWaitingRoomImplProxy.<init>(VirtualWaitingRoomImplProxy.java:13) [java] at com.hyc.esb.enablers.VirtualWaitingRoom.createGroup(VirtualWaitingRoom.java:86) [java] at net.java.sip.communicator.impl.gui.mainDoctor.MainFrameDoctor.activeVirtualWaitingRoom(MainFrameDoctor.java:1403) [java] at net.java.sip.communicator.impl.gui.mainDoctor.MainFrameDoctor.actionPerformed(MainFrameDoctor.java:959) [java] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) [java] at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) [java] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) [java] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) [java] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) [java] at java.awt.Component.processMouseEvent(Component.java:6134) [java] at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) [java] at java.awt.Component.processEvent(Component.java:5899) [java] at java.awt.Container.processEvent(Container.java:2023) [java] at java.awt.Component.dispatchEventImpl(Component.java:4501) [java] at java.awt.Container.dispatchEventImpl(Container.java:2081) [java] at java.awt.Component.dispatchEvent(Component.java:4331) [java] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301) [java] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965) [java] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3895) [java] at java.awt.Container.dispatchEventImpl(Container.java:2067) [java] at java.awt.Window.dispatchEventImpl(Window.java:2458) [java] at java.awt.Component.dispatchEvent(Component.java:4331) [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) [java] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) [java] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) [java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) [java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) [java] Caused by: java.lang.ClassNotFoundException: javax.naming.Referenceable [java] at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:198) [java] at org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass(R4SearchPolicy.java:45) [java] at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClass(ContentClassLoader.java:118) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:252) [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) [java] ... 52 more [java] Caused by: java.lang.ClassNotFoundException: javax.naming.Referenceable [java] at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClassOrResource(R4SearchPolicyCore.java:486) [java] at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:185) [java] ... 56 more What is this?What is happened??Where is the error? and what can I do to solve it? Thanks a lot and regards Pedro