tomcat解压缩版如何启动

转载 2012年03月24日 17:54:15
]tomcat解压缩版如何启动
2010-05-16 16:42

       在使用tomcat之前,需要先安装JDK,然后配置环境变量path,即将JDK的bin目录的完整路径放到path中。

       我使用的是apache-tomcat-6.0.14,并分别在xp和Win7中试验了tomcat解压缩版如何启动,下面分别来说明。

        在xp系统中,将tomcat解压到一个目录中,我解压到了C:\Program Files\Apache Software Foundation中,然后双击C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.14\bin\startup.bat,此时命令提示符窗口一闪而过,tomcat并未启动。我们可以进入命令提示符窗口来查看问题所在。打开命令提示符窗口,进入到startup.bat所在的目录下(即输入cd C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.14\bin),输入startup并回车,可以看到命令提示符窗口中出现以下内容:

Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:\Documents and Settings\y>cd C:\Program Files\Apache Software Foundation\apach
e-tomcat-6.0.14\bin

C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.14\bin>startup
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.14\bin>

       可以看到问题出在我们没有设置JAVA_HOME环境变量。此时我们再把JAVA_HOME环境变量设置好就可以了,即新建JAVA_HOME环境变量,内容为JDK的安装路径,注意最后一定不要加分号。

      此时,再到bin目录下双击startup.bat就可以启动tomcat了,此时会出现一个命令提示符窗口,其内容如下:

2010-5-16 16:04:08 org.apache.catalina.core.AprLifecycleListener init
信息: The Apache Tomcat Native library which allows optimal performance in produ
ction environments was not found on the java.library.path: C:\Program Files\Java
\jdk1.6.0_16\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Pro
gram Files\Java\jdk1.6.0_16\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System
32\Wbem
2010-5-16 16:04:08 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2010-5-16 16:04:08 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 806 ms
2010-5-16 16:04:08 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2010-5-16 16:04:08 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.14
2010-5-16 16:04:09 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2010-5-16 16:04:09 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2010-5-16 16:04:09 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/47 config=null
2010-5-16 16:04:09 org.apache.catalina.startup.Catalina start
信息: Server startup in 923 ms

      在win7系统中,将tomcat解压到一个目录中,我解压到了C:\Program Files\Apache Software Foundation中,然后双击C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.14\bin\startup.bat,此时命令提示符窗口一闪而过,tomcat并未启动。我们可以进入命令提示符窗口来查看问题所在。打开命令提示符窗口,进入到startup.bat所在的目录下(即输入cd C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.14\bin),输入startup并回车,可以看到命令提示符窗口中出现以下内容:

Microsoft Windows [版本 6.1.7600]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\ywk>cd C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.14
\bin

C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.14\bin>startup
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.14\bin>

      可见问题同xp一样,所以我们需要再设置JAVA_HOME环境变量,方法同上,再次强调一遍,JAVA_HOME环境变量的内容最后一定不要加分号。

      此时,再到bin目录下双击startup.bat就可以启动tomcat了,此时会出现一个命令提示符窗口,其内容如下:

        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
        at java.io.FileWriter.<init>(FileWriter.java:61)
        at org.apache.juli.FileHandler.open(FileHandler.java:259)
        at org.apache.juli.FileHandler.<init>(FileHandler.java:59)
        at org.apache.juli.FileHandler.<init>(FileHandler.java:50)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:398)
        at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:342)
        at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:238)
        at java.util.logging.LogManager$2.run(LogManager.java:266)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.j
ava:264)
        at java.util.logging.LogManager.getLogManager(LogManager.java:247)
        at java.util.logging.Logger.<init>(Logger.java:220)
        at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:997)
        at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:994)
        at java.util.logging.LogManager$1.run(LogManager.java:179)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.logging.LogManager.<clinit>(LogManager.java:156)
        at java.util.logging.Logger.getLogger(Logger.java:273)
        at org.apache.juli.logging.DirectJDKLog.<init>(DirectJDKLog.java:71)
        at org.apache.juli.logging.DirectJDKLog.getInstance(DirectJDKLog.java:17
8)
        at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:170)
        at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:241)
        at org.apache.juli.logging.LogFactory.getLog(LogFactory.java:296)
        at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\apach
e-tomcat-6.0.14\logs\admin.2010-05-16.log (拒绝访问。)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
        at java.io.FileWriter.<init>(FileWriter.java:61)
        at org.apache.juli.FileHandler.open(FileHandler.java:259)
        at org.apache.juli.FileHandler.<init>(FileHandler.java:59)
        at org.apache.juli.FileHandler.<init>(FileHandler.java:50)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:398)
        at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:342)
        at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:238)
        at java.util.logging.LogManager$2.run(LogManager.java:266)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.j
