[Logo] Mango Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
UnsatisfiedLinkError?  XML
Forum Index » Mango M2M 1.12.5 and earlier installation
Author Message
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


mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1860
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
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

mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1860
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
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1860
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
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
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1860
Offline

No problem Ray. I'm glad to hear it's now working for you.

Best regards,
Matthew Lohbihler
 
Forum Index » Mango M2M 1.12.5 and earlier installation
Go to:   
Powered by JForum 2.1.9 © JForum Team