[Bug 217607] Re: tomcat cannot connect to mysql

Alexandra alexandra at actimind.com
Mon Apr 27 16:34:43 BST 2009


Hi everybody,

That's what we've found while investigating this issue with actiTIME.

This error appears when running Tomcat 5.5.* in the security mode.
There might be several possible solutions:

1. Run Tomcat without security option (recommended if running Tomcat in
security mode is not important).

2. Recommended if running Tomcat in security mode:

Due to the specific default configuration of the security mode on Tomcat
5.5.* it is nessesary to add the following line to atalina.policy file
to the section grant codeBase "file:${catalina.home}/bin/tomcat-
juli.jar":

permission java.io.FilePermission <actitime_path>${file.separator}WEB-
INF${file.separator}classes\${file.separator}logging.properties",
"read";}

where actitime_path is the path to the directory to which actiTIME is
installed.

3. Not recommended.

You may update your Java Connector.

We don't recommend this workaround because we haven't tested actiTIME
for work with the new connector and we can't guarantee its proper
work.However, no bugs were ecnountered up to date.

The new Java Connector could be dowloaded here:
http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.7.tar.gz/from/pick#mirrors


To update your Java Connector please go to

        <actitime dir>\WEB-INF\lib

There you will find the file mysql-connector-java-3.1.10-bin.jar.
Please delete it and copy to this directory the file mysql-connector-java-5.1.7-bin.jar which you can take from the downloaded archive. Then restart the server and check if it is working fine.

Regards,

Alexandra Osipova
---
Product Coordinator
Actimind, Inc.
http://www.actimind.com

-- 
tomcat cannot connect to mysql
https://bugs.launchpad.net/bugs/217607
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.



More information about the Ubuntu-server-bugs mailing list