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



Thanks, David - I appreciate your time and help.
QUSER is enabled and we submit other jobs with the it without problems.
Unfortunately, I do not have a PC on the AS400's side of the firewall. 
However, I do not see any blocked traffic in the firewall log, either.  I
suppose I could try temporarily opening a gaping hole in the firewall
between the AS400 and my PC to try to eliminate it as an issue....I just
got an ok for that...I will post the results as soon as I test it.

Larry


> Your program looks good (I copied it into a test case and it connected to
> my AS/400, then crashed because it could not find library ljptest).  In
> your case the program ends where it does because that is the first time
the
> Toolbox needs to access the AS/400.  You talk about your firewall.  Is it
> configured for data transmission in both directions?  Do you have a
machine
> behind the firewall to see if you can connect to your AS/400 when the
> firewall is not in the picture?  That will help determine if the AS/400 or
> the firewall is the problem.  Check the QUSER profile to make sure it is
> enabled.  The server jobs start as QUSER then switch to the user specified
> profile to do actual work.
> 
> David Wall
> AS/400 Toolbox for Java
> 
> 
> "larry/@paque.net" <larry on 05/16/2000 11:10:29 AM
> 
> Please respond to JAVA400-L@midrange.com
> 
> To:   java400-l@midrange.com
> cc:
> Subject:  connection error (retrieveRecordFormat?)
> 
> 
> 
> 
> Please have patience with what's probably a stupid mistake.
> 
> I am trying to make a demo data queue program from AS400 Network Expert
> (may/june 2000) work on my system.  I made some modifications to set it up
> for my environment but am having trouble getting it to connect to the
> AS400.
> The sign on window appears and I fill it in but then it fails with the
> following error:
> "java.net.ConnectException: Connection refused: no further information"
> 
> I put the source that is getting the error at the end of this message.
> Please forgive my primitive debugging. The failure appears to be in the
> execution of the retrieveRecordFormat.
> "pList[0]:" & "pList[1]:" both come up but then I get the connection
> refused error and no "pList[1a]:"
> 
> I checked the system name.
> I checked the file name (LJPTEST/PRDMST).
> The firewall shows activity on ports assigned to the signon server then on
> the port mapper and finally on the DDM server before failing.
> STRTCPSVR *DDM says the server is already active.
> 
> 1 - Do you see my error?
> 2 - Where can I look on the 400 for any logging information about what it
> thinks is happening and maybe a more explicit error message?
> 3 - Any other ideas for debugging this type of stuff?
> 
> Thanks for any help or ideas,
> 
> Larry
> larry@paque.net
> larry@scjins.com
> 
> 
> Here is the section of code that is executing:
> 
> public class Inv013Dtaq {
>   DataQueue dtaqIn, dtaqOut;
>   AS400 sys;
>   RecordFormat dtaqFormat;
>   public Inv013Dtaq() {
>     sys = new AS400("S100BFDD");
>     System.out.println("pList[0]: ");
> 
>     AS400FileRecordDescription recDesc =
>       new AS400FileRecordDescription(sys,
>          "/QSYS.LIB/LJPTEST.LIB/PRDMST.FILE");
>     System.out.println("pList[1]: ");
>     try {
>       dtaqFormat = recDesc.retrieveRecordFormat()[0];
>     System.out.println("pList[1a]: ");
>       dtaqIn = new DataQueue(sys,
>         "/QSYS.LIB/LJPTEST.LIB/JAVADTAQO.DTAQ");
>     System.out.println("pList[1b]: ");
>       dtaqOut = new DataQueue(sys,
>         "/QSYS.LIB/LJPTEST.LIB/JAVADTAQI.DTAQ");
>     System.out.println("pList[1c]: ");
>     } catch (Exception e) {
>       System.out.println(e);
>     }
>   }
> 
> +---
> | This is the JAVA/400 Mailing List!
> | To submit a new message, send your mail to JAVA400-L@midrange.com.
> | To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
JAVA400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner: joe@zappie.net
> +---
> 
> 
> 
> +---
> | This is the JAVA/400 Mailing List!
> | To submit a new message, send your mail to JAVA400-L@midrange.com.
> | To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
JAVA400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner: joe@zappie.net
> +---
> 


+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

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.