To make it short, this problem is caused by an incompatibility of weld and JSF 1.2 that won't be fixed in future releases (see here).
In my opinion there are three ways one can go:
- Upgrade your application code to work with JSF 2.x.
- Exclude the weld subsystem where necessary (will likely require reconfiguring the default-cdi settings of wildfly).
- Patch the class
ConversationAwareViewHandler
appropriately to act differently in case of the old JSF API.
For me, there was only the option to patch the JSF-injection module since an application upgrade was not possible and option 2 would require a larger restructuring of the application.