一文读懂tomcat组件--一个web服务器的架构演化史
摘要:1. tomcat是谁? 2. tomcat可以做什么? tomcat是一个web容器,可以将web应用部署到tomcat,由它提供web服务,一个web容器中可以部署多个web应用,这些web应用可以是同一个域名,也可以是多个域名的服务。 3. tomcat有哪些组件 4.怎么快速理解这些组件呢?
阅读全文
posted @
2019-08-10 10:12
一天不进步,就是退步
阅读(546)
推荐(0) 编辑
编译Tomcat9源码及tomcat乱码问题解决
摘要:因工作原因,需要从根本上优化tomcat的配置,故准备从源码入手,看看可以做哪些工作。 1. tomcat下载 tomcat最新的版本为9,下载源码的方式有3种: 1/ 官方网站 https://tomcat.apache.org/download-90.cgi,下载如下zip或者tar.gz解压,
阅读全文
posted @
2019-07-22 19:18
一天不进步,就是退步
阅读(3703)
推荐(3) 编辑
tomcat:Could not publish to the server. java.lang.IndexOutOfBoundsException
摘要:1.将工程加入到tomcat,报上述错误 2. run--maven build 报jar包错误: invalid LOC header (bad signature) 3.根据提示找到上述jar包,然后删除掉,重写maven update 4.解决
阅读全文
posted @
2017-04-17 11:16
一天不进步,就是退步
阅读(3114)
推荐(0) 编辑
tomcat指定配置文件路径方法
摘要:1.在catalina.sh 中设置JAVA_OPTS,例如: JAVA_OPTS='-server -Xms1024m -Xmx1024m -XX:NewSize=128m -XX:MaxPermSize=256m -XX:MaxDirectMemorySize=256m -XX:+UseConc
阅读全文
posted @
2017-01-12 10:24
一天不进步,就是退步
阅读(5156)
推荐(0) 编辑
设置tomcat远程debug
摘要:查看端口占用情况命令: netstat -tunlp |grep 8000 tomcat 启动远程debug: startup.sh 中的最后一行 exec "$PRGDIR"/"$EXEXUTABLE" start "$@"中的start修改成 jpda start ,默认的调试端口是8000 ,
阅读全文
posted @
2017-01-05 23:06
一天不进步,就是退步
阅读(1212)
推荐(0) 编辑
publishing failed with multiple errors resource is out of sync with the file system--转
摘要:原文地址:http://blog.csdn.net/feng1603/article/details/7398266 今天用eclipse部署项目遇到"publishing failed with multiple errors resource is out of sync with the fi
阅读全文
posted @
2016-07-27 09:44
一天不进步,就是退步
阅读(2117)
推荐(0) 编辑
如何用eclispe远程调试tomcat--转载
摘要:原文地址:http://jingyan.baidu.com/article/0320e2c1f4ef6b1b87507b06.htmltomcat是一种非常常见的java web应用服务器,有时候服务器可能并不是部署在本地,而是部署在远程其他的机器上,我们用eclispe该如何进行debug调试呢?...
阅读全文
posted @
2015-04-15 08:55
一天不进步,就是退步
阅读(421)
推荐(0) 编辑
Building Tomcat7 source step by step---官方文档
摘要:Table of ContentsIntroductionDownload a Java Development Kit (JDK) version 6Install Apache Ant 1.8.1 or laterCheckout or obtain the source code for To...
阅读全文
posted @
2014-12-10 14:46
一天不进步,就是退步
阅读(374)
推荐(0) 编辑
jboss 7 as1 日志配置
摘要:原文地址:https://docs.jboss.org/author/display/AS71/Logging+ConfigurationOverviewThe overall server logging configuration is represented by the logging su...
阅读全文
posted @
2014-12-03 17:00
一天不进步,就是退步
阅读(2429)
推荐(0) 编辑
Enable Access Logs in JBoss 7 and tomcat--转
摘要:JBoss 7 is slightly different than earlier version JBoss 5 or 6. The procedure to enable access logs in JBoss 7 is also changed and you must be famili...
阅读全文
posted @
2014-12-03 16:39
一天不进步,就是退步
阅读(1426)
推荐(0) 编辑
jboss7 Java API for RESTful Web Services (JAX-RS) 官方文档
摘要:原文:https://docs.jboss.org/author/display/AS7/Java+API+for+RESTful+Web+Services+(JAX-RS)ContentTutorial OverviewWhat are RESTful Web Services?Creating ...
阅读全文
posted @
2014-11-18 09:47
一天不进步,就是退步
阅读(1729)
推荐(0) 编辑
RESTEasy + JBOSS 7 Hello world application---reference
摘要:RESTEasyis JBOSS provided implementation of JAX-RS specification for buildingRESTful Web Servicesand RESTful Java applications. Though this is not lim...
阅读全文
posted @
2014-11-18 09:27
一天不进步,就是退步
阅读(882)
推荐(0) 编辑
jboss7 加载module过程
摘要:1. 调试类:org.jboss.as.server.Main的main方法断点:Module.registerURLStreamHandlerFactoryModule(Module.getBootModuleLoader().loadModule(ModuleIdentifier.create(...
阅读全文
posted @
2014-10-16 18:07
一天不进步,就是退步
阅读(4065)
推荐(0) 编辑
jboss学习 - vfs---转载
摘要:jboss的VFS是为了解决什么问题,他为什么有用呢在jboss中有很多类似的资源操作的代码都分散在程序的各个地方,大多数情况下代码首先确定操作的资源的类型,比如是文件或者是文件夹,通过URL加载的资源等,在不同的代码中其中包含了相同的代码。例如public static URL[] search(...
阅读全文
posted @
2014-10-15 19:27
一天不进步,就是退步
阅读(1465)
推荐(0) 编辑
http to https automatic--weblogic/jboss/tomcat--reference
摘要:weblogicreference from:http://middlewaremagic.com/weblogic/?p=2019Many times we want to secure our WebApplication Resources in such a way that if any ...
阅读全文
posted @
2014-09-18 18:17
一天不进步,就是退步
阅读(1992)
推荐(0) 编辑
how to get file from classpath using jboss7.x.1 --reference
摘要:question:I want to convert smooksxml-java, so that i need to load source file frommobeeadmin.war/WEB-INF/sample.xml.Smooks smooks = new Smooks("/WEB-I...
阅读全文
posted @
2014-09-18 09:40
一天不进步,就是退步
阅读(386)
推荐(0) 编辑
跨域post请求实现方案小结--转
摘要:【名词解释】跨域:https://developer.mozilla.org/en-US/docs/JavaScript/Same_origin_policy_for_JavaScript同源策略(注意Network Access这一节):http://www.w3.org/Security/wik...
阅读全文
posted @
2014-09-17 17:21
一天不进步,就是退步
阅读(60596)
推荐(3) 编辑
Class loading in JBoss AS 7--官方文档
摘要:Class loading in AS7 is considerably different to previous versions of JBoss AS. Class loading is based on theJBoss Modulesproject. Instead of the mor...
阅读全文
posted @
2014-09-06 16:51
一天不进步,就是退步
阅读(8067)
推荐(0) 编辑
Tomcat: IllegalStateException: No output folder --reference
摘要:Today, I started to create a couple of JSP pages for the server-side part of my MSc thesis project in order to be able to output some meaningful stati...
阅读全文
posted @
2014-08-28 15:45
一天不进步,就是退步
阅读(1486)
推荐(0) 编辑
How to configure Gzip for JBoss?---refer
摘要:Question:I think to try to speed up my Web App by reducing the size of transferred data. For example, in Nginx there is a special module. How to enabl...
阅读全文
posted @
2014-08-25 19:09
一天不进步,就是退步
阅读(749)
推荐(0) 编辑