0
votes
1answer
63 views

AMI Micro Linux Instance, Configure tomcat7 to work with Mysql

I've installed tomcat7 and mysql55 on my ami linux micro instance. I'm trying to figure out how to configure tomcat7 to communicate with mysql, but have had no luck. I've always been a glassfish user, ...
1
vote
0answers
33 views

Upgrading JIRA 5.0.1 to JIRA 6

I am trying to upgrade my jira version from 5.1 to 6 in my test server. with windows(64) platform. So I downloaded jira 6 version with folder name as "atlassian-jira-6.0-m08-standalone". then I ...
1
vote
2answers
137 views

Deploying tomcat/mysql application on windows

Our web service software consists of a (precompiled) war file and a mysql database. We provide installation packages to deploy it on Ubuntu or Fedora, in a standard Tomcat7/MySQL/Apache2 setup using ...
1
vote
1answer
75 views

best practice or tools for stress test on a Tomcat application server and MySQL?

I am using Tomcat 6 application container for my web site. HTTP requests come from mobile phones and every time server receive a httprequest it opens MySQL connection, insert some data in it and then ...
1
vote
1answer
89 views

Recommended Configuration to setup Tomcat 7 on windows OS

I have created a small web application using java/jee which will be deployed in LAN environment. I want to know the recommended hardware configuration. Details are as follows 1) Expected number of ...
0
votes
1answer
480 views

How to install Tomcat 7 and MySQL on AWS EC2?

My Question I am running a AWS EC2 micro instance with Amazon Linux. Now I want to install Tomcat 7 and MySQL and MySQL Workbenchon this instance. I also want to copy my Java Servlets on Netbeans on ...
1
vote
0answers
332 views

java.net.ConnectException: Connection timed out, Tomcat 7 and iptables

I am experiencing a weird problem.. Basically our Java developer said that in the java application the services that access the db to write on it get this error: java.net.ConnectException: ...
1
vote
1answer
160 views

Reduce Tomcat6 memory footprint

This is my setenv.bat (windows installation). It's the MySQL enterprise monitor service manager. set JAVA_HOME=D:\MYSQL_~2\SERVIC~1\java set JAVA_OPTS= ++JvmOptions="-XX:+UseParallelOldGC" ...
0
votes
0answers
188 views

stress test apache tomcat configuration

am using grails with apache tomcat. I have set database connection pooling to 300 and the following connector for tomcat. but I can't do 4000 concurrent access using apache jmeter <Connector ...
0
votes
2answers
53 views

Two computer share load

I have two windows server 2008, name as computer A and computer B. I intend to use computer A as a web and database server and computer B as a web server. I'm using apache tomcat and mysql database. ...
1
vote
1answer
343 views

How to use JDBC Connection Pooling without JNDI DataSource? (in Apache Tomcat)

I have an Apache Tomcat 7 server. I have a quite complex Java Servlet application running on it which needs some MySQL queries per POST. Thus I need a MySQL Database connection to do the query. ...
2
votes
2answers
337 views

Installing/Configuring PHP to work with tomcat5 and mysql on CentOS

I need to install php on a CentOS machine and configure it to work with tomcat5 and mysql Anyone know how i can do this? the home folder for tomcat and mysql is /usr/share/tomcat5 /usr/share/mysql ...
0
votes
1answer
186 views

Spring-mvc project can't select from a particular mysql table

I'm building a Spring-mvc project (using JPA and Hibernate for DB access) that is running just great locally, on my dev box, with a local MySQL database. Now I'm trying to put a snapshot up on a ...
3
votes
3answers
651 views

Tomcat - Spring Framework - MySQL, Load balancing design

Lets say I have Spring Framework App that is running on Tomcat and uses MySQL database: What would be the best solution in this instance that would allow for sociability ...
4
votes
5answers
201 views

What are the 'gotcha's' a software developer needs to look out for if tasked with setting up a production ready server?

As a software developer I am very used to installing my typical stack (java, mysql and tomcat/apache) on my development machine. But setting up and securing a production machine is not something I ...
0
votes
2answers
32 views

Strange behaviour with mysql and tomcat

I have a strange behaviour in my application The application normally starts in 30 seconds but sometimes it takes 7 minutes to start. It starts in 30 minutes again only when I restart mysql. Mysql ...
1
vote
1answer
116 views

Server hangs on shutdown

I had recently started a server using /startServer.sh and everything was perfect. Suddenly, there was a power failure here and my os shut down. After booting up, when I tried running ./startServer.sh ...
2
votes
1answer
1k views

