Technote

(troubleshooting)
Cannot access the home page due to ServletException error
Problem(Abstract)
You have successfully migrated from WebSphere Commerce, version 5.6 to 6.0 on the development environment. However, when you deploy it to the runtime environment, you get the following error:
[6/16/06 19:03:07:731 PDT] 0000002b ServletWrappe A SRVE0242I:
[WC_demo] [/webapp/wcs/stores] [/demo/HomepageView.jsp]:
Initialization successful.
[6/16/06 19:03:16:165 PDT] 0000002b ServletWrappe E SRVE0068E: Could
not invoke the service() method on servlet /demo/HomepageView.jsp.
Exception thrown : javax.servlet.ServletException: Unable to convert
string '${storeText}' to class
javax.servlet.jsp.jstl.fmt.LocalizationContext for attribute bundle:
java.lang.IllegalArgumentException: Property Editor not registered with
the PropertyEditorManager
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
tImpl.java:640)
at com.ibm._jsp._HomepageView._jspService(_HomepageView.java:508)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
.....
Cause When you migrate the runtime environment, the WebSphere Commerce migration tool adds a flag to the Store.war Web application so that it is compatible with previous versions with JSTL written in JSPs. Resolving the problem To fix this problem, manually remove the flag from the Stores.war web application deployment file:

1. Edit the WC_eardir/Stores.war/WEB-INF/web.xml file

2. Remove the following text:
<jsp-property-group>                                        
<url-pattern>*.jsp</url-pattern>                            
<el-ignored>true</el-ignored>                              
</jsp-property-group>    

3. Publish these changes to the runtime server.
Cross Reference information
Segment Product Component Platform Version Edition
Commerce WebSphere Commerce - Express Migration AIX, i5/OS, Linux, Solaris, Windows 6.0 Express
Commerce WebSphere Commerce Professional Edition Migration AIX, i5/OS, Linux, Solaris, Windows 6.0 Professional Edition
 

Historical Number
93542
344
000
 

Document Information

Current web document: http://www.ibm.com/support/docview.wss?uid=swg21247776