最近卡业务后台管理系统老出问题,就是重启jboss后就米问题.过段时间不好用了.很郁闷.,查看日志,找出错误问题:
2008-01-16 14:43:55,662 [http-0.0.0.0-80-6] INFO .0 umsadmin.com.voole.services.card.impl.CardServiceImpl - fail to change card status:ORA-02396: exceeded maximum idle time, please connect again
2008-01-16 14:44:12,118 [http-0.0.0.0-80-5] INFO .0 umsadmin.com.voole.services.card.impl.CardServiceImpl - fail to change card status:ORA-01012: not logged on
连接已经被oracle 断掉,但是应用程序在取出来的时候会没有判断session的状态.
问了dba.他说修改了dba_profile中的idle_time默认值,对连接进行一定的限制.
修改了oracle-ds.xml,把应用连接池设置的idle_time 是10分钟,dba说他设置oracle session idle_time 空闲时间长点。
到目前为止还问题没出现.可能oralce 默认的idle_time 值过小吧,
Your program attempts to assign values to the attributes of an uninitialized (atomically null) object.
企图将值写入未初化对象的属性
None of the choices in the WHEN clauses of a CASE statement is selected, and there is no ELSE clause.
case语句格式有误,没有分支语句
Your program attempts to apply collection methods other than EXISTS to an uninitialized (atomically null)
企图将集合填入未初始化的嵌套表中
Your program attempts to open an already open cursor. A cursor must be closed before it can be reopened. A
企图打开已经打开的指针.指针已经打开,要再次打开必须先关闭.
Your program attempts to store duplicate values in a database column that is constrained by a unique index.
数据库字段存储重复,主键唯一值冲突
Your program attempts an illegal cursor operation such as closing an unopened cursor.
非法指针操作,例如关闭未打开的指针
In a SQL statement, the conversion of a character string into a number fails because the string does not
在sql语句中,字符数字类型转换错误,无法将字符串转化成有效数字.此错误也可能因为在limit从句表达式中fetch语句无法对应指定数字
Your program attempts to log on to Oracle with an invalid username and/or password.
企图用无效的用户名或密码登录oracle
A SELECT INTO statement returns no rows, or your program references a deleted element in a nested table or
ORA-01012: NOT_LOGGED_ON 未登录
Your program issues a database call without being connected to Oracle.
程序发送数据库命令,但未与oracle建立连接
ORA-06501: PROGRAM_ERROR 程序错误
PL/SQL has an internal problem.
pl/sql系统问题
ORA-06504: ROWTYPE_MISMATCH 行类型不匹配
The host cursor variable and PL/SQL cursor variable involved in an assignment have incompatible return types.
ORA-30625: SELF_IS_NULL
Your program attempts to call a MEMBER method on a null instance. That is, the built-in parameter SELF
ORA-06500: STORAGE_ERROR 存储错误
PL/SQL runs out of memory or memory has been corrupted.
PL/SQL运行内存溢出或内存冲突
ORA-06533: SUBSCRIPT_BEYOND_COUNT 子句超出数量
Your program references a nested table or varray element using an index number larger than the number of
ORA-06532: SUBSCRIPT_OUTSIDE_LIMIT 子句非法数量
Your program references a nested table or varray element using an index number (-1 for example) that is
ORA-01410: SYS_INVALID_ROWID 无效的字段名
The conversion of a character string into a universal rowid fails because the character string does not
ORA-00051: TIMEOUT_ON_RESOURCE 资源等待超时
A time-out occurs while Oracle is waiting for a resource.
ORA-01422: TOO_MANY_ROWS 返回超过一行
A SELECT INTO statement returns more than one row.
ORA-06502: VALUE_ERROR 值错误
An arithmetic, conversion, truncation, or size-constraint error occurs. For example, when your program selects
ORA-01476: ZERO_DIVIDE 除0错误
Your program attempts to divide a number by zero