Skip to main content
Question

Unable to run dbArchive

  • November 14, 2022
  • 2 replies
  • 84 views

askey-s
Sidekick (Customer)
Forum|alt.badge.img+5
  • Sidekick (Customer)
  • 6 replies

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

2 replies

Forum|alt.badge.img+1
  • Do Gooder (Employee)
  • 4 replies
  • February 8, 2023

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


Forum|alt.badge.img+7
  • Sidekick (Customer)
  • 11 replies
  • March 4, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings