`
winnie825
  • 浏览: 118342 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
个人偏好原因,今后的博客将发表在 http://my.oschina.net/SEyanlei 有空常来看看~
新产品中在一些列表页面经常出现以下错误(为什么是列表,稍后解释) 网页错误详细信息 用户代理: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; qdesk 2.3.1186.202; QQDownload 718; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3) 时间戳: Mon, 8 Apr 2013 07:36:25 UTC 消 ...
        公司原来使用dbcp连接池连接数据库,但是在测试过程中发现dbcp存在连接未释放问题,导致数据库连接占满。         之后在proxool和c3p0之间,我们选择了前者,因为前者在相对后者效率会高一些(网上资料,时间原因,未做验证)。         产品支持多数据库,oracle下,一些正常,但是切换到sybase之后,程序启动开始报:   com.sybase.jdbc3.jdbc.SybSQLException: SET CHAINED command not allowed within multi-statement transaction. a ...
在sybase进行列更新语句时,可能会遇到这样的错误 无法执行语句。 The 'select into' database option is not enabled for database '#TABLE_NAME#'. ALTER TABLE with data copy cannot be done. Set the 'select into' database option and re-run. Sybase 错误代码=11052 Severity Level=16, State=1, Transaction State=1 第 2 行 alter table ...
1. transformer的作用     transformer将services间传递的message的payload转化为它们所需要的格式。   2. 配置transformer     2.1 配置分类         transformer分为locally(本地的)和globally(全局)。当transformer在endpoint上或flow中,它是locally的,而transformer配置在<modle>或<flow>标签之前,它是globally的。       2.2 transformer链         用户可以使用多 ...
1. filter的作用     filter指定了能够被service转发(routed)或是进一步被flow所处理的message所需要满足的条件。   2. filter分类     Mule3的用户开发手册中,将filter分为三大类:Standard Filters、Transport and Module Filters、Custom Filters。       2.1 Standard Filters     结构:     |-Payload Type Filter     |-Expression Filter        |-- XPath Ex ...
  Java Component     参考Mule的用户开发手册,component分为三类:Simple Components、Java Components、Other Components。《Mule ESB的component(二)》涉及了Simple Components和Other Components(没有详细介绍),这篇将介绍Java Components,也就是我们常说的自定义Components。   1. 示例:     Java Components主要处理业务逻辑,它通过实现Mule不同的接口,从而提供符合业务逻辑的方法入口,其中org.mule.api. ...
一 Mule自带的component 打开mule的核心jar包mule-core-3.0.0.jar,可以看到如下结构,期中simple中的component即mule自带的component:       1. bridge component     mule中的每一个service中都会包含一个bridge component,它被隐式的引用了:      定义:This is the bridge component. As its name suggests, it bridges its inbound router to its outbound router ...
  1. Component(组件)的定义:   Components are at the core of Mule services: each service hosts a component. This components is the destination for messages after they have been received by the inbound endpoint, unless filtering or forwarding router is used. Component(组件)是mule的核心:每一个services都拥有一个compone ...
1. ActiveMQ的连接池 ActiveMQ提供了PoolConnectionFactory、PoolConnection等实现连接池功能,连接池是供对connection、session、producer的“池”,PoolConnectionFactory的类注释说明的原因:   <b>NOTE:</b> while this implementation does allow the creation of a collection of active consumers, it does not 'pool' consumers. Pooling ma ...
使用递归和非递归方式实现fibonacci数列,从输出结果分析:递归的执行效率低。 package com.sg.fibonacci; public class FibonacciMain { public static void main(String[] args) { int num = 40; long begin = 0l; long end = 0l; begin= System.currentTimeMillis(); System.out. ...
  Clover使用简介 什么是Clover Clover是一款收费的代码覆盖率查询插件,它可以配合JUnit等测试插件,对代码测试结果进行分析说明。 官方首页:http://www.atlassian.com/software/clover 下载安装(MyEclipse6.5为例) Step1 在官方网站,根据IDE选择合适的安装包 下载后的安装包名称为com.cenqua.clover.updatesite_3.1.5.v20120425000000.zip(2012-06-30信息) Step2 使用Find and Install…方式安装,具体步骤参照下图 ...
<html> <head> <title>a_test.html</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <script type="text/javascript"> function doClick(){ self.location.href="MyHtm ...
  产生原因: utf-8编码的工程,使用editplus为首(其他文本编译器也可能出现)的文本编辑器打开并保存java文件时,编辑器会在文件头部添加三个不可见的字符(0xEF 0xBB 0xBF,即BOM),此时的java文件在导出doc文件时报错。   解决方案: 1) 杜绝使用非eclipse工具编辑java代码; 2) 对已经出现问题的文件,可以使用重新生成文件的方式,删除默认的头信息。复制原有代码后删除原有文件,新建同名java类,将除了第一行之外的代码粘入新java文件,这样可以去掉开始的BOM标记。
  该问题是因为需要导出的源码文件中使用的http包中的相关内容,需要在在工程的.classpath文件中添加对象的jar包。   1) 手动修改,在工程根目录中编辑.classpath文件,添加所需的jar包 Jar包位置: Tomcat6安装目录中/lib文件内的servlet-api.jar和jsp-api.jar Tomcat5 安装目录中/common/lib文件内的servlet-api.jar和jsp-api.jar 标签格式: 路径根据tomcat版本和安装目录选择,样例: <classpathentry kind="lib" pat ...
Global site tag (gtag.js) - Google Analytics