Hello mshives,
you are on old versions from what I see :-) At least from ODWEK 8.5.0.6, since it will be out of support end of April 2016. So for new development my advice would be to go directly with ODWEK V9 or even better V9.5. (except if you have some MUST where you need to keep the version 8.5 for some very old CMOD server which are not anymore supported by ODWEK V9+)
Now back to your question. ODWEK doesn't care about JBOSS, TomCat, WAS, WebLogic, etc... it works with everything.
Now the question is more how do you create your sessions? Can you give us an idea what are doing exactly on that topic?
For example, for each session, do you do something like that?
ODConfig odc = new ODConfig();
ODServer ods = new ODServer(odc);
ods.setServerName("localhost");
ods.setUserId("admin");
ods.setPassword("password");
ods.initialize("");
ods.logon();
// do something in CMOD
ods.logoff();
ods.terminate();
If you do an ODServer.initialize(...), then you MUST do a ODServer.terminate(), otherwise you'll have a leak of memory because the native libraries that are used behind won't be freed. And since ODWEK use JNI, if you don't have enough memory for the native libraries... then it can simply crash.
Here is a nice document that can help you in developping with ODWEK:
This is the RedBook for the ODWEK development:
http://www.redbooks.ibm.com/abstracts/sg247646.htmlThis is a really technical document for AFP, but he has a section about JNI and Java memory handling with ODWEK, a must read:
http://www-01.ibm.com/support/docview.wss?uid=tss1wp101247Here is another document for the servlet connections, connection pooling, etc... exactly what you are doing (document is a bit old, but still valid)
www-01.ibm.com/support/docview.wss?uid=tss1wp101203I hope that helps you a little bit.