• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Activiti Issues

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

English is not my native language; please excuse typing errors.

I am using Activiti and I having some issues. The project is a JSF application using several CDI beans and an Activiti process definition - its from the book Activiti in action. The application is the: book-cdi-app.
It can be downloaded here: https://code.google.com/p/activitiinaction/downloads/list

I can make it work easily using Maven, but without it I am having problems. Where I work we donĀ“t use Maven, so I am trying to use it without Maven. The libs are all in the libs.png file.

I am trying in two different ways:

The first project is the book-cdi that I imported. I disabled the maven nature of it and added all the libs that Maven was adding. When I run the project the error I get in the log is:


10:50:05,094 INFO [org.jboss.modules] JBoss Modules version 1.0.1.GA
10:50:05,948 INFO [org.jboss.msc] JBoss MSC version 1.0.0.GA
10:50:05,986 INFO [org.jboss.as] JBoss AS 7.0.0.Final "Lightning" starting
10:50:11,688 INFO [org.jboss.as] creating http management service using network interface (management) port (9990) securePort (-1)
10:50:11,717 INFO [org.jboss.as.logging] Removing bootstrap log handlers
10:50:11,809 INFO [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)
10:50:11,861 INFO [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.
10:50:12,097 INFO [org.jboss.as.naming] (Controller Boot Thread) Activating Naming Subsystem
10:50:12,145 INFO [org.jboss.as.naming] (MSC service thread 1-4) Starting Naming Service
10:50:12,149 INFO [org.jboss.as.osgi] (Controller Boot Thread) Activating OSGi Subsystem
10:50:12,194 INFO [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem
10:50:12,239 INFO [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 3.2.0.Beta2
10:50:12,515 INFO [org.xnio] (MSC service thread 1-4) XNIO Version 3.0.0.Beta3
10:50:12,663 INFO [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.0.0.Beta3
10:50:13,176 INFO [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem
10:50:13,495 INFO [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-2) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\software\Eclipse\Eclipse Liferay\liferay-portal-tomcat-6.1.1-ce-ga2\tomcat-7.0.27\jre1.6.0_20\win\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;native;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\MinGW\bin;C:\Program Files\Java\jdk1.6.0_24\bin;C:\apache-ant-1.9.0\bin;C:\apache-maven-3.0.5\bin;C:\Apache Tomcat 7.0.27\bin;C:\Program Files\VDownloader;C:\Program Files (x86)\Google\Chrome\Application;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\MinGW\bin;C:\Program Files\Java\jdk1.6.0_24\bin;C:\apache-ant-1.9.0\bin;C:\apache-maven-3.0.5\bin;C:\Apache Tomcat 7.0.27\bin;C:\Program Files\VDownloader
10:50:13,633 INFO [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-2) Starting remote JMX connector
10:50:13,994 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-3) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
10:50:14,356 INFO [org.jboss.as.remoting] (MSC service thread 1-1) Listening on /127.0.0.1:9999
10:50:14,644 INFO [org.jboss.as.connector] (MSC service thread 1-1) Starting JCA Subsystem (JBoss IronJacamar 1.0.0.CR2)
10:50:15,083 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) Bound data source [java:jboss/datasources/ExampleDS]
10:50:16,878 INFO [org.jboss.as.deployment] (MSC service thread 1-2) Started FileSystemDeploymentService for directory C:\jboss-as-web-7.0\standalone\deployments
10:50:16,905 INFO [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Found teste-sem-maven.war in deployment directory. To trigger deployment create a file called teste-sem-maven.war.dodeploy
10:50:16,988 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "teste-sem-maven.war"
10:50:17,713 INFO [org.jboss.weld] (MSC service thread 1-4) Processing CDI deployment: teste-sem-maven.war
10:50:18,575 INFO [org.jboss.weld] (MSC service thread 1-2) Starting Services for CDI deployment: teste-sem-maven.war
10:50:18,643 INFO [org.jboss.weld.Version] (MSC service thread 1-2) WELD-000900 1.1.2 (AS7)
10:50:18,667 INFO [org.jboss.weld] (MSC service thread 1-2) Starting weld service


10:50:19,461 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."teste-sem-maven.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."teste-sem-maven.war".WeldService: org.jboss.weld.resources.spi.ResourceLoadingException: java.lang.ClassNotFoundException: org.activiti.cdi.impl.annotation.StartProcessInterceptor from [Module "deployment.teste-sem-maven.war:main" from Service Module Loader]; location: <class>org.activiti.cdi.impl.annotation.StartProcessInterceptor</class> in vfs:/C:/jboss-as-web-7.0/standalone/deployments/teste-sem-maven.war/WEB-INF/beans.xml@7
at org.jboss.as.weld.services.WeldService.start(WeldService.java:96)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_20]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
Caused by: org.jboss.weld.resources.spi.ResourceLoadingException: java.lang.ClassNotFoundException: org.activiti.cdi.impl.annotation.StartProcessInterceptor from [Module "deployment.teste-sem-maven.war:main" from Service Module Loader]; location: <class>org.activiti.cdi.impl.annotation.StartProcessInterceptor</class> in vfs:/C:/jboss-as-web-7.0/standalone/deployments/teste-sem-maven.war/WEB-INF/beans.xml@7
at org.jboss.weld.manager.Enabled$ClassLoader.apply(Enabled.java:75)
at org.jboss.weld.manager.Enabled$ClassLoader.apply(Enabled.java:56)
at com.google.common.collect.Lists$TransformingRandomAccessList.get(Lists.java:435)
at java.util.AbstractList$Itr.next(AbstractList.java:345) [:1.6.0_20]
at org.jboss.weld.manager.Enabled.createMetadataMap(Enabled.java:143)
at org.jboss.weld.manager.Enabled.<init>(Enabled.java:113)
at org.jboss.weld.manager.Enabled.of(Enabled.java:95)
at org.jboss.weld.bootstrap.BeanDeployment.<init>(BeanDeployment.java:104)
at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:185)
at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:156)
at org.jboss.weld.bootstrap.WeldBootstrap.startContainer(WeldBootstrap.java:293)
at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:79)
at org.jboss.as.weld.services.WeldService.start(WeldService.java:89)
... 5 more
Caused by: java.lang.ClassNotFoundException: org.activiti.cdi.impl.annotation.StartProcessInterceptor from [Module "deployment.teste-sem-maven.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
at org.jboss.as.weld.WeldModuleResourceLoader.classForName(WeldModuleResourceLoader.java:68)
at org.jboss.weld.manager.Enabled$ClassLoader.apply(Enabled.java:71)
... 17 more

10:50:19,478 ERROR [org.jboss.as] (MSC service thread 1-1) JBoss AS 7.0.0.Final "Lightning" started (with errors) in 14599ms - Started 122 of 200 services (21 services failed or missing dependencies, 57 services are passive or on-demand)
10:50:19,680 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "teste-sem-maven.war" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"teste-sem-maven.war\".WeldService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"teste-sem-maven.war\".WeldService: org.jboss.weld.resources.spi.ResourceLoadingException: java.lang.ClassNotFoundException: org.activiti.cdi.impl.annotation.StartProcessInterceptor from [Module \"deployment.teste-sem-maven.war:main\" from Service Module Loader]; location: <class>org.activiti.cdi.impl.annotation.StartProcessInterceptor</class> in vfs:/C:/jboss-as-web-7.0/standalone/deployments/teste-sem-maven.war/WEB-INF/beans.xml@7"}}
10:50:19,701 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) Stopped deployment teste-sem-maven.war in 21ms
10:50:19,702 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"teste-sem-maven.war\".WeldService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"teste-sem-maven.war\".WeldService: org.jboss.weld.resources.spi.ResourceLoadingException: java.lang.ClassNotFoundException: org.activiti.cdi.impl.annotation.StartProcessInterceptor from [Module \"deployment.teste-sem-maven.war:main\" from Service Module Loader]; location: <class>org.activiti.cdi.impl.annotation.StartProcessInterceptor</class> in vfs:/C:/jboss-as-web-7.0/standalone/deployments/teste-sem-maven.war/WEB-INF/beans.xml@7"}}}}



