Re: [Tn5250j-general] Fw: Issue with sessions

2013-05-13 Thread Martin W. Kirst
Hello Ewart,

indeed, including the Java runtime within the ZIP would be a good idea.
But, packaging Tn5250j with a JRE for Windows, 32bit, 64bit, Linux
and MacOS is a way to much work - considering the fact, that Oracle
provides ready to use Installer for every platform.
Additionally, I'm not sure about the legal consequences, if we would
package and ship Tn5250j and Oracle JRE bundled.

For testing purpose, you can always use Tn5250j.ZIP file, unpack it
in a separate directory and copy a JRE from another computer, which
has an equal Operating system. This is risk-free and doesn't infer
with your currently installed Tn5250j - except the user setting of
course ;-)

Regards
Martin

Am 13.05.2013 05:40, schrieb ewart.deso...@sandvik.com:
> Hello Martin,
> 
> I was thinking of including the java run time objects that work with
> that particular version of tn5250j in the zip file itself. The java
> version that I have may not be compatible with tn5250j that is available.
> 
> I can do the steps you mentioned but I am afraid that if it does not
> work then I will loose the version that I am running & I don't want to
> work on Client Access.
> 
> Thanks & best regards
> Ewart
> 
> 
> *"Martin W. Kirst"*
> 
> 
>   From:"Martin W. Kirst" 
> To:ewart.deso...@sandvik.com, tn5250j-general@lists.sourceforge.net
> Date:05/10/2013 10:45 PM
> Subject:Re: Fw: [Tn5250j-general] Issue with sessions
> 
> 
> 
> 
> 
> 
> 
> Hello Ewart,
> 
> this is always possible, with a little manual work involved.
> Just copy the JRE folder from a PC, where you've installed Java
> and put it into Tn5250j folder.
> Than create/modify tn5250j.cmd (assuming Windows) and put in something
> like this:
> 
> jre\bin\javaw.exe -jar tn5250j.jar
> 
> That's it.
> 
> Regards
> Martin
> 
> Am 10.05.2013 04:47, schrieb ewart.deso...@sandvik.com:
>> Hello Martin,
>>
>> I have one suggestion. Instead of depending on the java version
>> installed on the system, is it possible to have the java version that is
>> required by TN5250j in the same folder ??  This will avoid problems
>> where people have higher or lower versions of java installed in their
>> system.
>>
>> Again I'm not a java guy so I don't know if it is possible.
>>
>> Thanks again for the good work & best regards
>> Ewart
>>
>> - Forwarded by Ewart Desouza/8200/SANDVIK on 05/10/2013 08:14 AM -
>>
>> *Ewart Desouza*
>> *Sandvik Asia Private Limited*
>> *Sandvik IT Services, India*
>> *0091 20 27104620*  From:Ewart
> Desouza/8200/SANDVIK
>> To:"Martin W. Kirst" 
>> Cc:tn5250j-general@lists.sourceforge.net
>> Date:05/09/2013 04:40 PM
>> Subject:Re: [Tn5250j-general] Issue with sessions
>>
>>
>>
>> 
>>
>>
>> Hello Martin,
>>
>> Thanks for the quick reply.
>>
>> 1.7.0_21 is displayed after giving the command java -version
>>
>> I have Windows XP installed on my lap top.
>>
>> I'm not much of a java guy so I'm not sure what other hint I can give
> you !!
>>
>> Thanks & best regards
>> Ewart
>>
>>
>>
>> *"Martin W. Kirst"*
>>
>>
>>   From:"Martin W. Kirst"
> 
>> To:ewart.deso...@sandvik.com
>> Cc:tn5250j-general@lists.sourceforge.net
>> Date:05/09/2013 04:25 PM
>> Subject:Re: [Tn5250j-general] Issue with sessions
>>
>>
>>
>> 
>>
>>
>>
>> Hello Ewart,
>>
>> the problem of a hanging start looks strange to me and I wasn't ware of
>> this issue. Even though I can't reproduce it at my develop mashine.
>>
>> What version of Java you're using?
>> What windows Version?
>> Any more information, which helps me reproduce the issue?
>>
>> Regards
>> Martin
>>
>> Am 09.05.2013 12:32, schrieb ewart.deso...@sandvik.com:
>>> Hello Martin,
>>>
>>> Thanks for fixing the but. I must confess that I have been hooked on the
>>> this emulator & won't dream of changing.
>>>
>>> The only problem I have is that I need to stick to older versions
>>> because the new versions do not function. The 7.1 version hangs while
>>> loading itself.
>>>
>>>
>>>
>>> Of late I've also noticed that after going back to the 6.0 version the
>>> javaw.exe job does not get deleted when each session is closed - earlier
>>> it used to get deleted. Now every week I need to manually delete each
>>> instance of javaw.exc job from the task manager.
>>>
>>>
>>>
>>> Whenever you find the time pl see if you can do something.
>>>
>>> Keep up the good work.
>>>
>>> Thanks & best regards
>>> Ewart
>>>
>>>
>>>
>>> *"Martin W. Kirst"*
>>>
>>>
>>>   From:"Martin W. Kirst"
>> 
>>> To:tn5250j-general@lists.sourceforge.net
>>> Date:05/09/2013 03:37 PM
>>> Subject:Re: [Tn5250j-general] Issue with 

