Need help deploying web-service to EC2 with Tomcat7

2011-06-14 Thread Lisa and Terence Davis

Hi Everyone,

I have a web-service that I've developed using Tomcat7/MySQL5 using
NetBeans 7.  In the IDE it all works fine.  For testing however, I need
to get it onto an EC2 instance so users other than me can access it.  I
have created an EC2 micro-instance, installed Tomcat 7 and MySQL 5 (the
same versions as on my dev env) and deployed my .war file.  The
deployment succeeds at least partially because I can get to the simple
static Hello World index jsp page and because it tries to access my
database user (which I then created).  I don't see any errors in the log
and I've gone back-and-forth trying all sorts of desperate things to try
and get this working.  I'm sure there must be a simple solution but I
just don't know what it is.

Any ideas?

Thanks in advance,

Terry



Re: Need help deploying web-service to EC2 with Tomcat7

2011-06-14 Thread Pid
On 14/06/2011 08:03, Lisa and Terence Davis wrote:
 
 Hi Everyone,
 
 I have a web-service that I've developed using Tomcat7/MySQL5 using
 NetBeans 7.  In the IDE it all works fine.  For testing however, I need
 to get it onto an EC2 instance so users other than me can access it.  I
 have created an EC2 micro-instance, installed Tomcat 7 and MySQL 5 (the
 same versions as on my dev env) and deployed my .war file.  The
 deployment succeeds at least partially because I can get to the simple
 static Hello World index jsp page and because it tries to access my
 database user (which I then created).  I don't see any errors in the log
 and I've gone back-and-forth trying all sorts of desperate things to try
 and get this working.  I'm sure there must be a simple solution but I
 just don't know what it is.

What do the logs say?


p



signature.asc
Description: OpenPGP digital signature


Re: Need help deploying web-service to EC2 with Tomcat7

2011-06-14 Thread Hassan Schroeder
On Tue, Jun 14, 2011 at 12:03 AM, Lisa and Terence Davis
lisn...@verizon.net wrote:

OT: Dear Lisa and Terence -- It's 2011, and while togetherness is
wonderful, it's hard to take someone seriously who can't figure out
how to get at least their own free gmail account :-)

 I have a web-service that I've developed using Tomcat7/MySQL5 using
 NetBeans 7.  In the IDE it all works fine.

Great. How's it work when you run it locally *without* the IDE?

-- 
Hassan Schroeder  hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org