In the second project I recreated as a Java Web Project and edited it to match the maven project structure. The error I get in the log is:

10:37:11,627 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
10:37:11,880 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
10:37:11,922 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.0.Final "Thunder" starting
10:37:13,152 INFO [org.xnio] XNIO Version 3.0.3.GA
10:37:13,152 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
10:37:13,161 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
10:37:13,170 INFO [org.jboss.remoting] JBoss Remoting version 3.2.2.GA
10:37:13,197 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
10:37:13,203 INFO [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem
10:37:13,247 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
10:37:13,248 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
10:37:13,258 INFO [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
10:37:13,277 INFO [org.jboss.as.security] (MSC service thread 1-1) JBAS013100: Current PicketBox version=4.0.6.final
10:37:13,360 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
10:37:13,389 INFO [org.jboss.as.naming] (MSC service thread 1-3) JBAS011802: Starting Naming Service
10:37:13,410 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem
10:37:13,415 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]
10:37:13,431 INFO [org.jboss.as.connector] (MSC service thread 1-1) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.7.Final)
10:37:13,629 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
10:37:13,918 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-1) JBoss Web Services - Stack CXF Server 4.0.1.GA
10:37:14,036 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-8080
10:37:14,137 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
10:37:14,166 INFO [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on localhost/127.0.0.1:4447
10:37:14,175 INFO [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on /127.0.0.1:9999
10:37:14,182 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory C:\software\jboss\jboss-as-7.1.0.Final\standalone\deployments
10:37:14,200 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found ActivitiJSF.war in deployment directory. To trigger deployment create a file called ActivitiJSF.war.dodeploy
10:37:14,278 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.0.Final "Thunder" started in 2921ms - Started 134 of 205 services (70 services are passive or on-demand)
10:37:14,287 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "ActivitiJSF.war"
10:37:15,078 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015893: Encountered invalid class name 'com.sun.faces.vendor.Tomcat6InjectionProvider:org.apache.catalina.util.DefaultAnnotationProcessor' for service type 'com.sun.faces.spi.injectionprovider'
10:37:15,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015893: Encountered invalid class name 'com.sun.faces.vendor.Jetty6InjectionProvider:org.mortbay.jetty.plus.annotation.InjectionCollection' for service type 'com.sun.faces.spi.injectionprovider'
10:37:15,728 INFO [org.jboss.weld.deployer] (MSC service thread 1-1) JBAS016002: Processing weld deployment ActivitiJSF.war
10:37:15,913 INFO [org.jboss.weld.deployer] (MSC service thread 1-1) JBAS016005: Starting Services for CDI deployment: ActivitiJSF.war
10:37:15,937 INFO [org.jboss.weld.Version] (MSC service thread 1-1) WELD-000900 1.1.5 (AS71)
10:37:16,005 INFO [org.jboss.weld.deployer] (MSC service thread 1-1) JBAS016008: Starting weld service for deployment ActivitiJSF.war
10:37:16,117 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."ActivitiJSF.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."ActivitiJSF.war".WeldService: org.jboss.weld.resources.spi.ResourceLoadingException: java.lang.ClassNotFoundException: org.activiti.cdi.impl.annotation.StartProcessInterceptor from [Module "deployment.ActivitiJSF.war:main" from Service Module Loader]; location: <class>org.activiti.cdi.impl.annotation.StartProcessInterceptor</class> in vfs:/C:/software/jboss/jboss-as-7.1.0.Final/standalone/deployments/ActivitiJSF.war/WEB-INF/beans.xml@6
at org.jboss.as.weld.services.WeldService.start(WeldService.java:83)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar: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]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.7.0_07]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0_07]
at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_07]
Caused by: org.jboss.weld.resources.spi.ResourceLoadingException: java.lang.ClassNotFoundException: org.activiti.cdi.impl.annotation.StartProcessInterceptor from [Module "deployment.ActivitiJSF.war:main" from Service Module Loader]; location: <class>org.activiti.cdi.impl.annotation.StartProcessInterceptor</class> in vfs:/C:/software/jboss/jboss-as-7.1.0.Final/standalone/deployments/ActivitiJSF.war/WEB-INF/beans.xml@6
at org.jboss.weld.manager.Enabled$ClassLoader.apply(Enabled.java:65)
at org.jboss.weld.manager.Enabled$ClassLoader.apply(Enabled.java:52)
at com.google.common.collect.Lists$TransformingRandomAccessList.get(Lists.java:451)
at java.util.AbstractList$Itr.next(Unknown Source) [rt.jar:1.7.0_07]
at org.jboss.weld.manager.Enabled.createMetadataMap(Enabled.java:121)
at org.jboss.weld.manager.Enabled.<init>(Enabled.java:96)
at org.jboss.weld.manager.Enabled.of(Enabled.java:79)
at org.jboss.weld.bootstrap.BeanDeployment.<init>(BeanDeployment.java:101)
at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:175)
at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:150)
at org.jboss.weld.bootstrap.WeldBootstrap.startContainer(WeldBootstrap.java:270)
at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:80)
at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
... 5 more
Caused by: java.lang.ClassNotFoundException: org.activiti.cdi.impl.annotation.StartProcessInterceptor from [Module "deployment.ActivitiJSF.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
at org.jboss.as.weld.WeldModuleResourceLoader.classForName(WeldModuleResourceLoader.java:68)
at org.jboss.weld.manager.Enabled$ClassLoader.apply(Enabled.java:63)
... 17 more

10:37:16,359 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "ActivitiJSF.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"ActivitiJSF.war\".WeldService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"ActivitiJSF.war\".WeldService: org.jboss.weld.resources.spi.ResourceLoadingException: java.lang.ClassNotFoundException: org.activiti.cdi.impl.annotation.StartProcessInterceptor from [Module \"deployment.ActivitiJSF.war:main\" from Service Module Loader]; location: <class>org.activiti.cdi.impl.annotation.StartProcessInterceptor</class> in vfs:/C:/software/jboss/jboss-as-7.1.0.Final/standalone/deployments/ActivitiJSF.war/WEB-INF/beans.xml@6"}}
10:37:16,400 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment ActivitiJSF.war in 41ms
10:37:16,402 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit."ActivitiJSF.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."ActivitiJSF.war".WeldService: org.jboss.weld.resources.spi.ResourceLoadingException: java.lang.ClassNotFoundException: org.activiti.cdi.impl.annotation.StartProcessInterceptor from [Module "deployment.ActivitiJSF.war:main" from Service Module Loader]; location: <class>org.activiti.cdi.impl.annotation.StartProcessInterceptor</class> in vfs:/C:/software/jboss/jboss-as-7.1.0.Final/standalone/deployments/ActivitiJSF.war/WEB-INF/beans.xml@6

10:37:16,409 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"ActivitiJSF.war\".WeldService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"ActivitiJSF.war\".WeldService: org.jboss.weld.resources.spi.ResourceLoadingException: java.lang.ClassNotFoundException: org.activiti.cdi.impl.annotation.StartProcessInterceptor from [Module \"deployment.ActivitiJSF.war:main\" from Service Module Loader]; location: <class>org.activiti.cdi.impl.annotation.StartProcessInterceptor</class> in vfs:/C:/software/jboss/jboss-as-7.1.0.Final/standalone/deployments/ActivitiJSF.war/WEB-INF/beans.xml@6"}}}}



In both cases I am using as application server Jboss 7.0.

The error seems to be related to beams.xml file, in its loading or compilation... I am doing some research to understand it better. If someone can give me some hints I would appreciate.

Thanks for your attention.
libs.png
[Thumbnail for libs.png]
 
Joao Bpmn
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found today a different way to add the jars and it is working. It was really quick, all I have to do was to add a Web App Library in the build path and then copy the jars to web-inf/lib. Now, my idea is to make the application work on Tomcat - I'm using Jboss 7.0.
 
Our first order of business must be this tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!