how to run jbossas4 under maverick?

Robert P. J. Day rpjday at crashcourse.ca
Thu Dec 30 00:24:56 UTC 2010


  asking from a position of massive ignorance of how jboss works, all
i want to do is install and invoke the jboss server on my maverick
system so:

  $ sudo apt-get install jbossas4

after which:

$ dpkg -L jbossas4
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/jbossas4
/usr/share/doc/jbossas4/README.Debian
/usr/share/doc/jbossas4/copyright
/usr/share/doc/jbossas4/changelog.Debian.gz
/usr/share/java
/usr/share/java/jboss-run-4.2.3.GA.jar
/usr/share/java/jboss-shutdown-4.2.3.GA.jar
/usr/share/java/jboss-run.jar
/usr/share/java/jboss-shutdown.jar
$

  ok, i'm used to seeing things like service scripts under /etc/init.d
but, in this case, there is none so, what the heck:

$ java -jar /usr/share/java/jboss-run.jar
Exception in thread "main" java.lang.NoClassDefFoundError: gnu/getopt/LongOpt
	at org.jboss.Main.processCommandLine(Main.java:242)
	at org.jboss.Main.boot(Main.java:106)
	at org.jboss.Main$1.run(Main.java:508)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: gnu.getopt.LongOpt
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	... 4 more
$

and, apparently, i'm not the only one:

https://bugs.launchpad.net/ubuntu/+source/jbossas4/+bug/367984

  so ... what am i doing that's trivially stupid?

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the ubuntu-users mailing list