You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by contactreji <co...@gmail.com> on 2013/09/03 15:51:11 UTC

JAAS Authentication - ERROR

Hi guys

I deployed my project which contains JAAS Basic Authentication.The camel xml
file code is as follows.

*16:39:35,308 | INFO  | ise-7.1.0/deploy | fileinstall                     
| 7 - org.apache.felix.fileinstall - 3.3.11.fuse-71-047 | Installed
D:\FuseESBEnterprise-7.1.0\deploy\jetty-http-7.4.1.v20110513.jar
16:39:35,439 | INFO  | ise-7.1.0/deploy | fileinstall                      |
7 - org.apache.felix.fileinstall - 3.3.11.fuse-71-047 | Started bundle:
file:/D:/FuseESBEnterprise-7.1.0/deploy/jetty-http-7.4.1.v20110513.jar
16:39:36,980 | 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)]
16:39:36,982 | INFO  | xtenderThread-19 | 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 [Tue Sep 03 16:39:36
EEST 2013]; root of context hierarchy
16:39:36,982 | INFO  | xtenderThread-19 | OsgiBundleXmlApplicationContext  |
104 - org.springframework.context - 3.0.7.RELEASE | Application Context
service already unpublished
16:39:36,984 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader          |
105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
definitions from URL [bundle://493.12:0/META-INF/spring/camel-cxf.xml]
16:39:37,028 | INFO  | xtenderThread-19 | 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=493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]
16:39:37,050 | INFO  | xtenderThread-19 | 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=493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]
16:39:37,451 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader          |
105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
definitions from URL [bundle://493.12:0/META-INF/spring/camel-route.xml]
16:39:37,541 | INFO  | xtenderThread-19 | 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=493|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://493.12:0/META-INF/spring/camel-route.xml]]
16:39:37,542 | INFO  | xtenderThread-19 | 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]
16:39:37,542 | INFO  | xtenderThread-19 | 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]
16:39:37,542 | INFO  | xtenderThread-19 | 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]
16:39:37,543 | INFO  | xtenderThread-19 | 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=493|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://493.12:0/META-INF/spring/camel-route.xml]]
16:39:37,543 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader          |
105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
definitions from URL [bundle://493.12:0/META-INF/spring/jetty-spring.xml]
16:39:37,553 | INFO  | xtenderThread-19 | DefaultListableBeanFactory       |
105 - org.springframework.beans - 3.0.7.RELEASE | Overriding bean definition
for bean 'constraint': replacing [Generic bean: class
[org.eclipse.jetty.http.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=493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]]
with [Generic bean: class [org.eclipse.jetty.http.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://493.12:0/META-INF/spring/jetty-spring.xml]]
16:39:37,554 | INFO  | xtenderThread-19 | 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=493|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://493.12:0/META-INF/spring/jetty-spring.xml]]
16:39:37,554 | INFO  | xtenderThread-19 | 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=493|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://493.12:0/META-INF/spring/jetty-spring.xml]]
16:39:37,578 | INFO  | xtenderThread-19 | 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)
16:39:37,585 | INFO  | xtenderThread-20 | DefaultListableBeanFactory       |
105 - org.springframework.beans - 3.0.7.RELEASE | Pre-instantiating
singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@3c263aff:
defining beans
[constraint,constraintMapping,securityHandler,camel-22:beanPostProcessor,camel-22,PersistInbound,PIServiceProxy.proxyFactory,PIServiceProxy,outotec-datasource,SAPPIEndpoint,MESEndpoint,jetty,*.http-conduit,camel-23:beanPostProcessor,camel-23];
root of factory hierarchy
16:39:37,592 | INFO  | xtenderThread-20 | DefaultListableBeanFactory       |
105 - org.springframework.beans - 3.0.7.RELEASE | Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@3c263aff:
defining beans
[constraint,constraintMapping,securityHandler,camel-22:beanPostProcessor,camel-22,PersistInbound,PIServiceProxy.proxyFactory,PIServiceProxy,outotec-datasource,SAPPIEndpoint,MESEndpoint,jetty,*.http-conduit,camel-23:beanPostProcessor,camel-23];
root of factory hierarchy
16:39:37,593 | ERROR | xtenderThread-20 | 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.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'constraintMapping' defined in URL
[bundle://493.12:0/META-INF/spring/jetty-spring.xml]: Initialization of bean
failed; nested exception is
org.springframework.beans.ConversionNotSupportedException: Failed to convert
property value of type 'org.eclipse.jetty.http.security.Constraint' to
required type 'org.eclipse.jetty.util.security.Constraint' for property
'constraint'; nested exception is java.lang.IllegalStateException: Cannot
convert value of type [org.eclipse.jetty.http.security.Constraint] to
required type [org.eclipse.jetty.util.security.Constraint] for property
'constraint': no matching editors or conversion strategy found
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:526)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[104:org.springframework.context:3.0.7.RELEASE]
	at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)[114:org.springframework.osgi.core:1.2.1]
	at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)[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(Unknown Source)[:1.6.0_45]
Caused by: org.springframework.beans.ConversionNotSupportedException: Failed
to convert property value of type
'org.eclipse.jetty.http.security.Constraint' to required type
'org.eclipse.jetty.util.security.Constraint' for property 'constraint';
nested exception is java.lang.IllegalStateException: Cannot convert value of
type [org.eclipse.jetty.http.security.Constraint] to required type
[org.eclipse.jetty.util.security.Constraint] for property 'constraint': no
matching editors or conversion strategy found
	at
org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:481)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:518)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:512)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1373)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1332)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516)[105:org.springframework.beans:3.0.7.RELEASE]
	... 13 more
Caused by: java.lang.IllegalStateException: Cannot convert value of type
[org.eclipse.jetty.http.security.Constraint] to required type
[org.eclipse.jetty.util.security.Constraint] for property 'constraint': no
matching editors or conversion strategy found
	at
org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:236)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:466)[105:org.springframework.beans:3.0.7.RELEASE]
	... 19 more
*


But while running the The deployment is successful but the endpoint which is
secured by JAAS is not showing up in the services list. (localhost:8181/cxf)

