Oracle-ds.xml中是如下配置: <datasources> <local-tx-datasource> <jndi-name>jdbc/mydatasource </jndi-name> <connection-url>jdbc:oracle:thin:@192.168.18.7:1521:hrgl </connection-url> <driver-class>oracle.jdbc.driver.OracleDriver </driver-class> <user-na ...
org.springframework.context.NoSuchMessageException: No message found under code 'userinfo' for locale 'zh_CN'. 代码如下: ApplicationContext ctx = new FileSystemXmlApplicationContext("/src/applicationContext.xml"); Object[] arg = new Object[]{"tzw",Calendar.getInstance().getTime( ...
  • 17:20
  • 浏览 (487)
  • 评论 (2)
2007-06-04

关于TimedOutException

关键字: weblogic
今天一过来,更新个人信息时,出现异常: java.sql.SQLException: The transaction is no longer active - status: 'Rolling Back. [Reason=weblogic.transaction.internal.TimedOutException: Transaction timed out after 32 seconds BEA1-0125C0B87670F93BF05F]'. No further JDBC access is allowed within this transaction. at weblo ...
2007-05-28

native2ascii

关键字: j2ee
新建一个工程,新建一个test.properties: userinfo = 登陆名为:[{0}]登陆时间为:[{1}] 保存 使用native2ascii native2ascii test.properties msg.txt 得到: ??????[{0}]????[{1}] 查看工程里的test文件: ??????[{0}]????[{1}] 发现在对test进行编码转化时,已经就出现问题,尝试其他方法解决: 1、将native2ascii放入path 2、执行以下命令(要转化的文件): del ApplicationResources_zh_CN.propert ...
  • 10:07
  • 浏览 (307)
  • 评论 (0)
deepass
搜索本博客
博客分类
最近加入圈子
存档
最新评论