× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I have a Java Class that I wrote to do a proof-of-concept Java Stored Procedure on our iSeries. The Java class (TestClass) has one method (TestMethod(String in1, String in2)). It uses the db2_classes.jar resource to access the local connection.

If I add a main() method to the class to make it executable it works fine from qshell, so I know the class behaves properly.

When I register the class as a stored procedure I get a "No Suitable Driver Found" message. Is there something wrong with the Classpath when it runs as a Stored Procedure?

As is, now, I need to make my classes executable and write a CL wrapper to define as a stored procedure. I'm trying to avoid any unnecessary steps. What am I doing wrong?


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.