Skip to main content

For the past couple of versions now I’ve been unable to run dbArchive.  This did used to work.

 

When I try to connect, I get:

E:\_Axios\dbArchive>run
##############################################################
  Welcome to Archive Events Utility - version V104.50.0.0

##############################################################
        Archive Events Utility - version V104.50.0.0
                        - Database Login
##############################################################

database.type: mssql
database.host: vmsqlappsuksd01
database.instance: assyst
database.dbName: assyst_test
database.userName: sa
Exception in thread "main" java.lang.NoClassDefFoundError: com/axiossystems/assyst/archiveProcessor/common/DatabaseInfo
        at com.axiossystems.assyst.dbArchive.common.DBConnectionInfo.toDatabaseInfo(DBConnectionInfo.java:175)
        at com.axiossystems.assyst.dbArchive.operations.base.AbstractBaseOperations.getDAOFromFactory(AbstractBaseOperations.java:28)
        at com.axiossystems.assyst.dbArchive.operations.LoginOperations.execute(LoginOperations.java:63)
        at com.axiossystems.assyst.dbArchive.DBArchive.processUIInteraction(DBArchive.java:157)
        at com.axiossystems.assyst.dbArchive.DBArchive.start(DBArchive.java:101)
        at com.axiossystems.assyst.dbArchive.DBArchive.main(DBArchive.java:76)
Caused by: java.lang.ClassNotFoundException: com.axiossystems.assyst.archiveProcessor.common.DatabaseInfo
        at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        ... 6 more
 

If I use the java command, I get:

E:\_Axios\dbArchive>java -jar dbArchive.jar deleteEvent file=E:\_Axios\dbArchive\archive_events.txt notifySearch=true
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64
        at com.axiossystems.assyst.dbArchive.common.CodecProcessor.decrypt(CodecProcessor.java:56)
        at com.axiossystems.assyst.dbArchive.DBArchive.processArgs(DBArchive.java:422)
        at com.axiossystems.assyst.dbArchive.DBArchive.start(DBArchive.java:96)
        at com.axiossystems.assyst.dbArchive.DBArchive.main(DBArchive.java:76)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.codec.binary.Base64
        at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        ... 4 more

 

Has anyone else found this, please?

Thanks

I would suggest this is logged with the Service Desk to investigate further.


Did you upgrade the DBArchive package that is included in the installation package? It is version specific.

Also - you may need to apply the required schema change.

Hope this helps.


Reply