|
From: Ng C. Y. [Cyng] <cy...@cs...> - 2003-06-22 12:17:12
|
Hi,
> Stopping service Tomcat-Standalone
> 22 ?.?. 2546 14:11:48 org.apache.commons.modeler.Registry loadRegistry
> INFO: Loading registry information
> 22 ?.?. 2546 14:11:48 org.apache.commons.modeler.Registry getRegistry
> INFO: Creating new Registry instance
> 22 ?.?. 2546 14:11:50 org.apache.commons.modeler.Registry getServer
> INFO: Creating MBeanServer
> 22 ?.?. 2546 14:11:53 org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on port 8080
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1
> DBCP borrowObject failed: java.sql.SQLException: Server connection failure during transaction.
> Attempted reconnect 3 times. Giving up.
> 22 ?.?. 2546 14:12:36 org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on port 8080
> 22 ?.?. 2546 14:12:37 org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on /0.0.0.0:8009
> 22 ?.?. 2546 14:12:37 org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=33/317 config=/var/tomcat4/conf/jk2.properties
First of all, I didn't ever this kind of exception before. But it
seems that the log messages of your tomcat 4.1.24 seem so "different" as
some classes such as org.apache.coyote.http11.Http11Protocol are initiated
instead of org.apache.coyote.tomcat4.CoyoteConnector as seen in my tomcat
conf/server.xml
Are you using tomcat 4.1.24 full version? You'd better use LE
version of tomcat with JDK 1.4.x because quite a number of jars bundled
in tomcat would conflict with hermes.
> I saw that
> 1. no directory "classes" in /var/tomcat4/webapps/msh/WEB-INF
> but it (directory "classes") has on both supplier and buyer directory
> 2. no msh,buyer,supplier described on server.xml of tomcat.
There is no need to add anything in server.xml in order for the
webapps "buyer", "supplier" or "msh" to work. If you are deploying a .war
file, you simply put it in webapps. Or you have to create manually, say
"msh", under webapps and construct the WEB-INF tree by yourself.
Regards,
CY
----------------------------------------------------------------------------
Ng Chi Yuen, CY. cy...@ce... http://www.cecid.hku.hk/
Technology Officer,
Centre for E-Commerce Infrastructure Development,
The University of Hong Kong
----------------------------------------------------------------------------
|