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



Feb 24, 2011, 8:01 AM
11 Posts

Re: Using Java classes in WEB-INF folder in your Java Agents

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 8.5.1
  • Role: Developer
  • Tags: XPages,Java,SSJS
  • Replies: 7
" I have verified this as a problem in versions 7.02 to 8.5.2 (on SuSE Linux and Windows)"
Do you have a SPR7PMR or any other reference to this problem? Is it going to be fixed in 8.5.3?
Feb 24, 2011, 10:39 AM
16 Posts
Re: Using Java classes in WEB-INF folder in your Java Agents
No, I don't.
 
It is fairly easy to reproduce. Just add a JDBC-driver to an agent, write a little code to call a database, schedule the agent to run every x minutes and wait.... It will crash within a fairly short number of calls (depending on the environment and code, expect 5-10 runs). 
 
I have spoken to some of the developers on this at LotusPhere the last couple of years. It seems they need to re-write much of the way the JVM was implemented for agents and webservices to fix this. A much better approach going forward would be to look at OSGi to do some of the same things - and obviously find a solution for deployment. But it seems someone is working on/considering this.

/John 

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