[JBoss JIRA] Created: (AS7-1797) Fix the transactions description providers for the improved validation in jboss-as-subsystem-test
by Kabir Khan (JIRA)
Fix the transactions description providers for the improved validation in jboss-as-subsystem-test
-------------------------------------------------------------------------------------------------
Key: AS7-1797
URL: https://issues.jboss.org/browse/AS7-1797
Project: Application Server 7
Issue Type: Feature Request
Reporter: Kabir Khan
Assignee: Stefano Maestri
Fix For: 7.1.0.Alpha1
I added a test called TransactionSubsystemTestCase, which uses our subsystem testing framework which attempts to validate the description providers, this will be committed to upstream in the next few days.
To make the tests pass I had to override AdditionalInitialization.getModelValidationConfiguration() as follows:
{code}
@Override
protected ValidationConfiguration getModelValidationConfiguration() {
return null;
}
{code}
Returning null basically turns off validation of the providers. What I have added is a minimum of what is required for subsystem testing, the test framework allows you to do a lot of other stuff, see the jmx subsystem test for some examples.
The wip lives at https://github.com/kabir/jboss-as/tree/subsystem-test-model-fixes
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (AS7-2387) modules-1.1 update breaks JavaEE/OSGi integration
by Thomas Diesler (Created) (JIRA)
modules-1.1 update breaks JavaEE/OSGi integration
-------------------------------------------------
Key: AS7-2387
URL: https://issues.jboss.org/browse/AS7-2387
Project: Application Server 7
Issue Type: Bug
Components: Modules, OSGi
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: 7.1.0.Beta1
{code}
Caused by: java.lang.NoClassDefFoundError: org/jboss/modules/ModuleClassLoader
at org.jboss.as.test.integration.osgi.xservice.bundle.TargetBundleActivator.start(TargetBundleActivator.java:45)
at org.jboss.osgi.framework.internal.HostBundleState.transitionToActive(HostBundleState.java:300)
... 103 more
Caused by: java.lang.ClassNotFoundException: org.jboss.modules.ModuleClassLoader from [Module "deployment.web-osgi-target:0.0.0" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:485)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:444)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:421)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:143)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (AS7-2384) OSGi bundles cannot load org.jboss.logging.Logger
by Thomas Diesler (Created) (JIRA)
OSGi bundles cannot load org.jboss.logging.Logger
-------------------------------------------------
Key: AS7-2384
URL: https://issues.jboss.org/browse/AS7-2384
Project: Application Server 7
Issue Type: Bug
Components: OSGi
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Priority: Blocker
Fix For: 7.1.0.Beta1
With jboss-modules-1.1.0.Beta4 we get
{code}
09:50:10,515 ERROR [org.jboss.osgi.framework.internal.FrameworkEventsPlugin] (MSC service thread 1-1) Framework ERROR: org.osgi.framework.BundleException: Cannot start bundle: jboss-osgi-jmx:1.0.10
at org.jboss.osgi.framework.internal.HostBundleState.transitionToActive(HostBundleState.java:328) [jbosgi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
at org.jboss.osgi.framework.internal.HostBundleState.startInternal(HostBundleState.java:223) [jbosgi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
at org.jboss.osgi.framework.internal.AbstractBundleState.start(AbstractBundleState.java:494) [jbosgi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
at org.jboss.osgi.framework.internal.StartLevelPlugin.increaseStartLevel(StartLevelPlugin.java:257) [jbosgi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
at org.jboss.osgi.framework.internal.FrameworkActive.start(FrameworkActive.java:93) [jbosgi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_27]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_27]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_27]
Caused by: java.lang.NoClassDefFoundError: org/jboss/logging/Logger
at org.jboss.osgi.jmx.internal.JMXServiceActivator.<clinit>(JMXServiceActivator.java:48)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [:1.6.0_27]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [:1.6.0_27]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [:1.6.0_27]
at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_27]
at java.lang.Class.newInstance0(Class.java:355) [:1.6.0_27]
at java.lang.Class.newInstance(Class.java:308) [:1.6.0_27]
at org.jboss.osgi.framework.internal.HostBundleState.transitionToActive(HostBundleState.java:294) [jbosgi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
... 9 more
Caused by: java.lang.ClassNotFoundException: org.jboss.logging.Logger from [Module "deployment.jboss-osgi-jmx:1.0.10" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.0.Beta4]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:485) [jboss-modules.jar:1.1.0.Beta4]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:444) [jboss-modules.jar:1.1.0.Beta4]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:421) [jboss-modules.jar:1.1.0.Beta4]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:143) [jboss-modules.jar:1.1.0.Beta4]
... 17 more
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (JBRULES-3247) PlanningEntityDescriptor does not support write-only properties
by Cédric Schaller (Created) (JIRA)
PlanningEntityDescriptor does not support write-only properties
---------------------------------------------------------------
Key: JBRULES-3247
URL: https://issues.jboss.org/browse/JBRULES-3247
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-planner
Affects Versions: 5.3.0.CR1
Reporter: Cédric Schaller
Assignee: Mark Proctor
The following code:
{code:java}
Method propertyGetter = propertyDescriptor.getReadMethod();
if (propertyGetter.isAnnotationPresent(PlanningVariable.class)) {
{code}
in method {{processPropertyAnnotations()}} assumes that properties always have getters. However, the method {{getReadMethod()}} might indeed return {{null}} if the property is write-only, as explained in the JavaBeans(TM) Specification 1.01 Final Release. A null-check should therefore be added in order to prevent NullPointerExceptions.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months