Re: [Tn5250j-general] Fw: Issue with sessions

2013-05-12 Thread ewart . desouza
Hello Martin,

I was thinking of including the java run time objects that work with that 
particular version of tn5250j in the zip file itself. The java version 
that I have may not be compatible with tn5250j that is available.

I can do the steps you mentioned but I am afraid that if it does not work 
then I will loose the version that I am running & I don't want to work on 
Client Access.

Thanks & best regards
Ewart



"Martin W. Kirst"




From:   "Martin W. Kirst" 
To: ewart.deso...@sandvik.com, tn5250j-general@lists.sourceforge.net
Date:   05/10/2013 10:45 PM
Subject:Re: Fw: [Tn5250j-general] Issue with sessions




Hello Ewart,

this is always possible, with a little manual work involved.
Just copy the JRE folder from a PC, where you've installed Java
and put it into Tn5250j folder.
Than create/modify tn5250j.cmd (assuming Windows) and put in something
like this:

jre\bin\javaw.exe -jar tn5250j.jar

That's it.

Regards
Martin

Am 10.05.2013 04:47, schrieb ewart.deso...@sandvik.com:
> Hello Martin,
> 
> I have one suggestion. Instead of depending on the java version
> installed on the system, is it possible to have the java version that is
> required by TN5250j in the same folder ??  This will avoid problems
> where people have higher or lower versions of java installed in their
> system.
> 
> Again I'm not a java guy so I don't know if it is possible.
> 
> Thanks again for the good work & best regards
> Ewart
> 
> - Forwarded by Ewart Desouza/8200/SANDVIK on 05/10/2013 08:14 AM 
-
> 
> *Ewart Desouza*
> *Sandvik Asia Private Limited*
> *Sandvik IT Services, India*
> *0091 20 27104620* From:Ewart 
Desouza/8200/SANDVIK
> To:"Martin W. Kirst" 
> Cc:tn5250j-general@lists.sourceforge.net
> Date:05/09/2013 04:40 PM
> Subject:Re: [Tn5250j-general] Issue with sessions
> 
> 
> 
> 
> 
> 
> Hello Martin,
> 
> Thanks for the quick reply.
> 
> 1.7.0_21 is displayed after giving the command java -version
> 
> I have Windows XP installed on my lap top.
> 
> I'm not much of a java guy so I'm not sure what other hint I can give 
you !!
> 
> Thanks & best regards
> Ewart
> 
> 
> 
> *"Martin W. Kirst"*
> 
> 
>From:"Martin W. Kirst" 