ava:264)
        at java.util.logging.LogManager.getLogManager(LogManager.java:247)
        at java.util.logging.Logger.<init>(Logger.java:220)
        at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:997)
        at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:994)
        at java.util.logging.LogManager$1.run(LogManager.java:179)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.logging.LogManager.<clinit>(LogManager.java:156)
        at java.util.logging.Logger.getLogger(Logger.java:273)
        at org.apache.juli.logging.DirectJDKLog.<init>(DirectJDKLog.java:71)
        at org.apache.juli.logging.DirectJDKLog.getInstance(DirectJDKLog.java:17
8)
        at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:170)
        at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:241)
        at org.apache.juli.logging.LogFactory.getLog(LogFactory.java:296)
        at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\apach
e-tomcat-6.0.14\logs\host-manager.2010-05-16.log (拒绝访问。)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
        at java.io.FileWriter.<init>(FileWriter.java:61)
        at org.apache.juli.FileHandler.open(FileHandler.java:259)
        at org.apache.juli.FileHandler.<init>(FileHandler.java:59)
        at org.apache.juli.FileHandler.<init>(FileHandler.java:50)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:398)
        at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:342)
        at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:238)
        at java.util.logging.LogManager$2.run(LogManager.java:266)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.j
ava:264)
        at java.util.logging.LogManager.getLogManager(LogManager.java:247)
        at java.util.logging.Logger.<init>(Logger.java:220)
        at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:997)
        at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:994)
        at java.util.logging.LogManager$1.run(LogManager.java:179)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.logging.LogManager.<clinit>(LogManager.java:156)
        at java.util.logging.Logger.getLogger(Logger.java:273)
        at org.apache.juli.logging.DirectJDKLog.<init>(DirectJDKLog.java:71)
        at org.apache.juli.logging.DirectJDKLog.getInstance(DirectJDKLog.java:17
8)
        at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:170)
        at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:241)
        at org.apache.juli.logging.LogFactory.getLog(LogFactory.java:296)
        at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
2010-5-16 16:25:30 org.apache.catalina.core.AprLifecycleListener init
信息: The Apache Tomcat Native library which allows optimal performance in produ
ction environments was not found on the java.library.path: C:\Program Files\Java
\jdk1.6.0_16\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Pro
gram Files\Java\jdk1.6.0_16\bin;D:\办公\GCC\gcc\bin;C:\Windows\system32;C:\Windo
ws;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\程序\
Windows优化大师\VistaMaster;D:\系统\Windows优化大师\VistaMaster;C:\Program Files
\Common Files\Thunder Network\KanKan\Codecs;c:\Program Files\Microsoft SQL Serve
r\90\Tools\binn\;C:\Program Files\IDM Computer Solutions\UltraEdit\
2010-5-16 16:25:30 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2010-5-16 16:25:30 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 506 ms
2010-5-16 16:25:31 org.apache.naming.NamingContext lookup
警告: Unexpected exception resolving reference
java.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\apach
e-tomcat-6.0.14\conf\tomcat-users.xml.new (拒绝访问。)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at org.apache.catalina.users.MemoryUserDatabase.save(MemoryUserDatabase.
java:521)
        at org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance
(MemoryUserDatabaseFactory.java:104)
        at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceF
actory.java:140)
        at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:3
04)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
        at org.apache.naming.NamingContextBindingsEnumeration.nextElementInterna
l(NamingContextBindingsEnumeration.java:113)
        at org.apache.naming.NamingContextBindingsEnumeration.next(NamingContext
BindingsEnumeration.java:71)
        at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:137)
        at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:109)
        at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycle
Event(GlobalResourcesLifecycleListener.java:81)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:117)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:703
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
        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:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2010-5-16 16:25:31 org.apache.catalina.mbeans.GlobalResourcesLifecycleListener c
reateMBeans
严重: Exception processing Global JNDI Resources
javax.naming.NamingException: C:\Program Files\Apache Software Foundation\apache
-tomcat-6.0.14\conf\tomcat-users.xml.new (拒绝访问。)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:805)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
        at org.apache.naming.NamingContextBindingsEnumeration.nextElementInterna
l(NamingContextBindingsEnumeration.java:113)
        at org.apache.naming.NamingContextBindingsEnumeration.next(NamingContext
BindingsEnumeration.java:71)
        at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:137)
        at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:109)
        at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycle
Event(GlobalResourcesLifecycleListener.java:81)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:117)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:703
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
        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:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2010-5-16 16:25:31 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2010-5-16 16:25:31 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.14
2010-5-16 16:25:31 org.apache.naming.NamingContext lookup
警告: Unexpected exception resolving reference
java.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\apach
e-tomcat-6.0.14\conf\tomcat-users.xml.new (拒绝访问。)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at org.apache.catalina.users.MemoryUserDatabase.save(MemoryUserDatabase.
java:521)
        at org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance
(MemoryUserDatabaseFactory.java:104)
        at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceF
actory.java:140)
        at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:3
04)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
        at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.j
ava:253)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1037)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:5
16)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
        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:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2010-5-16 16:25:31 org.apache.catalina.realm.UserDatabaseRealm start
严重: Exception looking up UserDatabase under key UserDatabase
javax.naming.NamingException: C:\Program Files\Apache Software Foundation\apache
-tomcat-6.0.14\conf\tomcat-users.xml.new (拒绝访问。)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:805)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
        at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.j
