tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Hall <rfha...@yahoo.com>
Subject Re: Database Connection Error Cannot create PoolableConnectionFactory
Date Wed, 19 Jul 2006 20:35:16 GMT
Cameron,

You wrote:

> I have a newly installed and configured Ubuntu
> server running
> Tomcat5.5 and Mysql 5.0. This server was created in
> an attempt to
> migrate from a Red Hat server in a similar
> configuration, running the
> exact same webapp. Most of the
> configuration/classpath differences
> between the two platforms have been ironed out.
> 
> The Problem:
> 
> When our webapp trys to connect to the database on
> localhost, an exception
> 
> 'java.security.AccessControlException: access denied
> (java.net.SocketPermission localhost resolve)'
> 
> is generated.
> 

Looks like the OS is unable to resolve localhost.
Does the ubuntu server have the following in its
/ect/hosts file?

127.0.0.1    localhost

-Bob

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message