× 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 am new to java programming.  So I hope my question isn"t to trivial.  I
have a program that reads an IFS file, then does some updating to a
database.  This program worked up until last week.  I wrote program in WDSC
works fine in the development studio,  moved the class to 400 gives this
error any thoughts.  Any help would be appreciated.
Here is the error
java.lang.NoSuchMethodError: setState
(Lcom/ibm/as400/access/SSLOptions;ZZILjava/util/Locale;)V
      java/lang/Throwable.<init>(Ljava/lang/String;)V+4 (Throwable.java:85)

      java/lang/Error.<init>(Ljava/lang/String;)V+1 (Error.java:41)

      java/lang/IncompatibleClassChangeError.<init>(Ljava/lang/String;)V+1
(I
ncompatibleClassChangeError.java:34)

      java/lang/NoSuchMethodError.<init>(Ljava/lang/String;)V+1
(NoSuchMethod
Error.java:37)

      com/ibm/as400/access/AS400.chooseImpl()V+95 (AS400.java:719)

      com/ibm/as400/access/AS400.connectService(I)V+63 (AS400.java:785)

 
com/ibm/as400/access/AS400JDBCConnection.setProperties(Lcom/ibm/as400/a
ccess/JDDataSourceURL;Lcom/ibm/as400/access/JDProperties;Lcom/ibm/as400/acce
s
s/AS400;)V+1 (AS400JDBCConnection.java:2713)

 
com/ibm/as400/access/AS400JDBCDriver.prepareConnection(Lcom/ibm/as400/a
ccess/AS400;Lcom/ibm/as400/access/JDDataSourceURL;Ljava/util/Properties;Lcom
/
ibm/as400/access/JDProperties;)Ljava/sql/Connection;+56
(AS400JDBCDriver.java
:1031)

 
com/ibm/as400/access/AS400JDBCDriver.initializeConnection(Lcom/ibm/as40
0/access/JDDataSourceURL;Lcom/ibm/as400/access/JDProperties;Ljava/util/Prope
r
ties;)Ljava/sql/Connection;+374 (AS400JDBCDriver.java:922)

 
com/ibm/as400/access/AS400JDBCDriver.connect(Ljava/lang/String;Ljava/ut
il/Properties;)Ljava/sql/Connection;+411 (AS400JDBCDriver.java:355)

 
java/sql/DriverManager.getConnection(Ljava/lang/String;Ljava/util/Prope
rties;Ljava/lang/ClassLoader;)Ljava/sql/Connection;+144
(DriverManager.java:5
12)

 
java/sql/DriverManager.getConnection(Ljava/lang/String;Ljava/lang/Strin
g;Ljava/lang/String;)Ljava/sql/Connection;+37 (DriverManager.java:172)

      File8.main([Ljava/lang/String;)V+272 (File8.java:105)

Java program completed with exit code 1


Darren 



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.