Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I use the Berkeley DB Java API from within a EJB, a Servlet or a JSP page?

API Berkeley DB EJB Java JSP page servlet
0
Posted

Can I use the Berkeley DB Java API from within a EJB, a Servlet or a JSP page?

0

Yes. The Berkeley DB Java API can be used from within all the popular J2EE application servers in many different ways. • During one of the first calls to the Berkeley DB Java API, a DbException is thrown with a “Bad file number” or “Bad file descriptor” message. There are known large-file support bugs under JNI in various releases of the JDK. Please upgrade to the latest release of the JDK, and, if that does not solve the problem, disable big file support using the –disable-largefile configuration option. • How can I use native methods from a debug build of the Java library? The Berkeley DB Java code checks a system property for the library name before defaulting to the released library. On Windows, run as follows (note the ‘d’ at the end): % java -Dsleepycat.db.libname=libdb_java-VERSIONd On UNIX, try: % java -Dsleepycat.db.libname=db_java_g-VERSION • Why is ClassNotFoundException thrown when adding a record to the database, when a SerialBinding is used? This problem occurs if you co

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123