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



May 19, 2011, 1:48 PM
24 Posts

Why doesn't my new Managed Bean code run?

  • Category: Managed Beans in NSF
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags: Java
  • Replies: 4
 I've changed the code in my managed bean, added a few system.out.print statements for debugging, and I've updated the database from my template.
 
However, my new code isn't running on the server. I've tried to flush the JVM cache by shutting down the HTTP server and then re-starting it but nothing seems to help, short of shutting down the server.
 
I can't be the only one having the issue. 
 
Any help is greatly appreciated.
 
-- Jeff 
May 19, 2011, 2:18 PM
33 Posts
Re: Why doesn't my new Managed Bean code run?
Open the live database in designer and try to clean it (in designer: Project->Clean).
Don't forget to select only this database and if you have auto build turned off select also the option to build that database after a clean. 
May 19, 2011, 2:39 PM
24 Posts
Re: Why doesn't my new Managed Bean code run?
 I tried that too with Hit - or - Miss results.  I keep thinking that the issues is that my old bean code is still in the JVM memory on the server.  I also tried changing the scope of the Bean.
 
-- Jeff 
 
 
May 19, 2011, 8:24 PM
54 Posts
Re: Why doesn't my new Managed Bean code run?
Make also sure that you have set the "Project ==> Build automatically" setting on. Otherwise Eclipse (Domino DDE) doesn't compile the Java classes automatically.
Don't know why and how, but this setting has been turned off some times before.
May 20, 2011, 6:31 PM
24 Posts
Re: Why doesn't my new Managed Bean code run?
 I just wanted to share with everyone what I've found.
 
I was doing all of  my Project cleaning and building in the Template and then refreshing the design of the database, 
 
I started having much better results once I started running the Project Cleaning and Building in the database, after refreshing the Database Design from the Template.
 
-- Jeff 
 

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