This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 246470 - 发布web项目 tomcat部署启动了两次
Summary: 发布web项目 tomcat部署启动了两次
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-15 06:53 UTC by xiaoping1006
Modified: 2014-08-20 09:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE 日志 (82.05 KB, text/plain)
2014-08-15 06:53 UTC, xiaoping1006
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xiaoping1006 2014-08-15 06:53:33 UTC
Using CATALINA_BASE:   "F:\WEBSERVER\apache-tomcat-6.0.41\apache-tomcat-6.0.41"
Using CATALINA_HOME:   "F:\WEBSERVER\apache-tomcat-6.0.41\apache-tomcat-6.0.41"
Using CATALINA_TMPDIR: "F:\WEBSERVER\apache-tomcat-6.0.41\apache-tomcat-6.0.41\temp"
Using JRE_HOME:        "E:\JAVA\jdk1.6.0_45"
Using CLASSPATH:       "F:\WEBSERVER\apache-tomcat-6.0.41\apache-tomcat-6.0.41\bin\bootstrap.jar"
Listening for transport dt_shmem at address: tomcat_shared_memory_id
2014-8-15 14:51:05 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.30 using APR version 1.4.8.
2014-8-15 14:51:05 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2014-8-15 14:51:06 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized with version OpenSSL 1.0.1g 7 Apr 2014
2014-8-15 14:51:06 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2014-8-15 14:51:06 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2014-8-15 14:51:06 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1112 ms
2014-8-15 14:51:06 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2014-8-15 14:51:06 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.41
2014-8-15 14:51:06 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2014-8-15 14:51:07 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2014-8-15 14:51:07 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor ROOT.xml
2014-8-15 14:51:07 org.apache.catalina.core.StandardContext addApplicationListener
信息: The listener "org.springframework.web.util.IntrospectorCleanupListener" is already configured for this context. The duplicate definition has been ignored.
初始化用户分组!
/E:/work/work_netbeans/gov_weixin/build/web/WEB-INF/classes/
文件最后修改时间:1408084271391
初始化配置信息......
配置文件路径:/E:/work/work_netbeans/gov_weixin/build/web/WEB-INF/classes/
log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.
使用临时文件中的AccessToken.....
请求成功
请求成功
SLF4J: This version of SLF4J requires log4j version 1.2.12 or later. See also http://www.slf4j.org/codes.html#log4j_version
Hibernate: select this_.ID_ as ID1_26_0_, this_.ROLE_NAME as ROLE2_26_0_, this_.DEFAULT_ROLE as DEFAULT3_26_0_, this_.DESCRIBE_ as DESCRIBE4_26_0_, this_.ROLE_TYPE as ROLE5_26_0_, this_.TOJSON as TOJSON26_0_, this_.IDS as IDS26_0_, this_.ROLE_TEXT as ROLE8_26_0_ from SYS_ROLE this_
2014-8-15 14:51:19 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2014-8-15 14:51:19 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2014-8-15 14:51:19 org.apache.coyote.http11.Http11AprProtocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2014-8-15 14:51:19 org.apache.coyote.ajp.AjpAprProtocol start
信息: Starting Coyote AJP/1.3 on ajp-8009
2014-8-15 14:51:19 org.apache.catalina.startup.Catalina start
信息: Server startup in 13053 ms
2014-8-15 14:51:23 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2014-8-15 14:51:23 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.
2014-8-15 14:51:23 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [startQuertz_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
2014-8-15 14:51:23 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [startQuertz_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
2014-8-15 14:51:23 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [Resource Destroyer in BasicResourcePool.close()] but has failed to stop it. This is very likely to create a memory leak.
2014-8-15 14:51:24 org.apache.catalina.startup.HostConfig checkResources
信息: Undeploying context []
2014-8-15 14:51:25 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor ROOT.xml
2014-8-15 14:51:25 org.apache.catalina.core.StandardContext addApplicationListener
信息: The listener "org.springframework.web.util.IntrospectorCleanupListener" is already configured for this context. The duplicate definition has been ignored.
初始化用户分组!
/E:/work/work_netbeans/gov_weixin/build/web/WEB-INF/classes/
文件最后修改时间:1408084271391
初始化配置信息......
配置文件路径:/E:/work/work_netbeans/gov_weixin/build/web/WEB-INF/classes/
log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.
使用临时文件中的AccessToken.....
请求成功
请求成功
SLF4J: This version of SLF4J requires log4j version 1.2.12 or later. See also http://www.slf4j.org/codes.html#log4j_version
Hibernate: select this_.ID_ as ID1_26_0_, this_.ROLE_NAME as ROLE2_26_0_, this_.DEFAULT_ROLE as DEFAULT3_26_0_, this_.DESCRIBE_ as DESCRIBE4_26_0_, this_.ROLE_TYPE as ROLE5_26_0_, this_.TOJSON as TOJSON26_0_, this_.IDS as IDS26_0_, this_.ROLE_TEXT as ROLE8_26_0_ from SYS_ROLE this_
2014-8-15 14:51:39 org.apache.catalina.core.StandardContext start
信息: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/] has already been started
Comment 1 xiaoping1006 2014-08-15 06:53:44 UTC
Created attachment 148712 [details]
IDE 日志
Comment 2 Jiri Kovalsky 2014-08-15 09:43:59 UTC
We are sorry but we don't speak Chinese. Please file only English bug reports.

Google Translate however suggests that your Tomcat application server was started twice. Is it what you complain about? Do you have any steps to reproduce? What kind of web application is that? Ant or Maven? Can you attach screenshot of the IDE containing "Services > Servers" expanded and Output window visible?