[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 
Query on directory for comm.jar  XML
Forum Index » Mango M2M 1.12.5 and earlier installation
Author Message
speake

Initiate

Joined: 29/03/2007 06:09:00
Messages: 4
Location: Melbourne, Australia
Offline

Firstly, great effort on building quite a neat application. My install was nearly flawless on Windows XP SP2 following your instructions with one tiny exception...

The instructions state that comm.jar needs to be in <jdk1.6-home>\jre\bin\ext> but this directory was not created during my default Java SDK 6u1 installation. I tried creating the directory and putting the file in the new directory but it kept giving me the exceptions discussed on this post http://mango.serotoninsoftware.com/forum/posts/list/13.page.

I found that once I put comm.jar in <jdk1.6-home>\jre\lib\ext it all worked much better.

My Java is quite rusty after years of disuse so perhaps you could explain the difference in location?

Thanks again for making such a great application available. It has inspired me to brush up on my Java and hopefully start adding some features...

Stew.
mlohbihler

Master
[Avatar]

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

Hi Stew,

You are correct. The path should be "lib" instead of "bin" for comm.jar. I have corrected the installation page documentation accordingly.

Thanks for pointing this out. And thanks very much for you kind comments.

Best regards,
Matthew Lohbihler
djmeyer

Initiate

Joined: 29/09/2007 04:33:25
Messages: 3
Offline

I am getting s slightly different error message when I try to add any data source.

org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: gnu/io/CommPortIdentifier
Caused by: java.lang.NoClassDefFoundError: gnu/io/CommPortIdentifier

I assume this is due to having cygwin installed and that it has installed some sort of port handler.

Any idea how to fix this?

Thanks, otherwise mango looks very interesting.

This message was edited 1 time. Last update was at 29/09/2007 07:57:19

mlohbihler

Master
[Avatar]

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

Hi,

The comm handling has been changed to RXTX in order to consolidate the package use across all platforms. It seems the upgrade instructions did not highlight this well enough, since many users appear to be having the same problem.

(The problem is not due to cygwin, since i personally also have it installed, and everything works fine.)

What you need to do is download RXTXcomm.jar from the download page and put it in the specified directory. If you use serial-based protocols you'll also need to download the dll file.

Let me know if this helps.

Best regards,
Matthew Lohbihler
djmeyer

Initiate

Joined: 29/09/2007 04:33:25
Messages: 3
Offline

I installed rockit.

I have placed the DLL in the jdk/bin directory and the jar file in the jre/lib/ext directory.

mlohbihler

Master
[Avatar]

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

Make sure the DLL is in the <jdk1.6-home>\jre\bin directory. (You wrote jdk/bin).

If that's not the problem, the only other thing i can think of at the moment is that the correct JDK is not getting started when you run Tomcat. Do you have any other JDKs installed on your machine?


Best regards,
Matthew Lohbihler
djmeyer

Initiate

Joined: 29/09/2007 04:33:25
Messages: 3
Offline

Sorry, I made a mistake. I had the jar file in the wrong directory. It works fine now.
mlohbihler

Master
[Avatar]

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

Ok, great. Thanks for the resolution.

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