The log contains following lines
*
16:39:35,308 | INFO  | ise-7.1.0/deploy | fileinstall                      |
7 - org.apache.felix.fileinstall - 3.3.11.fuse-71-047 | Installed
D:\FuseESBEnterprise-7.1.0\deploy\jetty-http-7.4.1.v20110513.jar
16:39:35,439 | INFO  | ise-7.1.0/deploy | fileinstall                      |
7 - org.apache.felix.fileinstall - 3.3.11.fuse-71-047 | Started bundle:
file:/D:/FuseESBEnterprise-7.1.0/deploy/jetty-http-7.4.1.v20110513.jar
16:39:36,980 | 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)]
16:39:36,982 | INFO  | xtenderThread-19 | 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 [Tue Sep 03 16:39:36
EEST 2013]; root of context hierarchy
16:39:36,982 | INFO  | xtenderThread-19 | OsgiBundleXmlApplicationContext  |
104 - org.springframework.context - 3.0.7.RELEASE | Application Context
service already unpublished
16:39:36,984 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader          |
105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
definitions from URL [bundle://493.12:0/META-INF/spring/camel-cxf.xml]
16:39:37,028 | INFO  | xtenderThread-19 | 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=493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]
16:39:37,050 | INFO  | xtenderThread-19 | 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=493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]
16:39:37,451 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader          |
105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
definitions from URL [bundle://493.12:0/META-INF/spring/camel-route.xml]
16:39:37,541 | INFO  | xtenderThread-19 | 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=493|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://493.12:0/META-INF/spring/camel-route.xml]]
16:39:37,542 | INFO  | xtenderThread-19 | 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]
16:39:37,542 | INFO  | xtenderThread-19 | 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]
16:39:37,542 | INFO  | xtenderThread-19 | 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]
16:39:37,543 | INFO  | xtenderThread-19 | 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=493|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://493.12:0/META-INF/spring/camel-route.xml]]
16:39:37,543 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader          |
105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
definitions from URL [bundle://493.12:0/META-INF/spring/jetty-spring.xml]
16:39:37,553 | INFO  | xtenderThread-19 | DefaultListableBeanFactory       |
105 - org.springframework.beans - 3.0.7.RELEASE | Overriding bean definition
for bean 'constraint': replacing [Generic bean: class
[org.eclipse.jetty.http.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=493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]]
with [Generic bean: class [org.eclipse.jetty.http.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://493.12:0/META-INF/spring/jetty-spring.xml]]
16:39:37,554 | INFO  | xtenderThread-19 | 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=493|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://493.12:0/META-INF/spring/jetty-spring.xml]]
16:39:37,554 | INFO  | xtenderThread-19 | 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=493|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://493.12:0/META-INF/spring/jetty-spring.xml]]
16:39:37,578 | INFO  | xtenderThread-19 | 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)
16:39:37,585 | INFO  | xtenderThread-20 | DefaultListableBeanFactory       |
105 - org.springframework.beans - 3.0.7.RELEASE | Pre-instantiating
singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@3c263aff:
defining beans
[constraint,constraintMapping,securityHandler,camel-22:beanPostProcessor,camel-22,PersistInbound,PIServiceProxy.proxyFactory,PIServiceProxy,outotec-datasource,SAPPIEndpoint,MESEndpoint,jetty,*.http-conduit,camel-23:beanPostProcessor,camel-23];
root of factory hierarchy
16:39:37,592 | INFO  | xtenderThread-20 | DefaultListableBeanFactory       |
105 - org.springframework.beans - 3.0.7.RELEASE | Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@3c263aff:
defining beans
[constraint,constraintMapping,securityHandler,camel-22:beanPostProcessor,camel-22,PersistInbound,PIServiceProxy.proxyFactory,PIServiceProxy,outotec-datasource,SAPPIEndpoint,MESEndpoint,jetty,*.http-conduit,camel-23:beanPostProcessor,camel-23];
root of factory hierarchy
16:39:37,593 | ERROR | xtenderThread-20 | 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.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'constraintMapping' defined in URL
[bundle://493.12:0/META-INF/spring/jetty-spring.xml]: Initialization of bean
failed; nested exception is
org.springframework.beans.ConversionNotSupportedException: Failed to convert
property value of type 'org.eclipse.jetty.http.security.Constraint' to
required type 'org.eclipse.jetty.util.security.Constraint' for property
'constraint'; nested exception is java.lang.IllegalStateException: Cannot
convert value of type [org.eclipse.jetty.http.security.Constraint] to
required type [org.eclipse.jetty.util.security.Constraint] for property
'constraint': no matching editors or conversion strategy found
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:526)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[104:org.springframework.context:3.0.7.RELEASE]
	at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)[114:org.springframework.osgi.core:1.2.1]
	at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)[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(Unknown Source)[:1.6.0_45]
Caused by: org.springframework.beans.ConversionNotSupportedException: Failed
to convert property value of type
'org.eclipse.jetty.http.security.Constraint' to required type
'org.eclipse.jetty.util.security.Constraint' for property 'constraint';
nested exception is java.lang.IllegalStateException: Cannot convert value of
type [org.eclipse.jetty.http.security.Constraint] to required type
[org.eclipse.jetty.util.security.Constraint] for property 'constraint': no
matching editors or conversion strategy found
	at
org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:481)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:518)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:512)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1373)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1332)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516)[105:org.springframework.beans:3.0.7.RELEASE]
	... 13 more
Caused by: java.lang.IllegalStateException: Cannot convert value of type
[org.eclipse.jetty.http.security.Constraint] to required type
[org.eclipse.jetty.util.security.Constraint] for property 'constraint': no
matching editors or conversion strategy found
	at
org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:236)[105:org.springframework.beans:3.0.7.RELEASE]
	at
org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:466)[105:org.springframework.beans:3.0.7.RELEASE]
	... 19 more*


Any suggestions are welcome...
Reji



--
View this message in context: http://camel.465427.n5.nabble.com/JAAS-Authentication-ERROR-tp5738591.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JAAS Authentication - ERROR

Posted by Christian Müller <ch...@gmail.com>.
This question was answered by Clause in one of his other threads.

Best,
Christian
-----------------

Software Integration Specialist

Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://www.apache.org/foundation/members.html

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Thu, Sep 5, 2013 at 4:57 AM, contactreji <co...@gmail.com> wrote:

