[
https://issues.apache.org/jira/browse/TOMEE-4422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17895022#comment-17895022
]
Markus Jung commented on TOMEE-4422:
------------------------------------
seems like the same happens with MyFaces, though MyFaces actually handles CDI
not being started more gracefully
It also produces a confusing log entry in this case (MYFACES-4689)
> JSF does not start in remote plume arquillian adapter
> -----------------------------------------------------
>
> Key: TOMEE-4422
> URL: https://issues.apache.org/jira/browse/TOMEE-4422
> Project: TomEE
> Issue Type: Bug
> Affects Versions: 10.0.0-M4
> Reporter: Markus Jung
> Priority: Major
>
> This is currently breaking our full build
>
> From a quick investigation the following happens:
> * arquillian-remote adapter invokes /tomee/ejb
> * DeployerEjb#deploy(final String inLocation, Properties properties) is
> invoked
> * This calls TomcatWebAppDeployer#deploy
> * Tomcat runs Mojarra's ConfigureListener
> * OWB is not started yet (why?) and deployment fails because Mojarra's
> ConfigureListener throws an IllegalStateException
>
> To reproduce the failing build:
> # cd arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests
> # mvn clean install -Darquillian.launch=tomee-remote
> -Dtomee.classifier=plume -Dtomee.version=10.0.0-M4-SNAPSHOT
> -Dopenejb.arquillian.adapter=tomee-remote -Dtest=AvoidConflictWithFacesTest
--
This message was sent by Atlassian Jira
(v8.20.10#820010)