[rules-dev] [jbpm-dev] kie-wb: REST

Maciej Swiderski mswiders at redhat.com
Fri May 24 14:00:57 EDT 2013


Mike, I could not reproduce the error you described. I just build 
kie-drools-wb from master and all works well on both AS 7.1.3 and EAP 
6.1. On EAP 6.1 there is just one warning about deprecated use of 
context param:

19:52:50,854 WARNING 
[org.jboss.resteasy.plugins.server.servlet.ConfigurationBootstrap] 
(http-/127.0.0.1:8080-1) The use of javax.ws.rs.core.Application is 
deprecated, please use javax.ws.rs.Application as a context-param instead

this refers to entry in web.xml
https://github.com/droolsjbpm/kie-wb-distributions/blob/master/kie-drools-wb/kie-drools-wb-distribution-wars/src/main/jbossas7/WEB-INF/web.xml#L27

Regardless of this warning all seems to be working fine - I was able to 
access /rest/repositories resource

Cheers
Maciej

W dniu 24.05.2013 17:51, Michael Anstis pisze:
> Hello,
>
> I noticed the following when deploying kie-drools-wb on AS7:-
>
> 16:48:43,171 WARN  [org.jboss.as.ee <http://org.jboss.as.ee>] (MSC 
> service thread 1-4) JBAS011006: Not installing optional component 
> org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher due to 
> exception: java.lang.ClassNotFoundException: 
> org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher from 
> [Module "deployment.kie-drools-wb-6.0.0-SNAPSHOT-jboss-as7.0.war:main" 
> from Service Module Loader]
>     at 
> org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) 
> [jboss-modules.jar:1.1.1.GA <http://1.1.1.GA>]
>     at 
> org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) 
> [jboss-modules.jar:1.1.1.GA <http://1.1.1.GA>]
>     at 
> org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) 
> [jboss-modules.jar:1.1.1.GA <http://1.1.1.GA>]
>     at 
> org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423) 
> [jboss-modules.jar:1.1.1.GA <http://1.1.1.GA>]
>     at 
> org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) 
> [jboss-modules.jar:1.1.1.GA <http://1.1.1.GA>]
>     at 
> org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) 
> [jboss-modules.jar:1.1.1.GA <http://1.1.1.GA>]
>     at java.lang.Class.forName0(Native Method) [rt.jar:1.6.0_39]
>     at java.lang.Class.forName(Class.java:249) [rt.jar:1.6.0_39]
>     at 
> org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:54) 
> [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
>     at 
> org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:79)
>     at 
> org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) 
> [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
>     at 
> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) 
> [jboss-msc-1.0.2.GA.jar:1.0.2.GA <http://1.0.2.GA>]
>     at 
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) 
> [jboss-msc-1.0.2.GA.jar:1.0.2.GA <http://1.0.2.GA>]
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) 
> [rt.jar:1.6.0_39]
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) 
> [rt.jar:1.6.0_39]
>     at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_39]
>
>
> I don't know if it's significant (it's a warning) or whether it means 
> REST will be dead.
>
> Anyway, for your information, as you've both been adding REST stuff.
>
> Cheers,
>
> Mike
>
>
> _______________________________________________
> jbpm-dev mailing list
> jbpm-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbpm-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20130524/a4b5060c/attachment.html 


More information about the rules-dev mailing list