tomcat5 + linux-sun-jdk1.4.2 on FreeBSD 4.8
Stephane Raimbault
segr at hotmail.com
Thu Oct 23 11:54:40 PDT 2003
Hi,
I've recently built a box running FreeBSD 4.8 and installed
linux-sun-jdk1.4.2 and tomcat 5 (both from the ports). It seems that java
is running fine as far as I can tell
# /usr/local/linux-sun-jdk1.4.2/bin/java -version
java version "1.4.2_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)
#
However when I try to start tomcat the stdout.log file only fills with the
following information:
# cat /usr/local/jakarta-tomcat5.0/logs/stdout.log
Oct 23, 2003 12:40:57 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8180
Oct 23, 2003 12:40:58 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2359 ms
Oct 23, 2003 12:40:58 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 23, 2003 12:40:58 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.12
Oct 23, 2003 12:40:58 PM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Oct 23, 2003 12:40:58 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/usr/local/jakarta-tomcat5.0/conf/Catalina/localhost/manager.xml
Oct 23, 2003 12:40:59 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/usr/local/jakarta-tomcat5.0/conf/Catalina/localhost/admin.xml
#
I have succesfully installed both linux-sun-jdk1.4.2 + tomcat 5 on a FreeBSD
5.1 box and the stdout.log file seems to indicate a succesfull start and
tomcat 5 works on this box.
# cat /usr/local/jakarta-tomcat5.0/logs/stdout.log
Oct 23, 2003 12:43:16 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8180
Oct 23, 2003 12:43:16 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3236 ms
Oct 23, 2003 12:43:16 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 23, 2003 12:43:16 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.12
Oct 23, 2003 12:43:16 PM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Oct 23, 2003 12:43:16 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/usr/local/jakarta-tomcat5.0/conf/Catalina/localhost/manager.xml
Oct 23, 2003 12:43:20 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/usr/local/jakarta-tomcat5.0/conf/Catalina/localhost/admin.xml
Oct 23, 2003 12:43:21 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Oct 23, 2003 12:43:21 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Oct 23, 2003 12:43:22 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources',
returnNull=true
Oct 23, 2003 12:43:25 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /tomcat-docs from URL
file:/usr/local/jakarta-tomcat5.0/webapps/tomcat-docs
Oct 23, 2003 12:43:25 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /jsp-examples from URL
file:/usr/local/jakarta-tomcat5.0/webapps/jsp-examples
Oct 23, 2003 12:43:26 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path from URL
file:/usr/local/jakarta-tomcat5.0/webapps/ROOT
Oct 23, 2003 12:43:26 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /servlets-examples from URL
file:/usr/local/jakarta-tomcat5.0/webapps/servlets-examples
Oct 23, 2003 12:43:27 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8180
Oct 23, 2003 12:43:27 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 java.net.BindException: Address already in use
Oct 23, 2003 12:43:27 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8010
Oct 23, 2003 12:43:27 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=1 time=17/26
config=/usr/local/jakarta-tomcat5.0/conf/jk2.properties
Oct 23, 2003 12:43:27 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 11224 ms
#
Is this a problem with FreeBSD 4.8, and any suggestions on how I can resolve
this? What other information could I provide?
Thank you.
Stephane
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
More information about the freebsd-java
mailing list