`
bawking
  • 浏览: 33558 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论
文章列表
10:59:09,203 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_18] - TransactionReaper::check timeout for TX -3f57fe7d:a4a:4e45e4af:2f4 in state  RUN 10:59:09,203 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id -3f57fe7d:a4a:4e45e ...
JMS的消息session接受后设置值进去会报  There is already a delivery set for auto ack :false。代码 session = connection.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE); 先改为   session = connection.createQueueSession(true, QueueSession.AUTO_ACKNOWLEDGE);试试,待会儿看结果 结果不行,暂时先换成2条消息发送
@SuppressWarnings("unchecked") public List<ReturnDidQuery> findAll(final int... rowStartIdxAndCount) { LogUtil.log("finding all ReturnDidQuery instances", Level.INFO, null); try { final String queryString = "select model from ReturnDidQuery model"; Query ...
从硬盘安装Linux/GNU操作系统,有不需要光盘驱动器及刻录光盘等便利特点,因而具有实用价值。本文描述了Windows XP环境下使用Grub4Dos进行硬盘安装Fedora/CentOS Linux操作系统的详细步骤和方法(Grub4Dos是大名鼎鼎的引导装载程序Grub在Dos/Windows环境版本,其基于Grub开发并对其功能进行了增强和扩充,具有更好的兼容性和适应性)。 1. 首先下载Fedora/CentOS Linux的光盘镜像(ISO文件,CD/DVD/LiveCD版的都行),把它们放在某个文件系统分区(Fat32/NTFS/Ext3类型不限)下。 2. 使用WinRA ...
大家在日常工作生活学习中难免遇见端口占用的问题,大家首先想到的是netstat,看见的是一个列表,何不加个参数呢?netstat -abon,just do it,会给你不一样的惊喜。
nyud.net代理:       http://developer.android.com.nyud.net/index.html http://androidappdocs.appspot.com/
    jboos版本发布之快,真是神速啊。各个版本之间总有些让人猝不及防的感觉,这不,启动jboss5.1GA版本的all,会发现一些端口被占用,1099,1090。。。。等等,有些在控制台就会提示是哪个端口位于哪个配置文件发生问题,这个直接去改改就ok,还有些是其他软件占用的,netstat -no -a可以看见,还有就是看不见的,发现server/nodeB/conf/bindingservice.beans/META-INF下面的bindings-jboss-beans.xml文件里可以找到很多,大多可以解决. jboss5目前支持配置多个实例,实现端口自增,网上有很多资料可寻(后续分享 ...
EJB30在发布时出现异常javax.naming.NameNotFoundException: RequestOmsQueue not bound platform:    Jboss 5.1GA(默认jms提供者为JBoss Messaging 1.4,而非JbossMQ) 服务器端:    package com.octawave.oms.trade.msg; import javax.ejb.ActivationConfigProperty; import javax.ejb.MessageDriven; import javax.jms.Message; import java ...
org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:86) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140) at org.hibernate.proxy.po ...
     由于偷懒,用MyEclipse连接ms sqlServer2008,然后反转生成了一些Entity,结果自动生成的Entity的注解@Table(name = "LineItem", schema = "dbo", catalog = "Order"),这样的话,生成的sql语句会带上Order.dbo.LineItem,这个时候数据库会报SQL Error: 156, SQLState: S0001,说用了ms sqlServer2008数据库的关键字(order by),这个时候讲注解@Table(name = " ...
在EJB3.0的业务方法中,我们可以一般都猜想,可以调用EntityManager的getTransaction()方法得到一个事务对象,然后再通过该事务的begin()、commit()方法,可以开启、提交事务,然后关闭连接。然而,在开发过程中却发现这样做会抛出异常:java.lang.IllegalStateException: Illegal to call this method from injected, managed EntityManager。 在Hibernate中,我们明明可以手动开启、提交事务的,为什么在EJB3.0中却不行呢?上网找了一下,终于发现了问题的所在。 原 ...
开发环境为:     jboss-5.1.0.GA     Microsoft SQL Server     sqljdbc4.jar jndi.Properties:     java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory     java.naming.provider.url=192.168.1.131:1099,192.168.1.170:1099     java.naming.factory.url.pkgs=org.jnp.interfaces persistence.xml:     &l ...
    今天在启动Eclipse,发现弹出提示框“ Failed to create the Java Virtual Machine”,我的eclipse版本为3.6,几经周折终于找到了解决办法,特与朋友们分享,方法如下: 确定jdk安装完好,并且环境变量没有问题的前提下,找到eclipse目录下的eclipse.ini,可以看到如下内容: -startup  plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar  --launcher.library  plugins/org.eclipse.equinox.launcher ...
大致步骤如下:    1。下载安装JDK    2。下载安装Eclipse    3。下载安装WTK    4。下载EclipseME插件,并安装    5。集成EclipseME到Eclipse 一。下载JDK      下载地址:http://www.oracle.com/technetwork/java/javase/downloads/index.html      配 ...
The list of Android books This 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 the “Android Book” page and I will update it regularly. 1. Android Developer’s Guide 2. Hello, Android ...
Global site tag (gtag.js) - Google Analytics