tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Stoker" <dsto...@pacbell.net>
Subject EmbeddedTomcat
Date Tue, 09 Sep 2003 04:46:14 GMT
When attempting to start Tomcat embedded my process fails when adding the connector. Any help/insight
is greatly appreciated. Dave

<snippit>
 Connector connector = embedded.createConnector(null, 8080, false);
 embedded.addConnector(connector);
</snippit>

C:\EmbeddedTomcat>java EmbeddedTomcat
Creating engine
Creating host 'localhost' with appBase 'C:/EmbeddedTomcat/webapps'
Creating context '' with docBase 'C:/EmbeddedTomcat/webapps/ROOT'
Creating context '/examples' with docBase 'C:/EmbeddedTomcat/webapps/examples'
Adding engine (org.apache.catalina.core.StandardEngine/1.0)
Creating connector for address='ALL' port='8080' secure='false'
Couldn't create connector.
java.lang.NullPointerException
        at org.apache.catalina.startup.Embedded.addConnector(Embedded.java:411)
        at EmbeddedTomcat.startTomcat(EmbeddedTomcat.java:86)
        at EmbeddedTomcat.main(EmbeddedTomcat.java:161)

C:\EmbeddedTomcat>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message