| Latest 7 Posts |
Chris Toohey: Video - XPage Custom Controls for IBM Lotus Notes and Domino Sun, Jun 12th 2011 78
|
Tim Tripcony: What the heck is a bean? Sun, Jun 12th 2011 75
|
Students using XPages video and more... Thu, Jun 9th 2011 58
|
Steve Castledine: XPages Layout Framework Template (OneUI) Video Tue, Jun 7th 2011 81
|
Video: Using the XPages Extension Library Dojo Grid and REST Services Controls Mon, Jun 6th 2011 49
|
The MWLUG 2011 XPrize Design Competition Mon, Jun 6th 2011 30
|
[Lotusphere 2011 Rewind] - XPages Extension Library: Making Application Development Even Easier Mon, Jun 6th 2011 71
|
| Top
10 |
XPages multi-column filtering using a vector of non-categorized columns Fri, Aug 20th 2010 84
|
Steve Castledine: XPages Layout Framework Template (OneUI) Video Tue, Jun 7th 2011 81
|
XPages Multi-level Category Filtering - categoryFilter enhancement in Notes Domino 852 Thu, Aug 19th 2010 80
|
Chris Toohey: Video - XPage Custom Controls for IBM Lotus Notes and Domino Sun, Jun 12th 2011 78
|
Tim Tripcony: What the heck is a bean? Sun, Jun 12th 2011 75
|
[Lotusphere 2011 Rewind] - XPages Extension Library: Making Application Development Even Easier Mon, Jun 6th 2011 71
|
XPages and Beginner's Java Part II on Notes In Nine Fri, Oct 8th 2010 67
|
Calling all ISV's, Consultants and Others offering XPages Products and Services Thu, Mar 31st 2011 67
|
Intec Blog: Maximising the Benefits of XPages in 8.5.2 Whitepaper Sun, Jun 5th 2011 65
|
XPages Week in Review No. 4 Tue, Oct 19th 2010 62
|
|
|
XPages Server Bug You Might Not Know About, But May Have Already Bit You.
Jeremy Hodge
Ok, so this is an interesting tip. Some of you may have read my last post on my blog about a serious delay issue I've been having with an XPage application. Through some hard work with Nathan T Freeman (Mr NTF himself) and the XPages Team at IBM, namely Philippe Riand, Mike Kerrigan and more, we've discovered a bit of an interesting issue.
The problem lies in DNS name resolution on your server. XPages uses "server" as a server name for some internal URLs to access resources within the NSF. We found that the server may try to resolve this name using DNS. If your server has DNS a server that is reachable, and your computer is not set to automatically append your domain to a DNS query, then they lookup fails immediately (usually within 0 milliseconds), and life is hunky dorey.
HOWEVER, if your DNS server is unreachable, or your client is set to automatically append your domain, such as ".zetaone.com" the query becomes "server.zetaone.com" and if either of these conditions lead to a delay in DNS resolution for the lookup, that delay is added directly to the initialization time of your application.
Whatever time your query takes, say 500ms to resolve, then that adds a 1/2 second delay to your application's initialization time. If your DNS servers are unreachable, have problems resolving the name, this can add precious time to your appliocation load time. On Windows servers, the default time out is 2 seconds per DNS server your server is set to query, and on *NIX platforms (Unix, Linux), its usually 10 seconds by default.
Now, this only affects your user the first time they open an application within a session, after that further tries within the same application the lookup is cached. But, if the user opens another aplication (different database) then they will experience the delay all over again.
A fix is in the works for 8.5.2 FP1 hopefully to resolve the issue, but in the to resolve/prevent the problem, the best thing to do is to add two lines to your hosts file that resolve to 127.0.0.1, like this:
server. 127.0.0.1 server.yourdomain.tld. 127.0.0.1
You can find out if you are experiencing this delay by doing an nslookup/dig on your server for server. and server.yourdomain.tld. on your server. What ever the response times for those are, you can potentially subtract them from your load time with the above fix.
--------------------- http://xpagesblog.com/xpages-blog/2010/8/25/xpages-server-bug-you-might-not-know-about-but-may-have-alre.html Aug 25, 2010 28 hits
| Recent Blog Posts |
78

|
Chris Toohey: Video - XPage Custom Controls for IBM Lotus Notes and Domino
Sun, Jun 12th 2011 10:40p Bruce Elgort [read] Keywords: domino
ibm
lotus
notes
|
75

