Historique de la page
...
| Bloc de code |
|---|
<Connector
port="8080"
maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true"
emptySessionPath="true" />
|
{tip:title=Apache frntal server}}If your Tomcat is behind an frontal server (like Apache), don't forget to set the parameter on the corresponding connector , (here we are using with mod_jk/AJPv13):
| Bloc de code |
|---|
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009"
enableLookups="false" redirectPort="8443" protocol="AJP/1.3" emptySessionPath="true" />
|
| Astuce | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
Statistics charts do not appear (InternalError)At first check that the emptySessionPath parameter is correctly set as shown above. If you get the following error (Unix platforms only):
You have to unset the DISPLAY environment variable before launching the application, as shown on the helpdesk.sh script (cf 03 Administration ):
Statistics charts do not appear (NoClassDefFoundError)If you get the following error:
It is probably an X11 issue (the AWT library tries to use an unexistant X11 server to generate images). Add the following option when launching the application:
See:
There are unused things in the databaseDescription: upgrading the database structures with Hibernate creates new tables and fields but does not remove obsolete structures. Depending on the version you started with, there may effectively be unused tables and fields. Solution: Obsolete fields and tables can be removed manually using the following SQL statements:
| ||||||||||
With MySql, the name of the foreign keys is shown with SHOW CREATE TABLE h_acti; (resp. h_depa); once known, the foreign keys can be dropped with ALTER TABLE h_acti DROP FOREIGN KEY FKB6E0538EF9CD6EB0; (resp. h_depa et FKB6E1B7A961B67C78), cf http://lists.mysql.com/mysql/204151).
| Astuce |
|---|
In portlet deployment, the menu entries appear as ugly buttons
...