File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes ui.pack.js does not download Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "ui.pack.js does not download" Watch "ui.pack.js does not download" New topic
Author

ui.pack.js does not download

Antonio Martel
Greenhorn

Joined: Feb 19, 2004
Posts: 6
Hi,

we have build an app with JSF and Richfaces that doesn't render the main page from time to time. It needs to be reloaded a couple of times. But, what it worries me most is than in a couple of computers it never loads.

The source code of page is downloaded but not the Richfaces library (<script src="/ulpgcApp/a4j/g/3_3_3.Final/org/richfaces/ui.pack.js.htm" type="text/javascript">) that keeps saying "Transferring..." for ages.

Firewall doesn't show anything at logs and Antivirus has been shut it down.

Any idea? Has something to do with the name of the file (ui.pack.js.htm) ending in .htm?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 12513

ui.pack.js.html isn't really a file as such, it's a composite of multiple bits of JavaScript generated based on which web client/version makes the query. It's fairly stable from page to page, however, which means that it can be cached on the client, and therefore may not actually need to be downloaded all the time. Unless you're using in on SSL-protected pages, in which case the Tomcat server has to be persuaded to cache-enable it.

If you're having problems with delayed or incomplete downloads, the problem could be the client or it could be the server. If either one is either underpowered or being ground down by some other process, that could cause issues, since ui.pack.js.html is a fairly large download. On the server side, not only does all this data have to be output, it has to be assembled, since, as I said, it's custom-built on a per-client basis.


One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
Antonio Martel
Greenhorn

Joined: Feb 19, 2004
Posts: 6
Thanks Tim for your response, but it seems to me there is no process undermining resources to client or Tomcat as it happens to 2 computer specifically and hardly ever to the rest of PCs we have used.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 12513

I think I'd have those 2 computers looked at. They may have undiscovered hardware problems.

By the way, while we're not big into rules here on the Ranch, we do have one about display names. We're rather insistent on it because it helps keep things processional (despite the mouldy moose logo ) and because we've found that people tend to be more polite and we pride ourselves on being a place where people can ask questions and not get flamed.

For more information: http://www.javaranch.com/name.jsp
Antonio Martel
Greenhorn

Joined: Feb 19, 2004
Posts: 6
Tim Holloway wrote:I think I'd have those 2 computers looked at. They may have undiscovered hardware problems.

By the way, while we're not big into rules here on the Ranch, we do have one about display names. We're rather insistent on it because it helps keep things processional (despite the mouldy moose logo ) and because we've found that people tend to be more polite and we pride ourselves on being a place where people can ask questions and not get flamed.

For more information: http://www.javaranch.com/name.jsp


Thank you Tim, I've just change my display name for my full name (pending revision)

About the ui.pack.js downloading problem, it happens in two different computers specially but the problem reproduces itself from time to time in others. We write down the url app and nothing happens but if we press ENTER a couple of times more, it suddenly appears. No more problems after the first download.

A web page talked about wrong content-length in those files and suggested gzip compression but it didnt' work. I'll change tomorrow the java version to 1.6 as another site propose but no hopes about that (finger crossed)

We have tried to load the page in firefox (ubuntu and windows), ie8, chrome (all in the same computer, everything else works perfectly in that machine) but ui.pack.js.htm and framework.pack.js.htm keeps in 'pending' status as Chrome web developer tools says.

Any idea?
 
 
subject: ui.pack.js does not download
 
Threads others viewed
JSTL choose tag not working for RichFaces Tree Component
JSF/RichFaces calendar; value loses one day
scrollbars?
Presenting variable number of columns with primefaces datatable
Setting form action
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture