| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 29/03/2007 06:34:33
|
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.
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 29/03/2007 09:05:24
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
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 |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 29/09/2007 04:36:28
|
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
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 29/09/2007 10:45:07
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
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 |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 29/09/2007 17:51:09
|
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.
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 29/09/2007 19:27:48
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
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 |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 30/09/2007 23:09:03
|
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.
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 01/10/2007 01:16:12
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1847
Offline
|
Ok, great. Thanks for the resolution.
|
Best regards,
Matthew Lohbihler |
|
|
 |
|
|