voyent
This might be a problem due to duplicate ids.  XML
Forum Index -> Portals & Portlets
Author Message
fisa

Joined: 16/Jun/2007 00:00:00
Messages: 1
Offline


Hi All,

We are facing a typical problem. When we deploy our ear file on JBoss in Windows 2K, it is working perfectly fine, but when we depoy it on solaris and try to open the component tree , it throws the exception, given below.

We tried searching duplicate id in our jspx file, we could not fine any.

Would appreciatea early reply.

TIA,
Regards,
Asif Mekrani


EXCEPTION :
javax.faces.FacesException: Can't parse stream for /main.jspx Failed to execute JSP lifecycle.
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:565)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:149)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.renderCyclePartial(BlockingServlet.java:474)
at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.receiveUpdates(BlockingServlet.java:442)
at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.executeRequest(BlockingServlet.java:314)
at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:186)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.alcatel.srb.gui.security.AuthorizationFilter.doFilter(AuthorizationFilter.java:82)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.faces.FacesException: Failed to execute JSP lifecycle.
at com.icesoft.faces.webapp.parser.Parser.parse(Parser.java:140)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:550)
... 32 more
Caused by: javax.faces.FacesException: cannot add component with id 'icesoftXhtmlID184' and path : {Component-Path : [Class: com.icesoft.faces.component.UIXhtmlComponent,Id: icesoftXhtmlID184]} to its parent component. This might be a problem due to duplicate ids.
at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:401)
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:219)
at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:162)
at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:186)
at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:186)
at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:186)
at com.icesoft.faces.webapp.parser.Parser.parse(Parser.java:134)
... 33 more
michael.thiem


Joined: 04/Jun/2007 00:00:00
Messages: 704
Offline


Hi Asif,

this sounds like a typical file conversion problem when you work in mixed environments like win/linux.

I remember having a similar problem and the reason for this could be that during conversion to linux ^M characters have been inserted into your files. I would suggest to open your VI in linux and have a look if there are any ^M characters in your jspx files.

Do this by typing in Ctrl-V-M in your VI editor. If there are any ^M's they should appear now. If this is the problem, be sure to remove those characters recursively under your complete folder structure with a small shell script.

To remove ^M's in a single file you could use the following command within you VI editor:

Code:
 :%s/^M$//g
 


Hope this helps.

Best regards
Michael
 
Forum Index -> Portals & Portlets
Go to:   
Powered by JForum 2.1.7ice © JForum Team