gostaria de pedir a ajuda de quem já passou por este problema com
o emissor de nf-e da receita, ele usa o apache derby e grava o banco de
dados na pasta \database\NFE, acontece que passou a exibir uma
mensagem de erro inesperado e nao consegue se conectar a banco de dados
alguém sabe como reparar este banco de dados? ja passou por este problema?
org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
at org.hibernate.jdbc.BorrowedConnectionProxy.invoke(BorrowedConnectionProxy.java:50)
at $Proxy20.rollback(Unknown Source)
at br.gov.sp.fazenda.dsen.model.dao.ControleVersaoDAO.executarScript(ControleVersaoDAO.java:53)
at br.gov.sp.fazenda.dsen.model.business.ControleVersaoBusiness.a(ControleVersaoBusiness.java:42)
at br.gov.sp.fazenda.dsen.model.business.ControleVersaoBusiness.verificarVersao(ControleVersaoBusiness.java:27)
at br.gov.sp.fazenda.dsen.model.facade.SistemaFacade.verificarVersao(SistemaFacade.java:85)
at br.gov.sp.fazenda.dsen.controller.DSENSystemController.a(DSENSystemController.java:78)
at br.gov.sp.fazenda.dsen.controller.DSENSystemController.execAfterStartApp(DSENSystemController.java:62)
at br.gov.sp.fazenda.dsge.controller.DSGESystemController.startApp(DSGESystemController.java:118)
at br.gov.sp.fazenda.dsen.view.DSENDesktop$1.run(DSENDesktop.java:111)
Caused by: java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ040, SQLERRMC: Failed to start database ‘NFE’, see the next exception for details.
at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
at org.apache.derby.jdbc.ClientDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:154)
at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
… 11 more
Caused by: org.apache.derby.client.am.SqlException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ040, SQLERRMC: Failed to start database ‘NFE’, see the next exception for details.
at org.apache.derby.client.am.Connection.completeSqlca(Unknown Source)
at org.apache.derby.client.net.NetConnectionReply.parseRdbAccessFailed(Unknown Source)
at org.apache.derby.client.net.NetConnectionReply.parseAccessRdbError(Unknown Source)
at org.apache.derby.client.net.NetConnectionReply.parseACCRDBreply(Unknown Source)
at org.apache.derby.client.net.NetConnectionReply.readAccessDatabase(Unknown Source)
at org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessRdb(Unknown Source)
at org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessRdb(Unknown Source)
at org.apache.derby.client.net.NetConnection.flowUSRIDPWDconnect(Unknown Source)
at org.apache.derby.client.net.NetConnection.flowConnect(Unknown Source)
at org.apache.derby.client.net.NetConnection.(Unknown Source)
at org.apache.derby.client.net.NetConnection40.(Unknown Source)
at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConnection(Unknown Source)
… 16 more