Reputation: 911
I have noticed that when performing Design refresh in 8.5.3, Java classes often get corrupted and this results in issues on my XPages using the Java code (I generally get error that the package is not found/not recognized). Has anyone else noticed similar issues with Java classes and XPages? Due to the frequency of design refreshes and template being on a different server, it's not possible to do a design replace at the moment. I am also not sure if design replace will fix my problem.
Any tips, advice or help would be appreciated.
Upvotes: 3
Views: 757
Reputation: 2807
You could be hit by a situation that I was hit by.
Does your application use any classes from the extension library (either the openNTF version or the IBM version - Update Pack 1)?
If so, the problem could be caused by not having the extension library installed on all computers that open the design in Domino Designer. I had this issue and found that just opening the design "touched" the Java classes (i.e. compiled them or at least signed them). This was due to the default setting in Domino Designer under "Project" to "Build automatically". So just opening Domino Designer from another computer without the extension library to adjust e.g. a form or @-formula agent, the Java classes were broken!!
It took us a little while to find out exactly why this happened. By disabling the "Build automatically" option we could avoid harming the code just by opening the database in Designer. However, a better approach is to install the extension library on all Domino Designer clients.
But be carefull since this issue can still harm your application since the elements get signed by the last user opening the design... :-(
/John
Upvotes: 6