Make sure your pom.xml file uses the SAME jetty version. You have mixed versions. You should use the Jetty version that Fuse ESB uses out of the box.
On Wed, Sep 4, 2013 at 7:44 AM, contactreji <contactr...@gmail.com> wrote: > Hi Claus > > Thank you so much. It indeed reduced a lot of problems. > I am using the Constraint class as > *org.eclipse.jetty.util.security.Constraint* > > All the previous errors we cleared. But I get few NULLPointors now. > > Please find my FUSE LOG, POM and securityHandler configs below. I am sure > you might have an idea how to get rid of the last trouble. > > > FUSE LOG > ---------------------------- > * > > 08:32:47,463 | WARN | Queue_MES_to_EC] | faultJmsMessageListenerContainer | > 153 - org.springframework.jms - 3.0.7.RELEASE | Could not refresh JMS > Connection for destination 'Queue_MES_to_EC' - retrying in 5000 ms. Cause: > Stopped. > 08:32:48,402 | INFO | S-1.0.0-thread-1 | ultOsgiApplicationContextCreator | > 113 - org.springframework.osgi.extender - 1.2.1 | Discovered configurations > {osgibundle:/META-INF/spring/*.xml} in bundle > [Copper_Recovery_Percentage_Ssl_JAAS (mes-bw-copper_recovery_perc_ssl_JAAS)] > 08:32:48,403 | INFO | xtenderThread-45 | OsgiBundleXmlApplicationContext | > 104 - org.springframework.context - 3.0.7.RELEASE | Refreshing > OsgiBundleXmlApplicationContext(bundle=mes-bw-copper_recovery_perc_ssl_JAAS, > config=osgibundle:/META-INF/spring/*.xml): startup date [Wed Sep 04 08:32:48 > EEST 2013]; root of context hierarchy > 08:32:48,403 | INFO | xtenderThread-45 | OsgiBundleXmlApplicationContext | > 104 - org.springframework.context - 3.0.7.RELEASE | Application Context > service already unpublished > 08:32:48,404 | INFO | xtenderThread-45 | XmlBeanDefinitionReader | > 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean > definitions from URL [bundle://280.0:0/META-INF/spring/camel-cxf.xml] > 08:32:48,427 | INFO | xtenderThread-45 | XmlBeanDefinitionReader | > 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean > definitions from OSGi > resource[classpath:META-INF/spring/jetty-spring.xml|bnd.id=280|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS] > 08:32:48,437 | INFO | xtenderThread-45 | XmlBeanDefinitionReader | > 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean > definitions from OSGi > resource[classpath:META-INF/spring/camel-route.xml|bnd.id=280|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS] > 08:32:48,481 | INFO | xtenderThread-45 | XmlBeanDefinitionReader | > 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean > definitions from URL [bundle://280.0:0/META-INF/spring/camel-route.xml] > 08:32:48,518 | INFO | xtenderThread-45 | DefaultListableBeanFactory | > 105 - org.springframework.beans - 3.0.7.RELEASE | Overriding bean definition > for bean 'PersistInbound': replacing [Generic bean: class > [outotec.com.mes.bw.copper_recovery_perc.PersistInbound]; scope=; > abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined > in OSGi > resource[classpath:META-INF/spring/camel-route.xml|bnd.id=280|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]] > with [Generic bean: class > [outotec.com.mes.bw.copper_recovery_perc.PersistInbound]; scope=; > abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined > in URL [bundle://280.0:0/META-INF/spring/camel-route.xml]] > 08:32:48,519 | INFO | xtenderThread-45 | DefaultListableBeanFactory | > 105 - org.springframework.beans - 3.0.7.RELEASE | Overriding bean definition > for bean 'PIServiceProxy.proxyFactory': replacing [Generic bean: class > [org.apache.cxf.jaxws.JaxWsProxyFactoryBean]; scope=; abstract=true; > lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; > primary=false; factoryBeanName=null; factoryMethodName=null; > initMethodName=null; destroyMethodName=null] with [Generic bean: class > [org.apache.cxf.jaxws.JaxWsProxyFactoryBean]; scope=; abstract=true; > lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; > primary=false; factoryBeanName=null; factoryMethodName=null; > initMethodName=null; destroyMethodName=null] > 08:32:48,519 | INFO | xtenderThread-45 | DefaultListableBeanFactory | > 105 - org.springframework.beans - 3.0.7.RELEASE | Overriding bean definition > for bean 'PIServiceProxy': replacing [Generic bean: class > [org.apache.cxf.jaxws.spring.JaxWsProxyFactoryBeanDefinitionParser$JAXWSSpringClientProxyFactoryBean]; > scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null] with > [Generic bean: class > [org.apache.cxf.jaxws.spring.JaxWsProxyFactoryBeanDefinitionParser$JAXWSSpringClientProxyFactoryBean]; > scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null] > 08:32:48,519 | INFO | xtenderThread-45 | DefaultListableBeanFactory | > 105 - org.springframework.beans - 3.0.7.RELEASE | Overriding bean definition > for bean 'outotec-datasource': replacing [Generic bean: class > [org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean]; > scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null] with > [Generic bean: class > [org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean]; > scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null] > 08:32:48,520 | INFO | xtenderThread-45 | DefaultListableBeanFactory | > 105 - org.springframework.beans - 3.0.7.RELEASE | Overriding bean definition > for bean 'SAPPIEndpoint': replacing [Generic bean: class > [outotec.com.mes.bw.copper_recovery_perc.Pi_CopperRecoveryPerc]; scope=; > abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=init; destroyMethodName=destroy; > defined in OSGi > resource[classpath:META-INF/spring/camel-route.xml|bnd.id=280|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]] > with [Generic bean: class > [outotec.com.mes.bw.copper_recovery_perc.Pi_CopperRecoveryPerc]; scope=; > abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=init; destroyMethodName=destroy; > defined in URL [bundle://280.0:0/META-INF/spring/camel-route.xml]] > 08:32:48,520 | INFO | xtenderThread-45 | XmlBeanDefinitionReader | > 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean > definitions from URL [bundle://280.0:0/META-INF/spring/jetty-spring.xml] > 08:32:48,529 | INFO | xtenderThread-45 | DefaultListableBeanFactory | > 105 - org.springframework.beans - 3.0.7.RELEASE | Overriding bean definition > for bean 'loginService': replacing [Generic bean: class > [org.eclipse.jetty.plus.jaas.JAASLoginService]; scope=; abstract=false; > lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; > primary=false; factoryBeanName=null; factoryMethodName=null; > initMethodName=null; destroyMethodName=null; defined in OSGi > resource[classpath:META-INF/spring/jetty-spring.xml|bnd.id=280|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]] > with [Generic bean: class [org.eclipse.jetty.plus.jaas.JAASLoginService]; > scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined > in URL [bundle://280.0:0/META-INF/spring/jetty-spring.xml]] > 08:32:48,529 | INFO | xtenderThread-45 | DefaultListableBeanFactory | > 105 - org.springframework.beans - 3.0.7.RELEASE | Overriding bean definition > for bean 'identityService': replacing [Generic bean: class > [org.eclipse.jetty.security.DefaultIdentityService]; scope=; abstract=false; > lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; > primary=false; factoryBeanName=null; factoryMethodName=null; > initMethodName=null; destroyMethodName=null; defined in OSGi > resource[classpath:META-INF/spring/jetty-spring.xml|bnd.id=280|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]] > with [Generic bean: class > [org.eclipse.jetty.security.DefaultIdentityService]; scope=; abstract=false; > lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; > primary=false; factoryBeanName=null; factoryMethodName=null; > initMethodName=null; destroyMethodName=null; defined in URL > [bundle://280.0:0/META-INF/spring/jetty-spring.xml]] > 08:32:48,529 | INFO | xtenderThread-45 | DefaultListableBeanFactory | > 105 - org.springframework.beans - 3.0.7.RELEASE | Overriding bean definition > for bean 'constraint': replacing [Generic bean: class > [org.eclipse.jetty.util.security.Constraint]; scope=; abstract=false; > lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; > primary=false; factoryBeanName=null; factoryMethodName=null; > initMethodName=null; destroyMethodName=null; defined in OSGi > resource[classpath:META-INF/spring/jetty-spring.xml|bnd.id=280|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]] > with [Generic bean: class [org.eclipse.jetty.util.security.Constraint]; > scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined > in URL [bundle://280.0:0/META-INF/spring/jetty-spring.xml]] > 08:32:48,529 | INFO | xtenderThread-45 | DefaultListableBeanFactory | > 105 - org.springframework.beans - 3.0.7.RELEASE | Overriding bean definition > for bean 'constraintMapping': replacing [Generic bean: class > [org.eclipse.jetty.security.ConstraintMapping]; scope=; abstract=false; > lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; > primary=false; factoryBeanName=null; factoryMethodName=null; > initMethodName=null; destroyMethodName=null; defined in OSGi > resource[classpath:META-INF/spring/jetty-spring.xml|bnd.id=280|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]] > with [Generic bean: class [org.eclipse.jetty.security.ConstraintMapping]; > scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined > in URL [bundle://280.0:0/META-INF/spring/jetty-spring.xml]] > 08:32:48,530 | INFO | xtenderThread-45 | DefaultListableBeanFactory | > 105 - org.springframework.beans - 3.0.7.RELEASE | Overriding bean definition > for bean 'securityHandler': replacing [Generic bean: class > [org.eclipse.jetty.security.ConstraintSecurityHandler]; scope=; > abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined > in OSGi > resource[classpath:META-INF/spring/jetty-spring.xml|bnd.id=280|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]] > with [Generic bean: class > [org.eclipse.jetty.security.ConstraintSecurityHandler]; scope=; > abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined > in URL [bundle://280.0:0/META-INF/spring/jetty-spring.xml]] > 08:32:48,537 | INFO | xtenderThread-45 | WaiterApplicationContextExecutor | > 113 - org.springframework.osgi.extender - 1.2.1 | No outstanding OSGi > service dependencies, completing initialization for > OsgiBundleXmlApplicationContext(bundle=mes-bw-copper_recovery_perc_ssl_JAAS, > config=osgibundle:/META-INF/spring/*.xml) > 08:32:48,545 | INFO | xtenderThread-46 | DefaultListableBeanFactory | > 105 - org.springframework.beans - 3.0.7.RELEASE | Pre-instantiating > singletons in > org.springframework.beans.factory.support.DefaultListableBeanFactory@34ceb5a0: > defining beans > [loginService,identityService,constraint,constraintMapping,securityHandler,camel-75:beanPostProcessor,camel-75,PersistInbound,PIServiceProxy.proxyFactory,PIServiceProxy,outotec-datasource,SAPPIEndpoint,MESEndpoint,jetty,*.http-conduit,camel-76:beanPostProcessor,camel-76]; > root of factory hierarchy > 08:32:48,564 | INFO | xtenderThread-46 | InstrumentationManagerImpl | > 166 - org.apache.cxf.cxf-rt-management - 2.6.0.fuse-71-047 | registering > MBean > org.apache.cxf:bus.id=mes-bw-copper_recovery_perc_ssl_JAAS-cxf450665488,type=Bus,instance.id=450665488: > org.apache.cxf.bus.ManagedBus@989ec37 > 08:32:48,564 | INFO | xtenderThread-46 | InstrumentationManagerImpl | > 166 - org.apache.cxf.cxf-rt-management - 2.6.0.fuse-71-047 | registering > MBean > org.apache.cxf:bus.id=mes-bw-copper_recovery_perc_ssl_JAAS-cxf450665488,type=Bus,instance.id=450665488: > javax.management.modelmbean.RequiredModelMBean@3df313c5 > 08:32:48,565 | INFO | xtenderThread-46 | InstrumentationManagerImpl | > 166 - org.apache.cxf.cxf-rt-management - 2.6.0.fuse-71-047 | registered > org.apache.cxf:bus.id=mes-bw-copper_recovery_perc_ssl_JAAS-cxf450665488,type=Bus,instance.id=450665488 > 08:32:48,566 | INFO | xtenderThread-46 | InstrumentationManagerImpl | > 166 - org.apache.cxf.cxf-rt-management - 2.6.0.fuse-71-047 | registering > MBean > org.apache.cxf:bus.id=mes-bw-copper_recovery_perc_ssl_JAAS-cxf450665488,WorkQueueManager=Bus.WorkQueueManager,type=WorkQueueManager,instance.id=1984434024: > org.apache.cxf.bus.managers.WorkQueueManagerImplMBeanWrapper@74ebb182 > 08:32:48,567 | INFO | xtenderThread-46 | InstrumentationManagerImpl | > 166 - org.apache.cxf.cxf-rt-management - 2.6.0.fuse-71-047 | registering > MBean > org.apache.cxf:bus.id=mes-bw-copper_recovery_perc_ssl_JAAS-cxf450665488,WorkQueueManager=Bus.WorkQueueManager,type=WorkQueueManager,instance.id=1984434024: > javax.management.modelmbean.RequiredModelMBean@1dd309c6 > 08:32:48,572 | INFO | xtenderThread-46 | ManagementStrategyFactory | > 147 - org.apache.camel.camel-core - 2.10.0.fuse-71-047 | JMX enabled. > 08:32:48,576 | INFO | xtenderThread-46 | OsgiServiceProxyFactoryBean | > 114 - org.springframework.osgi.core - 1.2.1 | Looking for mandatory OSGi > service dependency for bean [outotec-datasource] matching filter > (objectClass=javax.sql.DataSource) > 08:32:48,577 | INFO | xtenderThread-46 | OsgiServiceProxyFactoryBean | > 114 - org.springframework.osgi.core - 1.2.1 | Found mandatory OSGi service > for bean [outotec-datasource] > 08:32:48,578 | INFO | xtenderThread-46 | ReflectionServiceFactoryBean | > 168 - org.apache.cxf.cxf-rt-core - 2.6.0.fuse-71-047 | Creating Service > {urn:outotec:pi:mes:id56:CopperRecovery}SIID56CopperRecoveryAsyncOutService > from class outotec.pi.mes.id56.copperrecovery.SIID56CopperRecoveryAsyncOut > 08:32:48,590 | INFO | xtenderThread-46 | Pi_CopperRecoveryPerc | > 280 - mes-bw-copper_recovery_perc_ssl_JAAS - 1.0.0 | Starting client > invoker thread. > 08:32:48,591 | INFO | invoker thread. | Pi_CopperRecoveryPerc | > 280 - mes-bw-copper_recovery_perc_ssl_JAAS - 1.0.0 | inside run > 08:32:48,606 | INFO | xtenderThread-46 | ManagementStrategyFactory | > 147 - org.apache.camel.camel-core - 2.10.0.fuse-71-047 | JMX enabled. > 08:32:48,606 | INFO | xtenderThread-46 | OsgiSpringCamelContext | > 147 - org.apache.camel.camel-core - 2.10.0.fuse-71-047 | Apache Camel > 2.10.0.fuse-71-047 (CamelContext: 280-camel-78) is starting > 08:32:48,619 | INFO | xtenderThread-46 | Activator | > 147 - org.apache.camel.camel-core - 2.10.0.fuse-71-047 | Found 2 @Converter > classes to load > 08:32:48,620 | INFO | xtenderThread-46 | Activator | > 147 - org.apache.camel.camel-core - 2.10.0.fuse-71-047 | Found 1 @Converter > classes to load > 08:32:48,620 | INFO | xtenderThread-46 | Activator | > 147 - org.apache.camel.camel-core - 2.10.0.fuse-71-047 | Found 1 @Converter > classes to load > 08:32:48,621 | INFO | xtenderThread-46 | Activator | > 147 - org.apache.camel.camel-core - 2.10.0.fuse-71-047 | Found 2 @Converter > classes to load > 08:32:48,622 | INFO | xtenderThread-46 | Activator | > 147 - org.apache.camel.camel-core - 2.10.0.fuse-71-047 | Found 2 @Converter > classes to load > 08:32:48,622 | INFO | xtenderThread-46 | Activator | > 147 - org.apache.camel.camel-core - 2.10.0.fuse-71-047 | Found 1 @Converter > classes to load > 08:32:48,623 | INFO | xtenderThread-46 | Activator | > 147 - org.apache.camel.camel-core - 2.10.0.fuse-71-047 | Found 1 @Converter > classes to load > 08:32:48,623 | INFO | xtenderThread-46 | Activator | > 147 - org.apache.camel.camel-core - 2.10.0.fuse-71-047 | Found 0 @Converter > classes to load > 08:32:48,676 | INFO | xtenderThread-46 | ReflectionServiceFactoryBean | > 168 - org.apache.cxf.cxf-rt-core - 2.6.0.fuse-71-047 | Creating Service > {urn:outotec:pi:mes:id56:CopperRecovery}SI_ID56_CopperRecovery_async_outService > from WSDL: wsdl/SI_ID56_CopperRecovery_async_outService.wsdl > 08:32:48,691 | INFO | xtenderThread-46 | OsgiSpringCamelContext | > 147 - org.apache.camel.camel-core - 2.10.0.fuse-71-047 | Apache Camel > 2.10.0.fuse-71-047 (CamelContext: 280-camel-78) is shutting down > 08:32:48,692 | INFO | xtenderThread-46 | DefaultTypeConverter | > 147 - org.apache.camel.camel-core - 2.10.0.fuse-71-047 | > TypeConverterRegistry utilization[attempts=1, hits=0, misses=1, failures=0] > mappings[total=209, misses=1] > 08:32:48,693 | INFO | xtenderThread-46 | OsgiSpringCamelContext | > 147 - org.apache.camel.camel-core - 2.10.0.fuse-71-047 | Apache Camel > 2.10.0.fuse-71-047 (CamelContext: 280-camel-78) is shutdown in 0.002 > seconds. Uptime 0.087 seconds. > 08:32:48,693 | ERROR | xtenderThread-46 | ContextLoaderListener | > 113 - org.springframework.osgi.extender - 1.2.1 | Application context > refresh failed > (OsgiBundleXmlApplicationContext(bundle=mes-bw-copper_recovery_perc_ssl_JAAS, > config=osgibundle:/META-INF/spring/*.xml)) > org.apache.camel.RuntimeCamelException: java.lang.NullPointerException > at > org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1271)[147:org.apache.camel.camel-core:2.10.0.fuse-71-047] > at > org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:120)[149:org.apache.camel.camel-spring:2.10.0.fuse-71-047] > at > org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:280)[149:org.apache.camel.camel-spring:2.10.0.fuse-71-047] > at > org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)[104:org.springframework.context:3.0.7.RELEASE] > at > org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)[104:org.springframework.context:3.0.7.RELEASE] > at > org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)[104:org.springframework.context:3.0.7.RELEASE] > at > org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)[114:org.springframework.osgi.core:1.2.1] > at > org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)[114:org.springframework.osgi.core:1.2.1] > at > org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[114:org.springframework.osgi.core:1.2.1] > at > org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[114:org.springframework.osgi.core:1.2.1] > at > org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[113:org.springframework.osgi.extender:1.2.1] > at java.lang.Thread.run(Thread.java:662)[:1.6.0_45] > Caused by: java.lang.NullPointerException > at > org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:135)[175:org.apache.cxf.cxf-rt-bindings-soap:2.6.0.fuse-71-047] > at > org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:93)[169:org.apache.cxf.cxf-api:2.6.0.fuse-71-047] > at > org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:72)[169:org.apache.cxf.cxf-api:2.6.0.fuse-71-047] > at > org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:160)[179:org.apache.cxf.cxf-rt-frontend-simple:2.6.0.fuse-71-047] > at > org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)[180:org.apache.cxf.cxf-rt-frontend-jaxws:2.6.0.fuse-71-047] > at > org.apache.camel.component.cxf.CxfConsumer.<init>(CxfConsumer.java:232)[211:org.apache.camel.camel-cxf:2.10.0.fuse-71-047] > at > org.apache.camel.component.cxf.CxfEndpoint.createConsumer(CxfEndpoint.java:202)[211:org.apache.camel.camel-cxf:2.10.0.fuse-71-047] > at > org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:65)[147:org.apache.camel.camel-core:2.10.0.fuse-71-047] > at > org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:80)[147:org.apache.camel.camel-core:2.10.0.fuse-71-047] > at > org.apache.camel.impl.RouteService.warmUp(RouteService.java:133)[147:org.apache.camel.camel-core:2.10.0.fuse-71-047] > at > org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:1992)[147:org.apache.camel.camel-core:2.10.0.fuse-71-047] > at > org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:1920)[147:org.apache.camel.camel-core:2.10.0.fuse-71-047] > at > org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:1708)[147:org.apache.camel.camel-core:2.10.0.fuse-71-047] > at > org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1589)[147:org.apache.camel.camel-core:2.10.0.fuse-71-047] > at > org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1445)[147:org.apache.camel.camel-core:2.10.0.fuse-71-047] > at > org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179)[149:org.apache.camel.camel-spring:2.10.0.fuse-71-047] > at > org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)[147:org.apache.camel.camel-core:2.10.0.fuse-71-047] > at > org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1413)[147:org.apache.camel.camel-core:2.10.0.fuse-71-047] > at > org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228)[149:org.apache.camel.camel-spring:2.10.0.fuse-71-047] > at > org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118)[149:org.apache.camel.camel-spring:2.10.0.fuse-71-047]* > > > > > > securityHandlerConfig > ------------------------------------------ > <beans xmlns="http://www.springframework.org/schema/beans" > xmlns:camel="http://camel.apache.org/schema/spring" > xmlns:osgi="http://www.springframework.org/schema/osgi" > xmlns:sec="http://cxf.apache.org/configuration/security" > xmlns:http-conf="http://cxf.apache.org/transports/http/configuration" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans-3.0.xsd > http://camel.apache.org/schema/spring > http://camel.apache.org/schema/spring/camel-spring.xsd > http://www.springframework.org/schema/osgi > http://www.springframework.org/schema/osgi/spring-osgi.xsd > http://cxf.apache.org/configuration/security > http://cxf.apache.org/schemas/configuration/security.xsd > http://cxf.apache.org/transports/http/configuration > http://cxf.apache.org/schemas/configuration/http-conf.xsd > "> > > > > <bean id="loginService" > class="org.eclipse.jetty.plus.jaas.JAASLoginService"> > <property name="name" value="karaf" /> > <property name="loginModuleName" value="karaf" /> > <property name="roleClassNames"> > <list> > > <value>org.apache.karaf.jaas.modules.RolePrincipal</value> > </list> > </property> > </bean> > <bean id="identityService" > class="org.eclipse.jetty.security.DefaultIdentityService" /> > > <bean id="constraint" > class="org.eclipse.jetty.util.security.Constraint"> > <property name="name" value="BASIC" /> > <property name="roles" value="admin" /> > <property name="authenticate" value="true" /> > </bean> > > <bean id="constraintMapping" > class="org.eclipse.jetty.security.ConstraintMapping"> > <property name="constraint" ref="constraint" /> > <property name="pathSpec" value="/*" /> > </bean> > <bean id="securityHandler" > class="org.eclipse.jetty.security.ConstraintSecurityHandler"> > <property name="authenticator"> > <bean > class="org.eclipse.jetty.security.authentication.BasicAuthenticator" /> > </property> > <property name="constraintMappings"> > <list> > <ref bean="constraintMapping" /> > </list> > </property> > <property name="loginService" ref="loginService" /> > <property name="strict" value="false" /> > <property name="identityService" ref="identityService" /> > </bean> > > > > > </beans> > > > > * > POM File > ------------------------------- > <?xml version="1.0" encoding="UTF-8" standalone="no"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd"> > > <modelVersion>4.0.0</modelVersion> > > > > <version>1.0.0</version> > <groupId>com.outotec</groupId> > <artifactId>mes-bw-copper_recovery_perc_ssl_JAAS</artifactId> > <name>Copper_Recovery_Percentage_Ssl_JAAS</name> > <description>Creates a web service using the WSDL contract > first</description> > <packaging>bundle</packaging> > > > <repositories> > <repository> > <id>fusesource</id> > <name>FuseSource Release Repository</name> > > <url>http://repo.fusesource.com/nexus/content/groups/public/</url> > <snapshots> > <enabled>false</enabled> > </snapshots> > <releases> > <enabled>true</enabled> > </releases> > </repository> > <repository> > <id>fusesource.ea</id> > <name>FuseSource Community Early Access Release > Repository</name> > > <url>http://repo.fusesource.com/nexus/content/groups/ea</url> > <snapshots> > <enabled>false</enabled> > </snapshots> > <releases> > <enabled>true</enabled> > </releases> > </repository> > <repository> > <id>jboss-public-repository-group</id> > <name>JBoss Public Repository Group</name> > > <url>http://repository.jboss.org/nexus/content/groups/public/</url> > <layout>default</layout> > <releases> > <enabled>true</enabled> > <updatePolicy>never</updatePolicy> > </releases> > <snapshots> > <enabled>true</enabled> > <updatePolicy>daily</updatePolicy> > </snapshots> > </repository> > > > > > > > </repositories> > > <pluginRepositories> > <pluginRepository> > <id>fusesource</id> > <name>FuseSource Release Repository</name> > > <url>http://repo.fusesource.com/nexus/content/groups/public/</url> > <snapshots> > <enabled>false</enabled> > </snapshots> > <releases> > <enabled>true</enabled> > </releases> > </pluginRepository> > <pluginRepository> > <id>fusesource.ea</id> > <name>FuseSource Community Early Access Release > Repository</name> > > <url>http://repo.fusesource.com/nexus/content/groups/ea</url> > <snapshots> > <enabled>false</enabled> > </snapshots> > <releases> > <enabled>true</enabled> > </releases> > </pluginRepository> > </pluginRepositories> > > > <dependencies> > > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-core</artifactId> > <version>2.10.0.fuse-71-047</version> > </dependency> > > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-cxf</artifactId> > <version>2.10.0.fuse-71-047</version> > </dependency> > > <dependency> > <groupId>log4j</groupId> > <artifactId>log4j</artifactId> > <version>1.2.16</version> > </dependency> > > > <dependency> > <groupId>org.slf4j</groupId> > <artifactId>slf4j-api</artifactId> > <version>1.7.5</version> > </dependency> > <dependency> > <groupId>org.slf4j</groupId> > <artifactId>slf4j-log4j12</artifactId> > <version>1.6.1</version> > </dependency> > > > > > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-test-spring</artifactId> > <version>2.10.0.fuse-71-047</version> > <scope>test</scope> > </dependency> > > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>4.10</version> > <scope>test</scope> > </dependency> > > <dependency> > > <groupId>com.google.code.maven-play-plugin.hsqldb</groupId> > <artifactId>hsqldb</artifactId> > <version>1.8.1.2</version> > </dependency> > > > > <dependency> > <groupId>org.eclipse.jetty</groupId> > <artifactId>jetty-server</artifactId> > <version>7.4.1.v20110513</version> > </dependency> > > > > > > <dependency> > <groupId>org.eclipse.jetty.aggregate</groupId> > <artifactId>jetty-all</artifactId> > <version>7.4.1.v20110513</version> > </dependency> > > <dependency> > <groupId>org.ops4j.pax.web</groupId> > <artifactId>pax-web-jetty-bundle</artifactId> > <version>3.0.2</version> > </dependency> > > > > > > > > > > > <dependency> > <groupId>org.eclipse.jetty</groupId> > <artifactId>jetty-security</artifactId> > <version>7.4.1.v20110513</version> > </dependency> > > </dependencies> > > <build> > <plugins> > <plugin> > <groupId>org.apache.felix</groupId> > <artifactId>maven-bundle-plugin</artifactId> > <version>2.3.4</version> > <extensions>true</extensions> > <configuration> > > <jettyXml>jetty.xml,jetty-ssl.xml,jetty-https.xml</jettyXml> > > <instructions> > <Bundle-SymbolicName> > ${project.artifactId} > </Bundle-SymbolicName> > <Import-Package> > javax.security.auth, > > javax.security.auth.callback, > > javax.security.auth.login, > > javax.security.auth.spi, > > org.apache.karaf.jaas.modules, > > > org.eclipse.jetty.plus.jaas;version="7.4.1.v20110513", > > org.eclipse.jetty.security;version="7.4.1.v20110513", > > org.eclipse.jetty.util.security;version="7.6.0.v20120127", > > > > * > </Import-Package> > > <Private-Package>org.apache.camel.jaas</Private-Package> > </instructions> > </configuration> > </plugin> > > > <plugin> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-codegen-plugin</artifactId> > <version>2.7.6</version> > <executions> > <execution> > <id>generate-sources</id> > > <phase>generate-sources</phase> > <configuration> > > <sourceRoot>${basedir}/target/generated/src/main/java</sourceRoot> > <wsdlOptions> > <wsdlOption> > > <wsdl>${basedir}/src/main/resources/wsdl/SI_ID56_CopperRecovery_async_outService.wsdl</wsdl> > > <extraargs> > > <extraarg>-impl</extraarg> > > </extraargs> > </wsdlOption> > </wsdlOptions> > </configuration> > <goals> > <goal>wsdl2java</goal> > </goals> > </execution> > </executions> > </plugin> > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <version>3.1</version> > <configuration> > <source>1.6</source> > <target>1.6</target> > </configuration> > </plugin> > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-resources-plugin</artifactId> > <version>2.6</version> > </plugin> > > > <plugin> > <groupId>org.apache.camel</groupId> > <artifactId>camel-maven-plugin</artifactId> > <version>2.10.0.fuse-71-047</version> > </plugin> > > <plugin> > > <groupId>org.mortbay.jetty</groupId> > <artifactId>jetty-maven-plugin</artifactId> > <version>8.1.0.RC5</version> > </plugin> > > > > </plugins> > </build> > <properties> > > <jettyVersion>7.6.7</jettyVersion> > </properties> > </project> > * > > Please help me Claus in getting this resolved. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/org-eclipse-jetty-http-security-nDependency-not-resolved-tp5738570p5738637.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen