Re: Error when trying to launch swingbench on MAC

From: Jeremiah Cetlin Wilton <jcwilton93_at_earlham.edu>
Date: Tue, 20 Nov 2018 18:28:17 -0500 (EST)
Message-ID: <514330983.939197.1542756497555.JavaMail.zimbra_at_earlham.edu>



Latest Swingbench seems to want a path to the config file sometimes. I'm not sure if always. Maybe only with charbench. Something like this should work (make sure you put the correct settings in the config file).

./charbench -c ../configs/SOE_Server_Side_V2.xml

Jeremiah

From: "Tanel Poder" <tanel_at_tanelpoder.com> To: "Krish Singh" <krishsingh.111_at_gmail.com> Cc: "Oracle Mailing List" <oracle-l_at_freelists.org> Sent: Tuesday, November 20, 2018 11:43:27 AM Subject: Re: Error when trying to launch swingbench on MAC

I just do this on OSX:

1) make sure you have java 8 (and not 9 or 10) installed 
2) download swingbench & unzip 
3) cd swinghbench_dir/bin 
4) run ./oewizard or ./swigbench while being in the bin directory 

Nothing else should be needed. I haven't needed to muck around with .env files at all with latest swingbench versions ... and I don't think it has anything to do with instant client either as swingbench should have its own JDBC libraries shipped with it.

-- 
Tanel Poder 
[ https://blog.tanelpoder.com/seminar/ | https://blog.tanelpoder.com/seminar/ ] 


On Tue, Nov 20, 2018 at 11:58 AM kunwar singh < [ mailto:krishsingh.111_at_gmail.com | krishsingh.111_at_gmail.com ] > wrote: 



Hi everyone, 
First time trying to use swingbench and that too on MAC and running into below error. 

Started Swingbench, Version 2.6.0.1090. No config file specifiedjava.lang.reflect.InvocationTargetException 


I installed oracle instant client and running into the below error, is there something very obvious that i am missing in the configuration or setup? 
I followed the instruction guide provided by dominic but still.. 
note: gui opens for a second and it closes abruptly. 

+++++++++ 
1. this is the instant client directory 
kunwars-MacBook-Pro:swingbench kunwarkhomane$ pwd 
/Users/kunwarkhomane/Downloads/instantclient_12_2/swingbench 
kunwars-MacBook-Pro:swingbench kunwarkhomane$ cd .. 
kunwars-MacBook-Pro:instantclient_12_2 kunwarkhomane$ ls -lrt 
total 454072\ 
-r--r--r--_at_ 1 kunwarkhomane staff 4036257 Dec 13 2016 ojdbc8.jar\ 



BQ_BEGIN



BQ_END



--
http://www.freelists.org/webpage/oracle-l
Received on Wed Nov 21 2018 - 00:28:17 CET

Original text of this message