> Hi Christian
>
> I use a jetty version 7.6.7 .
> Could you suggest something on this?
>
> Reji
>
>
> On Wed, Sep 4, 2013 at 6:04 AM, Christian Mueller [via Camel] <
> ml-node+s465427n5738677h66@n5.nabble.com> wrote:
>
> > Which Jetty version do you use?
> >
> > Christian
> > Am 03.09.2013 16:56 schrieb "contactreji" <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=5738677&i=0>>:
> >
> >
> > > Hi guys
> > >
> > > I deployed my project which contains JAAS Basic Authentication.The
> camel
> > > xml
> > > file code is as follows.
> > >
> > > *16:39:35,308 | INFO  | ise-7.1.0/deploy | fileinstall
> > > | 7 - org.apache.felix.fileinstall - 3.3.11.fuse-71-047 | Installed
> > > D:\FuseESBEnterprise-7.1.0\deploy\jetty-http-7.4.1.v20110513.jar
> > > 16:39:35,439 | INFO  | ise-7.1.0/deploy | fileinstall
> > >  |
> > > 7 - org.apache.felix.fileinstall - 3.3.11.fuse-71-047 | Started bundle:
> > > file:/D:/FuseESBEnterprise-7.1.0/deploy/jetty-http-7.4.1.v20110513.jar
> > > 16:39:36,980 | 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)]
> > > 16:39:36,982 | INFO  | xtenderThread-19 |
> > 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 [Tue Sep 03
> > > 16:39:36
> > > EEST 2013]; root of context hierarchy
> > > 16:39:36,982 | INFO  | xtenderThread-19 |
> > OsgiBundleXmlApplicationContext
> > >  |
> > > 104 - org.springframework.context - 3.0.7.RELEASE | Application Context
> > > service already unpublished
> > > 16:39:36,984 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader
> > >  |
> > > 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
> > > definitions from URL [bundle://493.12:0/META-INF/spring/camel-cxf.xml]
> > > 16:39:37,028 | INFO  | xtenderThread-19 | 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
> > > =493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]
> > > 16:39:37,050 | INFO  | xtenderThread-19 | 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
> > > =493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]
> > > 16:39:37,451 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader
> > >  |
> > > 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
> > > definitions from URL
> [bundle://493.12:0/META-INF/spring/camel-route.xml]
> > > 16:39:37,541 | INFO  | xtenderThread-19 | 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
> > > =493|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://493.12:0/META-INF/spring/camel-route.xml]]
> > > 16:39:37,542 | INFO  | xtenderThread-19 | 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]
> > > 16:39:37,542 | INFO  | xtenderThread-19 | 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]
> > > 16:39:37,542 | INFO  | xtenderThread-19 | 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]
> > > 16:39:37,543 | INFO  | xtenderThread-19 | 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
> > > =493|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://493.12:0/META-INF/spring/camel-route.xml]]
> > > 16:39:37,543 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader
> > >  |
> > > 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
> > > definitions from URL
> > [bundle://493.12:0/META-INF/spring/jetty-spring.xml]
> > > 16:39:37,553 | INFO  | xtenderThread-19 | DefaultListableBeanFactory
> > > |
> > > 105 - org.springframework.beans - 3.0.7.RELEASE | Overriding bean
> > > definition
> > > for bean 'constraint': replacing [Generic bean: class
> > > [org.eclipse.jetty.http.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
> > > =493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]]
> > > with [Generic bean: class [org.eclipse.jetty.http.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://493.12:0/META-INF/spring/jetty-spring.xml]]
> > > 16:39:37,554 | INFO  | xtenderThread-19 | 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
> > > =493|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://493.12:0/META-INF/spring/jetty-spring.xml]]
> > > 16:39:37,554 | INFO  | xtenderThread-19 | 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
> > > =493|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://493.12:0/META-INF/spring/jetty-spring.xml]]
> > > 16:39:37,578 | INFO  | xtenderThread-19 |
> > 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)
> > > 16:39:37,585 | INFO  | xtenderThread-20 | DefaultListableBeanFactory
> > > |
> > > 105 - org.springframework.beans - 3.0.7.RELEASE | Pre-instantiating
> > > singletons in
> > >
> > >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory@3c263aff
> > > :
> > > defining beans
> > >
> > >
> >
> [constraint,constraintMapping,securityHandler,camel-22:beanPostProcessor,camel-22,PersistInbound,PIServiceProxy.proxyFactory,PIServiceProxy,outotec-datasource,SAPPIEndpoint,MESEndpoint,jetty,*.http-conduit,camel-23:beanPostProcessor,camel-23];
> >
> > > root of factory hierarchy
> > > 16:39:37,592 | INFO  | xtenderThread-20 | DefaultListableBeanFactory
> > > |
> > > 105 - org.springframework.beans - 3.0.7.RELEASE | Destroying singletons
> > in
> > >
> > >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory@3c263aff
> > > :
> > > defining beans
> > >
> > >
> >
> [constraint,constraintMapping,securityHandler,camel-22:beanPostProcessor,camel-22,PersistInbound,PIServiceProxy.proxyFactory,PIServiceProxy,outotec-datasource,SAPPIEndpoint,MESEndpoint,jetty,*.http-conduit,camel-23:beanPostProcessor,camel-23];
> >
> > > root of factory hierarchy
> > > 16:39:37,593 | ERROR | xtenderThread-20 | 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.springframework.beans.factory.BeanCreationException: Error creating
> > > bean
> > > with name 'constraintMapping' defined in URL
> > > [bundle://493.12:0/META-INF/spring/jetty-spring.xml]: Initialization of
> > > bean
> > > failed; nested exception is
> > > org.springframework.beans.ConversionNotSupportedException: Failed to
> > > convert
> > > property value of type 'org.eclipse.jetty.http.security.Constraint' to
> > > required type 'org.eclipse.jetty.util.security.Constraint' for property
> > > 'constraint'; nested exception is java.lang.IllegalStateException:
> > Cannot
> > > convert value of type [org.eclipse.jetty.http.security.Constraint] to
> > > required type [org.eclipse.jetty.util.security.Constraint] for property
> > > 'constraint': no matching editors or conversion strategy found
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:526)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[104:org.springframework.context:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)[114:org.springframework.osgi.core:1.2.1]
> >
> > >         at
> > >
> > >
> >
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)[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(Unknown Source)[:1.6.0_45]
> > > Caused by: org.springframework.beans.ConversionNotSupportedException:
> > > Failed
> > > to convert property value of type
> > > 'org.eclipse.jetty.http.security.Constraint' to required type
> > > 'org.eclipse.jetty.util.security.Constraint' for property 'constraint';
> > > nested exception is java.lang.IllegalStateException: Cannot convert
> > value
> > > of
> > > type [org.eclipse.jetty.http.security.Constraint] to required type
> > > [org.eclipse.jetty.util.security.Constraint] for property 'constraint':
> > no
> > > matching editors or conversion strategy found
> > >         at
> > >
> > >
> >
> org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:481)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:518)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:512)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1373)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1332)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         ... 13 more
> > > Caused by: java.lang.IllegalStateException: Cannot convert value of
> type
> > > [org.eclipse.jetty.http.security.Constraint] to required type
> > > [org.eclipse.jetty.util.security.Constraint] for property 'constraint':
> > no
> > > matching editors or conversion strategy found
> > >         at
> > >
> > >
> >
> org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:236)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:466)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         ... 19 more
> > > *
> > >
> > >
> > > But while running the The deployment is successful but the endpoint
> > which
> > > is
> > > secured by JAAS is not showing up in the services list.
> > > (localhost:8181/cxf)
> > >
> > > The log contains following lines
> > > *
> > > 16:39:35,308 | INFO  | ise-7.1.0/deploy | fileinstall
> > >  |
> > > 7 - org.apache.felix.fileinstall - 3.3.11.fuse-71-047 | Installed
> > > D:\FuseESBEnterprise-7.1.0\deploy\jetty-http-7.4.1.v20110513.jar
> > > 16:39:35,439 | INFO  | ise-7.1.0/deploy | fileinstall
> > >  |
> > > 7 - org.apache.felix.fileinstall - 3.3.11.fuse-71-047 | Started bundle:
> > > file:/D:/FuseESBEnterprise-7.1.0/deploy/jetty-http-7.4.1.v20110513.jar
> > > 16:39:36,980 | 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)]
> > > 16:39:36,982 | INFO  | xtenderThread-19 |
> > 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 [Tue Sep 03
> > > 16:39:36
> > > EEST 2013]; root of context hierarchy
> > > 16:39:36,982 | INFO  | xtenderThread-19 |
> > OsgiBundleXmlApplicationContext
> > >  |
> > > 104 - org.springframework.context - 3.0.7.RELEASE | Application Context
> > > service already unpublished
> > > 16:39:36,984 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader
> > >  |
> > > 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
> > > definitions from URL [bundle://493.12:0/META-INF/spring/camel-cxf.xml]
> > > 16:39:37,028 | INFO  | xtenderThread-19 | 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
> > > =493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]
> > > 16:39:37,050 | INFO  | xtenderThread-19 | 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
> > > =493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]
> > > 16:39:37,451 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader
> > >  |
> > > 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
> > > definitions from URL
> [bundle://493.12:0/META-INF/spring/camel-route.xml]
> > > 16:39:37,541 | INFO  | xtenderThread-19 | 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
> > > =493|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://493.12:0/META-INF/spring/camel-route.xml]]
> > > 16:39:37,542 | INFO  | xtenderThread-19 | 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]
> > > 16:39:37,542 | INFO  | xtenderThread-19 | 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]
> > > 16:39:37,542 | INFO  | xtenderThread-19 | 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]
> > > 16:39:37,543 | INFO  | xtenderThread-19 | 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
> > > =493|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://493.12:0/META-INF/spring/camel-route.xml]]
> > > 16:39:37,543 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader
> > >  |
> > > 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
> > > definitions from URL
> > [bundle://493.12:0/META-INF/spring/jetty-spring.xml]
> > > 16:39:37,553 | INFO  | xtenderThread-19 | DefaultListableBeanFactory
> > > |
> > > 105 - org.springframework.beans - 3.0.7.RELEASE | Overriding bean
> > > definition
> > > for bean 'constraint': replacing [Generic bean: class
> > > [org.eclipse.jetty.http.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
> > > =493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]]
> > > with [Generic bean: class [org.eclipse.jetty.http.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://493.12:0/META-INF/spring/jetty-spring.xml]]
> > > 16:39:37,554 | INFO  | xtenderThread-19 | 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
> > > =493|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://493.12:0/META-INF/spring/jetty-spring.xml]]
> > > 16:39:37,554 | INFO  | xtenderThread-19 | 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
> > > =493|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://493.12:0/META-INF/spring/jetty-spring.xml]]
> > > 16:39:37,578 | INFO  | xtenderThread-19 |
> > 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)
> > > 16:39:37,585 | INFO  | xtenderThread-20 | DefaultListableBeanFactory
> > > |
> > > 105 - org.springframework.beans - 3.0.7.RELEASE | Pre-instantiating
> > > singletons in
> > >
> > >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory@3c263aff
> > > :
> > > defining beans
> > >
> > >
> >
> [constraint,constraintMapping,securityHandler,camel-22:beanPostProcessor,camel-22,PersistInbound,PIServiceProxy.proxyFactory,PIServiceProxy,outotec-datasource,SAPPIEndpoint,MESEndpoint,jetty,*.http-conduit,camel-23:beanPostProcessor,camel-23];
> >
> > > root of factory hierarchy
> > > 16:39:37,592 | INFO  | xtenderThread-20 | DefaultListableBeanFactory
> > > |
> > > 105 - org.springframework.beans - 3.0.7.RELEASE | Destroying singletons
> > in
> > >
> > >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory@3c263aff
> > > :
> > > defining beans
> > >
> > >
> >
> [constraint,constraintMapping,securityHandler,camel-22:beanPostProcessor,camel-22,PersistInbound,PIServiceProxy.proxyFactory,PIServiceProxy,outotec-datasource,SAPPIEndpoint,MESEndpoint,jetty,*.http-conduit,camel-23:beanPostProcessor,camel-23];
> >
> > > root of factory hierarchy
> > > 16:39:37,593 | ERROR | xtenderThread-20 | 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.springframework.beans.factory.BeanCreationException: Error creating
> > > bean
> > > with name 'constraintMapping' defined in URL
> > > [bundle://493.12:0/META-INF/spring/jetty-spring.xml]: Initialization of
> > > bean
> > > failed; nested exception is
> > > org.springframework.beans.ConversionNotSupportedException: Failed to
> > > convert
> > > property value of type 'org.eclipse.jetty.http.security.Constraint' to
> > > required type 'org.eclipse.jetty.util.security.Constraint' for property
> > > 'constraint'; nested exception is java.lang.IllegalStateException:
> > Cannot
> > > convert value of type [org.eclipse.jetty.http.security.Constraint] to
> > > required type [org.eclipse.jetty.util.security.Constraint] for property
> > > 'constraint': no matching editors or conversion strategy found
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:526)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[104:org.springframework.context:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)[114:org.springframework.osgi.core:1.2.1]
> >
> > >         at
> > >
> > >
> >
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)[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(Unknown Source)[:1.6.0_45]
> > > Caused by: org.springframework.beans.ConversionNotSupportedException:
> > > Failed
> > > to convert property value of type
> > > 'org.eclipse.jetty.http.security.Constraint' to required type
> > > 'org.eclipse.jetty.util.security.Constraint' for property 'constraint';
> > > nested exception is java.lang.IllegalStateException: Cannot convert
> > value
> > > of
> > > type [org.eclipse.jetty.http.security.Constraint] to required type
> > > [org.eclipse.jetty.util.security.Constraint] for property 'constraint':
> > no
> > > matching editors or conversion strategy found
> > >         at
> > >
> > >
> >
> org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:481)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:518)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:512)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1373)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1332)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         ... 13 more
> > > Caused by: java.lang.IllegalStateException: Cannot convert value of
> type
> > > [org.eclipse.jetty.http.security.Constraint] to required type
> > > [org.eclipse.jetty.util.security.Constraint] for property 'constraint':
> > no
> > > matching editors or conversion strategy found
> > >         at
> > >
> > >
> >
> org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:236)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         at
> > >
> > >
> >
> org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:466)[105:org.springframework.beans:3.0.7.RELEASE]
> >
> > >         ... 19 more*
> > >
> > >
> > > Any suggestions are welcome...
> > > Reji
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://camel.465427.n5.nabble.com/JAAS-Authentication-ERROR-tp5738591.html
> > > Sent from the Camel - Users mailing list archive at Nabble.com.
> > >
> >
> >
> > ------------------------------
> >  If you reply to this email, your message will be added to the discussion
> > below:
> >
> >
> http://camel.465427.n5.nabble.com/Simple-JAAS-Authentications-org-eclipse-jetty-security-Constraint-Vs-org-eclipse-jetty-util-securityt-tp5738591p5738677.html
> >  To unsubscribe from Simple JAAS Authentications -
> > org.eclipse.jetty.security.Constraint Vs
> > org.eclipse.jetty.util.security.Constraint, click here<
> http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5738591&code=Y29udGFjdHJlamlAZ21haWwuY29tfDU3Mzg1OTF8MTAwNDkxODIzMw==
> >
> > .
> > NAML<
> http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Simple-JAAS-Authentications-org-eclipse-jetty-security-Constraint-Vs-org-eclipse-jetty-util-securityt-tp5738591p5738711.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Re: JAAS Authentication - ERROR

Posted by contactreji <co...@gmail.com>.
Hi Christian

I use a jetty version 7.6.7 .
Could you suggest something on this?

Reji


On Wed, Sep 4, 2013 at 6:04 AM, Christian Mueller [via Camel] <
ml-node+s465427n5738677h66@n5.nabble.com> wrote:

> Which Jetty version do you use?
>
> Christian
> Am 03.09.2013 16:56 schrieb "contactreji" <[hidden email]<http://user/SendEmail.jtp?type=node&node=5738677&i=0>>:
>
>
> > Hi guys
> >
> > I deployed my project which contains JAAS Basic Authentication.The camel
> > xml
> > file code is as follows.
> >
> > *16:39:35,308 | INFO  | ise-7.1.0/deploy | fileinstall
> > | 7 - org.apache.felix.fileinstall - 3.3.11.fuse-71-047 | Installed
> > D:\FuseESBEnterprise-7.1.0\deploy\jetty-http-7.4.1.v20110513.jar
> > 16:39:35,439 | INFO  | ise-7.1.0/deploy | fileinstall
> >  |
> > 7 - org.apache.felix.fileinstall - 3.3.11.fuse-71-047 | Started bundle:
> > file:/D:/FuseESBEnterprise-7.1.0/deploy/jetty-http-7.4.1.v20110513.jar
> > 16:39:36,980 | 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)]
> > 16:39:36,982 | INFO  | xtenderThread-19 |
> 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 [Tue Sep 03
> > 16:39:36
> > EEST 2013]; root of context hierarchy
> > 16:39:36,982 | INFO  | xtenderThread-19 |
> OsgiBundleXmlApplicationContext
> >  |
> > 104 - org.springframework.context - 3.0.7.RELEASE | Application Context
> > service already unpublished
> > 16:39:36,984 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader
> >  |
> > 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
> > definitions from URL [bundle://493.12:0/META-INF/spring/camel-cxf.xml]
> > 16:39:37,028 | INFO  | xtenderThread-19 | 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
> > =493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]
> > 16:39:37,050 | INFO  | xtenderThread-19 | 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
> > =493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]
> > 16:39:37,451 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader
> >  |
> > 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
> > definitions from URL [bundle://493.12:0/META-INF/spring/camel-route.xml]
> > 16:39:37,541 | INFO  | xtenderThread-19 | 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
> > =493|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://493.12:0/META-INF/spring/camel-route.xml]]
> > 16:39:37,542 | INFO  | xtenderThread-19 | 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]
> > 16:39:37,542 | INFO  | xtenderThread-19 | 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]
> > 16:39:37,542 | INFO  | xtenderThread-19 | 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]
> > 16:39:37,543 | INFO  | xtenderThread-19 | 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
> > =493|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://493.12:0/META-INF/spring/camel-route.xml]]
> > 16:39:37,543 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader
> >  |
> > 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
> > definitions from URL
> [bundle://493.12:0/META-INF/spring/jetty-spring.xml]
> > 16:39:37,553 | INFO  | xtenderThread-19 | DefaultListableBeanFactory
> > |
> > 105 - org.springframework.beans - 3.0.7.RELEASE | Overriding bean
> > definition
> > for bean 'constraint': replacing [Generic bean: class
> > [org.eclipse.jetty.http.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
> > =493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]]
> > with [Generic bean: class [org.eclipse.jetty.http.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://493.12:0/META-INF/spring/jetty-spring.xml]]
> > 16:39:37,554 | INFO  | xtenderThread-19 | 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
> > =493|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://493.12:0/META-INF/spring/jetty-spring.xml]]
> > 16:39:37,554 | INFO  | xtenderThread-19 | 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
> > =493|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://493.12:0/META-INF/spring/jetty-spring.xml]]
> > 16:39:37,578 | INFO  | xtenderThread-19 |
> 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)
> > 16:39:37,585 | INFO  | xtenderThread-20 | DefaultListableBeanFactory
> > |
> > 105 - org.springframework.beans - 3.0.7.RELEASE | Pre-instantiating
> > singletons in
> >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory@3c263aff
> > :
> > defining beans
> >
> >
> [constraint,constraintMapping,securityHandler,camel-22:beanPostProcessor,camel-22,PersistInbound,PIServiceProxy.proxyFactory,PIServiceProxy,outotec-datasource,SAPPIEndpoint,MESEndpoint,jetty,*.http-conduit,camel-23:beanPostProcessor,camel-23];
>
> > root of factory hierarchy
> > 16:39:37,592 | INFO  | xtenderThread-20 | DefaultListableBeanFactory
> > |
> > 105 - org.springframework.beans - 3.0.7.RELEASE | Destroying singletons
> in
> >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory@3c263aff
> > :
> > defining beans
> >
> >
> [constraint,constraintMapping,securityHandler,camel-22:beanPostProcessor,camel-22,PersistInbound,PIServiceProxy.proxyFactory,PIServiceProxy,outotec-datasource,SAPPIEndpoint,MESEndpoint,jetty,*.http-conduit,camel-23:beanPostProcessor,camel-23];
>
> > root of factory hierarchy
> > 16:39:37,593 | ERROR | xtenderThread-20 | 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.springframework.beans.factory.BeanCreationException: Error creating
> > bean
> > with name 'constraintMapping' defined in URL
> > [bundle://493.12:0/META-INF/spring/jetty-spring.xml]: Initialization of
> > bean
> > failed; nested exception is
> > org.springframework.beans.ConversionNotSupportedException: Failed to
> > convert
> > property value of type 'org.eclipse.jetty.http.security.Constraint' to
> > required type 'org.eclipse.jetty.util.security.Constraint' for property
> > 'constraint'; nested exception is java.lang.IllegalStateException:
> Cannot
> > convert value of type [org.eclipse.jetty.http.security.Constraint] to
> > required type [org.eclipse.jetty.util.security.Constraint] for property
> > 'constraint': no matching editors or conversion strategy found
> >         at
> >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:526)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[104:org.springframework.context:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)[114:org.springframework.osgi.core:1.2.1]
>
> >         at
> >
> >
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)[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(Unknown Source)[:1.6.0_45]
> > Caused by: org.springframework.beans.ConversionNotSupportedException:
> > Failed
> > to convert property value of type
> > 'org.eclipse.jetty.http.security.Constraint' to required type
> > 'org.eclipse.jetty.util.security.Constraint' for property 'constraint';
> > nested exception is java.lang.IllegalStateException: Cannot convert
> value
> > of
> > type [org.eclipse.jetty.http.security.Constraint] to required type
> > [org.eclipse.jetty.util.security.Constraint] for property 'constraint':
> no
> > matching editors or conversion strategy found
> >         at
> >
> >
> org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:481)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:518)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:512)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1373)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1332)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         ... 13 more
> > Caused by: java.lang.IllegalStateException: Cannot convert value of type
> > [org.eclipse.jetty.http.security.Constraint] to required type
> > [org.eclipse.jetty.util.security.Constraint] for property 'constraint':
> no
> > matching editors or conversion strategy found
> >         at
> >
> >
> org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:236)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:466)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         ... 19 more
> > *
> >
> >
> > But while running the The deployment is successful but the endpoint
> which
> > is
> > secured by JAAS is not showing up in the services list.
> > (localhost:8181/cxf)
> >
> > The log contains following lines
> > *
> > 16:39:35,308 | INFO  | ise-7.1.0/deploy | fileinstall
> >  |
> > 7 - org.apache.felix.fileinstall - 3.3.11.fuse-71-047 | Installed
> > D:\FuseESBEnterprise-7.1.0\deploy\jetty-http-7.4.1.v20110513.jar
> > 16:39:35,439 | INFO  | ise-7.1.0/deploy | fileinstall
> >  |
> > 7 - org.apache.felix.fileinstall - 3.3.11.fuse-71-047 | Started bundle:
> > file:/D:/FuseESBEnterprise-7.1.0/deploy/jetty-http-7.4.1.v20110513.jar
> > 16:39:36,980 | 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)]
> > 16:39:36,982 | INFO  | xtenderThread-19 |
> 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 [Tue Sep 03
> > 16:39:36
> > EEST 2013]; root of context hierarchy
> > 16:39:36,982 | INFO  | xtenderThread-19 |
> OsgiBundleXmlApplicationContext
> >  |
> > 104 - org.springframework.context - 3.0.7.RELEASE | Application Context
> > service already unpublished
> > 16:39:36,984 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader
> >  |
> > 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
> > definitions from URL [bundle://493.12:0/META-INF/spring/camel-cxf.xml]
> > 16:39:37,028 | INFO  | xtenderThread-19 | 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
> > =493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]
> > 16:39:37,050 | INFO  | xtenderThread-19 | 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
> > =493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]
> > 16:39:37,451 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader
> >  |
> > 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
> > definitions from URL [bundle://493.12:0/META-INF/spring/camel-route.xml]
> > 16:39:37,541 | INFO  | xtenderThread-19 | 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
> > =493|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://493.12:0/META-INF/spring/camel-route.xml]]
> > 16:39:37,542 | INFO  | xtenderThread-19 | 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]
> > 16:39:37,542 | INFO  | xtenderThread-19 | 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]
> > 16:39:37,542 | INFO  | xtenderThread-19 | 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]
> > 16:39:37,543 | INFO  | xtenderThread-19 | 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
> > =493|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://493.12:0/META-INF/spring/camel-route.xml]]
> > 16:39:37,543 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader
> >  |
> > 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
> > definitions from URL
> [bundle://493.12:0/META-INF/spring/jetty-spring.xml]
> > 16:39:37,553 | INFO  | xtenderThread-19 | DefaultListableBeanFactory
> > |
> > 105 - org.springframework.beans - 3.0.7.RELEASE | Overriding bean
> > definition
> > for bean 'constraint': replacing [Generic bean: class
> > [org.eclipse.jetty.http.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
> > =493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]]
> > with [Generic bean: class [org.eclipse.jetty.http.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://493.12:0/META-INF/spring/jetty-spring.xml]]
> > 16:39:37,554 | INFO  | xtenderThread-19 | 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
> > =493|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://493.12:0/META-INF/spring/jetty-spring.xml]]
> > 16:39:37,554 | INFO  | xtenderThread-19 | 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
> > =493|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://493.12:0/META-INF/spring/jetty-spring.xml]]
> > 16:39:37,578 | INFO  | xtenderThread-19 |
> 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)
> > 16:39:37,585 | INFO  | xtenderThread-20 | DefaultListableBeanFactory
> > |
> > 105 - org.springframework.beans - 3.0.7.RELEASE | Pre-instantiating
> > singletons in
> >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory@3c263aff
> > :
> > defining beans
> >
> >
> [constraint,constraintMapping,securityHandler,camel-22:beanPostProcessor,camel-22,PersistInbound,PIServiceProxy.proxyFactory,PIServiceProxy,outotec-datasource,SAPPIEndpoint,MESEndpoint,jetty,*.http-conduit,camel-23:beanPostProcessor,camel-23];
>
> > root of factory hierarchy
> > 16:39:37,592 | INFO  | xtenderThread-20 | DefaultListableBeanFactory
> > |
> > 105 - org.springframework.beans - 3.0.7.RELEASE | Destroying singletons
> in
> >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory@3c263aff
> > :
> > defining beans
> >
> >
> [constraint,constraintMapping,securityHandler,camel-22:beanPostProcessor,camel-22,PersistInbound,PIServiceProxy.proxyFactory,PIServiceProxy,outotec-datasource,SAPPIEndpoint,MESEndpoint,jetty,*.http-conduit,camel-23:beanPostProcessor,camel-23];
>
> > root of factory hierarchy
> > 16:39:37,593 | ERROR | xtenderThread-20 | 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.springframework.beans.factory.BeanCreationException: Error creating
> > bean
> > with name 'constraintMapping' defined in URL
> > [bundle://493.12:0/META-INF/spring/jetty-spring.xml]: Initialization of
> > bean
> > failed; nested exception is
> > org.springframework.beans.ConversionNotSupportedException: Failed to
> > convert
> > property value of type 'org.eclipse.jetty.http.security.Constraint' to
> > required type 'org.eclipse.jetty.util.security.Constraint' for property
> > 'constraint'; nested exception is java.lang.IllegalStateException:
> Cannot
> > convert value of type [org.eclipse.jetty.http.security.Constraint] to
> > required type [org.eclipse.jetty.util.security.Constraint] for property
> > 'constraint': no matching editors or conversion strategy found
> >         at
> >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:526)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[104:org.springframework.context:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)[114:org.springframework.osgi.core:1.2.1]
>
> >         at
> >
> >
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)[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(Unknown Source)[:1.6.0_45]
> > Caused by: org.springframework.beans.ConversionNotSupportedException:
> > Failed
> > to convert property value of type
> > 'org.eclipse.jetty.http.security.Constraint' to required type
> > 'org.eclipse.jetty.util.security.Constraint' for property 'constraint';
> > nested exception is java.lang.IllegalStateException: Cannot convert
> value
> > of
> > type [org.eclipse.jetty.http.security.Constraint] to required type
> > [org.eclipse.jetty.util.security.Constraint] for property 'constraint':
> no
> > matching editors or conversion strategy found
> >         at
> >
> >
> org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:481)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:518)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:512)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1373)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1332)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         ... 13 more
> > Caused by: java.lang.IllegalStateException: Cannot convert value of type
> > [org.eclipse.jetty.http.security.Constraint] to required type
> > [org.eclipse.jetty.util.security.Constraint] for property 'constraint':
> no
> > matching editors or conversion strategy found
> >         at
> >
> >
> org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:236)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         at
> >
> >
> org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:466)[105:org.springframework.beans:3.0.7.RELEASE]
>
> >         ... 19 more*
> >
> >
> > Any suggestions are welcome...
> > Reji
> >
> >
> >
> > --
> > View this message in context:
> >
> http://camel.465427.n5.nabble.com/JAAS-Authentication-ERROR-tp5738591.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
> >
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://camel.465427.n5.nabble.com/Simple-JAAS-Authentications-org-eclipse-jetty-security-Constraint-Vs-org-eclipse-jetty-util-securityt-tp5738591p5738677.html
>  To unsubscribe from Simple JAAS Authentications -
> org.eclipse.jetty.security.Constraint Vs
> org.eclipse.jetty.util.security.Constraint, click here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5738591&code=Y29udGFjdHJlamlAZ21haWwuY29tfDU3Mzg1OTF8MTAwNDkxODIzMw==>
> .
> NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://camel.465427.n5.nabble.com/Simple-JAAS-Authentications-org-eclipse-jetty-security-Constraint-Vs-org-eclipse-jetty-util-securityt-tp5738591p5738711.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JAAS Authentication - ERROR

