This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JSF and the fly likes Re : JSF1.2 application working slow on Apache tomcat7.0.12 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Re : JSF1.2 application working slow on Apache tomcat7.0.12 " Watch "Re : JSF1.2 application working slow on Apache tomcat7.0.12 " New topic
Author

Re : JSF1.2 application working slow on Apache tomcat7.0.12

Dipeeka Suryawanshi
Greenhorn

Joined: Jul 20, 2012
Posts: 6
I m working on jsf1.2 application using Application server as Apache Tomcat7.0.14.
It's working very slow specially jsf pages which i have used a4j:status> & <a4j:commandLink> like
<a4j:commandLink value="#{tktData.resolutionSLA}" action="#{TDBB.showSLADetails}" styleClass="label"
oncomplete="sla.show();document.getElementById('formName').focus();">
<t:updateActionListener value="#{tktData}" property="#{TDBB.ticketData}" />
</a4j:commandLink>
I have tried it on Jdk1.6 as well as Jdk1.7
Please guide why it's working slow.

Is Ajax ,like <a4j> tags supports on Apache tomcat7.0.12 or not.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15632
    
  15

There's absolutely no way anyone could tell you why your response is slow based on such a small amount of information.

Have you tried measuring what's going on?


Customer surveys are for companies who didn't pay proper attention to begin with.
Dipeeka Suryawanshi
Greenhorn

Joined: Jul 20, 2012
Posts: 6
I have tried this same application in Weblogic10.3.4 server. It's working fine ,but m not getting why it's working very slow in Apche tomcat7.0.14 on jdk1.6 or 1.7 using database oracle 11i.

Specially the pages which has used of <a4j:status> & <a4j:commandLink> tags in JSF 1.2.

like :
<h:form id="TicketDashboardForm" enctype="multipart/form-data">
<a4j:status id="pause" onstart="loader.show();document.getElementById('formName').focus();" onstop="loader.hide();"/>
<t:column width="65" style="background-color:#{tktData.SLAcolor};">
<f:facet name="header">
<hutputLabel value="Resolution SLA" />
</f:facet>
<a4j:commandLink value="#{tktData.resolutionSLA}" action="#{TDBB.showSLADetails}" styleClass="label"
oncomplete="sla.show();document.getElementById('formName').focus();">
<t:updateActionListener value="#{tktData}" property="#{TDBB.ticketData}" />
</a4j:commandLink>
<f:facet name="footer">
<hutputLabel value="#{TDBB.totalData1.resolutionSLA}" style="width:100%; background-color:#{TDBB.totalData1.SLAcolor};"/>
</f:facet>
</t:column>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Re : JSF1.2 application working slow on Apache tomcat7.0.12
 
Similar Threads
a4j:commandLink not working inside a4j:repeat
Help with creating common xhtml code
How to get the whole URL like http://localhost:8080/webcontext/page.jsf?event=23&lang=1 in add bar
Not able to use action attribute in JSF graphicImage
display confirmation box before deleting