domgiles / swingbench-public

Public repository for swingbench to support the creation of issues and a location to download latest builds
73 stars 20 forks source link

Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread "AWT-EventQueue-0" #20

Open shivamfet opened 2 years ago

shivamfet commented 2 years ago

Hi Dominic,

I am hitting this issue on trying to invoke ./oewizard,

jdk version is :

java -version java version "1.8.0_281" Java(TM) SE Runtime Environment (build 1.8.0_281-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)

[opc@dbqa-r3hyt1 bin]$ ./oewizard -debug 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.utilities.LogOSInfo logOSInfo() Swingbench Version 2.6.0.1163 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.utilities.LogOSInfo logOSInfo() Operating System: Linux 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.utilities.LogOSInfo logOSInfo() Available processors (cores): 22 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.utilities.LogOSInfo logOSInfo() Free memory (bytes): 490596640 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.utilities.LogOSInfo logOSInfo() Maximum memory (bytes): 1908932608 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.utilities.LogOSInfo logOSInfo() Total memory available to JVM (bytes): 514850816 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () Using config file : ../wizardconfigs/oewizard.xml 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () PURGE_SCRIPTS = com.dom.benchmarking.swingbench.jaxb.wizards.WizardConfig$SQLScripts$PurgeScripts@bb88cb1 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () ASYNC_TRANSACTIONS = true 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () DATATABLESPACESEXISTS = true 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () DBAPASSWORD = welcome1 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () CONNECTSTRING = //oraclelinux/orcl 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () OUTPUT = Verbose 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () ONLYDROPUSER = false 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () INIT_GENERATION_SCRIPTS = com.dom.benchmarking.swingbench.jaxb.wizards.WizardConfig$SQLScripts$InitilisationScripts@7510e1da 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () BATCH_SIZE = 200 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () BIG_THREADS_FIRST = true 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () SCHEMADESCRIPTION = com.dom.benchmarking.swingbench.jaxb.wizards.SchemaDescription@4dbd2bb8 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () PARTITIONING_MODEL = NO_PARTITIONING 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () PASSWORD = soe 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () PRE_GENERATION_SCRIPTS = com.dom.benchmarking.swingbench.jaxb.wizards.WizardConfig$SQLScripts$PreDataGenerationScripts@589bd354 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () PARALLEL = 44 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () SOFTPARTITIONS = 22 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () TABLESPACE = SOE 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () OUTPUTTYPE = std 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () USERNAME = soe 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () RUNMODE = INTERACTIVE 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () CONNECTIONTYPE = thin 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () INDEXING_MODEL = ALL_INDEXES 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () EXECUTIONCLASS = com.dom.benchmarking.swingbench.wizards.soedg.OrderEntryGenerate 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () DBAUSERNAME = sys as sysdba 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () SUPPORTED_COMPRESSION = com.dom.benchmarking.swingbench.jaxb.wizards.SupportedModels$Compression@178911f2 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () COLOROUTPUT = true 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () TABLESPACE_MODEL = BIGFILE_TABLESPACE 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () BENCHMARK_VERSION = 2.0 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () DATAGENERATOR_CONFIG_FILE = com.dom.benchmarking.swingbench.jaxb.wizards.WizardConfig$DataGenerationConfigurationFiles@65653ce8 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () COMPRESSION_MODEL = NO_COMPRESSION 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () USEREXISTS = true 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () SUPPORTED_INDEXING = com.dom.benchmarking.swingbench.jaxb.wizards.SupportedModels$Indexing@41a12b17 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () POST_GENERATION_SCRIPTS = com.dom.benchmarking.swingbench.jaxb.wizards.WizardConfig$SQLScripts$PostDataGenerationScripts@47a64104 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () SUPPORTED_PARTITIONING = com.dom.benchmarking.swingbench.jaxb.wizards.SupportedModels$Partitioning@18ffde83 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () DATAFILE = 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () VALIDATORCLASS = com.dom.benchmarking.swingbench.wizards.soedg.OrderEntryValidator 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () VERBOSE = false 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () OPERATION = create 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () Using benchmark version : 2.0 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () Locale default Settings 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () United States 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () English 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () English (United States) 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () Forcing UK Locale for data loading 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () United Kingdom 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () English 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () English (United Kingdom) 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () Time zone set to Europe/London 7:15:02 AM FINE [18] com.dom.benchmarking.swingbench.wizards.Wizard () Running in gui mode 7:15:02 AM FINE [22] com.dom.benchmarking.swingbench.wizards.WizardGuiLauncher run() Creating Frame

Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread "AWT-EventQueue-0" [opc@dbqa-r3hyt1 bin]$

Can you please help me on this ?

linzhiguang commented 2 years ago

have you solved the problem. I encountered the same issue.

shivamfet commented 2 years ago

Hi,

To invoke or interact with GUI applications on remote server , you need to have X server program installed on your client machine and then use X11 forwarding with ssh command.

For Mac OS

You can download and install XQuartz You can also install from terminal. Follow the below steps to get it working.

brew install --cask xquartz

Once it is installed successfully

You will see a clock appearing , it it works fine it means X11 forwarding is working correctly.

Now it will work.

For Windows:

For Windows

You can download and install Xming I have not attempted for windows OS , but you can refer this page: https://kb.iu.edu/d/bdnt