> To:ewart.deso...@sandvik.com
> Cc:tn5250j-general@lists.sourceforge.net
> Date:05/09/2013 04:25 PM
> Subject:Re: [Tn5250j-general] Issue with sessions
> 
> 
> 
> 
> 
> 
> 
> Hello Ewart,
> 
> the problem of a hanging start looks strange to me and I wasn't ware of
> this issue. Even though I can't reproduce it at my develop mashine.
> 
> What version of Java you're using?
> What windows Version?
> Any more information, which helps me reproduce the issue?
> 
> Regards
> Martin
> 
> Am 09.05.2013 12:32, schrieb ewart.deso...@sandvik.com:
>> Hello Martin,
>>
>> Thanks for fixing the but. I must confess that I have been hooked on 
the
>> this emulator & won't dream of changing.
>>
>> The only problem I have is that I need to stick to older versions
>> because the new versions do not function. The 7.1 version hangs while
>> loading itself.
>>
>>
>>
>> Of late I've also noticed that after going back to the 6.0 version the
>> javaw.exe job does not get deleted when each session is closed - 
earlier
>> it used to get deleted. Now every week I need to manually delete each
>> instance of javaw.exc job from the task manager.
>>
>>
>>
>> Whenever you find the time pl see if you can do something.
>>
>> Keep up the good work.
>>
>> Thanks & best regards
>> Ewart
>>
>>
>>
>> *"Martin W. Kirst"*
>>
>>
>>   From:"Martin W. Kirst"
> 
>> To:tn5250j-general@lists.sourceforge.net
>> Date:05/09/2013 03:37 PM
>> Subject:Re: [Tn5250j-general] Issue with sessions
>>
>>
>>
>> 

>>
>>
>>
>> Hi,
>>
>> bug is fixed with version 0.7.2 :-)
>>
>> Technical background:
>> When "emul.startLastView" is set, but "emul.view" is empty, than it
>> will crash.
>>
>> Regards
>> Martin
>>
>> Am 03.05.2013 18:23, schrieb Richard L. Houston:
>>> Hi all,
>>>
>>> Thanks to everyone for continuing to work on this wonderful project. 
We
>>> use it everyday and it is very much appreciated.
>>>
>>> We have run into an issue with 0.7.1
>>>
>>> If we have the option in the session file : "emul.startLastView=" set 
we
>>> get the following error:
>>>
>>> INFO [org.tn5250j.framework.Tn5250jController] Tn5250j plugin manager
>>> created
>>> INFO [org.tn5250j.framework.Tn5250jController] Tn5250j plugin manager
>>> started
>>> Exception in thread "main" java.lang.NullPointerException
>>> at org.tn5250j.My5250.startNewSession(Unknown Source)
>>> at org.tn5250j.My5250.main(Unknown Source)
>>>
>>>  This con

Re: [Tn5250j-general] Fw: Issue with sessions

2013-05-10 Thread Martin W. Kirst
Hello Ewart,

this is always possible, with a little manual work involved.
Just copy the JRE folder from a PC, where you've installed Java
and put it into Tn5250j folder.
Than create/modify tn5250j.cmd (assuming Windows) and put in something
like this:

jre\bin\javaw.exe -jar tn5250j.jar

That's it.

Regards
Martin