|
Tim Tripcony: What the heck is a bean? 
Sun, Jun 12th 2011 10:31p Bruce Elgort For those of you who are wondering about what the heck managed beans are and how they related to all things XPages I highly recommend reading Tim Tripcony's blog entry entitled "What the Heck is a Bean" which he orginally posted on May 5, 2011.
Also, the Mastering XPages book does a good job of explaining managed beans. I am very thankful for both Tim's article and the Mastering XPages book as both of these resources helped me out today preparing some material for my "Social Business Toolki [read] Keywords: xpages |
58

|
Students using XPages video and more... 
Thu, Jun 9th 2011 9:59a Bruce Elgort In the Fall of 2010 students in the ICT Technology cirriculum at ROC Mandriaan have developed a real-world relationship management system XPages application for the Round Texel Regatta with mentoring from "Lotus Loves People".
Here is a video of the students talking about the app (English subtitles are supplied):
Here is a copy of the slide deck showing the app that they build:
XPages Project Mondriaan ROC
View more presentations from Rob Bontekoe
And also a blog entry by Rob Bontekoe. T [read] Keywords: ibm
lotus
xpages application
google
twitter
|
81

|
Steve Castledine: XPages Layout Framework Template (OneUI) Video 
Tue, Jun 7th 2011 4:08p Bruce Elgort Steve Castledine demonstrates how to use the XPages Layout Framework Template which is available on OpenNTF.org [read] Keywords: xpages openntf
|
49

|
Video: Using the XPages Extension Library Dojo Grid and REST Services Controls
Mon, Jun 6th 2011 10:46p Bruce Elgort [read] Keywords: xpages dojo
|
30

|
The MWLUG 2011 XPrize Design Competition 
Mon, Jun 6th 2011 2:53p Bruce Elgort Hot off the press:
XPages brings Domino Web application development to an entirely a new level. It allows you to modernize your existing Domino applications and provide an incredible user experience and interface. XPages allows you to take advantage of the unique capabilities of the Domino platform and build powerful and dynamic applications that can easily beat out competitive solutions.
As part of the Midwest Lotus User Group Conference 2011, MWLUG is sponsoring the MWLUG XPrize Design Compet [read] Keywords: domino
lotus
xpages application
applications
development
interface
|
71

|
[Lotusphere 2011 Rewind] - XPages Extension Library: Making Application Development Even Easier 
Mon, Jun 6th 2011 8:22a Bruce Elgort IBM's Paul Hannan and Maire Kehoe presented this excellent session at Lotusphere 2011 on the XPages Extension Library:
AD116 XPages Extension Library: Making Application Development Even Easier
View more presentations from pdhannan [read] Keywords: ibm
lotusphere
xpages application
development
|
65

|
Intec Blog: Maximising the Benefits of XPages in 8.5.2 Whitepaper 
Sun, Jun 5th 2011 6:17p Bruce Elgort Premier IBM Business Partner Intec has a fantastic updated whitepaper entitled "Maximising the Benefits of XPages in 8.5.2:
Almost a year ago I wrote a whitepaper called "Maximising the Benefits of Lotus Domino 8.5.x with XPages". This was an open discussion of the pros and cons of XPages, based on Domino 8.5.1. I have updated the whitepaper to take into account the significant enhancements in XPages in 8.5.2 and a year's more experience of developing applications in XPages. XPages is stil [read] Keywords: domino
ibm
lotus
xpages application
applications
|
62

|
Tim Tripcony: Taking Themes to the Next Level 
Sun, Jun 5th 2011 12:58p Bruce Elgort If you have not yet looked into the power of using themes in your XPages applications, may I suggest that you download and review a presentation given by Tim Tripcony of GBS at the BLUG and UKLUG conferences entitled "Taking Themes to the Next Level - Getting more out of XPages the easy way". The slide deck covers:
What is a Theme?
How are Themes typically used?
How do Themes actually work?
Going beyond the typical to...
Keep your XPage markup clean
Enhance application performance
Maintain [read] Keywords: xpages application
applications
development
|
48

|
Mark Barton: Creating Barcodes with an XPage / Reading them with Flex 
Sat, Jun 4th 2011 11:26a Bruce Elgort Mark Barton has a must read blog entry on generating barcodes with XPages:
Due to the ability for an XPage to easily leverage Java code it is quite straightforward to integrate an existing Java library, so when the XPage is called a rendered barcode is returned.
For this demo I have decided to use a commercial library – the code will operate in a demo mode and is reasonably priced if you decide to buy it. For this demo I am only interested in the Datamatrix barcode so I downloaded th [read] Keywords: xpages java
|
|