`
文章列表
This has been identified as a JVM compiler (HotSpot) bug in that particular version of the JVM.You can either:1. Revert to Sun JVM 1.5.0_5 (which does not appear to have the problem)2. Remove the method from JIT compliation:This is done by creating a ".hotspot_compiler" file where java is c ...
http://www.oracle.com/technetwork/java/javase/index-137495.html#gbyzu    
There is a strong change that you're hitting hotspot compiler bug.Check following docs:http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/gbyzx.html#gbyzuhttp://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6411717Availabe workarounds are:1. Switch to client compiler: -server --> -client ...
错误信息: java.io.IOException: Invalid header signature; read 4503608217567241, expected -2226271756974174256 上网查阅后得到如下解决方案: 用POI读取Excel文件时报错。通常的原因是读取的文件头信息不对,可能是类似于将txt文件的后缀名直接改成xls,或者由其他软件导出成的Excel(那导出的软件本身写的不好),需要用Excel打开(如果能打的开的话)然后另存为一下,就可以读取了
http://hi.baidu.com/on_java/blog/item/a578e500e3a4e3dc277fb5fb.html Oracle中的varchar2对象最多只能存4000个字节,对于要进行大批量字符对象的存储来说显然是远远不够的,这时就需要用到CLOB。 Spring的HibernateTemplate的既有方法完全兼容对CLOB对象的操作,仅仅需要进行简单的配置: 1.保留实体中需要保存为CLOB对象的属性为String,而在hbm映射文件中将其修改为org.springframework.orm.hibernate3.support.ClobStr ...
  http://blog.csdn.net/collonn/archive/2010/06/28/5698906.aspx 今天说说:会话状态保持,JSESSIONID,COOKIE之间的关系 在服务器端,我们用惯了session.setAttribute("",userInfo)这样的一行代码,估计你很少想到:服务器与浏览器之间是如 ...
  java.rmi.ConnectException: Connection refused to host: 127.0.0.1   主要根源是spring实现中,server端使用了主机名,linux在解析主机名时使用了与windows不同的逻辑。   在使用主机名时有两种说法 说法一:在server端返回的绑定对象中采用的 ...
http://hi.baidu.com/wingis/blog/item/b12e538baa13f4d8fd1f1089.html/cmtid/792663112267db73cb80c433 Spring提供类用于集成各种远程访问技术。这种对远程访问的支持可以降低你在用POJO实现支持远程访问业务时的开发难度。目前,Spring提供对下面四种远程访问技术的支持: 远程方法调用(RMI)。通过使用RmiProxyFactoryBean和RmiServiceExporter,Spring支持传统的RMI(使用java.rmi.Remote interfaces 和 java ...
Concurrent Set implementations in Java 6 http://dhruba.name/2009/08/05/concurrent-set-implementations-in-java-6/ by DHRUBA BANDOPADHYAY on 
hibernate 中的语句缓存情况:   需要通过hibernate自身的统计功能来确认。   --------------------   参考:   AFAIK, Hibernate transforms all sql to prepared statement form before issuing it to the database. When tuning the application, the size of prepared statement cache can be an important factor. How to determine the op ...
Fixed it. I had to remove "-XX:+UseConcMarkSweepGC" from my application startup script.能解决一般问题
一般处理过程:minor collections occurring at intervals long enough to allow many of the objects to die between collections.It is well-tuned in the sense that the young generation is large enough (and thus the period between minor collections long enough) that the minor collection can take advantage of the h ...
 At initialization of the virtual machine, the entire space for the heap is reserved. The size of the space reserved can be specified with the -Xmx option.If the value of the -Xms parameter is smaller than the value of the -Xmx parameter, not all of the space that is reserved is immediately committed ...
The throughput collector will throw an out-of-memory exception if too much time is being spent doing garbage collection. For example, if the JVM is spending more than 98% of the total time doing garbage collection and is recovering less than 2% of the heap, it will throw an out-of-memory expection. T ...
With the serial collector a major collection is started when the tenured generation becomes full and all application threads are stopped while the collection is done. In contrast a concurrent collection should be started at a time such that the collection can finish before the tenured generation be ...
Global site tag (gtag.js) - Google Analytics