RE: Error running Java program

"Jim Oberholtzer" <midrangel-zbO79nAUJZvJTQUaaPvyeQC/[email protected]>
Newsgroups gmane.comp.lang.as400.java
Message-ID <[email protected]>
I'll assume you already checked to see that the same versions of Java were
loaded and the Java group and all the PTFS are at the same level?

You've checked to be sure you are invoking the correct Java version?
(Classpath?) 

IBM i has a packet filter (not really a firewall) but I will assume it's not
being used because outside of myself and a dozen other folks, I don't know
anyone who would set it up.  You might check (use Navigator for that) to see
if there are any directives in there but it's highly doubtful. 

My guess is PTFs/Java versions are different.  

--
Jim Oberholtzer
Agile Technology Architects


-----Original Message-----
From: JAVA400-L [mailto:java400-l-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]] On Behalf Of john
art
Sent: Saturday, April 21, 2018 3:23 AM
To: java400-l-Zwy7GipZuJhWk0Htik3J/[email protected]
Subject: Error running Java program

Hi all

i'm new in this forum and i new in Java; i have installed a program in our
Ibm i and it works fine. I have installed the same program in another Ibm i
(customer Ibm i)  and when i run it i receive this error:

com.ibm.as400.access.ConnectionDroppedException: Connection was dropped
unexpectedly.
at com.ibm.as400.access.DDMDataStream.construct(DDMDaraStream.java:92)
at
com.ibm.as400.access.ClassDecoupler.constructDDMDataStream(ClassDecoupler.ja
va:281)
at com.ibm.as400.access.AS400ThreadServer.run(AS400ThreadServer.java:361)
at java.lang.Thread.run(Thread.java:785)


can some one help me understand whic could be the problem


it seem that when the Java program try to open/read a Ibm i file (PF-DTA) go
on error ...


possible caused from authorization  or some Ibm i Firewall ??


--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list To post a message email: JAVA400-L-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a
moment to review the archives at https://archive.midrange.com/java400-l.


-- 
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: JAVA400-L-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.