4 Replies Latest reply on Feb 9, 2007 11:00 AM by orafad

    an error occur when login to database in enterprise manager console

    560712
      java.lang.UnsatisfiedLinkError: t2cGetCharSet
      at oracle.jdbc.driver.T2CConnection.t2cGetCharSet(Native Method)
      at oracle.jdbc.driver.T2CConnection.getCharSetIds(T2CConnection.java:280
      1)
      at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:300)
      at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
      344)
      at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:136)
      at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtensio
      n.java:79)
      at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:545)
      at java.sql.DriverManager.getConnection(DriverManager.java:512)
      at java.sql.DriverManager.getConnection(DriverManager.java:140)
      at oracle.sysman.vdb.VdbSession.establishConnection(VdbSession.java:1288
      )
      at oracle.sysman.vdb.VdbSession.<init>(VdbSession.java:776)
      at oracle.sysman.vdb.VdbSession.<init>(VdbSession.java:753)
      at oracle.sysman.vdb.VdbAutoCommitSession.<init>(VdbAutoCommitSession.ja
      va:279)
      at oracle.sysman.vdb.VdbSessionFactory.getNewAutoCommitSession(VdbSessio
      nFactory.java:1232)
      at oracle.sysman.vdb.VdbSessionFactory.getAutoCommitSession(VdbSessionFa
      ctory.java:1130)
      at oracle.sysman.vdb.VdbSessionFactory.getAutoCommitSession(VdbSessionFa
      ctory.java:1075)
      at oracle.sysman.vbo.VboDBServerFat.getManagedSession(VboDBServerFat.jav
      a:417)
      at oracle.sysman.vth.VthSessionManager._getSessionFromFactory(VthSession
      Manager.java:260)
      at oracle.sysman.vth.VthSessionManager.onConnectDialogOk(VthSessionManag
      er.java:446)
      at oracle.sysman.vtaGallery.dbConnect.VtaDbConnectDialog._actionPerforme
      d(VtaDbConnectDialog.java:1507)
      at oracle.sysman.vtaGallery.dbConnect.VtaDbConnectDialogExecutor.run(Vta
      DbConnectDialog.java:1849)
      at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.ja
      va:271)


      When I connect database with sys account,error like above show,but I can login correctly yesterday.
      Today, I want to update database charset, so I run below sqls
      SQL>STARTUP MOUNT;
      SQL>ALTER SYSTEM ENABLE RESTRICTED SESSION;
      SQL>ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
      SQL>ALTER SYSTEM SET AQ_TM_PROCESSES=0;
      SQL>ALTER DATABASE OPEN;
      SQL>ALTER DATABASE CHARACTER SET ZHS16GBK;
      the last one didn't run successful for other session connect, I guess it make the error.
      How can I resolve the problem?