Author
Embedding Tomcat in a Java application...
George Thomas
Ranch Hand
Joined: Oct 06, 2000
Posts: 35
posted Mar 12, 2003 08:39:00
0
Hi all, I've been trying to get the code from an article on the O'Reilly site to work. It starts an instance of tomcat inside a java application. For me, tomcat starts except a message is displayed "Couldn't create connector." This is the result of the following statement: Tomcat is running but cannot be reached using http://localhost:8080/ Anybody try this? Here is the url: http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html Thanks, George.
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56213
Out of the blue thought: is something else (including another Tomcat instance) already running that is listening on port 8080? hth, bear
[Smart Questions ] [JSP FAQ ] [Books by Bear ] [Bear's FrontMan ] [About Bear ]
George Thomas
Ranch Hand
Joined: Oct 06, 2000
Posts: 35
posted Mar 12, 2003 09:00:00
0
Nope, All tomcat services are shut down. I even tried port 9090 but to no avail. Thanks, George.
Rene Larsen
Ranch Hand
Joined: Oct 12, 2001
Posts: 1179
You should use the same connector as Tomcat 4.x use. this is the jar-files i'm using: Rene [ March 12, 2003: Message edited by: Rene Larsen ]
Regards, Rene Larsen
Dropbox Invite
George Thomas
Ranch Hand
Joined: Oct 06, 2000
Posts: 35
posted Mar 12, 2003 13:39:00
0
Thank you Rene Larsen! That did it!!!
subject: Embedding Tomcat in a Java application...