You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jay Xu (JIRA)" <de...@myfaces.apache.org> on 2006/01/20 12:25:42 UTC

[jira] Commented: (MYFACES-1038) Schedule component in Sandbox fails to run on WebSphere Application Server 5.1.1.8

    [ http://issues.apache.org/jira/browse/MYFACES-1038?page=comments#action_12363387 ] 

Jay Xu commented on MYFACES-1038:
---------------------------------

I found out what the problem was:

There were duplicate entries for "id" for the schedule component in myfaces_sandbox.tld. Tomcat 5.5 is ignoring the duplicates while WebSphere 5.1 is not. After removing the duplicate entries and the schedule example runs fine.

> Schedule component in Sandbox fails to run on WebSphere Application Server 5.1.1.8
> ----------------------------------------------------------------------------------
>
>          Key: MYFACES-1038
>          URL: http://issues.apache.org/jira/browse/MYFACES-1038
>      Project: MyFaces
>         Type: Bug
>   Components: Sandbox
>     Versions: 1.1.1
>  Environment: Win2K/WAS5.1.1.8 Base
>     Reporter: Jay Xu

>
> After adding jsp-2.0.jar to WAS5.1.1.8(Servlet 2.3/JSP 1.2) got following error when I tried to run Schedule:
> [1/18/06 10:19:39:141 EST] 48cc2c48 WebGroup      E SRVE0026E: [Servlet Error]-[component identifier&#39;s first character must be a letter or an underscore &#40;&#39;_&#39;&#41;! But it is &quot;&quot;&quot;]: javax.faces.FacesException: component identifier's first character must be a letter or an underscore ('_')! But it is """
> 	at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)
> 	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
> 	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
> 	at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
> 	at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
> 	at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
> 	at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
> 	at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
> 	at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
> 	at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
> 	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:76)
> 	at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
> 	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
> 	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
> 	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
> 	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
> 	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
> 	at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
> 	at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
> 	at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
> 	at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
> 	at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
> 	at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
> 	at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
> 	at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
> 	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
> Caused by: javax.servlet.ServletException: component identifier's first character must be a letter or an underscore ('_')! But it is """
> 	at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:416)
> 	at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:669)
> 	at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:767)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
> 	at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
> 	at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
> 	at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
> 	at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
> 	at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
> 	at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
> 	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:978)
> 	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
> 	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
> 	at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415)
> 	... 26 more
> I have no problem running it under WAS6.0 and Tomcat5.5(servlet 2.4/JSP 2.0)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira