I think I know what that is. I've added a "beans.xml" to -compiler. This causes CDI to index all classes in the JAR, it will through out exceptions for classes not on the class path - i.e. optional classes.
Although I thought the exception was simply swallowed and ignored. I'll look into it more later, for now it seems you have work around. MeK On 5 Dec 2012, at 20:12, Michael Anstis <[email protected]> wrote: > Weld the implementation is mandatory, at runtime, for anything using UberFire. > > IDK whether this is what's causing the potential problem, just pointing out > Guvnor's runtime dependencies are different to Kie Expert. > > With kind regards, > > Mike > > On 5 December 2012 20:02, Mark Proctor <[email protected]> wrote: > Weld the impl, should be a compile time only thing, it's optional at runtime. > Mark > > On 5 Dec 2012, at 11:45, Geoffrey De Smet <[email protected]> wrote: > >> Weld is probably trying to run the OSGi Activator classes in drools. >> That's not a good thing, as it means guvnor (or any drools user) is now >> starting an OSGi container and doesn't use it. >> >> Op 05-12-12 12:04, Michael Anstis schreef: >>> Hi, >>> >>> We recently needed to include the following dependencies in Guvnor-NG to >>> circumvent OSGi runtime errors:- >>> >>> <dependency> >>> <groupId>org.apache.felix</groupId> >>> <artifactId>org.osgi.core</artifactId> >>> </dependency> >>> >>> <dependency> >>> <groupId>com.sun.xml.bind</groupId> >>> <artifactId>jaxb-impl</artifactId> >>> </dependency> >>> >>> <dependency> >>> <groupId>com.sun.xml.bind</groupId> >>> <artifactId>jaxb-xjc</artifactId> >>> </dependency> >>> >>> This requirement only started to happen within the last week. >>> >>> The only other dependencies that Guvnor-NG has beyond itself (and others it >>> has had for ages) are highlighted below. >>> >>> This email is meant only to bring attention to Guvnor's requirement, in >>> case there is something elsewhere that could affect it. >>> >>> Mark has already told me that OSGi is broken at the moment - and that we >>> should not need any OSGi dependencies.... but, ATM, we do ;) >>> >>> For the mean-time we'll keep the dependencies... >>> >>> With kind regards, >>> >>> Mike >>> >>> [INFO] org.kie.guvnor:guvnor-webapp:war:6.0.0-SNAPSHOT >>> [INFO] +- org.slf4j:slf4j-api:jar:1.6.6:compile >>> [INFO] +- ch.qos.logback:logback-classic:jar:1.0.7:compile >>> [INFO] | \- ch.qos.logback:logback-core:jar:1.0.7:compile >>> [INFO] +- org.kie.guvnor:guvnor-workingset-client:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | +- org.kie.commons:kie-commons-data:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | +- org.kie.guvnor:guvnor-project-api:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | +- org.kie.guvnor:guvnor-commons-data:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | +- org.uberfire:uberfire-backend-api:jar:0.2.0-SNAPSHOT:compile >>> [INFO] | \- javax.inject:javax.inject:jar:1:compile >>> [INFO] +- org.kie.guvnor:guvnor-datamodel-api:jar:6.0.0-SNAPSHOT:compile >>> [INFO] +- org.kie.guvnor:guvnor-datamodel-backend:jar:6.0.0-SNAPSHOT:compile >>> [INFO] +- org.kie.guvnor:guvnor-core-services-api:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | \- >>> org.kie.commons:kie-commons-validation:jar:6.0.0-SNAPSHOT:compile >>> [INFO] +- >>> org.kie.guvnor:guvnor-core-services-backend:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | +- org.kie.guvnor:guvnor-commons-ui:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | +- org.kie.commons:kie-commons-io:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | | \- org.kie.commons:kie-nio2-api:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | \- org.drools:drools-core:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | +- org.kie:kie-api:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | \- org.kie:kie-internal:jar:6.0.0-SNAPSHOT:compile >>> [INFO] +- >>> org.kie.guvnor:guvnor-guided-rule-editor-client:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | +- >>> org.kie.guvnor:guvnor-guided-rule-editor-api:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | | \- >>> org.kie.guvnor:guvnor-commons-services-api:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | +- >>> org.kie.guvnor:guvnor-view-source-widget:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | +- >>> org.kie.guvnor:guvnor-decorated-grid-widget:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | \- >>> org.kie.guvnor:guvnor-commons-security:jar:6.0.0-SNAPSHOT:compile >>> [INFO] +- >>> org.kie.guvnor:guvnor-guided-rule-editor-backend:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | +- com.thoughtworks.xstream:xstream:jar:1.4.1:compile >>> [INFO] | | +- xmlpull:xmlpull:jar:1.1.3.1:compile >>> [INFO] | | \- xpp3:xpp3_min:jar:1.1.4c:compile >>> [INFO] | \- org.drools:drools-templates:jar:6.0.0-SNAPSHOT:compile >>> [INFO] +- >>> org.kie.guvnor:guvnor-guided-scorecard-editor-client:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | \- >>> org.kie.guvnor:guvnor-guided-scorecard-editor-api:jar:6.0.0-SNAPSHOT:compile >>> [INFO] +- >>> org.kie.guvnor:guvnor-guided-scorecard-editor-backend:jar:6.0.0-SNAPSHOT:compile >>> [INFO] +- >>> org.kie.guvnor:guvnor-drl-text-editor-client:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | +- >>> org.kie.guvnor:guvnor-drl-text-editor-api:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | \- >>> org.kie.guvnor:guvnor-error-messages-widget:jar:6.0.0-SNAPSHOT:compile >>> [INFO] +- >>> org.kie.guvnor:guvnor-drl-text-editor-backend:jar:6.0.0-SNAPSHOT:compile >>> [INFO] +- >>> org.kie.guvnor:guvnor-enum-editor-client:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | \- >>> org.kie.guvnor:guvnor-enum-editor-api:jar:6.0.0-SNAPSHOT:compile >>> [INFO] +- >>> org.kie.guvnor:guvnor-enum-editor-backend:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | \- org.mvel:mvel2:jar:2.1.3.Final:compile >>> [INFO] +- >>> org.kie.guvnor:guvnor-factmodel-editor-client:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | \- >>> org.kie.guvnor:guvnor-factmodel-editor-api:jar:6.0.0-SNAPSHOT:compile >>> [INFO] +- >>> org.kie.guvnor:guvnor-factmodel-editor-backend:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | +- org.uberfire:uberfire-backend-server:jar:0.2.0-SNAPSHOT:compile >>> [INFO] | | \- >>> org.uberfire:uberfire-backend-commons:jar:0.2.0-SNAPSHOT:compile >>> [INFO] | \- org.drools:drools-compiler:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | +- org.antlr:antlr-runtime:jar:3.3:compile >>> [INFO] | +- org.antlr:antlr:jar:3.3:compile >>> [INFO] | +- org.antlr:stringtemplate:jar:3.2.1:compile >>> [INFO] | +- antlr:antlr:jar:2.7.7:compile >>> [INFO] | \- org.eclipse.jdt.core.compiler:ecj:jar:3.5.1:compile >>> [INFO] +- org.uberfire:uberfire-server:jar:0.2.0-SNAPSHOT:compile >>> [INFO] | +- org.uberfire:uberfire-security-api:jar:0.2.0-SNAPSHOT:compile >>> [INFO] | \- commons-io:commons-io:jar:1.4:compile >>> [INFO] +- org.uberfire:uberfire-security-client:jar:0.2.0-SNAPSHOT:compile >>> [INFO] +- org.uberfire:uberfire-security-server:jar:0.2.0-SNAPSHOT:compile >>> [INFO] | +- org.yaml:snakeyaml:jar:1.10:compile >>> [INFO] | \- commons-codec:commons-codec:jar:1.5:compile (version managed >>> from 1.7) >>> [INFO] +- org.uberfire:uberfire-api:jar:0.2.0-SNAPSHOT:compile >>> [INFO] | \- org.jboss.errai:errai-common:jar:2.2.0-SNAPSHOT:compile >>> [INFO] | \- >>> org.jboss.errai.reflections:reflections:jar:2.2.0-SNAPSHOT:compile >>> [INFO] | \- dom4j:dom4j:jar:1.6.1:compile >>> [INFO] | \- xml-apis:xml-apis:jar:1.3.04:compile (version managed >>> from 1.0.b2) >>> [INFO] +- >>> org.uberfire:uberfire-widgets-core-client:jar:0.2.0-SNAPSHOT:compile >>> [INFO] +- >>> org.uberfire:uberfire-widgets-core-backend:jar:0.2.0-SNAPSHOT:compile >>> [INFO] +- org.uberfire:uberfire-widgets-commons:jar:0.2.0-SNAPSHOT:compile >>> [INFO] +- org.uberfire:uberfire-workbench:jar:0.2.0-SNAPSHOT:compile >>> [INFO] | +- org.freemarker:freemarker:jar:2.3.19:compile >>> [INFO] | \- com.allen-sauer.gwt.dnd:gwt-dnd:jar:3.1.2:compile >>> [INFO] +- javax.enterprise:cdi-api:jar:1.0-SP4:provided (scope not updated >>> to compile) >>> [INFO] +- org.kie.commons:kie-nio2-jgit:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | +- org.kie.commons:kie-nio2-model:jar:6.0.0-SNAPSHOT:compile >>> [INFO] | +- >>> org.eclipse.jgit:org.eclipse.jgit:jar:2.1.0.201209190230-r:compile >>> [INFO] | | \- com.jcraft:jsch:jar:0.1.44-1:compile >>> [INFO] | \- commons-httpclient:commons-httpclient:jar:3.1:compile >>> [INFO] | \- commons-logging:commons-logging:jar:1.0.4:compile >>> [INFO] +- org.kie.commons:kie-nio2-fs:jar:6.0.0-SNAPSHOT:compile >>> [INFO] +- org.jboss.errai:errai-bus:jar:2.2.0-SNAPSHOT:compile >>> [INFO] | +- org.jboss.errai:errai-config:jar:2.2.0-SNAPSHOT:compile >>> [INFO] | +- org.jboss.errai:errai-marshalling:jar:2.2.0-SNAPSHOT:compile >>> [INFO] | | \- org.jboss.errai:errai-codegen-gwt:jar:2.2.0-SNAPSHOT:compile >>> [INFO] | +- javax.validation:validation-api:jar:1.0.0.GA:compile >>> [INFO] | +- javax.validation:validation-api:jar:sources:1.0.0.GA:compile >>> [INFO] | +- com.google.inject:guice:jar:3.0:compile >>> [INFO] | | \- aopalliance:aopalliance:jar:1.0:compile >>> [INFO] | +- org.javassist:javassist:jar:3.14.0-GA:compile (version managed >>> from 3.15.0-GA) >>> [INFO] | +- >>> org.jboss.errai.io.netty:netty:jar:4.0.0.Alpha1.errai.r1:compile >>> [INFO] | \- com.google.guava:guava:jar:12.0:compile >>> [INFO] | \- com.google.code.findbugs:jsr305:jar:1.3.9:compile >>> [INFO] +- org.jboss.errai:errai-ioc:jar:2.2.0-SNAPSHOT:compile >>> [INFO] | +- org.jboss.errai:errai-codegen:jar:2.2.0-SNAPSHOT:compile >>> [INFO] | \- javax.annotation:jsr250-api:jar:1.0:compile >>> [INFO] +- org.jboss.errai:errai-cdi-client:jar:2.2.0-SNAPSHOT:compile >>> [INFO] +- >>> org.jboss.errai:errai-javax-enterprise:jar:2.2.0-SNAPSHOT:provided (scope >>> not updated to compile) >>> [INFO] +- org.jboss.errai:errai-weld-integration:jar:2.2.0-SNAPSHOT:compile >>> [INFO] +- org.jboss.errai:errai-cdi-jetty:jar:2.2.0-SNAPSHOT:compile >>> [INFO] +- org.mortbay.jetty:jetty:jar:6.1.25:compile >>> [INFO] | +- org.mortbay.jetty:jetty-util:jar:6.1.25:compile >>> [INFO] | \- org.mortbay.jetty:servlet-api:jar:2.5-20081211:compile >>> [INFO] +- org.mortbay.jetty:jetty-plus:jar:6.1.25:compile >>> [INFO] | \- geronimo-spec:geronimo-spec-jta:jar:1.0.1B-rc4:compile >>> [INFO] +- org.mortbay.jetty:jetty-naming:jar:6.1.25:compile >>> [INFO] | \- javax.mail:mail:jar:1.4:compile >>> [INFO] +- org.jboss.weld.se:weld-se-core:jar:1.1.8.Final:compile >>> [INFO] | +- org.jboss.weld:weld-spi:jar:1.1.Final:compile >>> [INFO] | | \- org.jboss.weld:weld-api:jar:1.1.Final:compile >>> [INFO] | +- org.jboss.weld:weld-core:jar:1.1.8.Final:compile >>> [INFO] | | +- >>> org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec:jar:1.0.0.Beta1:compile >>> [INFO] | | +- org.slf4j:slf4j-ext:jar:1.6.6:compile (version managed from >>> 1.6.1) >>> [INFO] | | \- ch.qos.cal10n:cal10n-api:jar:0.7.2:compile >>> [INFO] | \- javax.el:el-api:jar:1.2:compile (version managed from 2.2) >>> [INFO] +- org.jboss.weld.servlet:weld-servlet-core:jar:1.1.8.Final:compile >>> [INFO] +- com.google.gwt:gwt-user:jar:2.5.0:provided (scope not updated to >>> compile) >>> [INFO] | \- org.json:json:jar:20090211:provided >>> [INFO] +- org.apache.felix:org.osgi.core:jar:1.4.0:compile >>> [INFO] +- com.sun.xml.bind:jaxb-impl:jar:2.2.5:compile >>> [INFO] +- com.sun.xml.bind:jaxb-xjc:jar:2.2.5:compile >>> [INFO] +- junit:junit:jar:4.10:test (scope not updated to compile) >>> [INFO] | \- org.hamcrest:hamcrest-core:jar:1.1:test >>> [INFO] \- org.mockito:mockito-all:jar:1.9.0:test >>> >>> >>> >>> _______________________________________________ >>> rules-dev mailing list >>> [email protected] >>> https://lists.jboss.org/mailman/listinfo/rules-dev >> >> _______________________________________________ >> rules-dev mailing list >> [email protected] >> https://lists.jboss.org/mailman/listinfo/rules-dev > > > _______________________________________________ > rules-dev mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-dev > > > _______________________________________________ > rules-dev mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-dev
_______________________________________________ rules-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-dev
