ORA-12500, TNS:listener failed to start a dedicated server process
A. TNS-12500 on Microsoft Windows NT
B. Intermittent TNS-12500 Errors on Microsoft Windows NT
java.sql.BatchUpdateException: Overflow Exception trying to bind NaN
JDBC操作偶尔碰到这样的异常: java.sql.BatchUpdateException: Overflow Exception trying to bind NaN
在Sun的Java论坛上有人解释,当把一个非法的数字(如“0f/0f”)绑定到一个字段,执行Update操作就会报这样的错误,如下:
It looks like you did some bad arithmetic, resulting in a "Not A Number" (NaN) result. For example:
public class Nan { public static void main(String[] args) { float nan = 0f / 0f; System.out.println(nan); } }
When you then try to store that value in a floating point column, the database complains. So the problem is in your Java logic, and the database is trying to prevent you from corrupting the column!
It's not specific to the BatchUpdate, it just happened to occur in one, and so the BatchUpdate had to report the error.
我的Java应用程序为什么崩溃了?
Java应用程序有时候会异常的崩溃,并在桌面或某个目录产生例如hs_err_pid2160.log文件,里面的内容如:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d0d1dda, pid=2160, tid=2812
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, sharing)
# Problematic frame:
# C [awt.dll+0xd1dda]
#
--------------- T H R E A D ---------------
Current thread (0x052a9930): JavaThread "AWT-Windows" daemon [_thread_in_native, id=2812]
siginfo: ExceptionCode=0xc0000005, writing address 0x000000fc
Registers:
EAX=0x00000000, EBX=0x00000000, ECX=0x00000001, EDX=0x7c92eb94
ESP=0x09d0f9ac, EBP=0x09d0f9e8, ESI=0x052a99f0, EDI=0x00008025
EIP=0x6d0d1dda, EFLAGS=0x00010287
如何分析java_errorpid.log的错误日志?我的Java应用为什么Crash!这个Blog提到过,他说有可能是JVM本身的bug有关。而关于以上的日志有关的故障,从jre-1_5_0_06-windows-i586-p.exe升级到jre-6u2-windows-i586-p-s.exe后,果然没有再突然关闭嵌入了Applet的浏览器。
2006年,Java占了印度GDP的2.1%
一份由Indiian Instiitute off Management,Ahmedabad发布的名为“Java Economy in India: A Pessimistic Estimate”的分析报告称:
估计2005年的印度Java经济的总量约$112.7亿,2006年的印度Java经济总量约$146.5亿,而Java经济占了印度GDP(国民生产总值)2.1%。
全文见:Java accounts for 2_1% of GDP-India Business-Business-The Times of India
史上最伟大12款软件排名
1. Unix操作系统
2. IBM System R-1983年以DB2的形式进入商业市场
3.基因排序软件-美国基因组研究所(IGR)
4. IBM System 360系统
5. Java语言
