Internet PLC Forum

General => Technical support => Topic started by: ccdubs on May 11, 2008, 05:57:08 PM

Title: Java Updates
Post by: ccdubs on May 11, 2008, 05:57:08 PM
Hi all,

A couple of months ago I installed all the java updates but then couldn't get TLServer to start. When I uninstalled Java and reinstalled the version on the TriLogi disk, all was OK again.

Should I be installing Java updates as they come through?

Thanks
Title: Re:Java Updates
Post by: support on May 12, 2008, 11:03:58 AM
It is best to turn off Java automatic updates and stay with version 1.4.2 which is the most stable version for use with the TRiLOGI software.

Each time Java does an update it creates a new folder and a DLL file that TRiLOGI depends on for serial comm is not installed. You could reinstall TRiLOGI so that it will install the DLL into the new updated JRE and TLServer would run again.

Title: Re:Java Updates
Post by: ccdubs on May 12, 2008, 01:45:37 PM
I don't want to dwell on this too much but when TL server no longer worked I did just as you said and reinstalled TriLogi a couple of times and the problem was the same.

The only way to fix it was to uninstall Java and reinstall 1.4.2.

My concern is with other applications that may require more recent java.
Title: Re:Java Updates
Post by: support on May 12, 2008, 05:17:53 PM
That's strange. What was the version of Java that was giving trouble? What is your version of TRiLOGI or TLServer?

Remember that the installation sequence is important. TRiLOGI should only be installed AFTER the JRE has been installed.

One way to avoid re-installing TRILOGI is to run the program instserial2007.exe that is located in the folder:

C:\TRiLOGI\TL6\java lib

This is the program the TRiLOGI setup program called to install the serial driver DLL file. So you could run this program again to search for the most recently installed JRE and place a copy of the serial I/o DLL file there.
Title: Re:Java Updates
Post by: FQ-ONG on May 13, 2008, 04:39:21 AM
Have Java 1.6 tested?  ::)
Title: Re:Java Updates
Post by: ccdubs on May 13, 2008, 06:23:56 PM
I'm not sure which version of java it was but I just upgraded to 1.6.0.50 and TLServer wouldn't start.

I ran the exe like you suggested and everything seems to be back to normal.

Can't this exe be run everytime TLServer is started?
Title: Re:Java Updates
Post by: support on May 13, 2008, 11:20:39 PM
You only need to run the instserialio2007.exe file once and it will install the serial driver. The next time you start TLServer you don't need to run this file again.

We have not tested Java JRE 1.6 yet. JRE 1.5 works but text highlight that was used for highlighting syntax error and search result no longer work under JRE 1.5.
Title: Re:Java Updates
Post by: FQ-ONG on May 14, 2008, 04:51:36 AM
With JRE 1.4.2, I found that TRiLOGI 6.13 didn't highlight the search result like TRiLOGI 5.33.
Title: Re:Java Updates
Post by: support on May 14, 2008, 11:41:57 AM
I have TRiLOGI version 6.13 and JRE 1.4.2 installed on my Windows Vista PC. I did a search and saw the highlight.

Check you Java version by going to DOS prompt and enter:

   java -version

and see if it reports JRE 1.4.2
Title: Re:Java Updates
Post by: ccdubs on May 18, 2008, 02:12:54 PM
Hi Support,

When I referred to running the exe every time TL Server was started I was suggesting a way that you could avoid complications for users (like me) who upgrade Java and then have problems.

I don't believe (and may be wrong) that the help you suggested is documented anywhere except this forum.
Title: Re:Java Updates
Post by: support on May 20, 2008, 03:39:50 PM
Thank you for the suggestion. In future we will see how we can catch the exception of not finding the serialio driver and automatically install the serial driver when that happens.