主键冲突的错误,寻找解决方案

2012-08-05 21:56:24 google transport (3092) ERROR [org.jivesoftware.openfire.user.DefaultUserProvider:266] Internal server error
java.sql.SQLException: ORA-00001: unique constraint (IMCONNECTOR.OFUSER_PK) violated

    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:966)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1170)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3445)
    at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100)
    at org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57)
    at oracle.jdbc.OraclePreparedStatement$$EnhancerByProxool$$d5e61531.execute(<generated>)
    at org.jivesoftware.openfire.user.DefaultUserProvider.save(DefaultUserProvider.java:264)
    at org.jivesoftware.openfire.user.UserManager.createUser(UserManager.java:257)
    at com.pica.gateway.BaseTransport.login(BaseTransport.java:1524)
    at com.pica.gateway.BaseTransport.handleIQRegister(BaseTransport.java:1228)
    at com.pica.gateway.BaseTransport.processPacket(BaseTransport.java:716)
    at com.pica.gateway.BaseTransport.processPacketInThread(BaseTransport.java:278)
    at com.pica.gateway.BaseTransport.access$0(BaseTransport.java:242)
    at com.pica.gateway.BaseTransport$2.run(BaseTransport.java:234)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值