ubuntu14.4(64)+eclipse4.4+tomcat7问题

软件和网站开发以及相关技术探讨
回复
1287081396
帖子: 1
注册时间: 2014-08-18 16:54
系统: ubuntu14.4

ubuntu14.4(64)+eclipse4.4+tomcat7问题

#1

帖子 1287081396 » 2014-08-18 19:54

问题1:第一次用linux环境做开发,搭建了java环境,通过eclipse将项目发布到tomcat中,启动项目,发现一个项目agent重复部署了2次?
八月 18, 2014 7:44:35 下午 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64八月 18, 2014 7:44:35 下午 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
八月 18, 2014 7:44:35 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:agent' did not find a matching property.
八月 18, 2014 7:44:36 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
八月 18, 2014 7:44:36 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
八月 18, 2014 7:44:36 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2168 ms
八月 18, 2014 7:44:36 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
八月 18, 2014 7:44:36 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.52
八月 18, 2014 7:44:36 下午 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(/opt/tomcat/webapps/agent/WEB-INF/lib/servlet-api-2.3.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
log4j:ERROR Parsing error on line 46 and column 23
log4j:ERROR 文档中必须包含标识符为 "STDOUT" 的元素。
log4j:ERROR No appender named [STDOUT] could be found.
八月 18, 2014 7:44:47 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext

.......

八月 18, 2014 7:45:26 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring FrameworkServlet 'springapp'
八月 18, 2014 7:45:28 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory /opt/tomcat/webapps/ROOT
八月 18, 2014 7:45:28 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory /opt/tomcat/webapps/agent
八月 18, 2014 7:45:28 下午 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(/opt/tomcat/webapps/agent/WEB-INF/lib/servlet-api-2.3.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
log4j:ERROR Parsing error on line 46 and column 23
log4j:ERROR 文档中必须包含标识符为 "STDOUT" 的元素。
log4j:ERROR No appender named [STDOUT] could be found.
八月 18, 2014 7:45:35 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext


问题2:之前一直在windows下用myeclipse,现在ubuntu下整合tomcat很迷糊。有没有大侠有详细的步骤,我好对照一下。网上有很多人写的步骤我也参考了,没用啊。
头像
lhw828
帖子: 2797
注册时间: 2007-03-15 16:58
来自: 湖北武汉
联系:

Re: ubuntu14.4(64)+eclipse4.4+tomcat7问题

#2

帖子 lhw828 » 2014-10-25 8:36

有一键安装的吧
whohome
帖子: 7
注册时间: 2015-08-14 19:42
系统: ubuntu

Re: ubuntu14.4(64)+eclipse4.4+tomcat7问题

#3

帖子 whohome » 2015-08-14 20:33

我也是刚开始玩 现在基本上解决这三个的问题了
回复