java - Waffle as a module in Jboss 7.1 -


we trying migrate tomcat jboss 7.1, have problem waffle library use sso.

we read in order use waffle in jboss 7.1 needed create module in jboss following dependencies:

<module xmlns="urn:jboss:module:1.1" name="com.sso">     <resources>         <resource-root path="waffle-1.4.jar"/>         <resource-root path="platform-gcp_1.jar"/>         <resource-root path="jna-gcp_1.jar"/>         <resource-root path="guava-r07-gcp_1.jar"/>         <resource-root path="commons-logging-1.1.1.jar"/>     </resources>      <dependencies>         <module name="javax.servlet.api" />           </dependencies> </module> 

and added following dependencies our jboss-deployment-structure.xml:

<dependencies>    <module name="org.jboss.ironjacamar.jdbcadapters"/>    <module name="com.sso"  export="true" /> </dependencies> 

but seems jboss not finding classes inside module because getting following error:

caused by: java.lang.classnotfoundexception: waffle.spring.negotiatesecurityfilt erentrypoint [module "deployment.grc.war:main" service module loader] 

thanks lot help.

update:

this whole exception:

18:26:04,936 severe [org.springframework.web.context.contextloader] (msc service thread 1-2) context initialization failed: org.springframework.beans.factory.beancreationexception: error creating bean name '_filterchainproxy': initialization of bean failed; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name '_filterchainlist': cannot resolve reference bean '_exceptiontranslationfilter' while setting bean property 'filters' key [2]; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name '_exceptiontranslationfilter': initialization of bean failed; nested exception org.springframework.beans.factory.cannotloadbeanclassexception: cannot find class [waffle.spring.negotiatesecurityfilterentrypoint] bean name 'negotiatesecurityfilterentrypoint' defined in class path resource [waffle-filter.xml]; nested exception java.lang.classnotfoundexception: waffle.spring.negotiatesecurityfilterentrypoint [module "deployment.grc.war:main" service module loader] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:480) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory$1.run(abstractautowirecapablebeanfactory.java:409) [spring-2.5.5.jar:2.5.5] @ java.security.accesscontroller.doprivileged(native method) [rt.jar:1.7.0_13] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:380) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:264) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:221) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:261) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:185) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:164) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.defaultlistablebeanfactory.preinstantiatesingletons(defaultlistablebeanfactory.java:429) [spring-2.5.5.jar:2.5.5] @ org.springframework.context.support.abstractapplicationcontext.finishbeanfactoryinitialization(abstractapplicationcontext.java:729) [spring-2.5.5.jar:2.5.5] @ org.springframework.context.support.abstractapplicationcontext.refresh(abstractapplicationcontext.java:381) [spring-2.5.5.jar:2.5.5] @ org.springframework.web.context.contextloader.createwebapplicationcontext(contextloader.java:255) [spring-2.5.5.jar:2.5.5] @ org.springframework.web.context.contextloader.initwebapplicationcontext(contextloader.java:199) [spring-2.5.5.jar:2.5.5] @ org.springframework.web.context.contextloaderlistener.contextinitialized(contextloaderlistener.java:45) [spring-2.5.5.jar:2.5.5] @ org.apache.catalina.core.standardcontext.contextlistenerstart(standardcontext.java:3392) [jbossweb-7.0.13.final.jar:] @ org.apache.catalina.core.standardcontext.start(standardcontext.java:3850) [jbossweb-7.0.13.final.jar:] @ org.jboss.as.web.deployment.webdeploymentservice.start(webdeploymentservice.java:90) [jboss-as-web-7.1.1.final.jar:7.1.1.final] @ org.jboss.msc.service.servicecontrollerimpl$starttask.startservice(servicecontrollerimpl.java:1811) @ org.jboss.msc.service.servicecontrollerimpl$starttask.run(servicecontrollerimpl.java:1746) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) [rt.jar:1.7.0_13] @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) [rt.jar:1.7.0_13] @ java.lang.thread.run(thread.java:722) [rt.jar:1.7.0_13] caused by: org.springframework.beans.factory.beancreationexception: error creating bean name '_filterchainlist': cannot resolve reference bean '_exceptiontranslationfilter' while setting bean property 'filters' key [2]; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name '_exceptiontranslationfilter': initialization of bean failed; nested exception org.springframework.beans.factory.cannotloadbeanclassexception: cannot find class [waffle.spring.negotiatesecurityfilterentrypoint] bean name 'negotiatesecurityfilterentrypoint' defined in class path resource [waffle-filter.xml]; nested exception java.lang.classnotfoundexception: waffle.spring.negotiatesecurityfilterentrypoint [module "deployment.grc.war:main" service module loader] @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvereference(beandefinitionvalueresolver.java:275) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvevalueifnecessary(beandefinitionvalueresolver.java:104) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvemanagedlist(beandefinitionvalueresolver.java:287) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvevalueifnecessary(beandefinitionvalueresolver.java:126) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.applypropertyvalues(abstractautowirecapablebeanfactory.java:1245) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.populatebean(abstractautowirecapablebeanfactory.java:1010) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:472) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory$1.run(abstractautowirecapablebeanfactory.java:409) [spring-2.5.5.jar:2.5.5] @ java.security.accesscontroller.doprivileged(native method) [rt.jar:1.7.0_13] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:380) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:264) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:221) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:261) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:185) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:164) [spring-2.5.5.jar:2.5.5] @ org.springframework.security.config.filterchainproxypostprocessor.postprocessbeforeinitialization(filterchainproxypostprocessor.java:52) [spring-security-core-2.0.7.release.jar:] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.applybeanpostprocessorsbeforeinitialization(abstractautowirecapablebeanfactory.java:350) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.initializebean(abstractautowirecapablebeanfactory.java:1330) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:473) [spring-2.5.5.jar:2.5.5] ... 22 more caused by: org.springframework.beans.factory.beancreationexception: error creating bean name '_exceptiontranslationfilter': initialization of bean failed; nested exception org.springframework.beans.factory.cannotloadbeanclassexception: cannot find class [waffle.spring.negotiatesecurityfilterentrypoint] bean name 'negotiatesecurityfilterentrypoint' defined in class path resource [waffle-filter.xml]; nested exception java.lang.classnotfoundexception: waffle.spring.negotiatesecurityfilterentrypoint [module "deployment.grc.war:main" service module loader] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:480) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory$1.run(abstractautowirecapablebeanfactory.java:409) [spring-2.5.5.jar:2.5.5] @ java.security.accesscontroller.doprivileged(native method) [rt.jar:1.7.0_13] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:380) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:264) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:221) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:261) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:185) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:164) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvereference(beandefinitionvalueresolver.java:269) [spring-2.5.5.jar:2.5.5] ... 40 more caused by: org.springframework.beans.factory.cannotloadbeanclassexception: cannot find class [waffle.spring.negotiatesecurityfilterentrypoint] bean name 'negotiatesecurityfilterentrypoint' defined in class path resource [waffle-filter.xml]; nested exception java.lang.classnotfoundexception: waffle.spring.negotiatesecurityfilterentrypoint [module "deployment.grc.war:main" service module loader] @ org.springframework.beans.factory.support.abstractbeanfactory.resolvebeanclass(abstractbeanfactory.java:1138) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeanfactory.resolvebeanclass(abstractbeanfactory.java:1102) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory$1.run(abstractautowirecapablebeanfactory.java:386) [spring-2.5.5.jar:2.5.5] @ java.security.accesscontroller.doprivileged(native method) [rt.jar:1.7.0_13] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:380) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:264) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:221) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:261) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:185) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:164) [spring-2.5.5.jar:2.5.5] @ org.springframework.security.config.entrypointinjectionbeanpostprocessor.postprocessbeforeinitialization(entrypointinjectionbeanpostprocessor.java:37) [spring-security-core-2.0.7.release.jar:] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.applybeanpostprocessorsbeforeinitialization(abstractautowirecapablebeanfactory.java:350) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.initializebean(abstractautowirecapablebeanfactory.java:1330) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:473) [spring-2.5.5.jar:2.5.5] ... 49 more caused by: java.lang.classnotfoundexception: waffle.spring.negotiatesecurityfilterentrypoint [module "deployment.grc.war:main" service module loader] @ org.jboss.modules.moduleclassloader.findclass(moduleclassloader.java:190) @ org.jboss.modules.concurrentclassloader.performloadclassunchecked(concurrentclassloader.java:468) @ org.jboss.modules.concurrentclassloader.performloadclasschecked(concurrentclassloader.java:456) @ org.jboss.modules.concurrentclassloader.performloadclass(concurrentclassloader.java:398) @ org.jboss.modules.concurrentclassloader.loadclass(concurrentclassloader.java:120) @ org.springframework.util.classutils.forname(classutils.java:242) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeandefinition.resolvebeanclass(abstractbeandefinition.java:383) [spring-2.5.5.jar:2.5.5] @ org.springframework.beans.factory.support.abstractbeanfactory.resolvebeanclass(abstractbeanfactory.java:1135) [spring-2.5.5.jar:2.5.5] ... 62 more

in end, turns out there no need make change configuration, dumb error, jboss machine must belong domain waffle work.

thanks anyway.


Comments

Popular posts from this blog

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -