Results 1 to 4 of 4
  1. #1
    jithan is offline Member
    Join Date
    Jun 2008
    Posts
    39
    Rep Power
    0

    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)

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,812
    Rep Power
    25

    Default

    Does the comm api come with doc on where to put the dlls and properties files? How did you follow those instructions?

  3. #3
    jithan is offline Member
    Join Date
    Jun 2008
    Posts
    39
    Rep Power
    0

    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......

  4. #4
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,812
    Rep Power
    25

    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.

Similar Threads

  1. Replies: 7
    Last Post: 07-12-2010, 05:24 PM
  2. javax/comm/SerialPortEvent
    By musiigedeo in forum Threads and Synchronization
    Replies: 9
    Last Post: 11-24-2008, 12:07 PM
  3. HL7 Comm 0.8.5
    By Java Tip in forum Java Software
    Replies: 0
    Last Post: 07-23-2008, 03:07 PM
  4. Tomcat In Eclipse - Sysdeo Tomcat Plug-in
    By JavaForums in forum Eclipse
    Replies: 1
    Last Post: 02-13-2008, 11:33 AM
  5. Comm API Usage
    By hobbyist in forum New To Java
    Replies: 0
    Last Post: 11-16-2007, 05:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •