我已经配置好路径,并且设置好环境变量,都在f:\jspweb下
自己添加一个目录,在webapps\test,复制了ROOT\web-inf到test目录,改写完tomcat41\conf\server.xml,添加
<Context path="/test" docBase="test" debug="0"
reloadable="true" crossContext="true"/>
到这里,tomcat4.0已经可以用了,为什么tomcat4.1会报异常?
虽然启动后可以用,但还是郁闷.
高手,帮帮忙啊。
2003-8-30 9:26:08 org.apache.commons.modeler.Registry loadRegistry
信息: Loading registry information
2003-8-30 9:26:09 org.apache.commons.modeler.Registry getRegistry
信息: Creating new Registry instance
2003-8-30 9:26:09 org.apache.commons.modeler.Registry getServer
信息: Creating MBeanServer
2003-8-30 9:26:11 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on port 8080
GlobalResourcesLifecycleListener: Exception creating UserDatabase MBeans for Use
rDatabase
javax.management.MalformedObjectNameException: Missing value in properties list
at javax.management.ObjectName.createPropertiesMap(ObjectName.java:222)
at javax.management.ObjectName.parse(ObjectName.java:93)
at javax.management.ObjectName.<init>(ObjectName.java:43)
at org.apache.catalina.mbeans.MBeanUtils.createObjectName(MBeanUtils.jav
a:1608)
at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:761
)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:299)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:223)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:181)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycle
Event(GlobalResourcesLifecycleListener.java:149)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:218
3)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
2003-8-30 9:26:14 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru
e
2003-8-30 9:26:14 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.action.ActionResources', returnNul
l=true
2003-8-30 9:26:15 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.webapp.admin.ApplicationResources', retur
nNull=true
2003-8-30 9:26:20 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on port 8080
2003-8-30 9:26:39 org.apache.jk.common.ChannelSocket init
信息: JK2: ajp13 listening on /0.0.0.0:8009
2003-8-30 9:26:39 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=20/40 config=f:\JSPWEB\Tomcat41\conf\jk2.properties
--转自