Software Links
Getting Started
- Doc Structure
- A Globus Primer
- Globus Is Modular!
- Quickstart
- Installing GT
- Platform Notes
- GT Developer's Guide
- GT User's Guide (coming soon)
- Migrating from GT2
- Migrating from GT3
Reference
- Best Practices
- Coding Guidelines
- API docs
- Public Interfaces (coming soon)
- Resource Properties
- Samples
- Glossary
- Performance Studies (coming soon)
Manuals
Common Runtime
Security
- Non-WS (General) Security
- WS Java Security
- Message-level
- Authz Framework
- CAS
- Delegation Service
- MyProxy
- GSI-OpenSSH
- SimpleCA
- SGAS
Data Mgt
MDS4
Execution Mgt
Table of Contents
- 1. I am using MySQL and keep on getting a java.sql.SQLException: Cannot connect to MySQL server on localhost:3306 exception - what is the problem?
- 2. Is there a MySQL server running on the machine/port you are trying to connect to? (java.lang.NumberFormatException)
- 3. Why do I get Exception in thread "main" java.lang.IllegalAccessError: tried to access field...?
Generating verbose log output is a critical aid in troubleshooting of the DRS and is useful
when communicating problems to Globus support lists. To increase logging detail, add the following
line to the $GLOBUS_LOCATION/container-log4j.properties file.
...
log4j.category.org.globus.replica=DEBUG
...
The MySQL JDBC driver recommended in the OGSA-DAI documentation is not compatible with the latest versions of MySQL. This is the case for MySQL 4.1.6 and 4.1.7 and may be the case for other versions. This problem usually causes the following error message to be logged:
java.sql.SQLException: Cannot connect to MySQL server on localhost:3306.
To address this problem all you need to do is use a newer version of the MySQL JDBC driver JAR which can be downloaded from:
http://www.mysql.com/products/connector/j/
If you have already deployed services using the incompatible JAR, follow these steps:
Stop your container.
Replace the JAR file in the lib directory in the container. See Where Does Stuff Go? above.
Restart the container.
This error can arise due to clashes of Xalan shipped with certain versions of Java and that shipped with the Globus Toolkit. Please see the OGSA-DAI FAQ at http://www.ogsadai.org.uk/docs/R6.0/doc/misc/FAQ.html#IllegalAccessError for more information.
Please check up the OGSA-DAI website (www.ogsadai.org.uk) for any updates. In particular the OGSA-DAI FAQ although note that this also caters for the non-WSRF distributions of OGSA-DAI.