[jboss-jira] [JBoss JIRA] (WFCORE-493) Automatically index static modules as required

Tomas Remes (JIRA) issues at jboss.org
Mon Apr 20 07:16:19 EDT 2015


    [ https://issues.jboss.org/browse/WFCORE-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060560#comment-13060560 ] 

Tomas Remes commented on WFCORE-493:
------------------------------------

Currenlty I am getting following exception when testing static module without index (on WF 9.0.0.Beta2, WF-CORE 1.0.0.Beta2):
{noformat}
org.jboss.msc.service.StartException in service jboss.deployment.unit."test.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "test.war"
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:163)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.io.IOException: Invalid Magic
	at org.jboss.as.server.deployment.annotation.CompositeIndexProcessor.deploy(CompositeIndexProcessor.java:89)
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:156)
	... 5 more
Caused by: java.io.IOException: Invalid Magic
	at org.jboss.jandex.Indexer.verifyMagic(Indexer.java:435)
	at org.jboss.jandex.Indexer.index(Indexer.java:689)
	at org.jboss.as.server.deployment.annotation.CompositeIndexProcessor.calculateModuleIndex(CompositeIndexProcessor.java:155)
	at org.jboss.as.server.deployment.annotation.CompositeIndexProcessor.deploy(CompositeIndexProcessor.java:83)
	... 6 more
{noformat}



> Automatically index static modules as required
> ----------------------------------------------
>
>                 Key: WFCORE-493
>                 URL: https://issues.jboss.org/browse/WFCORE-493
>             Project: WildFly Core
>          Issue Type: Feature Request
>          Components: Server
>            Reporter: Stuart Douglas
>            Assignee: Tomasz Adamski
>
> If a static module has an annotation import it should be automatically indexed



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list