General :: Create A Data Source In Tomcat 6 That Points To Mysql?
May 30, 2010
I am using liferay5.2 with tomcat 6. after installation of liferay5.2 i am unable to configure the datasource that points to the database mysql.without this liferay wont function. how to create a mail session in tomcat that points to the mail server. i am using fedora 6.
View 5 Replies
ADVERTISEMENT
May 30, 2011
I am working in Redhad linux, how to create Data source Name in Linux..
View 1 Replies
View Related
Aug 7, 2010
How do I create a new mysql user and a mysql database at the shell prompt?
View 1 Replies
View Related
Jun 30, 2011
I am currently running a lot of simulations and am always interested to speed things up a bit. My workstation has 2 hdds, 1 ssd-drive (sda1) and 1 mechanical platter drive (sdb1). Of course, most of my data are on the mechanical drive and the ssd is mostly used for booting.
However, to speed things up a bit, I wonder if it is possible to create a pointer or link in a directory residing within the mechanical drive, which will write the data, in reality, to the ssd instead. For example,
Code:
/home/me/sims/data/dump
would normally reside on sdb1. But I would like it to point to a mount point of the ssd instead, e.g.,
Code:
/ssdtemp/dump
View 3 Replies
View Related
Feb 16, 2011
But now I have task of connecting mysql and tomcat. I dont have any idea on this. However I looked some manuals but did not find any luck. how to connect mysql with tomcat. btw I have downloaded mysql connector and copied the .jar file to $CATALINA_HOME/lib
View 4 Replies
View Related
Mar 3, 2011
I just tried installing mysql on my vps from source code. after untaring the source code. when i tried to configure the ./configure script. iwas not able to find it. it is not there.
View 1 Replies
View Related
Dec 19, 2009
I just installed FC12 x86_64. After a clean install I found that httpd, mysql, svn, svnadmin, etc are already installed. I still need to install and configure tomcat running as a worker behind httpd and configure everything. But my question is about security. What do I need to do to ensure that when I start httpd and mysql that they are secure? Are there default settings that I need to change? Are there security patches I need to apply?
System Config:
Fedora Core 12 x86_64
AMD Athlon II X2 250 3.0 GHz dual core
GIGABYTE GA-MA785GM-US2H
G.SKILL 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 1066 (PC2 8500) Dual Channel Kit Desktop Memory Model F2-8500CL5D-4GBPK
View 8 Replies
View Related
Aug 21, 2010
A friend of mine is building a data acquisition system for a vehicle that will wander through city streets and roads and perhaps even off-road places. At the end of the day, back at the garage, the data must be downloaded and, if needed, upload an update of the data acquisition program. The network is wpa_supplicant, and it was chosen an USB device, because the original computer did not had any wireless interface and do not have any other possibility. The problem is that, when the vehicle comes back, very often there is no access to the on-board computer, or the connection lasts just a few minutes.
The computer must be reinitialized so the connection is back and the scripts run completely. Sometimes the connection is made, but the guys are so used to restart the computer that they do it anyhow, and then the connection does not come up, they have to restart it again.I have being thinking, as the vehicle drives all around, perhaps finding some access points along the day, if this connection trials - and failures - are messing up something. Or, the connection instability as the vehicle approaches the garage, could be driving his scripts mad?
View 2 Replies
View Related
Jan 13, 2010
I am up and running. Symptom: webapp/servlet deployed to Tomcat, utilizes JDBC driver for MySQL connectivity. Upon launching application in browser and performing action requiring database interaction, exception thrown, server log:
[Code]...
View 1 Replies
View Related
Apr 4, 2011
I have one more question about R.I have made a scatter graph, now I need to place a legend describing both data (red points) and lowess line (blue line with yellow triangles).How do I do that?Here is the graph-I have started it this way-> legend("topleft", pch=1, legend="h,srtm", fill=c("red","yellow"))Not sure about that.How do I describe the fill color, line style, etc.?
View 1 Replies
View Related
Jul 1, 2011
I have a large collection of files on a computer (tallgrass) and tallgrass is running an ftp server, which I have the username and password to. There is about 600 GB of files on tallgrass that I need access to, but I don't have a big enough hard drive. I need these data files to run a cpu-intensive calculation, and my CPU is significantly better than tallgrass' cpu, which is why I want to do it on my computer. (Tallgrass also doesn't have enough RAM.) What I would like to do is create a "symbolic link" on my hard drive that will point to the directory containing the data on tallgrass. Read-only is perfectly OK. This way I could read from mylink/data0001.dat and it would read from the file data0001.dat over ftp from tallgrass. I shouldn't have any speed issues because tallgrass is on my 1 Gbps LAN. Is there a way I can do this?
View 2 Replies
View Related
May 6, 2010
I want to import data from MySQL to MSSQL. I've been searching in the web, and I can't find a good and straight answer. How can I do it?
View 2 Replies
View Related
Jun 28, 2011
Is there any open source virtual machine so i can study the source in order to create my own? i'm gonna write my own, so it doesNT matter if license does not allow further development of the code.
View 1 Replies
View Related
Jan 9, 2010
At work I use Ubuntu and one nice thing about it is that it creates mount points for removable drives automatically.
In Slackware I can set up XFCE so that it mounts drives when they are plugged in, but only if they're already specified in the fstab (which means I must have used them and set them up in advance).
This is becoming a problem now that removable usb drives of all sorts are so common.
View 2 Replies
View Related
Oct 25, 2010
Recently, I started downloading data from a website that shows houses for sale. My goal is to create a website on which people can find out about the pricing over the course of time and the length of time a house remains available. I have created a MySQL database, which is currently being fed each night. At this point, I have enough data records to start analyzing and mining this data.Now I have come to the part of starting a datawarehouse. I love to use a data modelling tool, like the one from MySQL. Yet, I have a hard time finding some documentation over data modelling a data vault datawarehouse using open source tools. Pentaho looks promising, but I need to keep this low-budget. So low-budget it needs to be free. MySQL Workbench has a moddelling tool as well. Yet it does not support a data vault scheme.Has anyone any experience in setting up a datawarehouse? Or in particular a data vault datawarehouse using open source tools?
View 5 Replies
View Related
Jun 14, 2011
I have about 200k data entries in xml file. I wrote php script (using php-xml) to read xml file and insert into mysql. At first it went really quickly inserting, then after a while after inserting 100k entries, it slowed right down, just like it would not even doing anything. I have CentOs with 512M on VirtualBox running as server.
View 3 Replies
View Related
Jan 18, 2010
I reinstalled ubuntu linux and lost some mySQL database files that were located in the /var/lib/mysql/ folder. I need to recover them ASAP. How do i go about it. Is it possible to recover .frm, .myb files using scalpel. Is there an alternate software I could use?
View 1 Replies
View Related
Aug 31, 2010
We have a test server in which we have not taken backup. Contents under /etc is entirely lost.
I need to execute scp to copy mysql data directory.
Also it is in remote location. Can I recover the data by scp by creating some /etc/passwd , /etc/shadow files ?
View 6 Replies
View Related
Jun 7, 2011
Right now to install software from source I do a ./configure && make && make install which doesn't allow for easy uninstallation (some don't come with an 'uninstall' goal, and if they do you have to keep the source around). I'd like to learn how to create binary RPMs from source tar.gz files (one reason being that it makes for easier uninstallation). I tried the following but it complains with the following errors:
Code:
$ rpmbuild -ta mysource.tar.gz
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)
Apparently that's what happens when there is no SPEC file in the tarball. But all the tars I've tried give this same error. Is there a simple way to create binary RPMs from source files - as an example, this source tar [URL].
View 4 Replies
View Related
May 19, 2011
my vpn server has been working well. but all user accounts are stored in /etc/ppp/chap-secrets. the question is how to create a pptp username through mysql?
View 3 Replies
View Related
Aug 5, 2011
i just uppgraded to Centos 6. Linux 2.6.32-71.29.1.el6.i686 on i686. now im getting some troubble whit this file: wget [URL]... i create a downloads directory and download the source file and--
mkdir $HOME/downloads
cd $HOME/downloads
But when i try to build courier-authlib whit this comand: #sudo rpmbuild -ta courier-authlib-0.63.0.tar.bz2. I get this:
[code]...
what can be the reason?
View 5 Replies
View Related
Feb 8, 2010
mysql -u root -p but unable to create any database.
if i tried to configure it's giving error ERROR 1006 (HYOOO) : can't create database 'test' (error: 2)
my location for database is /var/lib/mysql and permissions are
drwxrwxrwx mysql root.....
View 1 Replies
View Related
Nov 15, 2010
Suppose I have a 80 GB hard disk (sda) with 4GB of contents. Using a dd to copy to a different disk
Code:
dd if=/dev/sda of=/dev/sdb
copies all the contents (including free space). So sdb also needs to be 80GB.
You will notice that in VMWare or VirtualBox disk images, it is possible to set the disk to use only the amount of space of actual data. So a 80GB virtualbox/vmware image with 4GB of contents will be 4GB.
Is it possible to do that with an actual hard disk (sda) image? I want to create an image of an actual hard disk, copy it to DVD and transport it (in mail) for restoration on another computer (having same hard disk).
View 6 Replies
View Related
Sep 6, 2009
I was trying to do some graphing of the Disk Usage of the my root partition.
I tried it with rrdtool,but I am not able to create any graph.
I followed the below steps
1. Creating a rrd database file
rrdtool create diskusage.rrd --start N DS:Usage:ABSOLUTE:600:1:100 RRA:AVERAGE:0.5:1:432
I then updated the rrd file with below cron entry code...
Why no data is coming into the rrd file ?
View 1 Replies
View Related
Jun 2, 2010
i am using liferay5.2(mysql included in the download pack) on fedora. while liferay is working fine but i cannot connect to mysql.i am getting the error
[
[root@localhost ~]# ln -s /var/lib/mysql/mysql.sock /tmp
[root@localhost ~]# /etc/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.
[code]....
i didnt find the mysql.sock file in the location /var/lib/mysql/mysql.sock. i cannot find the portal-ext.properties file also to make intial settings.
View 9 Replies
View Related
Jul 10, 2009
I've met several issues recently while building the MySQL server from CentOS 5 SRPM. The root problem are the expired SSL certificates used for built-in tests making all the tests fail. The problem is widely described on the net and I am in doubt now what to do: should I submit a patch or what?
View 1 Replies
View Related
Apr 25, 2010
I am trying to install MySQL by compiling source files.Using mysql-5.1.46]version./configure --prefix=/usr/local/mysql was fine and I am getting following error while "make"
[Code]...
View 2 Replies
View Related
Dec 3, 2010
I am using MySQL version 5.1.47 (64bit) on Centos 5.5 in production environment. I am exploring option to monitor MySQL though SNMP traps. Can anybody please let me know if there is any open source SNMP tool that can be used for MySQL monitoring?
View 4 Replies
View Related
Jul 14, 2009
I am trying to modify the source code of a C application (quagga) in order to insert data into a mysql table. I have added 2 new source files to the source (neto_mysql, neto_trend) which in turn use mysql.h. I have also modified the Makefile.am file to include the /usr/include/mysql directory.
When trying to compile, i get the following error. What am I missing? I have minimal experience with formal C applications like this. I feel like I may also have to include the mysql.h file in the libbgp? I dont understand why it cant find the mysql functions...
Code:
if gcc -DHAVE_CONFIG_H -DSYSCONFDIR="/usr/local/etc/" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/include/mysql/ -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes
[code]....
View 12 Replies
View Related
Aug 19, 2010
Is there a startup option I can put in the /etc/init.d/mysqld script or an option in the /etc/my.cnf file to enable the Archive engine for MySQL or do I have to compile it from the source?
[Code]....
View 1 Replies
View Related