Posted by Christian Müller <ch...@gmail.com>.
Which Jetty version do you use?

Christian
Am 03.09.2013 16:56 schrieb "contactreji" <co...@gmail.com>:

> Hi guys
>
> I deployed my project which contains JAAS Basic Authentication.The camel
> xml
> file code is as follows.
>
> *16:39:35,308 | INFO  | ise-7.1.0/deploy | fileinstall
> | 7 - org.apache.felix.fileinstall - 3.3.11.fuse-71-047 | Installed
> D:\FuseESBEnterprise-7.1.0\deploy\jetty-http-7.4.1.v20110513.jar
> 16:39:35,439 | INFO  | ise-7.1.0/deploy | fileinstall
>  |
> 7 - org.apache.felix.fileinstall - 3.3.11.fuse-71-047 | Started bundle:
> file:/D:/FuseESBEnterprise-7.1.0/deploy/jetty-http-7.4.1.v20110513.jar
> 16:39:36,980 | 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)]
> 16:39:36,982 | INFO  | xtenderThread-19 | 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 [Tue Sep 03
> 16:39:36
> EEST 2013]; root of context hierarchy
> 16:39:36,982 | INFO  | xtenderThread-19 | OsgiBundleXmlApplicationContext
>  |
> 104 - org.springframework.context - 3.0.7.RELEASE | Application Context
> service already unpublished
> 16:39:36,984 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader
>  |
> 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
> definitions from URL [bundle://493.12:0/META-INF/spring/camel-cxf.xml]
> 16:39:37,028 | INFO  | xtenderThread-19 | 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
> =493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]
> 16:39:37,050 | INFO  | xtenderThread-19 | 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
> =493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]
> 16:39:37,451 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader
>  |
> 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
> definitions from URL [bundle://493.12:0/META-INF/spring/camel-route.xml]
> 16:39:37,541 | INFO  | xtenderThread-19 | 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
> =493|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://493.12:0/META-INF/spring/camel-route.xml]]
> 16:39:37,542 | INFO  | xtenderThread-19 | 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]
> 16:39:37,542 | INFO  | xtenderThread-19 | 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]
> 16:39:37,542 | INFO  | xtenderThread-19 | 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]
> 16:39:37,543 | INFO  | xtenderThread-19 | 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
> =493|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://493.12:0/META-INF/spring/camel-route.xml]]
> 16:39:37,543 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader
>  |
> 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
> definitions from URL [bundle://493.12:0/META-INF/spring/jetty-spring.xml]
> 16:39:37,553 | INFO  | xtenderThread-19 | DefaultListableBeanFactory
> |
> 105 - org.springframework.beans - 3.0.7.RELEASE | Overriding bean
> definition
> for bean 'constraint': replacing [Generic bean: class
> [org.eclipse.jetty.http.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
> =493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]]
> with [Generic bean: class [org.eclipse.jetty.http.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://493.12:0/META-INF/spring/jetty-spring.xml]]
> 16:39:37,554 | INFO  | xtenderThread-19 | 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
> =493|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://493.12:0/META-INF/spring/jetty-spring.xml]]
> 16:39:37,554 | INFO  | xtenderThread-19 | 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
> =493|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://493.12:0/META-INF/spring/jetty-spring.xml]]
> 16:39:37,578 | INFO  | xtenderThread-19 | 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)
> 16:39:37,585 | INFO  | xtenderThread-20 | DefaultListableBeanFactory
> |
> 105 - org.springframework.beans - 3.0.7.RELEASE | Pre-instantiating
> singletons in
>
> org.springframework.beans.factory.support.DefaultListableBeanFactory@3c263aff
> :
> defining beans
>
> [constraint,constraintMapping,securityHandler,camel-22:beanPostProcessor,camel-22,PersistInbound,PIServiceProxy.proxyFactory,PIServiceProxy,outotec-datasource,SAPPIEndpoint,MESEndpoint,jetty,*.http-conduit,camel-23:beanPostProcessor,camel-23];
> root of factory hierarchy
> 16:39:37,592 | INFO  | xtenderThread-20 | DefaultListableBeanFactory
> |
> 105 - org.springframework.beans - 3.0.7.RELEASE | Destroying singletons in
>
> org.springframework.beans.factory.support.DefaultListableBeanFactory@3c263aff
> :
> defining beans
>
> [constraint,constraintMapping,securityHandler,camel-22:beanPostProcessor,camel-22,PersistInbound,PIServiceProxy.proxyFactory,PIServiceProxy,outotec-datasource,SAPPIEndpoint,MESEndpoint,jetty,*.http-conduit,camel-23:beanPostProcessor,camel-23];
> root of factory hierarchy
> 16:39:37,593 | ERROR | xtenderThread-20 | 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.springframework.beans.factory.BeanCreationException: Error creating
> bean
> with name 'constraintMapping' defined in URL
> [bundle://493.12:0/META-INF/spring/jetty-spring.xml]: Initialization of
> bean
> failed; nested exception is
> org.springframework.beans.ConversionNotSupportedException: Failed to
> convert
> property value of type 'org.eclipse.jetty.http.security.Constraint' to
> required type 'org.eclipse.jetty.util.security.Constraint' for property
> 'constraint'; nested exception is java.lang.IllegalStateException: Cannot
> convert value of type [org.eclipse.jetty.http.security.Constraint] to
> required type [org.eclipse.jetty.util.security.Constraint] for property
> 'constraint': no matching editors or conversion strategy found
>         at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:526)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[104:org.springframework.context:3.0.7.RELEASE]
>         at
>
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)[114:org.springframework.osgi.core:1.2.1]
>         at
>
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)[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(Unknown Source)[:1.6.0_45]
> Caused by: org.springframework.beans.ConversionNotSupportedException:
> Failed
> to convert property value of type
> 'org.eclipse.jetty.http.security.Constraint' to required type
> 'org.eclipse.jetty.util.security.Constraint' for property 'constraint';
> nested exception is java.lang.IllegalStateException: Cannot convert value
> of
> type [org.eclipse.jetty.http.security.Constraint] to required type
> [org.eclipse.jetty.util.security.Constraint] for property 'constraint': no
> matching editors or conversion strategy found
>         at
>
> org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:481)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:518)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:512)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1373)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1332)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516)[105:org.springframework.beans:3.0.7.RELEASE]
>         ... 13 more
> Caused by: java.lang.IllegalStateException: Cannot convert value of type
> [org.eclipse.jetty.http.security.Constraint] to required type
> [org.eclipse.jetty.util.security.Constraint] for property 'constraint': no
> matching editors or conversion strategy found
>         at
>
> org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:236)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:466)[105:org.springframework.beans:3.0.7.RELEASE]
>         ... 19 more
> *
>
>
> But while running the The deployment is successful but the endpoint which
> is
> secured by JAAS is not showing up in the services list.
> (localhost:8181/cxf)
>
> The log contains following lines
> *
> 16:39:35,308 | INFO  | ise-7.1.0/deploy | fileinstall
>  |
> 7 - org.apache.felix.fileinstall - 3.3.11.fuse-71-047 | Installed
> D:\FuseESBEnterprise-7.1.0\deploy\jetty-http-7.4.1.v20110513.jar
> 16:39:35,439 | INFO  | ise-7.1.0/deploy | fileinstall
>  |
> 7 - org.apache.felix.fileinstall - 3.3.11.fuse-71-047 | Started bundle:
> file:/D:/FuseESBEnterprise-7.1.0/deploy/jetty-http-7.4.1.v20110513.jar
> 16:39:36,980 | 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)]
> 16:39:36,982 | INFO  | xtenderThread-19 | 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 [Tue Sep 03
> 16:39:36
> EEST 2013]; root of context hierarchy
> 16:39:36,982 | INFO  | xtenderThread-19 | OsgiBundleXmlApplicationContext
>  |
> 104 - org.springframework.context - 3.0.7.RELEASE | Application Context
> service already unpublished
> 16:39:36,984 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader
>  |
> 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
> definitions from URL [bundle://493.12:0/META-INF/spring/camel-cxf.xml]
> 16:39:37,028 | INFO  | xtenderThread-19 | 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
> =493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]
> 16:39:37,050 | INFO  | xtenderThread-19 | 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
> =493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]
> 16:39:37,451 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader
>  |
> 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
> definitions from URL [bundle://493.12:0/META-INF/spring/camel-route.xml]
> 16:39:37,541 | INFO  | xtenderThread-19 | 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
> =493|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://493.12:0/META-INF/spring/camel-route.xml]]
> 16:39:37,542 | INFO  | xtenderThread-19 | 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]
> 16:39:37,542 | INFO  | xtenderThread-19 | 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]
> 16:39:37,542 | INFO  | xtenderThread-19 | 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]
> 16:39:37,543 | INFO  | xtenderThread-19 | 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
> =493|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://493.12:0/META-INF/spring/camel-route.xml]]
> 16:39:37,543 | INFO  | xtenderThread-19 | XmlBeanDefinitionReader
>  |
> 105 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean
> definitions from URL [bundle://493.12:0/META-INF/spring/jetty-spring.xml]
> 16:39:37,553 | INFO  | xtenderThread-19 | DefaultListableBeanFactory
> |
> 105 - org.springframework.beans - 3.0.7.RELEASE | Overriding bean
> definition
> for bean 'constraint': replacing [Generic bean: class
> [org.eclipse.jetty.http.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
> =493|bnd.sym=mes-bw-copper_recovery_perc_ssl_JAAS]]
> with [Generic bean: class [org.eclipse.jetty.http.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://493.12:0/META-INF/spring/jetty-spring.xml]]
> 16:39:37,554 | INFO  | xtenderThread-19 | 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
> =493|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://493.12:0/META-INF/spring/jetty-spring.xml]]
> 16:39:37,554 | INFO  | xtenderThread-19 | 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
> =493|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://493.12:0/META-INF/spring/jetty-spring.xml]]
> 16:39:37,578 | INFO  | xtenderThread-19 | 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)
> 16:39:37,585 | INFO  | xtenderThread-20 | DefaultListableBeanFactory
> |
> 105 - org.springframework.beans - 3.0.7.RELEASE | Pre-instantiating
> singletons in
>
> org.springframework.beans.factory.support.DefaultListableBeanFactory@3c263aff
> :
> defining beans
>
> [constraint,constraintMapping,securityHandler,camel-22:beanPostProcessor,camel-22,PersistInbound,PIServiceProxy.proxyFactory,PIServiceProxy,outotec-datasource,SAPPIEndpoint,MESEndpoint,jetty,*.http-conduit,camel-23:beanPostProcessor,camel-23];
> root of factory hierarchy
> 16:39:37,592 | INFO  | xtenderThread-20 | DefaultListableBeanFactory
> |
> 105 - org.springframework.beans - 3.0.7.RELEASE | Destroying singletons in
>
> org.springframework.beans.factory.support.DefaultListableBeanFactory@3c263aff
> :
> defining beans
>
> [constraint,constraintMapping,securityHandler,camel-22:beanPostProcessor,camel-22,PersistInbound,PIServiceProxy.proxyFactory,PIServiceProxy,outotec-datasource,SAPPIEndpoint,MESEndpoint,jetty,*.http-conduit,camel-23:beanPostProcessor,camel-23];
> root of factory hierarchy
> 16:39:37,593 | ERROR | xtenderThread-20 | 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.springframework.beans.factory.BeanCreationException: Error creating
> bean
> with name 'constraintMapping' defined in URL
> [bundle://493.12:0/META-INF/spring/jetty-spring.xml]: Initialization of
> bean
> failed; nested exception is
> org.springframework.beans.ConversionNotSupportedException: Failed to
> convert
> property value of type 'org.eclipse.jetty.http.security.Constraint' to
> required type 'org.eclipse.jetty.util.security.Constraint' for property
> 'constraint'; nested exception is java.lang.IllegalStateException: Cannot
> convert value of type [org.eclipse.jetty.http.security.Constraint] to
> required type [org.eclipse.jetty.util.security.Constraint] for property
> 'constraint': no matching editors or conversion strategy found
>         at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:526)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[104:org.springframework.context:3.0.7.RELEASE]
>         at
>
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)[114:org.springframework.osgi.core:1.2.1]
>         at
>
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)[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(Unknown Source)[:1.6.0_45]
> Caused by: org.springframework.beans.ConversionNotSupportedException:
> Failed
> to convert property value of type
> 'org.eclipse.jetty.http.security.Constraint' to required type
> 'org.eclipse.jetty.util.security.Constraint' for property 'constraint';
> nested exception is java.lang.IllegalStateException: Cannot convert value
> of
> type [org.eclipse.jetty.http.security.Constraint] to required type
> [org.eclipse.jetty.util.security.Constraint] for property 'constraint': no
> matching editors or conversion strategy found
>         at
>
> org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:481)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:518)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:512)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1373)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1332)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516)[105:org.springframework.beans:3.0.7.RELEASE]
>         ... 13 more
> Caused by: java.lang.IllegalStateException: Cannot convert value of type
> [org.eclipse.jetty.http.security.Constraint] to required type
> [org.eclipse.jetty.util.security.Constraint] for property 'constraint': no
> matching editors or conversion strategy found
>         at
>
> org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:236)[105:org.springframework.beans:3.0.7.RELEASE]
>         at
>
> org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:466)[105:org.springframework.beans:3.0.7.RELEASE]
>         ... 19 more*
>
>
> Any suggestions are welcome...
> Reji
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/JAAS-Authentication-ERROR-tp5738591.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>