[Bug 367984] [NEW] "java -jar jboss-run.jar" is not running

Michele Renda mic.renda at email.it
Mon Apr 27 14:17:35 UTC 2009


Public bug reported:

Binary package hint: jbossas4

Ubuntu 9.04 - Jaunty (Fresh install)
___________________________________________________________
jbossas4:
  Installato: 4.2.3.GA-1
  Candidato: 4.2.3.GA-1
  Tabella versione:
 *** 4.2.3.GA-1 0
        500 http://it.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status
___________________________________________________________

** Other installed packages:
  jbossas4
  libjboss-server-java
  libgetopt-java

** What I expected to happen:
  It run :)

** What happened instead:
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:636)
Caused by: java.lang.ClassNotFoundException: gnu.getopt.LongOpt
	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:323)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
	... 4 more

** Suggestions:

I am not expert in Debian packaging, but trying to get the sources with:
apt-get source jbossas4 I found that one of the activities done when
creating jbossas4 is to unjar the gnu-getopt.jar to be included in the
main jbossas4 (this is the reason, i think, because jbossas4 doesn't
need as dependency the package libgetopt-java.

The problem is that opening with file-roller the file
/usr/share/java/jbossas4-run.jar I can't see any folder named "gnu". In
addition, trying to add manually, the gnu folder from /usr/share/java
/gnu-getopt.jar to /usr/share/java/jbossas4-run.jar the problem seem to
be solver (but there are other similar problems).

It seem to be an error when building the deb package. Someone can
confirm?

Thank you
Michele Renda

** Affects: jbossas4 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
"java -jar jboss-run.jar" is not running
https://bugs.launchpad.net/bugs/367984
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list