[JAVASERVERFACES-2224] cid appended to url twice Created: 13/Oct/11  Updated: 13/Nov/12  Resolved: 12/Nov/12

Status: Closed
Project: javaserverfaces
Component/s: None
Affects Version/s: 2.1.3
Fix Version/s: 2.1.15, 2.2.0-m06

Type: Bug Priority: Major
Reporter: bohl_-. Assignee: Unassigned
Resolution: Won't Fix Votes: 3
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Ubuntu 11, jboss 7.0.2-FINAL

Attachments: File theapp.tgz     File theapp_simple.tgz    
Tags: cid, jboss, twice


conversation id ("cid") gets appended twice to url
This is the offending url:


How to recreate:

By the way, this project is based on the jboss-javaee6-webapp example application, which can be created with the following command:

mvn org.apache.maven.plugins:maven-archetype-plugin:2.1:generate \
-DarchetypeGroupId=org.jboss.spec.archetypes \
-DarchetypeArtifactId=jboss-javaee6-webapp \

Comment by codylerum [ 22/Nov/11 ]

I see this frequently as well.

Comment by Peter Miklos [ 11/Dec/11 ]

It looks a bit more ugly if you try with the FacesServlet prefix mapping and navigate to


After clicking the Create button the application gets redirected to


(note the duplicated FacesServlet prefix.)

Comment by bohl_-. [ 10/Nov/12 ]

Uploading theapp_simple.tgz, a simplified version that runs in Jboss 7 or jetty 8 via build profiles; see README.md. The bug does not occur anymore with the jetty configuration, using javax.faces:2.2.0-m05. However, it still occurs in the current JBoss AS 7.1.1.Final, which apparently uses its own built-in JSF implementation. Does JBoss AS 7 use the Mojarra implementation? If so, which version?

Comment by bohl_-. [ 11/Nov/12 ]

Found these jars in the jboss libs:


So I tried to run the jetty with this configuration (dependencies section in pom):




Even with this configuration, the problem doesn't occur (running jetty). So maybe this is not a JSF problem, but a jboss specific one.

Comment by Manfred Riem [ 12/Nov/12 ]

As per comments, this is a JBoss specific bug, since the codebase has been changed by JBoss please file this issue at their bug tracker. Closing it out as "Won't fix".

Comment by codylerum [ 12/Nov/12 ]


Comment by codylerum [ 13/Nov/12 ]

This was a Weld bug - https://issues.jboss.org/browse/WELD-909

Fixed in Weld 1.1.6 and included in JBoss AS 7.1.2+

Generated at Sun Apr 26 03:35:50 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.