Return-Path: X-Original-To: apmail-karaf-user-archive@minotaur.apache.org Delivered-To: apmail-karaf-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA8791024A for ; Fri, 9 Aug 2013 15:02:18 +0000 (UTC) Received: (qmail 70941 invoked by uid 500); 9 Aug 2013 15:02:17 -0000 Delivered-To: apmail-karaf-user-archive@karaf.apache.org Received: (qmail 70918 invoked by uid 500); 9 Aug 2013 15:02:16 -0000 Mailing-List: contact user-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@karaf.apache.org Delivered-To: mailing list user@karaf.apache.org Received: (qmail 70908 invoked by uid 99); 9 Aug 2013 15:02:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Aug 2013 15:02:15 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: encountered temporary error during SPF processing of domain of vetalok@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Aug 2013 15:02:07 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1V7oBy-0004av-RU for user@karaf.apache.org; Fri, 09 Aug 2013 08:01:26 -0700 Date: Fri, 9 Aug 2013 08:01:26 -0700 (PDT) From: vetalok To: user@karaf.apache.org Message-ID: <1376060486845-4029430.post@n3.nabble.com> In-Reply-To: <52050248.8070509@nanthrax.net> References: <1376056484515-4029428.post@n3.nabble.com> <52050248.8070509@nanthrax.net> Subject: Re: Karaf 2.3.2: ClassNotFoundException for javax.* packages MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Removed all the jars from endorsed folder but the problem still exist: karaf@root> Exception in thread "SpringOsgiExtenderThread-6" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'h azelcast' defined in URL [bundleentry://160.fwk1329414206/META-INF/spring/HazelcastInstance.xml]: Instantiation of bean failed; nested exception is or g.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static com.hazelcast.core.HazelcastInstance com.hazelcast.core.Ha zelcast.newHazelcastInstance(com.hazelcast.config.Config)] threw exception; nested exception is java.lang.NoClassDefFoundError: javax/security/auth/lo gin/LoginException at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFacto ry.java:1025) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:921 ) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationCont ext.java:69) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.ja va:355) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplication Context.java:320) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(Dependen cyWaiterApplicationContextExecutor.java:132) at java.lang.Thread.run(Thread.java:722) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static com.hazelcast.core.HazelcastInstance com.haze lcast.core.Hazelcast.newHazelcastInstance(com.hazelcast.config.Config)] threw exception; nested exception is java.lang.NoClassDefFoundError: javax/sec urity/auth/login/LoginException at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:181) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) ... 16 more Caused by: java.lang.NoClassDefFoundError: javax/security/auth/login/LoginException at com.hazelcast.impl.Node.(Node.java:171) at com.hazelcast.impl.FactoryImpl.(FactoryImpl.java:374) at com.hazelcast.impl.FactoryImpl.newHazelcastInstanceProxy(FactoryImpl.java:121) at com.hazelcast.impl.FactoryImpl.newHazelcastInstanceProxy(FactoryImpl.java:107) at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:507) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:160) ... 17 more Caused by: java.lang.ClassNotFoundException: javax.security.auth.login.LoginException at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501) -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-2-3-2-ClassNotFoundException-for-javax-packages-tp4029428p4029430.html Sent from the Karaf - User mailing list archive at Nabble.com.