flavio.l.c
(usa Outra)
Enviado em 15/02/2016 - 18:20h
camaradas... sou iniciante no Linux e me criei um problema na empresa.
Troquei o SO da minha maquina para o Zorin 10 e tudo está rodando lindo, menos o emissor de NF-e.
Instalei, instalei o java, dei os comandos
cd /
$ sudo mkdir database
$ sudo chmod 777 database/
começou a inicializar, mas não consigo fazer a restauração do backup.
Já li um monte de foruns, mas alguns são muito complicados para um iniciante como eu.
Alguém consegue me dizer o que fazer para corrigir o erro abaixo?
java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ040, SQLERRMC: Failed to start database 'NFE310', see the next exception for details.::SQLSTATE: XBM0YBackup database directory /NFE310 not found. Please make sure that the specified backup path is right.
at org.apache.derby.client.am.SQLExceptionFactory.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:664)
at java.sql.DriverManager.getConnection(DriverManager.java:208)
at br.gov.sp.fazenda.dsen.model.dao.BackupRestoreDAO.restaurarBD(BackupRestoreDAO.java:83)
at br.gov.sp.fazenda.dsen.model.business.BackupBusiness.executarRestore(BackupBusiness.java:160)
at br.gov.sp.fazenda.dsen.model.business.BackupBusiness$$EnhancerByCGLIB$$9bd625fc.CGLIB$executarRestore$1(<generated>)
at br.gov.sp.fazenda.dsen.model.business.BackupBusiness$$EnhancerByCGLIB$$9bd625fc$$FastClassByCGLIB$$b8ac2290.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
at br.gov.sp.fazenda.dsge.model.dao.util.DSGEDAOInterceptorHelper.intercept(DSGEDAOInterceptorHelper.java:66)
at br.gov.sp.fazenda.dsen.model.business.BackupBusiness$$EnhancerByCGLIB$$9bd625fc.executarRestore(<generated>)
at br.gov.sp.fazenda.dsen.model.facade.SistemaFacade.executarRestore(SistemaFacade.java:58)
at br.gov.sp.fazenda.dsen.controller.RestoreController$2.doInBackground(RestoreController.java:136)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.derby.client.am.SqlException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ040, SQLERRMC: Failed to start database 'NFE310', see the next exception for details.::SQLSTATE: XBM0YBackup database directory /NFE310 not found. Please make sure that the specified backup path is right.
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.flowUSRIDONLconnect(Unknown Source)
at org.apache.derby.client.net.NetConnection.flowConnect(Unknown Source)
at org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl.newNetConnection(Unknown Source)
... 18 more
Me ajudem por favor!!!
Abraço e Viva o Linux