- 博客(23)
- 收藏
- 关注
com.arjuna.ats.arjuna.coordinator.TransactionReaper
10:59:09,203 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_18] - TransactionReaper::check timeout for TX -3f57fe7d:a4a:4e45e4af:2f4 in state RUN10:59:09,203 WARN [arjL...
2011-08-13 11:21:39
543
There is already a delivery set for auto ack :false
JMS的消息session接受后设置值进去会报 There is already a delivery set for auto ack :false。代码session = connection.createQueueSession([color=red]false[/color], QueueSession.AUTO_ACKNOWLEDGE);先改为 session = c...
2011-07-19 14:53:52
205
No Dialect mapping for JDBC type: -1
@SuppressWarnings("unchecked") public List findAll(final int... rowStartIdxAndCount) { LogUtil.log("finding all ReturnDidQuery instances", Level.INFO, null); try { final String queryStrin...
2011-07-18 13:58:37
179
原创 Grub4Dos硬盘安装Fedora/CentOS Linux操作系统
从硬盘安装Linux/GNU操作系统,有不需要光盘驱动器及刻录光盘等便利特点,因而具有实用价值。本文描述了Windows XP环境下使用Grub4Dos进行硬盘安装Fedora/CentOS Linux操作系统的详细步骤和方法(Grub4Dos是大名鼎鼎的引导装载程序Grub在Dos/Windows环境版本,其基于Grub开发并对其功能进行了增强和扩充,具有更好的兼容性和适应性)。 1...
2011-07-15 09:57:37
273
windows端口占用详细查看
大家在日常工作生活学习中难免遇见端口占用的问题,大家首先想到的是netstat,看见的是一个列表,何不加个参数呢?netstat -abon,just do it,会给你不一样的惊喜。...
2011-06-09 14:55:25
105
android官网访问2方法
nyud.net代理: http://developer.android.com.nyud.net/index.htmlhttp://androidappdocs.appspot.com/
2011-05-30 22:09:57
205
jboss5.1GA 端口异常小计
jboos版本发布之快,真是神速啊。各个版本之间总有些让人猝不及防的感觉,这不,启动jboss5.1GA版本的all,会发现一些端口被占用,1099,1090。。。。等等,有些在控制台就会提示是哪个端口位于哪个配置文件发生问题,这个直接去改改就ok,还有些是其他软件占用的,netstat -no -a可以看见,还有就是看不见的,发现server/nodeB/conf/bindingserv...
2011-05-21 02:08:15
149
原创 jboss message driver bean:NameNotFoundException
EJB30在发布时出现异常javax.naming.NameNotFoundException: RequestOmsQueue not boundplatform: Jboss 5.1GA(默认jms提供者为JBoss Messaging 1.4,而非JbossMQ)服务器端: package com.octawave.oms.trade.msg;im...
2011-05-19 11:10:43
167
原创 could not initialize proxy - no Session
org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:86) at org.hibernate.proxy...
2011-05-17 15:32:41
135
SQL Error: 156, SQLState: S0001
由于偷懒,用MyEclipse连接ms sqlServer2008,然后反转生成了一些Entity,结果自动生成的Entity的注解@Table(name = "LineItem", schema = "dbo", catalog = "Order"),这样的话,生成的sql语句会带上Order.dbo.LineItem,这个时候数据库会报SQL Error: 156, SQLState...
2011-05-17 15:01:40
2424
原创 ejb3:Illegal to call this method from injected, managed EntityManager
在EJB3.0的业务方法中,我们可以一般都猜想,可以调用EntityManager的getTransaction()方法得到一个事务对象,然后再通过该事务的begin()、commit()方法,可以开启、提交事务,然后关闭连接。然而,在开发过程中却发现这样做会抛出异常:java.lang.IllegalStateException: Illegal to call this method from...
2011-05-17 14:55:03
135
ejb3:Unable to build EntityManagerFactory
开发环境为: jboss-5.1.0.GA Microsoft SQL Server sqljdbc4.jarjndi.Properties: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=192.16...
2011-05-17 14:45:43
547
解决Eclipse"Failed to create the Java Virtual Machine"
今天在启动Eclipse,发现弹出提示框“ Failed to create the Java Virtual Machine”,我的eclipse版本为3.6,几经周折终于找到了解决办法,特与朋友们分享,方法如下: [color=blue]确定jdk安装完好,并且环境变量没有问题的前提下[/color],找到eclipse目录下的eclipse.ini,可以看到如下内容:-sta...
2011-05-16 08:46:49
172
J2ME环境搭建
大致步骤如下: 1。下载安装JDK 2。下载安装Eclipse 3。下载安装WTK 4。下载EclipseME插件,并安装 5。集成EclipseME到Eclipse一。下载JDK 下载地址:http://www.oracle.com/technetwork/java/javase/downloads/index.html ...
2011-05-07 10:40:37
145
The list of Android books
The list of Android booksThis is a simple list of Android books I have found, if you found any other Android book not in here, pls tell me. The details info of these Android books is maintained in t...
2011-05-05 14:30:11
192
adb常用命令
adb shell下使用命令行删除android系统中指定文件和文件夹D:\Program Files\android-sdk-windows\platform-tools>adb remountD:\Program Files\android-sdk-windows\platform-tools>adb shell#su#cd system/sd/data //进入系统内指定...
2011-05-04 21:58:29
115
原创 初看Java容器的艺术(待续)
接口关系 0上层接口为:Collection & Map Collection:Set、List、Queue; Set:HashSet、TreeSet List:ArrayList、Vector、LinkedList、 Queue:LinkedList、PriorityQueue、Linke...
2011-05-04 14:31:12
105
原创 Java集合容器总结
按数据结构主要有以下几类: 1,内置容器:数组 2,list容器:Vetor,Stack,ArrayList,LinkedList, CopyOnWriteArrayList(1.5),AttributeList(1.5),RoleList(1.5),RoleUnresolvedList(1.5), ConcurrentLinkedQueue(1.5),ArrayBlock...
2011-05-04 13:32:24
100
原创 android
Android - 反编译android apk文件Yes or Not?主要目的: 学习优秀的软件设计,解决封闭包特定问题邪恶的做法:去除广告,修改别人的软件包名,重新打包发布。有争议的: 中文汉化注意 请遵循Google相关协议和相关法律法规反编译apk工具目前有几种工具:sma...
2011-05-01 19:35:17
225
原创 java
过滤器和拦截器的区别1、拦截器是基于java的反射机制的,而过滤器是基于函数回调 2、过滤器依赖与servlet容器,而拦截器不依赖与servlet容器 3、拦截器只能对action请求起作用,而过滤器则可以对几乎所有的请求起作用 4、拦截器可以访问action上下文、值栈里的对象,而过滤器不能 5、在action的生命周期中...
2011-04-02 10:24:31
107
原创 java
Struts1和Struts2的区别和对比Struts1和Struts2的区别和对比:Action 类: • Struts1要求Action类继承一个抽象基类。Struts1的一个普遍问题是使用抽象类编程而不是接口。 • Struts 2 Action类可以实现一个Action接口,也可实现其他接口,使可选和定制的服务成为可能。S...
2011-04-02 10:23:03
80
原创 linux
linux定时任务的设置为当前用户创建cron服务1. 键入 crontab -e 编辑crontab服务文件 例如 文件内容如下: */2 * * * * /bin/sh /home/admin/jiaoben/buy/deleteFile.sh 保存文件并并退出 */2 * * * * /bin/sh /h...
2011-04-02 10:03:03
352
原创 把Android源代码加入SDK
各位调试Android程序的时候遇到“source not found”错误应该很抓狂吧,Goolge在发布SDK时没有把源代码包含进去着实有点让人费解,对很多人来说Git无疑是个生涩的东西,而 framework中所有Java代码加起来打个包也就是20多MB。更要命的是,Android Eclipse plugin (ADT)不允许我们在项目属性中attach源代码到android.jar上。好...
2009-12-25 14:48:10
94
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人