Could not find or load main class de.independit.scheduler.sdmsh

81 views
Skip to first unread message

Bharat Varandani

unread,
Mar 30, 2016, 4:31:27 AM3/30/16
to schedulix
Dear Sir,


While i am trying  Install the convenience package, i am getting  "Error: Could not find or load main class de.independit.scheduler.sdmsh"

Please get me out from this error.
Regards,
Bharat Varandani

Dieter Stubler

unread,
Mar 30, 2016, 5:11:28 AM3/30/16
to schedulix
Hi,

The error states that java cannot load the the main class of the sdmsh command line application.

Did you manage to get a error free clean compile ?
Did you follow all installation instructions ?
Did you set the correct environment variables ?

Regards
Dieter

Ronald Jeninga

unread,
Mar 30, 2016, 5:26:28 AM3/30/16
to schedulix
Hi Bharat,

an easy check of the validity of the jar file is

jar tvf $BICSUITEHOME/lib/BICsuite.jar | grep sdmsh

This should give you a result like

[root@cheetah SDMS]# jar tvf $BICSUITEHOME/lib/BICsuite.jar | grep sdmsh
  6609 Wed Mar 30 11:15:54 CEST 2016 de/independit/scheduler/sdmsh.class

(Note: I do not always work as root; it happened to be a free terminal :)
If you didn't set BICSUITEHOME, you'll get a file not found error. If the jar file didn't build to end, you won't find the sdmsh.class.
The size of the class may differ as it depends on the java version (and brand) used.

The jar file should have something like 2MB in size.

Regards,

Ronald

Bharat Varandani

unread,
Mar 31, 2016, 12:50:56 AM3/31/16
to schedulix
Hello Dieter,

Thanks for support.
Error has been resolved, but  here i am confused because  of arthur user, while installing a jobserver i am not able to create scope for machine.
In .bashrc file we need to add schedulix server  home location?

Regards,
Bharat Varandani

Ronald Jeninga

unread,
Mar 31, 2016, 3:08:49 AM3/31/16
to schedulix
Hi Bharat,

conceptually you need a separate jobserver for every user on your system that wants to execute jobs.

Example:
on your system you have created the following users

root
bharat
product1
product2
guest

Now on behalf of the (technical) users product1 and product2 you want to execute jobs.
This means that you'll install 2 jobservers.

Since you'll have 2 users that want to access the schedulix software, it'll make sense to install schedulix separately and grant read access to the productx users.
The productx users must be able to find the installation. For that reason, you add

BICSUITEHOME=/path/to/your/schedulix/installation
PATH=$PATH:$BICSUITEHOME/bin
export BICSUITEHOME PATH

to the .profile of both users.
If the configuration is not at $BICSUITEHOME/etc, you also need to specify (and export) the BICSUITECONFIG variable.
In fact it is recommended to store the configuration outside the software directory, because that will simplify an upgrade.

The user arthur on machine_42 is just an example. The names are just names and don't have any meaning.
(Well, if you read "The hitchhiker's guide to the galaxy", you'll understand where the names come from).

Regards,

Ronald
Reply all
Reply to author
Forward
0 new messages