请问eclipse启动tomcat不稳定吗?运行jsp和websocket频繁出错

最新版的eclipseJ2EE和tomcat9,都是64位
我每一次都是修改完代码再run on server,然后关闭运行,再进行下一步代码修改

问题1:运行jsp,加载不到图片,说是找不到位置,后来我设置了basePath找到了,
有一次我删除了basePath,运行起来仍然是正常的,就修改其他部分代码,忽然就又
加载不到图片了,我完全恢复了代码,包括basePath,仍然不行,后来我把上一个版本的jsp直接覆盖了,还是不行,我就退出了。过一会儿,重启,正常了。

问题2:我写了websocket客户端jsp文件和websocket服务器端java类,运行正常,我就修改了java文件中的输出内容,再次运行,仍然是没改之前的输出内容,我重启eclipse,连接不上服务器,握手失败,200错误码,我完全改回原来的内容,仍然握手失败

以上问题导致我在修改代码更改功能的时候,完全不知道这样的修改对不对,会不会导致问题,或者是哪一个修改导致出了问题!跪求大神解答!!!

请问有出现过同样问题的人吗?是因为我project运行之前没有每次都clean吗?还是因为我过于频繁用eclipse启动tomcat有什么内部冲突的原因?

1个回答

我现在还是用的eclipse mar2 tomcat7............可能新版就是有问题吧...........没用过,不知道.........

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
eclipse启动tomcat出错
2005-12-26 23:42:13 org.logicalcobwebs.proxool.Prototyper sweeprn严重: Prototypernjava.sql.SQLException: Unable to connect to any hosts due to exception: java.lang.ArrayIndexOutOfBoundsException: 40rn at com.mysql.jdbc.Connection.createNewIO(Connection.java:1797)rn at com.mysql.jdbc.Connection.(Connection.java:562)rn at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:361)rn at java.sql.DriverManager.getConnection(Unknown Source)rn at java.sql.DriverManager.getConnection(Unknown Source)rn at org.logicalcobwebs.proxool.ProxyFactory.buildProxyConnection(ProxyFactory.java:41)rn at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:150)rn at org.logicalcobwebs.proxool.Prototyper.sweep(Prototyper.java:95)rn at org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:42)rn2005-12-26 23:42:15 org.apache.catalina.core.StandardService stoprn信息: Stopping service Catalinarnrn启动后出现上面的提示,但是可以连接上数据库,是什么原因造成的那?rn谢谢
eclipse下tomcat启动出错
先看错误类型,这里只贴第一个 Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Website]网上有的说是xml问题,但我遇到的属于jar包方面,tomcat验证jar包有些奇怪,我没有研究过,这里只记录一下解决方案,参考了 https://stackoverf...
eclipse tomcat 启动出错
2014-5-19 16:40:47 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:/Program Files/Java/jre6/lib/i386;C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;E:\svn\bin;C:\Documents and Settings\Administrator\Local Settings\Application Data\Kingsoft\WPS Office\9.1.0.4468\office6;G:\Eclipse\eclipse;;.rn2014-5-19 16:40:47 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["http-bio-8080"]rn2014-5-19 16:40:47 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["ajp-bio-8009"]rn2014-5-19 16:40:47 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 621 msrn2014-5-19 16:40:47 org.apache.catalina.core.StandardService startInternalrn信息: Starting service Catalinarn2014-5-19 16:40:47 org.apache.catalina.core.StandardEngine startInternalrn信息: Starting Servlet Engine: Apache Tomcat/7.0.52rn2014-5-19 16:40:47 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory G:\tomcat\apache-tomcat-7.0.52\webapps\ROOTrn2014-5-19 16:40:47 org.apache.catalina.startup.HostConfig deployDirectoryrn严重: Error deploying web application directory G:\tomcat\apache-tomcat-7.0.52\webapps\ROOTrnjava.lang.ExceptionInInitializerErrorrn at org.apache.catalina.startup.ContextConfig.createWebXmlDigester(ContextConfig.java:515)rn at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:836)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:382)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)rn at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)rn at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1229)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1875)rn at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)rn at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)rn at java.util.concurrent.FutureTask.run(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: java.lang.NullPointerExceptionrn at org.apache.tomcat.util.descriptor.DigesterFactory.idFor(DigesterFactory.java:107)rn at org.apache.tomcat.util.descriptor.DigesterFactory.(DigesterFactory.java:59)rn ... 19 morern2014-5-19 16:40:47 org.apache.coyote.AbstractProtocol startrn信息: Starting ProtocolHandler ["http-bio-8080"]rn2014-5-19 16:40:47 org.apache.coyote.AbstractProtocol startrn信息: Starting ProtocolHandler ["ajp-bio-8009"]rn2014-5-19 16:40:47 org.apache.catalina.startup.Catalina startrn信息: Server startup in 126 msrnrn
eclipse 启动tomcat出错
严重: Catalina.start: rnorg.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:621)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)rnCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)rn at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)rn ... 7 morernCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)rn at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)rn ... 9 morernCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)rn at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)rn ... 11 morernCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/WebDamo]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)rn at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)rn ... 14 morernCaused by: org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 15rn at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:131)rn at org.apache.tomcat.util.bcel.classfile.ConstantPool.(ConstantPool.java:60)rn at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:209)rn at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:119)rn at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1967)rn at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1858)rn at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1826)rn at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1812)rn at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1306)rn at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:896)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:322)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5103)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)rn ... 17 more
eclipse中启动tomcat出错
[color=#FF0000][color=#FF0000]2010-6-2 13:47:11 org.apache.catalina.core.AprLifecycleListener initrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\jdk1.6\jre\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;E:\jdk1.6\jre\bin;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;E:\jdk1.6\binrn2010-6-2 13:47:12 org.apache.coyote.http11.Http11BaseProtocol initrn严重: Error initializing endpointrnjava.net.BindException: Address already in use: JVM_Bind:8080rn at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:298)rn at org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:139)rn at org.apache.catalina.connector.Connector.initialize(Connector.java:1002)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:782)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:504)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:524)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:267)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)rn2010-6-2 13:47:12 org.apache.catalina.startup.Catalina loadrn严重: Catalina.startrnLifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8080rn at org.apache.catalina.connector.Connector.initialize(Connector.java:1004)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:782)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:504)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:524)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:267)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)rn2010-6-2 13:47:12 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 3174 msrn2010-6-2 13:47:13 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2010-6-2 13:47:13 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/5.5.29rn2010-6-2 13:47:13 org.apache.catalina.core.StandardHost startrn信息: XML validation disabledrn2010-6-2 13:47:17 org.apache.coyote.http11.Http11BaseProtocol startrn严重: Error starting endpointrnjava.net.BindException: Address already in use: JVM_Bind:8080rn at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:298)rn at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:313)rn at org.apache.coyote.http11.Http11BaseProtocol.start(Http11BaseProtocol.java:151)rn at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:76)rn at org.apache.catalina.connector.Connector.start(Connector.java:1075)rn at org.apache.catalina.core.StandardService.start(StandardService.java:457)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)rn2010-6-2 13:47:17 org.apache.catalina.startup.Catalina startrn严重: Catalina.start: rnLifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:8080rn at org.apache.catalina.connector.Connector.start(Connector.java:1082)rn at org.apache.catalina.core.StandardService.start(StandardService.java:457)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)rn2010-6-2 13:47:17 org.apache.catalina.startup.Catalina startrn信息: Server startup in 4767 msrn2010-6-2 13:47:17 org.apache.catalina.core.StandardServer awaitrn严重: StandardServer.await: create[8005]: rnjava.net.BindException: Address already in use: JVM_Bindrn at java.net.PlainSocketImpl.socketBind(Native Method)rn at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)rn at java.net.ServerSocket.bind(ServerSocket.java:319)rn at java.net.ServerSocket.(ServerSocket.java:185)rn at org.apache.catalina.core.StandardServer.await(StandardServer.java:363)rn at org.apache.catalina.startup.Catalina.await(Catalina.java:616)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:576)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)rn2010-6-2 13:47:17 org.apache.coyote.http11.Http11BaseProtocol pausern信息: Pausing Coyote HTTP/1.1 on http-8080[/color]
Eclipse下启动Tomcat时候, 出错!
在Eclipse下启动Tomcat时候, 就报出错误:rnCould not find main class. Program will exit!rn以及控制台的信息:rnjava.lang.NoClassDefFoundError: org/apache/catalina/startup/BootstraprnException in thread "main" rnrn谢谢!
在eclipse里启动tomcat出错
[ERROR] Http11Protocol - -Error initializing endpoint java.net.BindException: Address in use: JVM_Bind:8080rn at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:286)rn at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:184)rn at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1173)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:579)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:511)rn at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)rn at org.apache.catalina.startup.Catalina.process(Catalina.java:180)rn at java.lang.reflect.Method.invoke(Native Method)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)rnrnCatalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address in use: JVM_Bind:8080rnLifecycleException: Protocol handler initialization failed: java.net.BindException: Address in use: JVM_Bind:8080rn at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1175)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:579)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:511)rn at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)rn at org.apache.catalina.startup.Catalina.process(Catalina.java:180)rn at java.lang.reflect.Method.invoke(Native Method)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)rnCatalina.stop: LifecycleException: This server has not yet been startedrnLifecycleException: This server has not yet been startedrn at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2213)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:543)rn at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)rn at org.apache.catalina.startup.Catalina.process(Catalina.java:180)rn at java.lang.reflect.Method.invoke(Native Method)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)rnrnrn我以为是TOMCAT已经启动了rn然后我进TOMCA\binT的目录下用shutdown,但也报错说connection refusedrn但启动正常同时可以用http://localhost:8080来访问也都没问题rnrn请问是tomcat出问题了么?rn我的TOMCAT是4.1的
Eclipse中启动TOMCAT出错
Eclipse 3.2rnTomcatPluginv321rnOS:Windows VistarnTomcat:6.0.10rn在Eclipse3.2启动TOMCAT,发现http://localhost:8080是空白页,但是如果在CMD环境下启动startup.bat确正常。请问如何解决?rn启动信息如下:rn2007-5-27 11:04:40 org.apache.catalina.core.AprLifecycleListener initrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0\jre\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;c:\ruby\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\IDM Computer Solutions\UltraEdit-32;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\rn2007-5-27 11:04:40 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2007-5-27 11:04:40 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 799 msrn2007-5-27 11:04:40 org.apache.catalina.users.MemoryUserDatabase savern警告: User database is not persistable - no write permissions on directoryrn2007-5-27 11:04:40 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2007-5-27 11:04:40 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.10rn2007-5-27 11:04:40 org.apache.catalina.startup.ContextConfig defaultWebConfigrn信息: No default web.xmlrn2007-5-27 11:04:40 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2007-5-27 11:04:40 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2007-5-27 11:04:40 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/47 config=nullrn2007-5-27 11:04:40 org.apache.catalina.startup.Catalina startrn信息: Server startup in 437 ms
生产Tomcat运行不稳定
Tomcat在运行中不稳定,假死,内存溢出处理。 在catalina.bat文件中找到: rem ----- Execute The Requested Command --------------------------------------- 并加入以下设置 set JAVA_OPTS=-Xms800m -Xmx800m -XX:PermSize=128M -XX:MaxNewS
运行 tomcat 时Eclipse 出错
从eclipse启动tomcat,以前一直没问题的rn运行项目,结果eclipse 报错跳在 Truetypefont.class,source not found.the jar file rt.jar has no source attachmentrnrnrn急求解决方法 不要重装之类的回答rnrn
Tomcat 4.01 不稳定吗 ?
开发环境 Tomcat 4.01 + SQL Server2000,以前一直没问题,最近页面突然提取不到数据了,重新装了 Tomcat 后恢复正常。 Tomcat 4.01不稳定吗 ?
tomcat启动出错,请问什么原因?
我在aix中启动时,出现错误,具体过程如下:rnrnrnrn$ startup.shrnUsing classpath: ./../lib/tomcat.jarrnUsing JAVA_HOME: /usr/jdk_basernUsing TOMCAT_HOME: /rtdb/apache/tomcat33rn$ Jdk11Compat: Installing jar protocol handlerrn2001-11-28 18:03:06 - AutoDeploy: Expanding /biller/rtdb/apache/tomcat33/webappsrn/admin.warrn2001-11-28 18:03:07 - AutoDeploy: Expanding /biller/rtdb/apache/tomcat33/webappsrn/ROOT.warrn2001-11-28 18:03:24 - AutoDeploy: Expanding /biller/rtdb/apache/tomcat33/webappsrn/examples.warrn2001-11-28 18:03:30 - ServerXmlReader: Config=$TOMCAT_HOME/conf/server.xmlrn2001-11-28 18:03:30 - PathSetter: home=/biller/rtdb/apache/tomcat33rn2001-11-28 18:03:30 - ContextXmlReader: Context config=$TOMCAT_HOME/conf/apps-12rn7.0.0.1.xmlrn2001-11-28 18:03:30 - ContextXmlReader: Context config=$TOMCAT_HOME/conf/apps-adrnmin.xmlrn2001-11-28 18:03:30 - ContextXmlReader: Context config=$TOMCAT_HOME/conf/apps-exrnamples.xmlrn2001-11-28 18:03:30 - AutoWebApp: Loaded from config: DEFAULT:/adminrn2001-11-28 18:03:30 - AutoWebApp: Auto-Adding DEFAULT:/rn2001-11-28 18:03:30 - AutoWebApp: Loaded from config: DEFAULT:/examplesrn2001-11-28 18:03:30 - ContextManager: Tomcat configured and in stable statern2001-11-28 18:03:31 - WorkDirSetup: Creating work dir /biller/rtdb/apache/tomcatrn33/work/DEFAULT/adminrn2001-11-28 18:03:31 - ContextManager: Adding DEFAULT:/adminrn2001-11-28 18:03:31 - WorkDirSetup: Creating work dir /biller/rtdb/apache/tomcatrn33/work/DEFAULT/examplesrn2001-11-28 18:03:31 - ContextManager: Adding DEFAULT:/examplesrn2001-11-28 18:03:31 - WorkDirSetup: Creating work dir /biller/rtdb/apache/tomcatrn33/work/DEFAULT/ROOTrn2001-11-28 18:03:31 - ContextManager: Adding DEFAULT:/ROOTrn2001-11-28 18:03:31 - Ctx(/admin) : Validating web.xmlrn2001-11-28 18:03:32 - Ctx() : Validating web.xmlrnEmbededTomcat: Init time 30473rnGuessed home=/biller/rtdb/apache/tomcat33rnjava.lang.reflect.InvocationTargetExceptionrn at org.apache.tomcat.util.IntrospectionUtils.execute(Compiled Code)rn at org.apache.tomcat.startup.Main.execute(Compiled Code)rn at org.apache.tomcat.startup.Main.main(Compiled Code)rnrnrn看来出抛出异常,程序执行到此,不再继续。rnrn用ps 命令发现:rnrn 30730 pts/1 0:09 java org/apache/tomcat/startup/Main startrnrn不知道错误出在哪里,使系统原因还是是么原因?这种异常我不知道具体值得是哪种情况?rnrn
为什么eclipse里启动tomcat总出错?
我用的是eclipse3.2 tomcat5.5.17rn 用admin界面配的数据库,在meta-inf下建的context.xml文件,内容如下:rnrnrnrnrn 我想环境配置应该没有错,因为我成功的连接到数据库中过rn 但是很奇怪的是连接时好时坏,报错如下:rn 严重: Null component Catalina:type=DataSource,path=/MyBlog,host=localhost,class=javax.sql.DataSource,name="jdbc/myblog"rnrn 不知道是什么原因,请谁了解的告知一下rn 还有我装了myeclipse插件,启动tomcat时,有两种方式:一个是用myeclipse的启动,一种是用tomcat插件的启动,但是在管理工具的服务中,tomcat并没有启动,真是一头雾水,请求有知情人能将我头上雾水抹去,万分感谢!
求助,eclipse中启动Tomcat时出错
2007-8-2 21:42:51 org.apache.coyote.http11.Http11AprProtocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2007-8-2 21:42:51 org.apache.coyote.ajp.AjpAprProtocol initrn信息: Initializing Coyote AJP/1.3 on ajp-8009rn2007-8-2 21:42:51 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 1063 msrn2007-8-2 21:42:52 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2007-8-2 21:42:52 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/5.5.23rn2007-8-2 21:42:52 org.apache.catalina.core.StandardHost startrn信息: XML validation disabledrn2007-8-2 21:42:52 org.apache.catalina.core.StandardContext listenerStartrn严重: Error configuring application listener of class com.sun.faces.config.ConfigureListenerrnjava.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListenerrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3712)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)rn2007-8-2 21:42:52 org.apache.catalina.core.StandardContext listenerStartrn严重: Skipped installing application listeners due to previous error(s)rn2007-8-2 21:42:52 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2007-8-2 21:42:52 org.apache.catalina.core.StandardContext startrn严重: Context [/doStruts] startup failed due to previous errorsrn2007-8-2 21:42:53 org.apache.coyote.http11.Http11AprProtocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2007-8-2 21:42:53 org.apache.coyote.ajp.AjpAprProtocol startrn信息: Starting Coyote AJP/1.3 on ajp-8009rn2007-8-2 21:42:53 org.apache.catalina.storeconfig.StoreLoader loadrn信息: Find registry server-registry.xml at classpath resourcern2007-8-2 21:42:53 org.apache.catalina.startup.Catalina startrn信息: Server startup in 1641 msrn
eclipse启动tomcat,工程运行目录结构查看
C:\nuringWorkSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\jeeplus
eclipse 中运行项目tomcat出错
为了排除项目本身的错误导致tomcat的错误,我新建了一个helloworld的最简单的jsp,但是在eclpse中点击运行后仍然是在console里出了如下的tomcat的错误,请问这可能是什么原因造成的?如何解决?rn十二月 13, 2011 10:43:48 上午 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\windows\Sun\Java\bin;C:\program files\Java\jdk1.7.0_05\bin;F:\eclipse;;.rn十二月 13, 2011 10:43:59 上午 org.apache.catalina.core.ContainerBase startInternalrn严重: A child container failed during startrnjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/10.9manageEmployee]]rn at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)rn at java.util.concurrent.FutureTask.get(Unknown Source)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1142)rn at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:785)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1595)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1585)rn at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)rn at java.util.concurrent.FutureTask.run(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/10.9manageEmployee]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)rn ... 7 morernCaused by: java.lang.NoClassDefFoundError: org/hibernate/HibernateExceptionrn at java.lang.Class.getDeclaredFields0(Native Method)rn at java.lang.Class.privateGetDeclaredFields(Unknown Source)rn at java.lang.Class.getDeclaredFields(Unknown Source)rn at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:87)rn at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:261)rn at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:140)rn at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:67)rn at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:382)rn at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:858)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:346)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5172)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn ... 7 morernCaused by: java.lang.ClassNotFoundException: org.hibernate.HibernateExceptionrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)rn ... 21 morernrn十二月 13, 2011 10:44:00 上午 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter struts2rnjava.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilterrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)rn at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532)rn at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514)rn at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:133)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:256)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:103)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4649)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5305)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1595)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1585)rn at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)rn at java.util.concurrent.FutureTask.run(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnrn十二月 13, 2011 10:44:00 上午 org.apache.catalina.core.StandardContext startInternalrn严重: Error filterStartrn十二月 13, 2011 10:44:00 上午 org.apache.catalina.core.StandardContext startInternalrn严重: Context [/9.3strutsUserRegister] startup failed due to previous errorsrn十二月 13, 2011 10:44:00 上午 org.apache.catalina.core.ContainerBase startInternalrn严重: A child container failed during startrnjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]rn at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)rn at java.util.concurrent.FutureTask.get(Unknown Source)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1142)rn at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:675)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:451)rnCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1595)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1585)rn at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)rn at java.util.concurrent.FutureTask.run(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: org.apache.catalina.LifecycleException: A child container failed during startrn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1150)rn at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:785)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn ... 7 morernrn十二月 13, 2011 10:44:00 上午 org.apache.catalina.startup.Catalina startrn严重: Catalina.start: rnorg.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:675)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:451)rnCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)rn at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn ... 7 morernCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)rn at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn ... 9 morernCaused by: org.apache.catalina.LifecycleException: A child container failed during startrn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1150)rn at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn ... 11 morernrn十二月 13, 2011 10:44:00 上午 org.apache.catalina.startup.Catalina startrn信息: Server startup in 6471 ms
在eclipse中运行tomcat出错??在线等待
在eclipse中运行tomcat出错rntomcat提示:rncom.sun.tools.javac.Main is not on the classpath.rnPerhaps JAVA_HOME does not point to the JDKrnrnie提示:rnorg.apache.jasper.JasperException: Unable to compile class for JSPrnrnAn error occurred at line: -1 in the jsp file: nullrnrn请问怎么解决??rn
eclipse中启动tomcat和直接启动tomcat
我做struts的程序,从eclipse中启动tomcat,网站可以正常运行(当时环境变量中没有设置tomcat相关的东西)。 rn如果关掉eclipse,直接启动Monitor tomcat,页面报错。 rnrn还有,我在两天前直接启动Monitor tomcat运行一个下载的网站,可以成功运行。 rn昨天就启动不起来了,页面报错。下载的那个东西肯定没有改过。环境(jdk tomcat)也没动过,这个问题比较奇怪,是系统问题还是环境有所改变。 rnrn在环境变量中配置了一下rnCLASSPATH=.\;%JAVA_HOME%\lib;D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\test\WEB-INF\classesrnrnpath==%JAVA_HOME%\bin;%PATH%;C:\Program Files\ThinkPad\Utilities;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Intel\Wireless\Bin\;C:\Program Files\IBM ThinkVantage\Client Security Solution;C:\Program Files\ThinkPad\ConnectUtilitiesrnrn希望高手解答,谢谢了。rn rnhttp://localhost:8080/test/a.html这都能运行,http://localhost:8080 Tomcat欢迎画面,管理都能运行。我感觉是程序的问题?但在MyEclipse中启动tomcat就没有任何问题? rn直接启动tomcat报错: rnHTTP Status 500 - rntype Exception report rnmessage rndescription The server encountered an internal error () that prevented it from fulfilling this request. rnexception rnorg.apache.jasper.JasperException: Index: 0, Size: 0 rnorg.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372) rnorg.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) rnorg.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) rnjavax.servlet.http.HttpServlet.service(HttpServlet.java:802) rnorg.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069) rnorg.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455) rnorg.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279) rnorg.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) rnorg.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) rnjavax.servlet.http.HttpServlet.service(HttpServlet.java:689) rnjavax.servlet.http.HttpServlet.service(HttpServlet.java:802) rnrnrnroot cause rnrnjava.lang.IndexOutOfBoundsException: Index: 0, Size: 0 rnjava.util.ArrayList.RangeCheck(Unknown Source) rnjava.util.ArrayList.get(Unknown Source) rnorg.apache.jsp.vivian8117_jsp._jspService(vivian8117_jsp.java:91) rnorg.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) rnjavax.servlet.http.HttpServlet.service(HttpServlet.java:802) rnorg.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) rnorg.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) rnorg.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) rnjavax.servlet.http.HttpServlet.service(HttpServlet.java:802) rnorg.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069) rnorg.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455) rnorg.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279) rnorg.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) rnorg.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) rnjavax.servlet.http.HttpServlet.service(HttpServlet.java:689) rnjavax.servlet.http.HttpServlet.service(HttpServlet.java:802) rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/5.0.30 logs.
eclipse中的JSP在tomcat中怎么运行?
[img=https://img-bbs.csdn.net/upload/201403/18/1395156367_581283.jpg][/img]rn我在Eclipse中建立了一个tomcat项目,已经配置好,可以打开index网页。rn我想知道怎么在WEB上运行JSP文件。我就直接输入http://localhost:8080/Chater01/firstjsp.jsp,但是不能。rn然后我直接把JSP复制到root下再试一下,还是不能运行。rn[img=https://img-bbs.csdn.net/upload/201403/18/1395156674_81568.jpg][/img]rn不知怎么才可以用Eclpise编辑JSP文件,然后部署在tomcat上。新手一个,求各位指点!
Eclipse jsp 运行tomcat提示端口占用错误
4.手工的Person 类对应的class文件(包含)复制到classes目录下 可以通过修改默认的输出目录达到自动把编译好的class放到classes目录下;tomcat端口冲突错误:在eclipse中从新启动、停止一次服务器
Eclipse部署Tomcat实现JSP运行
一、Tomcat下载安装 下载地址:http://tomcat.apache.org/(建议下载v8.0版本,注意兼容性) 安装:成功下载后会默认运行Tomcat服务,若要检验是否安装成功,可直接打开浏览器输入localhost:8080,如下图: 检验完成后打开任务管理器关闭Tomcat服务,目的在于Eclipse运行JSP文件时会自动打开Tomcat服务,若打开之前已有Tomcat服务运...
tomcat运行jsp出错,跪求解答!
我用tomcat运行jsp,出现HTTP STATUS 505 错误,我想知道505错误代表什么?还有这是什么原因造成的?错误详情如下:rnrnrnrnHTTP Status 500 - rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: java.lang.NullPointerExceptionrn org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:532)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:426)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rnrnrnroot cause rnrnjava.lang.NullPointerExceptionrn electric.dbs.Newsdb.selectsql(Newsdb.java:34)rn org.apache.jsp.index_jsp._jspService(index_jsp.java:74)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.10 logs.rnrn
关于Tomcat 5.0运行 jsp出错问题????
当输入http://localhost:8080/myapp/index.jsp 时报错: rnrnHTTP Status 404 - /myapp/index.jsp rnrn-------------------------------------------------------------------------------- rnrntype Status report rnrnmessage /myapp/index.jsp rnrndescription The requested resource (/myapp/index.jsp) is not available. rnrnrn-------------------------------------------------------------------------------- rnrnrnrnApache Tomcat/5.0.28 rnrn
在tomcat 323上运行jsp出错
这是为什么,程序运行时偶尔会报这个错rn一般都正常rnrn2002-01-16 15:46:22 - ContextManager: SocketException reading request, ignored -rnjava.net.SocketException: Connection reset by peer: JVM_recv in socket input strnream readrn at java.net.SocketInputStream.socketRead(Native Method)rn at java.net.SocketInputStream.read(SocketInputStream.java:86)rn at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)rn at java.io.BufferedInputStream.read(BufferedInputStream.java:204)rn at org.apache.tomcat.service.http.HttpRequestAdapter.doRead(HttpRequestArndapter.java:115)rn at org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServrnletInputStream.java:106)rn at org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServlerntInputStream.java:128)rn at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138rn)rn at org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(HttrnpRequestAdapter.java:129)rn at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectiornn(HttpConnectionHandler.java:198)rn at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:rn416)rn at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.javarn:501)rn at java.lang.Thread.run(Thread.java:484)rnrn
tomcat下运行jsp出错 大侠帮忙
我把Jsp文件夹放在webapp下面 rnJsp里新建了1.asp文件(txt文档直接改名的) rn程序代码: rn rn rn rnNow time is <%=new java.util.Date()%> rn rn rn rnrn启动Tomcat后 打开网页 http://localhost:9080/Jsp/1.jsp rn提示错误是: rnrnHTTP Status 404 - /Jsp/1.jsp rnrn-------------------------------------------------------------------------------- rnrntype Status report rnrnmessage /Jsp/1.jsp rnrndescription The requested resource (/Jsp/1.jsp) is not available. rnrnrn-------------------------------------------------------------------------------- rnrnApache Tomcat/5.0.28 rn
Eclipse下启动tomcat问题
用的是tomcat插件。rn经常不能正常启动。rnrn- The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\jdk1.5\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\cvsnt;D:\jdk1.5\bin;rn- Initializing Coyote HTTP/1.1 on http-8080rn- Initialization processed in 2984 msrn- Starting service Catalinarn- Starting Servlet Engine: Apache Tomcat/5.5.17rn- XML validation disabledrn- Cluster is about to startrn- Start ClusterSender at cluster Standalone:type=Cluster,host=localhost with name Standalone:type=ClusterSender,host=localhostrn- Sleeping for 2000 milliseconds to establish cluster membershiprnrn我奇怪的是,它为啥没正常启动的时候的tomcat信息呢
eclipse 启动 tomcat问题
大侠们:rn我的问题是这样子的,我在Eclipse配置好tomcat,运行Eclipse里的项目,tomcat启动后弹出一个记事本框,并提示文件名,文件卷标不存在或路径不对,点击确定后关掉记事本框,什么异常也没有,程序也可以正常运行。不知道是什么原因,求救!
eclipse tomcat启动问题
2010-5-26 14:46:36 org.apache.catalina.core.AprLifecycleListener initrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_14\bin;.;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.6.0_14\binrn2010-5-26 14:46:36 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2010-5-26 14:46:36 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 375 msrn2010-5-26 14:46:36 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2010-5-26 14:46:36 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.10rn2010-5-26 14:46:37 org.apache.catalina.core.StandardContext listenerStartrn严重: Error configuring application listener of class cn.com.wownew.wlc.common.listener.SystemConfigListenerrnjava.lang.ClassNotFoundException: cn.com.wownew.wlc.common.listener.SystemConfigListenerrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3770)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2010-5-26 14:46:37 org.apache.catalina.core.StandardContext listenerStartrn严重: Skipped installing application listeners due to previous error(s)rn2010-5-26 14:46:37 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2010-5-26 14:46:37 org.apache.catalina.core.StandardContext startrn严重: Context [/NMwlcportal] startup failed due to previous errorsrnlog4j:ERROR setFile(null,true) call failed.rnjava.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\logs\test.log (系统找不到指定的路径。)rn at java.io.FileOutputStream.openAppend(Native Method)rn at java.io.FileOutputStream.(FileOutputStream.java:177)rn at java.io.FileOutputStream.(FileOutputStream.java:102)rn at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)rn at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:164)rn at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:216)rn at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)rn at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:133)rn at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:97)rn at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:689)rn at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:647)rn at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:544)rn at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:440)rn at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:476)rn at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471)rn at org.apache.log4j.LogManager.(LogManager.java:125)rn at org.apache.log4j.Logger.getLogger(Logger.java:105)rn at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:289)rn at org.apache.commons.logging.impl.Log4JLogger.(Log4JLogger.java:109)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:513)rn at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1116)rn at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:914)rn at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)rn at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)rn at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)rn at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)rn at com.opensymphony.xwork2.util.logging.commons.CommonsLoggerFactory.getLoggerImpl(CommonsLoggerFactory.java:18)rn at com.opensymphony.xwork2.util.logging.LoggerFactory.getLogger(LoggerFactory.java:31)rn at org.apache.struts2.dispatcher.ActionContextCleanUp.(ActionContextCleanUp.java:74)rn at sun.misc.Unsafe.ensureClassInitialized(Native Method)rn at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)rn at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)rn at java.lang.reflect.Field.acquireFieldAccessor(Field.java:918)rn at java.lang.reflect.Field.getFieldAccessor(Field.java:899)rn at java.lang.reflect.Field.get(Field.java:358)rn at org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1612)rn at org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1495)rn at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:707)rn at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4536)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4366)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnlog4j:ERROR Either File or DatePattern options are not set for appender [LOGFILE].rn2010-5-26 14:46:37 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2010-5-26 14:46:37 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2010-5-26 14:46:37 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/31 config=nullrn2010-5-26 14:46:37 org.apache.catalina.startup.Catalina startrn信息: Server startup in 1155 msrnrn从svn检测项目后,刚搭配的环境,启动tomcat出现这样的问题,问题出现在哪?rn
在eclipse启动tomcat的问题
用的是Lomboz插件.新建了个jsp项目后, 启动不了tomcat,提示信息如下:rnrnrnrn2004-3-22 13:31:03 org.apache.coyote.http11.Http11Protocol initrn严重: Error initializing endpointrnjava.net.BindException: Address already in use: JVM_Bind:82rn at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:302)rn at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:184)rn at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1424)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:633)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2415)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:549)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:570)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)rn2004-3-22 13:31:03 org.apache.catalina.startup.Catalina loadrn严重: Catalina.startrnLifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:82rn at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1426)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:633)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2415)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:549)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:570)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)rn2004-3-22 13:31:03 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 2453 msrn2004-3-22 13:31:04 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2004-3-22 13:31:04 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/5.0.18rn2004-3-22 13:31:04 org.apache.catalina.core.StandardHost startrn信息: XML validation disabledrn2004-3-22 13:31:04 org.apache.catalina.startup.ContextConfig applicationConfigrn信息: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/db]rn2004-3-22 13:31:05 org.apache.catalina.startup.ContextConfig applicationConfigrn信息: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/exd]rn2004-3-22 13:31:05 org.apache.catalina.startup.ContextConfig applicationConfigrn信息: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/StrutsTest]rn2004-3-22 13:31:06 org.apache.struts.util.PropertyMessageResources rn信息: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=truern2004-3-22 13:31:06 org.apache.struts.util.PropertyMessageResources rn信息: Initializing, config='org.apache.struts.action.ActionResources', returnNull=truern2004-3-22 13:31:07 org.apache.struts.util.PropertyMessageResources rn信息: Initializing, config='ApplicationResources', returnNull=truern2004-3-22 13:31:07 org.apache.struts.validator.ValidatorPlugIn initResourcesrn信息: Loading validation rules file from '/WEB-INF/validator-rules.xml'rn2004-3-22 13:31:07 org.apache.struts.validator.ValidatorPlugIn initResourcesrn信息: Loading validation rules file from '/WEB-INF/validation.xml'rn2004-3-22 13:31:07 org.apache.catalina.startup.ContextConfig applicationConfigrn信息: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ex]rn2004-3-22 13:31:07 org.apache.catalina.core.StandardHost getDeployerrn信息: Create Host deployer for direct deployment ( non-jmx ) rn2004-3-22 13:31:07 org.apache.catalina.core.StandardHostDeployer installrn信息: Processing Context configuration file URL file:D:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\admin.xmlrn2004-3-22 13:31:08 org.apache.struts.util.PropertyMessageResources rn信息: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=truern2004-3-22 13:31:08 org.apache.struts.util.PropertyMessageResources rn信息: Initializing, config='org.apache.struts.action.ActionResources', returnNull=truern2004-3-22 13:31:08 org.apache.struts.util.PropertyMessageResources rn信息: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=truern2004-3-22 13:31:10 org.apache.catalina.core.StandardHostDeployer installrn信息: Processing Context configuration file URL file:D:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\manager.xmlrn2004-3-22 13:31:11 org.apache.catalina.core.StandardHostDeployer installrn信息: Processing Context configuration file URL file:D:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\balancer.xmlrn2004-3-22 13:31:11 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /dbtags-examples from URL file:D:/Program Files/Apache Software Foundation/Tomcat 5.0/webapps/dbtags-examplesrn2004-3-22 13:31:11 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path from URL file:D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOTrn2004-3-22 13:31:11 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /tomcat-docs from URL file:D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\tomcat-docsrn2004-3-22 13:31:11 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /jsp-examples from URL file:D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\jsp-examplesrn2004-3-22 13:31:11 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /servlets-examples from URL file:D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\servlets-examplesrn2004-3-22 13:31:12 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /servlet from URL file:D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\servletrn2004-3-22 13:31:12 org.apache.coyote.http11.Http11Protocol startrn严重: Error starting endpointrnjava.net.BindException: Address already in use: JVM_Bind:82rn at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:302)rn at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:319)rn at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:217)rn at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1494)rn
eclipse启动tomcat无法访问
eclipse启动tomcat无法访问问题阐述:本人在eclipse中配置了tomcat8,启动之后在页面无法访问,问题解决思路: 1.双击tomcat 8 2.将以下两项进行修改 问题解决了!
eclipse启动tomcat参数配置
  -Xms1024m -Xmx1200m -Xss512k -XX:PermSize=256M -XX:MaxNewSize=256m -XX:MaxPermSize=256m -Djava.awt.headless=true 
