ubuntu-12.04

“Could not locate SessionFactory in JNDI” with Hibernate in Jetty under Eclipse Juno

冷暖自知 提交于 2019-12-10 19:06:27
问题 I've spent a few days understanding this problem, but I have not come up with a solution. The following are posts that are having similar problems: Similar Post 1, Similar Post 2, Similar Post 3. I have tried some of the partial solutions there, but nothing has resolved the problem. Problem I'm developing a Google Web Application and using Hibernate for the persistence layer to connect to a Postgresql database. I run it in development mode with the built-in Jetty server that comes with the

Ubuntu Nginx/Laravel 500 Internal Server Error

*爱你&永不变心* 提交于 2019-12-10 17:53:29
问题 When I try to access say: Http://localhost/page I get a 500 Internal Server Error from nginx. 500 Internal Server Error nginx/1.1.19 is all it states on the page. In the log file I get this error: 2014/07/06 17:56:32 [error] 2056#0: *2 rewrite or internal redirection cycle while internally redirecting to "/index.html", client: 127.0.0.1, server: localhost, request: "GET /download HTTP/1.1", host: "localhost" EDIT: It looks like it is an issue with the Routes I set for laravel not taking

Java keeps saying it can't find the jdbc mysql driver

心不动则不痛 提交于 2019-12-10 17:27:29
问题 Here's yet another question about jdbc's mysql driver. Considering the number of search results I got when I googled, I'm pretty bummed nothing I found in them worked for me. The error: hostname# java -cp /usr/share/java/mysql-connector.jar:/home/user JDBCTest java.sql.SQLException: No suitable driver found for jdbc:mysql://<db ip>:3306/dbname at java.sql.DriverManager.getConnection(DriverManager.java:596) at java.sql.DriverManager.getConnection(DriverManager.java:215) at JDBCTest.main

R lapack routines cannot be loaded

流过昼夜 提交于 2019-12-10 16:49:13
问题 I usually ran different statistical analysis in R with routines that use lapack like gam() lm(), etc but after several updates of libraries the following error appears: library(mgcv) This is mgcv 1.7-22. For overview type 'help("mgcv-package")'. model <- with(chlaR,gam(ClorMAX ~ s(DegDay_NM))) Error en eigen(St, symmetric = TRUE) : lapack routines cannot be loaded Además: Mensajes de aviso perdidos In eigen(St, symmetric = TRUE) : unable to load shared object '/usr/lib/R/modules//lapack.so':

Failed to add the host to the list of known hosts, how to debug [closed]

帅比萌擦擦* 提交于 2019-12-10 16:04:17
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . Try to ssh using -v. The output is: ccc@es-chen:~$ ssh cccadmin@ccchost -A -X -v OpenSSH_5.9p1 Debian-5ubuntu1.7, OpenSSL 1.0.1 14 Mar 2012 debug1: Reading configuration data /home/ccc/.ssh/config debug1: /home/ccc/.ssh/config line 11: Applying options for * debug1: Reading configuration data /etc/ssh/ssh_config

R - shiny server on Ubuntu

时光总嘲笑我的痴心妄想 提交于 2019-12-10 14:57:47
问题 I'm fairly new to R, Shiny, Shiny Server and Ubuntu 12.04. After a long day I've got just about everything working except for actually having shiny-server host my app. I'm trying to host my app locally. This is my error: Error in library(ggplot2) : there is no package called ‘ggplot2’ Calls: runApp ... startAppDir -> sys.source -> eval -> eval -> library Execution halted And here is some relevant info generated by >sessionInfo(): R version 3.0.3 (2014-03-06) Platform: x86_64-pc-linux-gnu (64

Installing Sonar on Ubuntu with mysql

巧了我就是萌 提交于 2019-12-10 13:23:26
问题 I'm trying to get the nativ sonar package working on ubuntu 12.04. It's running and accessable on port 9000 when im running it with H2. If i'm switching over to mysql - its not working, looks like DB-Connection fails. Logginname, table and permission are doublechecked severall times. when i try to acces " http://ip:9000/setup " following message is displayed: We're sorry, but something went wrong. Please try back in a few minutes and contact support if the problem persists. In the logfile i

rails 3.2.3 doesn't work on https using webrick in ubuntu 12.0.4

荒凉一梦 提交于 2019-12-10 13:05:41
问题 Have been trying to get a fresh, just created rails application to work on ssl using webrick in ubuntu 12.0.4. Have tried all possible methods that I'm aware of. Tried using config.force_ssl = true in application.rb , also force_ssl in application controller . For some reasons, when I use https:// loacalhost:3000 on firefox I get an error message saying, ###An error occurred during a connection to localhost:3000.### ###SSL received a record that exceeded the maximum permissible length.### ###

Error during rails installation Ubuntu 12.04

折月煮酒 提交于 2019-12-10 12:58:26
问题 I'm installing rails on Ubuntu machine, so far I got no problems reading the following tutorials: https://www.digitalocean.com/community/articles/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm http://pragashblog.blogspot.com/2012/05/setting-up-rvm-ruby-and-rails-on-ubuntu.html However when I try to install rails: gem install rails I'm getting the following error: Building native extensions. This could take a while... ERROR: Error installing rails: ERROR: Failed to

Automating Git pull process on a ec2 ubuntu instances

二次信任 提交于 2019-12-10 11:03:49
问题 I am running a couple of ubuntu ec2 instances, I want to run an automation script which will pull the code from Github whenever a new instance is booted from the AMI. The thing is presently I am ssh ing to the server and run the command git pull origin master and it will ask for password key. How do I automate this process? So after booting the new instance from a AMI this script should: Run Pull the code and also the submodule Create couple of files and configure it Please help me to achieve