× 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.



Hi
I think there is some problem with classpath, have yuo
set the classpath properly,
you need to set classpath in
home/userprofile/.profile 
have you done this?? or how do u set classpath
Ashish
--- NGay@xxxxxxxxxxxxx wrote:
> 
> Darren,
> 
> I'm not familiar with the SSLOptions class in
> particular - but the fact
> that you're getting NoSuchMethodErrors usually
> indicates that the version
> of jt400.jar you're compiling with in WDSC is
> different from the version of
> jt400.jar that your iSeries box is using to actually
> run the class.  One
> version has this method, and the other doesn't.  Did
> you change anything
> recently which stopped it from working - changed the
> program, new version
> of WDSC on your PC, new version of OS/400 or any
> Java-related PTFs
> installed on the iSeries?
> 
> Try to find where the jt400.jar file is located on
> the iSeries.  Unless
> you've intentionally moved this, its usually in:
> /QIBM/ProdData/Http/Public/jt400/lib/jt400.jar
> 
> If you copy this from the iSeries to your PC (with
> iSeries Navigator, FTP,
> remote systems explorer in WDSC, etc. etc.) and then
> link to this copy in
> WSDC instead of the copy you're currently using, you
> should be able to see
> the problem at compile time and be able to fix it.
> 
> Hope this helps,
> 
> Nigel Gay,
> Computer Patent Annuities.
> 
> 
> 
> |---------+------------------------------>
> |         |           "Pokrzywinski,     |
> |         |           Darren"            |
> |         |           <PokrzywD@wagnerspr|
> |         |           aytech.com>        |
> |         |           Sent by:           |
> |         |           java400-l-bounces@m|
> |         |           idrange.com        |
> |         |                              |
> |         |                              |
> |         |           27/07/2004 04:45 PM|
> |         |           Please respond to  |
> |         |           Java Programming on|
> |         |           and around the     |
> |         |           iSeries / AS400    |
> |         |                              |
> |---------+------------------------------>
>  
>
>--------------------------------------------------------------------------------------------------------------|
>   |                                                 
>                                                     
>        |
>   |       To:       "'java400-l@xxxxxxxxxxxx'"
> <java400-l@xxxxxxxxxxxx>                            
>              |
>   |       cc:                                       
>                                                     
>        |
>   |       Subject:  runtime problem                 
>                                                     
>        |
>  
>
>--------------------------------------------------------------------------------------------------------------|
> 
> 
> 
> 
> 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
> 
> 
> --
> This is the Java Programming on and around the
> iSeries / AS400 (JAVA400-L)
> mailing list
> To post a message email: JAVA400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit:
> http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/java400-l.
> 
> 
> 
> 
> 
> 
> 
> 
>
********************************************************************************
> The information in this message is confidential and
> may be legally
> privileged. It is intended solely for the addressee;
> access to this
> email by anyone else is unauthorised.
> 
> If you are not the intended recipient: (1) you are
> kindly requested
> to return a copy of this message to the sender
> indicating that you
> have received it in error, and to destroy the
> received copy; and (2)
> any disclosure or distribution of this message, as
> well as any action
> taken or omitted to be taken in reliance on its
> content, is prohibited
> and may be unlawful.
>
********************************************************************************
> 
> --
> This is the Java Programming on and around the
> iSeries / AS400 (JAVA400-L) mailing list
> To post a message email: JAVA400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit:
> http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/java400-l.
> 
> 


=====
A$HI$H


                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.