*
The moose likes Tomcat and the fly likes Tomcat + javax.comm = no ports found! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat + javax.comm = no ports found!" Watch "Tomcat + javax.comm = no ports found!" New topic
Author

Tomcat + javax.comm = no ports found!

Jochen van Waasen
Ranch Hand

Joined: Jan 19, 2002
Posts: 33
Hallo!
I want to use the javax.comm API with Tomcat.
My servlet executes without error, so the comm.jar is found and the javax.comm API can be accessed.
But my servlet does not find any ports!!
I guess the problem is with the javax.comm.properties file. If this file is in the wrong place no ports are found.
But where to put it in Tomcat??
A java application using javax.comm works fine and shows me all the ports on my system. But how to install the javax.comm correctly with Tomcat?
Kidn regards
Jochen
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

properties files should be placed somewhere that the Tomcat classloader can access them... so in WEB-INF/classes would be good.
 
 
subject: Tomcat + javax.comm = no ports found!