sean-cc / jain-slee

Automatically exported from code.google.com/p/jain-slee
0 stars 0 forks source link

twiddle fails to start if pwd is not tools/twiddle #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Change into Mobicents JAIN SLEE home directory (any directory other than 
<mobicents_home>/tools/twiddle would do).
2. Invoke twiddle.

What is the expected output? What do you see instead?
Expected

"""
$ tools/twiddle/twiddle.sh activity -c
2
"""

Actual

"""
$ tools/twiddle/twiddle.sh activity -c
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/jboss/console/twiddle/Twiddle
Caused by: java.lang.ClassNotFoundException: org.jboss.console.twiddle.Twiddle
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
Could not find the main class: org.jboss.console.twiddle.Twiddle. Program will 
exit.
"""

What version of the product are you using? On what operating system?
Mobicents JAIN SLEE 2.7.0.FINAL, Debian GNU/Linux.

Original issue reported on code.google.com by vil...@users.sourceforge.net on 17 Jan 2013 at 3:16

Attachments:

GoogleCodeExporter commented 9 years ago
By the way, the last assignment of JBOSS_CLASSPATH (adding lib directory, line 
78) does not seem meaningful.

Original comment by vil...@users.sourceforge.net on 17 Jan 2013 at 3:25

GoogleCodeExporter commented 9 years ago

Original comment by baran...@gmail.com on 22 Feb 2013 at 1:26