| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 22/05/2007 17:09:20
|
zionpsyfer
Initiate
Joined: 22/05/2007 16:48:18
Messages: 3
Offline
|
Hey guys, great looking software.
After installation today I ran up against the comm.jar issue. After moving comm.jar to JAVA_DIR/jre/lib/ext, the error I received while trying to add a data source changed. Here's what I'm getting now:
OS: linux
Java version: 1.6.0_01-b06
Tomcat version : 5.5.23
It looks like it might still be related to the comm stuff. I'll be using modbus tcp for communication.
Any ideas?
-Ray
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 22/05/2007 18:04:23
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1847
Offline
|
Hello Ray,
Yes, it sounds as if there is still a problem with the javacomm installation. You may have not installed the lib files for linux, or your java.comm.properties file may have incorrect settings. Try reinstalling javacomm for linux here: http://www.sun.com/download/products.xml?id=43208d3d.
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 22/05/2007 20:41:14
|
zionpsyfer
Initiate
Joined: 22/05/2007 16:48:18
Messages: 3
Offline
|
Edit: Reading through the faq in the linux release, it appears that JavaComm doesn't actually support linux. There appears to be a workaround at http://wass.homelinux.net/howtos/Comm_How-To.shtml . I'll play around and see if I can get it working.
This message was edited 2 times. Last update was at 22/05/2007 21:13:33
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 22/05/2007 21:48:32
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1847
Offline
|
Hi Ray,
You should have downloaded a file called comm3.0_u1_linux.zip. Early versions of javacomm did not support linux, but now it appears they do. I would post the file here, but since i had to log in to get it, i doubt we're allowed to redistribute. If you're having trouble getting the file, let me know.
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 22/05/2007 21:49:37
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1847
Offline
|
Oh, i did install javacomm on linux myself, and it works great. Unfortunately, i no longer have the machine (was preparing it for a customer), so i can't check it.
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 22/05/2007 22:37:14
|
zionpsyfer
Initiate
Joined: 22/05/2007 16:48:18
Messages: 3
Offline
|
M@,
You're absolutely right, the FAQ they include appears to be a bit dated. I've got it working with the download from sun though. I ended up having to make a symlink from the <jdk>/jre/javax.comm.properties file to the <tomcat>/webapps/ROOT directory for Mango to find it. I'm sure there's a more elegant way of doing that, but for now I'm happy.
Thanks for bearing with me!
-Ray
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 23/05/2007 12:02:21
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1847
Offline
|
No problem Ray. I'm glad to hear it's now working for you.
|
Best regards,
Matthew Lohbihler |
|
|
 |
|
|