JBoss: Deployment fails with ClassNotFoundException even though the class is there JaxrsScanningProcessor
location: linuxexchange.com - date: February 14, 2014
I have a WAR file with REST services. It deploys just fine on JBoss EAP 6.2 (corresponding to AS 7.something) in the standalone mode but it fails sometimes - but often - in the domain mode with a ClassNotFoundException for my subclass of the the JAX-RS Application class, even though it is in the war (well, it runs in standalone). Since it sometimes works, I suspect there is some concurrency issue that leads to JBoss trying to load the class before it can see it.
This is the error:
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start
service jboss.deployment.unit.myapp.POST_MODULE: org.jboss.msc.service.StartException in
service jboss.deployment.unit.myapp.POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "myapp"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011230: C
python2.7 not found even though its there in the /linux64/bin
location: linuxquestions.com - date: May 11, 2012
I'm installing gurobi5.0.0 on my ubuntu 11.10 machine.
I have to run the bash shell gurobi.sh from the terminal. Whenever I type
$gurobi.sh from my homefolder it shows command not found.
When I cd into /opt/gurobi500/linux64/bin (where the gurobi.sh command is placed)
and type $./gurobi.sh
It says python2.7 not found. the executable python2.7 is cleary present in the directory!
When I run ./python2.7 it works, hence there is no problem with the permissions.
Hence why cant gurobi.sh access the executable? (I even did chmod 777 python2.7)
Any help would be greatly appreciated!
docker command not found even though installed with aptget
location: linuxexchange.com - date: June 16, 2015
Adding this for reference for others because it would have saved me 10 minutes if such an answer existed.
I tried installing Docker using ubuntu 14.0LTS virtualbox
sudo apt get install docker
However, when I try running docker it gives me the following error
The program 'docker' is currently not installed. You can install it by typing:
sudo apt-get install docker
Why is ubuntu not seeing docker?
Programm exists with file not found even though the file exists
location: linuxexchange.com - date: September 19, 2013
I am trying to solve the binary bomb given in this course. You can download the bomb itself here
When I try to start the bomb (in the terminal or in gdb)
it exists mith code 127 respectively file not found.
But since I can set permissions on the file, copy it ...
I'm pretty sure that it exists.
Well even if I open the binary in gdb and set breakpoints to main, _init and _start
it still exits before the breakpoints get hit.
So what is the reason for this and how can I solve this problem since I really want to defuse this bomb. I also don't think that this is part of the excercise, because I found solutions for this bomb and read the first step and there nothing is said about this problem.
PS: I know that this question has been asked before (see here), but since the author doesn't reply and the question isn't solved I decided to ask again.
Linking with OpenSSL fails with Heartbleed security advisory even after upgrading it
location: linuxexchange.com - date: October 8, 2014
while running radius server in debugging mode by using the command radiusd -X, i got a problem like this
the error is shown as below:
Refusing to start with libssl version OpenSSL 1.0.1f 6 Jan 2014 (in range 1.0.1 - 1.0.1f). Security advisory CVE-2014-0160 (Heartbleed)
For more information see http://heartbleed.com
the installed openssl version is shown below:
OpenSSL 1.0.1g 7 Apr 2014
eventhough i installed/updated OpenSSL 1.0.1g, i got an error called heartbleed. i stucked in this problem ,could any one help me out of this???
Azureus fails with NoClassDefFoundError: Could not initialize class org.eclipse.swt.internal.cairo.Cairo
location: linuxexchange.com - date: July 10, 2015
After recent Linux Mint update, namely to libservlet3.0-java, starting Azureus produces this output (and Azureus fails to start):
file:/usr/lib/jni/ ; file:/usr/lib/java/ ; file:/usr/share/java/Azureus2.jar ; file:/usr/share/java/log4j-1.2-1.2.17.jar ; file:/usr/share/java/commons-cli-1.2.jar ; file:/usr/lib/java/swt-gtk-3.8.2.jar ; file:/home/saran/
changeLocale: *Default Language* != English (United States). Searching without country..
changeLocale: Searching for language English in *any* country..
changeLocale: no message properties for Locale 'English (United States)' (en_US), using 'English (default)'
UIFunctions/ImageLoad took 25ms
ImageRepository:loadImage:: Resource not found: org/gudy/azureus2/ui/icons/a16.png
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-cairo-gtk-3836 in java.library.path
no swt-cairo-gtk in java.library.path
Can't load library: /usr/lib/jni/libswt-cairo-gtk-3836.so
Can't load library: /usr/lib/jni/libswt-cairo-gtk.so
addaptrepository always fails with ssl error 12.04
location: ubuntuforums.com - date: February 7, 2013
I have what was a clean desktop install of ubuntu 12.04. No matter what repository I try to add add-apt-repository always fails with ssl error - example:
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 125, in <module>
ppa_info = get_ppa_info_from_lp(user, ppa_name)
File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 84, in get_ppa_info_from_lp
pycurl.error: (60, 'server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none')
ls -al /etc/ssl/certs/ca-certificates.crt
-rw-r--r-- 1 root root 100356 Jan 24 16:41 /etc/ssl/certs/ca-certificates.crt
I have tried to reinstall/reconfiger ca-certificates but that does not seem to be the issue so I am lost
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....
Migration of WordPress to Meerkat server fails with DB error
location: ubuntuforums.com - date: December 15, 2010
So I'm a front end dev, and more or less clueless about MySQL installs. I tried to follow the instructions to copy over the files for my old blog to the shiny new VS I've just configured as a LAMP stack at Rackspace. I'm good on the DNS and virtual hosting; I've got the full site copied.
When I hit the site, I get the infamous "Error establishing a database connection" error. I think it's probably to do with my wp-config.php file. Do I need to create a new MySQL db? If so, where's the old sql file I need to import into it? And how would I do that?
cross compiling on ubuntu fails with "gcc: error trying to exec 'cc1':"
location: ubuntuforums.com - date: March 23, 2012
I am trying to cross compile for an embedded linux platform.
I am running on ubuntu and I am using a gcc based toolchain that was supplied by the folks who manufacture the platform.
They have given me a total of five toolchains and four work just fine. I have been able to build code and ship libraries back and I have been told that these are working OK.
For the last toolchain, I get the following error when I try to run make:
gcc: error trying to exec 'cc1': execvp: No such file or directory
There is a cc1 in the toolchain of similar size to the cc1 in the other toolchains and all of the permissions and access modes look OK.
The folks who supplied the toolchain say that it works for them so I expect that it may be some install or config issue.
grub> find /boot/grub/stage1 fails with error 15: file not found
location: ubuntuforums.com - date: February 13, 2011
I messed up my boot to ubuntu somehow, but booting to windows xp works. (which i installed after ubuntu, which helped in screwing up the ubuntu boot)
Most help I found for this tell me to boot to live cd (which i'm on now) say to run grub in terminal and type
and both returned
Error 15: File not found
I get the same error when i boot to the SGD (Super-Grub Disc) and try any of the linux booting options. I can't get ubuntu to run.
Page: 1 2 3 4 5 6 7 8 9 10