Getting below error when starting JBOSS With a Spring application installed on it .
Caused by: java.lang.IndexOutOfBoundsException: fromIndex: 6 > toIndex: 1 at java.util.BitSet.checkRange(BitSet.java:366) at java.util.BitSet.set(BitSet.java:481) at org.springframework.scheduling.support.CronSequenceGenerator.setNumberHits(CronSequenceGenerator.java:298) at org.springframework.scheduling.support.CronSequenceGenerator.setDays(CronSequenceGenerator.java:275) at org.springframework.scheduling.support.CronSequenceGenerator.parse(CronSequenceGenerator.java:241) at org.springframework.scheduling.support.CronSequenceGenerator.<init>(CronSequenceGenerator.java:81) at org.springframework.scheduling.support.CronTrigger.<init>(CronTrigger.java:54) at org.springframework.scheduling.support.CronTrigger.<init>(CronTrigger.java:44) at org.springframework.scheduling.config.ScheduledTaskRegistrar.afterPropertiesSet(ScheduledTaskRegistrar.java:188) at org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor.onApplicationEvent(ScheduledAnnotationBeanPostProcessor.java:209) at org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor.onApplicationEvent(ScheduledAnnotationBeanPostProcessor.java:1) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:324) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:929) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:467) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) at org.apache.tapestry5.internal.spring.SpringModuleDef$3$1.invoke(SpringModuleDef.java:220) at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:82)
Up on further verification there is no issue with JBOSS As it self alone can start successfully .
for java 1.8 bytecode compliance which is shipped with eap 7.x spring 4.x is required,it doesn't work correctly even with spring 3.2.x. eap supported/tested configurations are follows for spring: Spring (Core) 4.2.5.RELEASE Red Hat may drop support for a "Spring Major Version" in favor of a new Spring version in a JBoss EAP minor release. Spring Security 4.0.4.RELEASE Red Hat may drop support for a "Spring Major Version" in favor of a new Spring version in a JBoss EAP minor release. Spring Web Flow 2.4.2.RELEASE Red Hat may drop support for a "Spring Major Version" in favor of a new Spring version in a JBoss EAP minor release. Spring Web Services 2.2.4.RELEASE Red Hat may drop support for a "Spring Major Version" in favor of a new Spring version in a JBoss EAP minor release. Refer below EAP 7.3 Spring support tested frameworks.
Framework | Version | Additional Considerations |
---|---|---|
Spring (Core) | 5.2.4.RELEASE | Red Hat may drop support for a “Spring Major Version” in favor of a new Spring version in a JBoss EAP minor release. |
Spring Security | 5.2.1.RELEASE | Red Hat may drop support for a “Spring Major Version” in favor of a new Spring version in a JBoss EAP minor release. |
Spring Web Flow | 2.5.1.RELEASE | Red Hat may drop support for a “Spring Major Version” in favor of a new Spring version in a JBoss EAP minor release. |
Spring Web Services | 3.0.8.RELEASE | Red Hat may drop support for a “Spring Major Version” in favor of a new Spring version in a JBoss EAP minor release. |
Arquillian (Core) | 1.4.0.Final | None |
ShrinkWrap Resolvers for Arquillian | 2.2.7 | None |
Application team fixed it at the code level for this .
Refer below link to get JBOSS tested compatability matrix .