close wem connection
Is there a need to close the wem connection when accessing wem via the api?
We have recently increased the usage of this and heap size is increasing. At this point just guessing the cause, but I am wondering it there is something here we are leaving open.
AuthnBundle authnBundle = buildAuthBundle(config);logger.info("WEM Connection to: " + authnBundle.getHost());try { final LoginMgr loginMgr = new LoginMgr(); loginMgr.login(authnBundle);
Comments
-
If you are doing it in a batch program you just need to call this only once at the beginning.
Please don’t call this in a loop.
Best Regards
Qutub
From: eLink Entry: Discussion Group - Web Experience Management <v7webcontentmanagement@elinkkc.opentext.com>
Sent: Monday, March 18, 2019 5:18 PM
To: eLink Recipient <devnull@elinkkc.opentext.com>
Subject: close wem connectionPosted bylauren.quintanilla@wellsfargo.com (Quintanilla, Lauren) On 03/18/2019 05:17 PM
Is there a need to close the wem connection when accessing wem via the api?
We have recently increased the usage of this and heap size is increasing. At this point just guessing the cause, but I am wondering it there is something here we are leaving open.
AuthnBundle authnBundle = buildAuthBundle(config);
logger.info("WEM Connection to: " + authnBundle.getHost());
try {
final LoginMgr loginMgr = new LoginMgr();
loginMgr.login(authnBundle);
[To post a comment, use the normal reply function]
Forum:
Content Server:
0
Categories
- All Categories
- 117 Developer Announcements
- 52 Articles
- 145 General Questions
- 132 Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 8.9K Extended ECM
- 912 Cloud Fax and Notifications
- 81 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 162 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 4 XM Fax