Tag: tomcat7

Apache 2.4configuration为ssl不能正常工作

Apache服务器2.4与mod_jk 1.3.7不适用于ssl(https) 错误1: 名为Apache的服务报告了以下错误: SSLSessionCache:'shmcb'会话caching不支持(已知名称:)。 也许你需要加载相应的socache模块(mod_socache_shmcb?)。 错误2: 错误应用程序名称:httpd.exe,版本:2.4.4.0,时间戳:0x512fec36错误模块名称:mod_jk.so,版本:1.2.37.0,时间戳:0x4fc48072错误代码:0xc0000005错误偏移量:0x000000000000752d错误进程ID:0x3580错误应用程序启动时间:0x01cee6d2be493d71错误的应用程序path:C:\ Program Files \ Apache Software Foundation \ Apache2.4 \ bin \ httpd.exe错误模块path:C:\ Program Files \ Apache Software Foundation \ Apache2.4 \ modules \ mod_jk。所以报告编号:f8d090fa-52c6-11e3-bce9-e4d53d737212 我们的httpd_ssl.confconfiguration如下: Listen 443 SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5 SSLPassPhraseDialog builtin SSLSessionCache "shmcb:C:/Program Files/Apache Software Foundation/Apache2.4/logs/ssl_scache(512000)" SSLSessionCacheTimeout 300 <VirtualHost _default_:443> DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.4/htdocs" ServerName 127.0.0.1:443 […]

Eclipse 4.2(Juno)在Tomcat 7中,“无法使用所选types创build服务器”

我已经安装了: 日食juno java-6-openjdk-i386(在Eclipse中select默认的JRE) 的java -7-的openjdk-I386 当我尝试在Eclipse中添加一个新的Tomcat7服务器时,我收到了这个消息 '使用所选types无法创build服务器' 我无法继续。 joinTomcat6服务器没问题。 我读了这个问题,但它没有奏效类似的问题

jenkins自动部署tomcat 7

我们正在试图与jenkins部署一个战争档案,但似乎没有发生。 该项目已经成功build立,我们正在使用Jenkins部署插件。 它configuration有以下选项: 后续步骤设置为“无论生成结果运行”。 我检查了凭据是正确的,因为我可以访问我的浏览器中的经理页面。 这是Jenkins(Maven)输出的最后一部分: [INFO] ———————————————————————— [INFO] BUILD SUCCESS [INFO] ———————————————————————— [INFO] Total time: 1:24.506s [INFO] Finished at: Tue Feb 14 12:10:45 UTC 2012 [INFO] Final Memory: 22M/52M [INFO] ———————————————————————— channel stopped Finished: SUCCESS 我也可以将WAR / EAR文件更改为不存在的东西,它不会给我错误,这有点奇怪。 我在这里做错了什么?

如何在Tomcat中将级别日志logging设置为DEBUG?

我想在tomcat中设置级别日志logging到DEBUG,但是在控制台中只有INFO和WARN输出。 有谁能告诉我什么是错的? 我的C:\ tomcat \ logging.properties: # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional DEBUGrmation regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you […]

无法在Tomcat 7中完全取消部署Web应用程序

我正在使用tomcat 7中的pipe理器应用程序,我无法完全取消部署应用程序。 它说FAIL – Unable to delete [F:\apache-tomcat-7.0.33\webapps\balaji]. The continued presence of this file may cause problems. FAIL – Unable to delete [F:\apache-tomcat-7.0.33\webapps\balaji]. The continued presence of this file may cause problems. 我在某个地方读了它,因为有些现象称为内存泄漏,如果我们解决了这个问题,问题就会解决。 谁能告诉我这是什么内存泄漏在tomcat 7,我们如何解决? 我正在使用Windows 7操作系统。 如果我能解决这个问题,我的un-deploy和re-deploy过程会顺利吗?

Tomcat 7:如何正确设置初始堆大小?

我试图通过在catalina.sh中添加以下行来调整tomcat 7(CentOS,java -version:1.6.0_25-b06)实例的初始堆大小: export CATALINA_OPTS="-Xms=512M -Xmx=1024M" 启动tomcat失败并将以下消息logging到catalina.out: Invalid initial heap size: -Xms=512m Could not create the Java virtual machine. 这些选项有什么问题?

Eclipse 3.7(Indigo)+ Tomcat7 – 无法使用所选types创build服务器

build立: Eclipse 3.7 +靛蓝更新站点的WEB工具 Tomcat7 Ubuntu的 问题: 当我尝试在Eclipse中的服务器透视图中添加一个新的Tomcat 7服务器时,出现以下错误: "Cannot create a server using the selected type" 我如何解决这个问题?

jar没有加载。 请参阅Servlet规范2.3,第9.7.2节。 违规类:javax / servlet / Servlet.class

我正在运行一个Maven项目,这也是一个dynamic的Web项目。 我已经在maven中使用了所有的spring库。 我创build了web.xml ,但是当我启动我的tomcat 7服务器时,我收到以下消息: INFO: validateJarFile(C:\Users\mibvzd0\workspace\.metadata\.plugins\ org.eclipse.wst.server.core\tmp2\wtpwebapps\hapi_hl7\WEB-INF\lib\ servlet-api-2.4.jar) – jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class 我尝试从webapp / lib删除servlet,但没有奏效。 让我知道我应该怎么做。

在Web应用程序中暴露jar文件中的资源(Tomcat7)

前段时间,我读了一篇文章,预计在Servlet API 3.0中。 我记得我读过,你可以将一些.jsp文件保存在/WEB-INF/lib/somelib.jar/META-INF/web/ .jsp文件中 ,这些资源将暴露给Web应用程序的上下文根。 我刚刚安装了Tomcat7来尝试,但我没有发现任何文档,我可以把一些networking资源在jar文件。 这个特性是否存在于servlet api 3.0中? 这个function是否存在于tomcat 7.0中? 在/lib/*.jar文件中是否有另一种方法来使用jsp文件?

org.apache.tomcat.util.bcel.classfile.ClassFormatException:常量池中的无效字节标记:15 – Tomcat 7,JDK不兼容?

我尝试升级到Java 8.当启动我们的tomcat7服务器,与Java 7编译的.war文件,我得到下面的神秘错误。 我应该期望这个工作吗? 这个职位说,tomcat 7应该与1.6和以上。 我不知道Tomcat是否应该归咎于.war。 切换出不同的Java版本: 安装了JDK 7.45 – works(用于编译.war的相同版本) JDK 7.55安装 – 失败如下 JDK 8.05安装 – 失败如下 是指责tomcat,还是.war? Caused by: org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 15 at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:131) at org.apache.tomcat.util.bcel.classfile.ConstantPool.<init>(ConstantPool.java:60) at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:209) at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:119) at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2032) at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1923) at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1891) at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1877) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1270) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:855) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:345) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) […]