Am 10.05.2013 04:47, schrieb ewart.deso...@sandvik.com:
> Hello Martin,
> 
> I have one suggestion. Instead of depending on the java version
> installed on the system, is it possible to have the java version that is
> required by TN5250j in the same folder ??  This will avoid problems
> where people have higher or lower versions of java installed in their
> system.
> 
> Again I'm not a java guy so I don't know if it is possible.
> 
> Thanks again for the good work & best regards
> Ewart
> 
> - Forwarded by Ewart Desouza/8200/SANDVIK on 05/10/2013 08:14 AM -
> 
> *Ewart Desouza*
> *Sandvik Asia Private Limited*
> *Sandvik IT Services, India*
> *0091 20 27104620*From:Ewart Desouza/8200/SANDVIK
> To:"Martin W. Kirst" 
> Cc:tn5250j-general@lists.sourceforge.net
> Date:05/09/2013 04:40 PM
> Subject:Re: [Tn5250j-general] Issue with sessions
> 
> 
> 
> 
> 
> 
> Hello Martin,
> 
> Thanks for the quick reply.
> 
> 1.7.0_21 is displayed after giving the command java -version
> 
> I have Windows XP installed on my lap top.
> 
> I'm not much of a java guy so I'm not sure what other hint I can give you !!
> 
> Thanks & best regards
> Ewart
> 
> 
> 
> *"Martin W. Kirst"*
> 
> 
>   From:"Martin W. Kirst" 
> To:ewart.deso...@sandvik.com
> Cc:tn5250j-general@lists.sourceforge.net
> Date:05/09/2013 04:25 PM
> Subject:Re: [Tn5250j-general] Issue with sessions
> 
> 
> 
> 
> 
> 
> 
> Hello Ewart,
> 
> the problem of a hanging start looks strange to me and I wasn't ware of
> this issue. Even though I can't reproduce it at my develop mashine.
> 
> What version of Java you're using?
> What windows Version?
> Any more information, which helps me reproduce the issue?
> 
> Regards
> Martin
> 
> Am 09.05.2013 12:32, schrieb ewart.deso...@sandvik.com:
>> Hello Martin,
>>
>> Thanks for fixing the but. I must confess that I have been hooked on the
>> this emulator & won't dream of changing.
>>
>> The only problem I have is that I need to stick to older versions
>> because the new versions do not function. The 7.1 version hangs while
>> loading itself.
>>
>>
>>
>> Of late I've also noticed that after going back to the 6.0 version the
>> javaw.exe job does not get deleted when each session is closed - earlier
>> it used to get deleted. Now every week I need to manually delete each
>> instance of javaw.exc job from the task manager.
>>
>>
>>
>> Whenever you find the time pl see if you can do something.
>>
>> Keep up the good work.
>>
>> Thanks & best regards
>> Ewart
>>
>>
>>
>> *"Martin W. Kirst"*
>>
>>
>>   From:"Martin W. Kirst"
> 
>> To:tn5250j-general@lists.sourceforge.net
>> Date:05/09/2013 03:37 PM
>> Subject:Re: [Tn5250j-general] Issue with sessions
>>
>>
>>
>> 
>>
>>
>>
>> Hi,
>>
>> bug is fixed with version 0.7.2 :-)
>>
>> Technical background:
>> When "emul.startLastView" is set, but "emul.view" is empty, than it
>> will crash.
>>
>> Regards
>> Martin
>>
>> Am 03.05.2013 18:23, schrieb Richard L. Houston:
>>> Hi all,
>>>
>>> Thanks to everyone for continuing to work on this wonderful project. We
>>> use it everyday and it is very much appreciated.
>>>
>>> We have run into an issue with 0.7.1
>>>
>>> If we have the option in the session file : "emul.startLastView=" set we
>>> get the following error:
>>>
>>> INFO [org.tn5250j.framework.Tn5250jController] Tn5250j plugin manager
>>> created
>>> INFO [org.tn5250j.framework.Tn5250jController] Tn5250j plugin manager
>>> started
>>> Exception in thread "main" java.lang.NullPointerException
>>> at org.tn5250j.My5250.startNewSession(Unknown Source)
>>> at org.tn5250j.My5250.main(Unknown Source)
>>>
>>>  This config is added when we check off the connections/option/start
>>> last view. I have tried to set it to true and TRUE with the same error.
>>> Any one have any ideas or is this a bug?
>>>
>>>
>>>
>>> ++
>>> Best regards,
>>> -Richard Houston
>>> -R.L.H.  Consulting
>>> -E-Mail  rhous...@rlhc.net
>>> -WWW http://www.rlhc.net 
>>> -Bloghttp://www.rlhc.net/blog/
>>> -Twitter http://www.twitter.com/rlhc/
>>>
>>>
>>>
>>>
>>>
>>> text
>>>
>>>
>>>
>>
> --
>>> Get 100% visibility into Java/.NET code with AppDynamics Lite
>>> I