ViewExpiredException after upgrading to JBoss AS 7 [duplicate] - viewexpiredexception

We have JSF 2.0 Richfaces 4.0 application working perfectly fine on Jboss 6.0 and we are trying migrate it to Jboss 7.0 AS.
We are experiencing ViewExpiredException in firefox and IE for any link we click on the page. In google chrome it is working fine. Note sure what is the problem. I don't have any clue how to debug this.
Please let me know anybody experienced similar issue.
Thanks,
Mahesh

Mahesh you are experiencing https://issues.jboss.org/browse/AS7-1283
Pass -Dorg.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR=false when you start AS 7 or add the property to your config by following https://docs.jboss.org/author/display/AS7/Admin+Guide#AdminGuide-SystemProperties

Related

Trinidad2.0.1 not working with IE11

I am using trinindad-2.0.1 with JSF2.0 and it is working fine with IE8 browser. I tried to use same application in IE11 but I am getting following exception when try to use the application:
java.lang.NullPointerException at
org.apache.myfaces.trinidadinternal.ui.RootRenderingContext.getRendererManager.
There is an open and unresolved query in Trinidad for this:
https://issues.apache.org/jira/browse/TRINIDAD-2451
Can any one let me know which version of trinidad and JSF combination should be used for IE11?
There are some workarounds to make version 2.0.1 to work with IE9+, implementing a custom filter for example:
http://jonasdegraaff.blogspot.com.es/2013/11/how-to-run-your-adf-111x-application.html
But the latest stable version (2.1.0+) works with IE9+. The official download page is finally updated with it:
https://myfaces.apache.org/trinidad/download.html
You can also download it from here:
http://mvnrepository.com/artifact/org.apache.myfaces.trinidad/

Composite C1 admin system stuck on initializing, the site works fine

My client just updated me that they are facing some issues with the CMS today so tried to login as admin however could not, it gives me the login page but then is stuck on initializing page.
Versions
Composite C1 3.2 Build 3.2.4497.34793
.net 4.0
IIS 6.0 (I know old :) )
Steps taken
Restarted the site in IIS.
Same issue on all the browsers.
We have several sites built using Composite C1 the rest are working
fine, they are same version same build. In fact the preview
version of this same site works fine.
Similar issue reported here - However my build is already updated to the version informed here.
It would be great help if anyone has faced a similar issue and knows how to proceed with trouble shooting this issue.

Failed to publish MVC 4 Azure website, always get 404

When I'm publishing the website to staging and trying to go
https://26e33c03a5fc48e9a26089b858345c9d.cloudapp.net/
I'm immediately redirecting to https://26e33c03a5fc48e9a26089b858345c9d.cloudapp.net/Error/Http404/?aspxerrorpath=/Account/Login
this issue is new and first occurred after Azure down time,
any idea why this happens?
The code work perfectly on my Machine.
i lately added the RazorEngine 3.0.8 Beta
the solution was upgrade from mvc3 to mvc4 but i published it few times and it did work.
again, this is working on my machine but not on the server, any idea why?
V3.0.8 uses the older version of System.Web.Razor published with MVC3. Try updating to v3.1.0 which is now built around Razor 2 which came with MVC4
The issue solved after removing the RazorEngine 3.0.8 Beta, i suggest to be careful as the beta causing real issues.

Richfaces fileUpload - this._q._curReq is null

I am using JSF 2 and Richfaces 4.2.3.Final on a Websphere AS 8 (I think it ships with MyFaces 2.0.2)
I get a javascript error when trying to upload a document with the rich:fileUpload
this._q._curReq is null
I found this solution
https://issues.jboss.org/browse/RF-10128
So I downloaded the latest MyFaces version, placed myfaces-api.jar and myfaces-impl.jar in my lib folder and configured the application classloader-order to "Classes loaded with local class loader first (parent last) " and restarted my server.
It seems to have no effect at all, i still get the same error.
Is there more configuration needed on the WAS?
Someone has the same issue?
Thanks in advance
Regards
Edit: is there any way of finding out which Myfaces implementation is actually used for this application? In the server log I only find a warning that says MyFaces 2 is running in development mode, but it doesn't log the actual version
Ok, I found the solution. There actually is another configuration I needed to do in Websphere.
Admin Console - Applications - Websphere Enterprise applications - appName - Manage Modules - moduleName - Class loader order:classes loaded with local class loader first (parent last)
After that the latest myfaces version applies correctly and the fileUpload works.
Hope that helps people with the same problem.

Firefox 4 + application/vnd.wap.xhtml+xml error

I recently updated to Firefox 4 and I'm all of a sudden getting this error when I visit my ASP.NET MVC site. No errors using Firefox 3.x and other browsers. I'm running on IIS 7.
You have chosen to open
which is a: application/vnd.wap.xhtml+xml
from: http://dev.wittychat.com
What should Firefox do with this file?
Anyone know how to fix this? I assume it might be a MIME setting or something related?
This was fixed by upgrading to the latest 51 Degrees Detection package, thanks Michael!

Resources