ava:253)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1037)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:5
16)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
        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:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2010-5-16 16:25:31 org.apache.catalina.startup.Catalina start
严重: Catalina.start:
LifecycleException: No UserDatabase component found under key UserDatabase
        at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.j
ava:261)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1037)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:5
16)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
        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:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2010-5-16 16:25:31 org.apache.catalina.startup.Catalina start
信息: Server startup in 87 ms

      此时,虽然可以启动tomcat了,但其中出现了很多问题,并且此时在浏览器中的地址栏中输入http://localhost:8080并回车时,并未出现我们想要的tomcat的那个界面。

      我们还需要设置一个环境变量CATALINA_HOME,其内容为tomcat的安装路径,注意同样不要加分号。

      再双击startup.bat,看见出现的命令提示符窗口内容和刚才一样,问题还在。

       关闭出现的命令提示符窗口,在startup.bat上单击右键,选择“以管理员身份运行”,这时tomcat便可以正常启动了,出现的命令提示符窗口内容如下:

2010-5-16 16:35:48 org.apache.catalina.core.AprLifecycleListener init
信息: The Apache Tomcat Native library which allows optimal performance in produ
ction environments was not found on the java.library.path: C:\Program Files\Java
\jdk1.6.0_16\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Pro
gram Files\Java\jdk1.6.0_16\bin;D:\办公\GCC\gcc\bin;C:\Windows\system32;C:\Windo
ws;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\程序\
Windows优化大师\VistaMaster;D:\系统\Windows优化大师\VistaMaster;C:\Program Files
\Common Files\Thunder Network\KanKan\Codecs;c:\Program Files\Microsoft SQL Serve
r\90\Tools\binn\;C:\Program Files\IDM Computer Solutions\UltraEdit\
2010-5-16 16:35:48 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2010-5-16 16:35:48 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 539 ms
2010-5-16 16:35:48 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2010-5-16 16:35:48 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.14
2010-5-16 16:35:50 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2010-5-16 16:35:50 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2010-5-16 16:35:50 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/73 config=null
2010-5-16 16:35:50 org.apache.catalina.startup.Catalina start
信息: Server startup in 2126 ms

相关文章推荐

如何对解压缩版的Tomcat进行启动

最近做一个新的项目,开发与测试环境都需要使用到tomcat web应用服务器。 tomcat分为exe和zip两种版本,其中安装版本安装非常简单,但我不太喜欢,因为不过灵活(修改配置等)。 ...

Tomcat的压缩包安装和启动

 昨天下午尝试Tomcat的安装和启动,记录如下:   (1)Tomcat下载:http://tomcat.apache.org/,在windows下主要有两种,一种是向导安装配置完成后作为...

解压版tomcat安装配置

大家都知道tomcat吧!因为Tomcat 技术先进、性能稳定,而且免费,因而深受Java 爱好者的喜爱并得到了部分软件开发商的认可,成为目前比较流行的Web 应用服务器,也是运行Servlet和JS...

解压版的Tomcat基本配置和安装

大家都知道tomcat吧!因为Tomcat 技术先进、性能稳定,而且免费,因而深受Java 爱好者的喜爱并得到了部分软件开发商的认可,成为目前比较流行的Web 应用服务器,也是运行Servlet和JS...

【总结】瞬时高并发(秒杀/活动)Redis方案

1,Redis 丰富的数据结构(Data Structures) 字符串(String) Redis字符串能包含任意类型的数据一个字符串类型的值最多能存储512M字节的内容利用I...

【总结】RPC框架Dubbo深入分析

1,背景 随着互联网的发展,网站应用的规模不断扩大,常规的垂直应用架构已无法应对,分布式服务架构以及流动计算架构势在必行,亟需一个治理系统确保架构有条不紊的演进 单一应用架构 当网站...

Apache Tomcat安装、配置、启动与后续操作步骤

1.第一,我们在安装Apache Tomcat之前,我们首先安装和配置好jdk; 2.第二,我们要清楚自己的jdk版本。因为我们Apache Tomcat配置的成功的前提是版本相对应。在这里,博主是用...
  • ITWUYI
  • ITWUYI
  • 2016-01-11 11:46
  • 5215

MyEclipse使用Maven创建web项目+搭建SSM框架教

使用maven已经有一段时间了,但项目是别人搭建好的,因此一直想着自己要学习搭建一下。网上找了些资料后,结合自己实验,花了点时间就搞好,老样子,写在博客上,免得日后忘记。 1.安装maven和配置 1...

tomcat解压缩版如何启动

在使用tomcat之前,需要先安装JDK,然后配置环境变量path,即将JDK的bin目录的完整路径放到path中。        我使用的是apache-tomcat-6.0.14,并分别在xp和...

Tomcat解压缩版启动和配置

之前断断续续用过Tomcat几次,但每次安装都需要上网查怎么启动和配置管理用户。今天又玩了一次,为了便于自己记住,决定把这个过程写在这里。具体步骤如下: 1.从官网上下载tomcat的压缩包 2....
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)