Skip to main content

Source code revision

svn

summary: Fix for https://glassfish.dev.java.net/issues/show_bug.cgi?id=6158 ("Class Cast Exception during startup of domain")
revision: 23207
author: jfarcand
date: 2008-10-03 19:50:14 UTC (8 years)
message: Fix for https://glassfish.dev.java.net/issues/show_bug.cgi?id=6158
("Class Cast Exception during startup of domain")

The current issue occurs because when http://localhost:8080 is called, grizzly-kernel is creating a MappingData associated with / . All requests to context path / are mapped to Grizzly Static Adapter. When the WebContainer get started, it replace the / but never remove the wrapper associated with the previously added MappingData. Next request cause the ClassCastException as the request is properly mapped to the WebContainer, but the MappingData contains invalid information.

+ All QL passed
+ Manually tested the scenario described in the issue

Reviewed by Jab Luehe and Oleksiy Stashok
Approved by Jerome Dochez

Change Path Actions
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/V3Mapper.java
 
 
Close
loading
Please Confirm
Close