Which AMI to to use for Java/Tomcat/MySQL in Amazon EC2?

I originally posted this on stackoverflow.com and it was suggested serverfault.com might be a better place to ask this question. So here goes: I'm trying to determine which Amazon Machine Image ...
1
vote
1answer
178 views

web application can't connect to database

I have a web application which accesses MySQL using Hibernate as a JPA provider. Though all is well on my development rig, once I deploy the WAR to my server I get the following error: ...
0
votes
2answers
2k views

Iptables blocking mysql port 3306

I got a Tomcat server running a web application that must access a mysql server via Hibernate on the same machine. So, I added a rule for port 3306 to my iptables script but tomcat cannot connect to ...
1
vote
2answers
298 views

Error running any Java web project on my notebook

when I try to run any java web project I get this error. BUT this only happens on my notebook. I've tried on other desktop and other notebook on the same order and everything works well there but to ...
0
votes
1answer
56 views

Linux Server Specifications

I am examining the possibilities and the hardware requirements of a server. The server will have a Java-based webapp running Tomcat 7.0 with MySQL database on Debian 6.0 (stable). This server needs to ...
1
vote
2answers
462 views

Server stress test and configuring for beginners?

Our city is having a very public event soon (data harvesting for public spots available in the city hall) which required our company to create a form application to submit curriculums and some ...
0
votes
1answer
158 views

Server getting overloaded

I have 2 setups tomcat5.5.20 on Redhat and mysql 4.1.22 on another Redhat server. Recently my webserver started getting overloaded up to 80-90%. After checking i found repeating errors(each ...
0
votes
1answer
423 views

Setting up Tomcat with pre-existing MySQL from WAMP

I have Tomcat running on 8080 port and WAMP's apache on port 80. Can I use Tomcat with the existing MySQL setup? How do I go about it? I have downloaded the mysql connector java 5.1.13. System ...
0
votes
1answer
660 views

Java class issue on Debian 6: java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool

I'm having trouble running a script which should rebuild the database for a web service (the Fedora Commons digital repository) which normally runs inside Tomcat 6 (stock Debian version). I'm running ...
0
votes
1answer
218 views

Does MySQL/JBOSS/Tomcat/JDBC have a 20 process limit?

Reason for asking this is that, I have been firing around 200 concurrent connections via SOAP to a web service, and in MySQL, I have never seen more than 20 connections being processed at a time. My ...
1
vote
2answers
744 views

Tomcat can't talk to MySql after outage

I missed a payment for my server and hey suspended my account for a day or so. When they brought the server back up all my data was in tact but for some reason Tomcat can't make a JDBC connection to ...
1
vote
2answers
786 views

Cant connect to MySQL server from Java application

This is on VPS\Centos server. The MySQL server is pre configured. I am running the Java application on Tomcat My Java web application is not able to connect to the MySQL server. I get an error - ...
0
votes
1answer
589 views

Tomcat cannot connect to MySQL on localhost

I have deployed an application on my Tomcat server with JDBC resources defined. What is puzzling me is that I can connect to the database (which is running locally on the server) only using the ...
0
votes
3answers
768 views

Tomcat's connection pool opens only 20 connections to mysql

I have a java application with following line in context.xml <Resource driverClassName="com.mysql.jdbc.Driver" maxActive="100" maxIdle="30" initialSize="10" maxWait="7000" ...
0
votes
1answer
372 views

Tomcat + mod_jk blocking mysql connections for other Apache 2 VirtualHost apps

I have responsibility for a legacy Tomcat webapp running as webapps/ROOT. Previously the app was running on a dedicated Linux server, but to save money I was asked to move it to a different Linux ...
12
votes
9answers
52k views

Unable to connect to mysql through JDBC connector through Tomcat or externally

I've installed a stock mysql 5.5 installation, and while I can connect to the mysql service via the mysql command, and the service seems to be running, I cannot connect to it through spring+tomcat or ...
1
vote
2answers
2k views

Tomcat does not recognize the MySQL .jar library

I tried several different ways such that Tomcat loads the MySQL drivers when running my web application. I'm using Ubuntu 8.04, and the libraries come from the libmysql-java package. They are located ...
5
votes
8answers
804 views

How can I prevent that a server admin can see data?

I am running Apache Tomcat on a Windows 2003 Server and I have data stored in a mySQL database. How can I prevent that a server admin can see any data?