
应用中间件(jboss)
czp11210
长期专注在车载物联网领域,智慧交通行业;精通C/C++、Java、JavaScript等高级语言;钟情于各种开源技术框架,先后参与过各大航空公司的会员、交易、结算等业务体系开发,主持过移动快速开发平台的建设。
展开
-
JAAS概述以及Jboss安全性配置
Java 鉴别与授权服务(JAAS)JAAS(Java Authentication and Authorization Service)可以在Java 平台上提供用户身份鉴别。在Java 平台上,其功能是独一无二的。Java 安全设计的所有核心功能都是为了保护终端用户不受程序开发者的影响,由于终端用户为了使用开发者提供的程序,不得不满足其对本地资源的存取要求,这就要求 必须保证用户不受到转载 2013-05-25 18:23:07 · 1124 阅读 · 0 评论 -
boss7配置日志理论知识介绍
Jboss 7日志可以在XML配置文件和日志管理属性文件内配置。默认日志配置在configuration目录的logging.properties文件内。通常情况下,对于大多数安装,logging.properties内的默认值已经足够了。如要自定义日志类型,建议在xml配置文(standalone.xml或domain.xml文件,logging subsystem)内配置,可以定义7个转载 2016-07-20 14:53:20 · 1565 阅读 · 0 评论 -
在JBoss AS 7中将项目指定至'/'根目录
1.创建WEB-INF/jboss-web.xml文件,全部内容如下: Xml代码 xml version="1.0" encoding="UTF-8"?> jboss-web> context-root>/context-root> jboss-web> 2.修改/jboss-as-7.0.0.Final/standalo转载 2016-04-01 15:04:43 · 1711 阅读 · 0 评论 -
EJB体系结构
EJB应用基本方式就是容器/组件方式。容器对应于上述应用服务器,如Weblogic Server 8.1(使用见后)。由此可见,这里的组件指完成业务逻辑的软件,容器不仅是组 件运行环境,而且向组件提供的公共服务接口。前面介绍的Applet、Servlet在一定程度上就是这里所说的组件。支持它们运行的环境就是这里所说的容器。EJB组件包括远程接口、Home接口和企业Bean(也简称Bean)。E转载 2013-07-26 11:55:29 · 1848 阅读 · 0 评论 -
Possible concurrency problem: Replicated version id X matches in-memory version for session ...
The message basically is saying that a replicated session is overriding an existing session in that node. Quite often the version id is 1 but regardless of the version id, the problem is the same. Her原创 2013-07-17 14:49:10 · 1449 阅读 · 0 评论 -
关于Apache (httpd)服务器防DDOS模块mod_evasive的使用说明
测试表明:当mod_evasive在正常封掉某个ip时候,apache日志仍然会有访问记录; mod_evasive 的官方地址: http://www.zdziarski.com/ projectsmod_evasive wget http://www.zdziarski.com/blog/wp-content/uploads/2转载 2013-06-27 11:06:27 · 1020 阅读 · 0 评论 -
Apache mod proxy + Jboss + virtual hosting
I've just spent countless hours migrating from Orion Application server, java 1.4.2 and MySql 3.2 to latest version of apache, jboss 5.1 and Postgres.Now, migrating the database was pretty easy. 1转载 2013-06-07 11:47:15 · 1624 阅读 · 0 评论 -
How to get JBoss and Apache to work together
2009-12-10 下午5:05How to get JBoss and Apache to work togetherI have JBoss 5 loaded on a Win2k8 box along with Apache 2.2.14 and Coldfusion 9. I believe I'm having issues with Apache转载 2013-06-07 11:49:15 · 3923 阅读 · 0 评论 -
Using mod_proxy with http/https:
This wiki outlines the various steps required to install a basic load-balancing solution based on mod_proxy, mod_proxy_balancer and JBoss. Mod_proxy allows to use http/https and AJP protocols to proxy转载 2013-06-07 11:48:23 · 2785 阅读 · 0 评论 -
jboss安全设置
JBoss 作为开源领域的Number One容器,有着强大的功能,极高的稳定性,而且易用性良好。下载解压后,就可以直接使用。但它也像其它开源容器一样,由于缺少‘安装的过程’,导致在安全配置的不是很好。默认是全打开,所以如果直接将JBoss放到生产环境是不适合的。这就需要先进行详尽的安全设置。 没使用过JBoss可能想不到,因为JBoss拥有强大的控制界面,而且是多个转载 2013-06-01 09:17:42 · 1345 阅读 · 0 评论 -
jboss性能优化(一)
JBoss tuning tip 1: Tunethe garbage collectorOne strength of the J2SE platform isthat it shields the developer from the complexity of memory allocation.However, once garbage collection is the princi转载 2013-06-01 17:07:30 · 3832 阅读 · 0 评论 -
jboss性能相关(二)
This Performance tuning tutorial is updated to the release 4.x of the application server. If you want to learn all about JBoss 4.x-5.x-6.x Performance tuning, Optimal data Persistence, Clustering tu转载 2013-06-01 16:36:10 · 1448 阅读 · 0 评论 -
JBoss性能优化:内存紧张的问题终于解决了
昨天查了一天的资料,运气不错,收获不小,解决了一个老大难问题:JBoss内存紧张的问题。这是一个困扰了我两年整的问题,就是从前年这个时候,用JBoss 3.2.1架站以来,始终是一个大问题。不大的站点,1G的内存都不够用,经常要消耗500Mb的交换内存(swap)。原来是自己犯了非常低级的错误,不懂JAVA_OPTS各参数的含义造成的。之前的JAVA_OPTS是 -Xms 520m -转载 2013-05-31 15:07:24 · 3078 阅读 · 1 评论 -
基于Jboss日志组件按包名配置日志输出
1.本文背景 为了有效控制终端设备上传的原始数据,我们利用日志组件特性,把终端上传的任何信息都单独记录到日志文件里,以备追踪。2.配置Jboss日志进入 standalone.xml文件,配置蓝色字体部分 ......原创 2016-07-20 16:17:59 · 1201 阅读 · 0 评论