Error when running in unix.

19 views
Skip to first unread message

925geek

unread,
Jun 15, 2009, 2:18:41 PM6/15/09
to enchanter-users
bash-2.03# java -jar ../../ptrac/enchanter-core-0.5.1.jar ../../
date.py
Failed to load Main-Class manifest attribute from
../../ptrac/enchanter-core-0.5.1.jar


I need the core because it is a central box that we can't modify too
much on.

bash-2.03# java -version
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)

Contents of date.py:

ssh.connect('alalzinf003', 'root');
ssh.sleep(5000);
ssh.sendLine('date');
print 'Server date is '+ssh.getLine();
ssh.disconnect();

Now I don't have python so can I have an example of a script for bash/
shell/ksh?

I don't think thats my main problem though. Any help would be great.
I have to push a svn client to about 50 hosts including unix and linux
flavors and don't want to manually go through each one.

Don Brown

unread,
Jul 26, 2009, 1:02:42 AM7/26/09
to enchant...@googlegroups.com
If you want to run python scripts, make sure you have the following
jars on the classpath:
* jython
* enchanter-core
* enchanter-python
* ganymead

Don
Reply all
Reply to author
Forward
0 new messages