Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-13-2008, 09:34 AM
Member
 
Join Date: Jun 2008
Posts: 39
Rep Power: 0
jithan is on a distinguished road
Default configure comm.api in tomcat
hello friends,
i want to configure comm.api in tomcat5.5. please help me

Thanks in advance.

javax.comm: Error loading javax.comm.properties!
null

java.io.IOException: javax.comm: platform driver class name = null
(Check 'driver' property in javax.comm.properties)

at javax.comm.CommPortIdentifier.loadDriver(CommPortI dentifier.java:244)
at javax.comm.CommPortIdentifier.<clinit>(CommPortIde ntifier.java:109)
at welcome.list(welcome.java:47)
at welcome.doGet(welcome.java:21)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:627)
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 09-13-2008, 03:03 PM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: SouthWest Missouri, USA
Posts: 2,229
Rep Power: 4
Norm is on a distinguished road
Default
Does the comm api come with doc on where to put the dlls and properties files? How did you follow those instructions?
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 09-13-2008, 03:23 PM
Member
 
Join Date: Jun 2008
Posts: 39
Rep Power: 0
jithan is on a distinguished road
Default
i am using linux....... i have copied libLinuxSerialParallel.so and libLinuxSerialParallel_g.so files to catalina_home/shared/lib and properties i have copied to my project/WEB-INF/classes........ please help me what is the problem......
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 09-13-2008, 03:33 PM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: SouthWest Missouri, USA
Posts: 2,229
Rep Power: 4
Norm is on a distinguished road
Default
Sorry I'm not familiar with Linux to know where to put the files. What does the comm api doc say?
Are you able to get the code to work in a standalone program (without the server) without the files being in the current directory? IE make the jvm find them in the correct system folders.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
javax.comm:Error instantiating class com.sun.comm.Win32Driver bbq Advanced Java 5 05-23-2009 07:22 AM
javax/comm/SerialPortEvent musiigedeo Threads and Synchronization 9 11-24-2008 12:07 PM
HL7 Comm 0.8.5 Java Tip Java Announcements 0 07-23-2008 03:07 PM
Tomcat In Eclipse - Sysdeo Tomcat Plug-in JavaForums Eclipse 1 02-13-2008 11:33 AM
Comm API Usage hobbyist New To Java 0 11-16-2007 05:59 PM


All times are GMT +2. The time now is 11:00 AM.



VBulletin, Copyright 2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright 2006 - 2007, www.java-forums.org