摘要: 想通过请求触发部署在tomcat上的非java应用程序,需要用到Common Gateway Interface(CGI)。Tomcat提供了Servlet CGI支持。 修改web.xml 修改web.xml web.xml配置文件中默认注释了CGIServlet,只需要打开注释即可。修改apac 阅读全文
posted @ 2019-12-19 15:00 cloudyland 阅读(1360) 评论(0) 推荐(0) 编辑
摘要: By way of wsadmin command:/bin/>wsadmin -conntype NONEwsadmin>securityoffwsadmin>exitRestart the servers.Enable the security from administrative conso... 阅读全文
posted @ 2014-09-05 13:41 cloudyland 阅读(2010) 评论(0) 推荐(0) 编辑
摘要: singleton:单例模式,针对每个spring容器,只有一个该类的实例被管理,每次调用此实例都是同一个对象被返回,所以适用于无状态bean。默认情况下,singleton作为spring容器中bean的作用域。prototype:针对每一次bean调用,注入或者程序中显式调用getBean(..... 阅读全文
posted @ 2014-04-21 17:36 cloudyland 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 1.配置类注解@Configuration.2.Bean注解 @Bean.3.导入其他配置类@Import.4.回调函数@Bean(initMethod = "init", destroyMethod = "cleanup" )5.作用范围 @Scope("prototype")6.例子publi... 阅读全文
posted @ 2014-04-21 10:57 cloudyland 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 1.通过MessageSender客户化http连接参数 AbstractHttpWebServiceMessageSender有若干实现子类: - CommonsHttpMessageSender(deprecated) - HttpComponentsMessageSender - HttpUrlConnectionMessageSender2.CommonsHttpMessageSender2.1 CommonsHttpMessageSender需要依赖于Apache httpclient包 commons-httpclient commons-httpclien... 阅读全文
posted @ 2014-04-01 21:55 cloudyland 阅读(1204) 评论(1) 推荐(0) 编辑
摘要: 配置文件位置:[Jrules install location]/shared/tools/AppServerCommunityEdition/var/config 阅读全文
posted @ 2014-04-01 14:52 cloudyland 阅读(172) 评论(0) 推荐(0) 编辑
摘要: Call back add: git reset HEAD Call back all add:git reset HEAD .Commit log: git reflog -[number]Back to specific commit: git reset --hard [commit hash... 阅读全文
posted @ 2014-03-05 09:32 cloudyland 阅读(314) 评论(0) 推荐(0) 编辑
摘要: Mybatis SQL map配置中出现小于号转义时,通过解决。EXCEMPLE: 阅读全文
posted @ 2014-03-02 01:07 cloudyland 阅读(535) 评论(0) 推荐(0) 编辑
摘要: start service:mysqld --console;start client: mysql -uroot -proot;check server version: show variables like '%version%';check status: status or show veriables like '%char%';change charset: SET character_set_client='utf8'; SET character_set_connection='utf8'; SET charac 阅读全文
posted @ 2014-01-21 21:06 cloudyland 阅读(204) 评论(0) 推荐(0) 编辑
摘要: Check ports:mqsiprofile//Run this firstmqsireportproperties MB8BROKER -e AddressSampleProvider -o HTTPConnector -n port //View the port of provider 阅读全文
posted @ 2014-01-21 21:05 cloudyland 阅读(111) 评论(0) 推荐(0) 编辑