This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Mar 27, 2015, 4:25 PM
14 Posts

Designer build problem

  • Category: Performance
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags: Designer,build,cache,database
  • Replies: 6

I am experiencing a weird problem with my Designer and Domino server. I am testing the performance of the server and built a dummy database with lots of data. The size of the nsf on the server is ~40 GB. It's a single view and form with 500,000 documents. Here's the weird part, when I am trying to write XPages or scripts in Designer and build my page, the server does not update the pages. If I check in Designer -> Navigator View ->  bloat.nsf -> local -> xsp  -> xpage.java, I can see that Designer did its job to build the application properly. It does not matter how many times I refresh my browser, I still get an older version of the page. If I wait some time (10-30 minutes) then miraculously, my page gets updated somehow by the server.

I don't get any error messages anywhere (console, logs). I suspect that the server is doing some background task that I am not aware of, but I cannot see any memory increase or CPU usage in Windows Task manager.

If I issue a "restart http task" command in the console, the page gets updated.  Nevertheless, it's very inconvenient to restart the webserver every time I make a change in  an XPage. Has anyone experienced a problem like that? Can anyone suggest a solution to this problem?

C

Mar 27, 2015, 5:28 PM
586 Posts
hmm

40GB for 500,000 documents in a db with 1 view seems REALLY large...  do these docs have attached files?

 

I've only had to restart http for design changes when working in SCXD  - Single Copy Xpages Design...  

 

Are you using a template?  If not you should.  Rather then restarting http you could also try to clean it and rebuild it.  Maybe Build Automatically is off...  or on and not working that well due to the document count.

The best practice is to design off a local template and refresh your demo app when making changes.

Mar 27, 2015, 5:32 PM
453 Posts
I have seen this on occasions...

I don't think it is related to the size of the database, though the usual reason for the failure to update is an error in the code as XPages will return the last good page. So I don't have an answer other than if in doubt keep the admin client open and tell http restart generally does the job. It is frustrating when it happens, because I have found that it is pretty inconsistent and I can waste a lot of time looking for errors when there are not any.

I would try to do a Project/Clean which generally fixes these sorts of issues.

Mar 27, 2015, 5:43 PM
14 Posts
Thanks

Thanks for the quick replies. I tried to do both clean and build and all that kind of stuff. It didn't help. The code had no errors, and Designer built the pages without any problems. I also checked the files right on the server and it had the latest code there, too. It's really annoying when these things happen silently, because I am not looking at the latest code in my browser and when that happens, there's no point of developing. For me as, Bill said, too, the only solution is "restart task http" from the console.

Mar 27, 2015, 6:45 PM
453 Posts
The problem is it happens but I could not reproduce it

I have gone for a considerable time without having the problem, then it jumps up and bites my butt, then goes away. One thing that I have noticed is that XPages does not like it when all the XPages Design is not signed by the same ID, but even with that it does not complain all the time.

Mar 27, 2015, 8:13 PM
586 Posts
Signing

That is a good point.  XPages really does want everything in the app to be signed by the same ID.

Apr 3, 2015, 7:37 PM
453 Posts
While doing some testing I just ran into exactly the same issue

On an action button on an XPage that I was testing I added a bunch of print statements and when I clicked the button the action ran, but none of the print statements executed (there are no errors in any of the source). So next I added a line of code that had an obvious error in it and ran it again. The action did not pick up the error. I have signed the DB both with my ID and the server ID to no effect, likewise I have tell http restart, closed both the browser and designer and Notes and still to no effect. This is really weird. I have had this happen in the past but normally resigning the DB solves the problem. So Casba you are not alone. Oh by the way I also restarted the Domino Server.

Just did a full shutdown and restart of the server, closed Notes and Designer, signed the DB now the changes are working. Go figure! 

 


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal