[Tn5250j-general] Calling System.exit()
Hi, I noticed in your code you call System.exit() in a few places. Example: org.tn5250j.My5250.main() This makes it difficult to call this method from other Java code. Is there a recommended way to spawn new connections using the same virtual machine? Example: I want to spawn your app from another app. On idea, is call java.exe externally and pass the JAR name. But I would rather call into your JAR directly -- same virtual machine (VM). When I use a basic threading design, it won't work because System.exit() terminates the VM. However, I built a very basic SecurityManager to trap calls to System.exit(). [Source: http://stackoverflow.com/questions/309396/java-how-to-test-methods-that-call-system-exit] Now my solution works... but it is a slight hack. Can you please provide the correct API calls... or remove System.exit() from your code? We are big fans here. Keep up the good work. Please advise. Thanks, Arpe This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] TN5250j
Hi Roger, in simple words, this sounds like the tn5250j-Bugs-3158902. There are two options for you: 1. download the TN5250j package with dependencies included - this should work 2. check out the SVN sources, compile yourself - this will work In the next release (I'm planning soon) this will be fixed. Regards Martin Am 24.05.2011 22:45, schrieb Roger Mullenger: TN5250J is excellent but have one issue regarding windows 7. As reported elsewhere the connections do not get saved although they did when using XP. Not being a Java / Python expert I do not understand the solutions provided. Can this be documented in a clearer way? many thanks Roger Mullenger Mobile +44 7887 925678 MPBA This message (and any files transmitted with it) is intended for the use of the addressees only. It may contain information and/or copyright material that is private and confidential. If you are not the intended recipient, please do not read, distribute, copy or otherwise use this communication but delete it from your system and contact the sender as soon as possible . We can be contacted at - cont...@mpba.co.uk or +44 (0) 1444 243282 or fax +44 (0) 845 8622119. Please note that the views expressed in this email may be solely those of the author and not necessarily those of MPBA Ltd. Although MPBA Ltd has taken all reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the use of this email or attachments. MPBA Ltd is registered in England and Wales, registration number 4389977. Registered address: Antrobus House, 18 College Street, Petersfield, GU31 4AD -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general signature.asc Description: OpenPGP digital signature -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] -s option currently ignores -t option
Hi, sorry, it took a while ... It's fixed and committed now - there was a mistake, when setting the tab's title name. Regards Martin Am 02.03.2011 01:09, schrieb Ken McWilliams: Hello list, The new build 0.6.2 looks great! It looks like it does everything I need except to launch multiple tabs at once. It is a bit troublesome if a user goes to: connections options selects Startup with last view Which is fixable by editing a configuration file... Just downloaded and built /tn5250j/trunk/tn5250j/ and I can see that the issue has been resolved but now the -t option is not respected. I can clearly see that the sessions are loaded as per the -t flag (use system name rather than host/ip address) but then each tab quickly changes to the host/ip address. If I omit the -t flag then the tabs are loaded with the host/ip address as expected. Is there a way I can resolve this? -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general signature.asc Description: OpenPGP digital signature -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general