eclipse及tomcat启动问题
许久没有回顾web方面的内容了,今天特地翻出来看了看,结果出现了意想不到的错误。 1.eclipse启动失败 下载好新的eclipse打开的时候报错: 上网百度了一下发现大部分说的是内存泄露的问题需要需要修改ini文件中初始分配的堆内存大小。以前使用别的版本的时候并没有发生这类的情况,半信半疑之下经过试验,发现果然不靠谱。之后根据弹出的详细错误信息“java was started bu...
eclipse启动Tomcat信息处理
在eclipse启动Tomcat时,Console栏中,有下面这样的提示信息,请问下各位,这是什么问题引起的呢,谢谢rnrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_08\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jdk1.5.0_08\bin;
eclipse下tomcat启动异常
我是一名初学者,最近在学习过程中遇到一个比较烦恼的问题,在eclipse下新建一个项目,运行时tomcat启动报如下的异常,而奇怪的是之前都正常运行过的,也不知道具体哪出了什么问题,请大侠们帮看看,小弟我不甚感激!rn2009-6-28 22:30:07 org.apache.tomcat.util.digester.SetPropertiesRule beginrn警告: [SetPropertiesRule]Server/Service/Engine/Host/Context Setting property 'source' to 'org.eclipse.jst.j2ee.server:FileManager' did not find a matching property.rn2009-6-28 22:30:07 org.apache.catalina.core.AprLifecycleListener initrn信息: Loaded APR based Apache Tomcat Native library 1.1.16.rn2009-6-28 22:30:07 org.apache.catalina.core.AprLifecycleListener initrn信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].rn2009-6-28 22:30:08 org.apache.coyote.http11.Http11AprProtocol initrn信息: Initializing Coyote HTTP/1.1 on http-8888rn2009-6-28 22:30:08 org.apache.coyote.ajp.AjpAprProtocol initrn信息: Initializing Coyote AJP/1.3 on ajp-8009rn2009-6-28 22:30:08 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 1133 msrn2009-6-28 22:30:08 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2009-6-28 22:30:08 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.18rn2009-6-28 22:30:09 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter Set Character Encodingrnjava.lang.NoClassDefFoundError: Filterrn at java.lang.ClassLoader.defineClass1(Native Method)rn at java.lang.ClassLoader.defineClass(ClassLoader.java:621)rn at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)rn at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1847)rn at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:249)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4363)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:578)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: java.lang.ClassNotFoundException: Filterrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn ... 25 morern2009-6-28 22:30:09 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2009-6-28 22:30:09 org.apache.catalina.core.StandardContext startrn严重: Context [/FileManager] startup failed due to previous errorsrn2009-6-28 22:30:09 org.apache.coyote.http11.Http11AprProtocol startrn信息: Starting Coyote HTTP/1.1 on http-8888rn2009-6-28 22:30:09 org.apache.coyote.ajp.AjpAprProtocol startrn信息: Starting Coyote AJP/1.3 on ajp-8009rn2009-6-28 22:30:09 org.apache.catalina.startup.Catalina startrn信息: Server startup in 1090 msrn
eclipse 不能启动tomcat????
Removing obsolete files from server..rnCould not clean server of obsolete files: nullrnjava.lang.NullPointerExceptionrnrn这是怎么一回事呢??不是myeclipse 是eclipse
eclipse启动tomcat的根目录
D:\workspace_ddt2\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ROOT
eclipse 不能启动 tomcat
我的eclipse启动不了tomcat了,点击没有任何反应,单独可以启动,以前在eclipse是可以启动,这是什么原因?
Tomcat在Eclipse下的启动
1上图是使用Tomcat所安装的位置进行启动
eclipse 启动 tomcat 异常
rn tomcat: apache-tomcat-7.0.54-windows-x86 绿色版rn eclipse: eclipse-jee-luna-R-win32 、 eclipse-jee-indigo-SR2-win32rn 直接在 $TOMCAT_HOME/bin 下双击 startup.bat 可以正常启动,无任何问题,rn 但是在 eclipse 中配置好之后,加入web工程,启动tomcat,就出现了下面的错误信息:rnrn  请问,这个问题怎么解决?rn
eclipse下tomcat启动不了
jdk是1.8,tomcat8,eclipse是最新版本,在eclipse下启动tomcat启动不起来,如果单独启tomca没问题rn[color=#FF0000]五月 28, 2015 3:42:27 下午 org.apache.catalina.core.AprLifecycleListener initrn严重: An incompatible version 1.1.9 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.32rn五月 28, 2015 3:42:27 下午 org.apache.catalina.core.AprLifecycleListener initrn严重: An incompatible version 1.1.9 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.32rn五月 28, 2015 3:42:27 下午 org.apache.catalina.core.AprLifecycleListener initrn严重: An incompatible version 1.1.9 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.32rn五月 28, 2015 3:42:27 下午 org.apache.catalina.core.AprLifecycleListener initrn严重: An incompatible version 1.1.9 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.32rn五月 28, 2015 3:42:27 下午 org.apache.tomcat.util.digester.SetPropertiesRule beginrn警告: [SetPropertiesRule]Server/Service/Engine/Host/Context Setting property 'source' to 'org.eclipse.jst.jee.server:TestMap' did not find a matching property.rn五月 28, 2015 3:42:27 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Server version: Apache Tomcat/8.0.23rn五月 28, 2015 3:42:27 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Server built: May 19 2015 14:58:38 UTCrn五月 28, 2015 3:42:27 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Server number: 8.0.23.0rn五月 28, 2015 3:42:27 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: OS Name: Windows 7rn五月 28, 2015 3:42:27 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: OS Version: 6.1rn五月 28, 2015 3:42:27 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Architecture: amd64rn五月 28, 2015 3:42:27 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Java Home: D:\Program Files\Java\jdk1.8.0_45\jrern五月 28, 2015 3:42:27 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: JVM Version: 1.8.0_45-b15rn五月 28, 2015 3:42:27 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: JVM Vendor: Oracle Corporationrn五月 28, 2015 3:42:27 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: CATALINA_BASE: D:\Program Files\apache-tomcat-8.0.23\webappsrn五月 28, 2015 3:42:27 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: CATALINA_HOME: D:\Program Files\apache-tomcat-8.0.23rn五月 28, 2015 3:42:27 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:51275rn五月 28, 2015 3:42:27 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dcatalina.base=D:\Program Files\apache-tomcat-8.0.23\webappsrn五月 28, 2015 3:42:27 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dcatalina.home=D:\Program Files\apache-tomcat-8.0.23rn五月 28, 2015 3:42:27 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dwtp.deploy=D:\Program Files\apache-tomcat-8.0.23\webapps\wtpwebappsrn五月 28, 2015 3:42:27 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Djava.endorsed.dirs=D:\Program Files\apache-tomcat-8.0.23\endorsedrn五月 28, 2015 3:42:27 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dfile.encoding=GBKrn五月 28, 2015 3:42:27 下午 org.apache.catalina.core.AprLifecycleListener initrn严重: An incompatible version 1.1.9 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.32rn五月 28, 2015 3:42:27 下午 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["http-nio-8088"]rn五月 28, 2015 3:42:27 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelectorrn信息: Using a shared selector for servlet write/readrn五月 28, 2015 3:42:27 下午 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["ajp-nio-8009"]rn五月 28, 2015 3:42:27 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelectorrn信息: Using a shared selector for servlet write/readrn五月 28, 2015 3:42:27 下午 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 1048 msrn五月 28, 2015 3:42:27 下午 org.apache.catalina.core.StandardService startInternalrn信息: Starting service Catalinarn五月 28, 2015 3:42:27 下午 org.apache.catalina.core.StandardEngine startInternalrn信息: Starting Servlet Engine: Apache Tomcat/8.0.23rn五月 28, 2015 3:42:28 下午 org.apache.catalina.util.SessionIdGeneratorBase createSecureRandomrn信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [182] milliseconds.rn五月 28, 2015 3:42:28 下午 org.apache.coyote.AbstractProtocol startrn信息: Starting ProtocolHandler ["http-nio-8088"]rn五月 28, 2015 3:42:28 下午 org.apache.coyote.AbstractProtocol startrn信息: Starting ProtocolHandler ["ajp-nio-8009"]rn五月 28, 2015 3:42:28 下午 org.apache.catalina.startup.Catalina startrn信息: Server startup in 648 ms[/color]
相关热词 c#检测非法字符 c#双屏截图 c#中怎么关闭线程 c# 显示服务器上的图片 api嵌入窗口 c# c# 控制网页 c# encrypt c#微信网页版登录 c# login 居中 c# 考试软件