Name:
Password:
remember me
or register
Valid XHTML 1.0 Transitional Valid CSS! SourceForge.net Logo
FAQ
Frequently Asked Questions
Installation
Q: When running I get an error: Compiler not found in JAVA_HOME or similar.

A: copy the tools.jar from your j2sdk directory into the tomcat/common/lib directory.

Q: When running setup.jsp it seems to have stopped at "Step 2: DB Connection".  
A: This normally happens when Corinis can not open a connection to the database.

  1. Make sure the database server is installed and running.
  2. Make sure you created a database for corinis (use the mysql commandline client to create one):
    # mysql -u root
    mysql> create database corinis;
    Query OK, 1 row affected (0.00 sec)
    mysql>

  3. Verify your username/password/database by using the commandline client:
    # mysql -h localhost -u username -P 3306 -p corinis
    Enter password: ***
    mysql> show tables;
    Empty set (0.00 sec)

  4. Make sure the configuration in the corinis.xml (either in your WEB-INF/classes or your execution directory) is setup correctly.
  5. If you use the single-app/war way, make sure that you reload your context/restart tomcat after you changed something in the corinis.xml (since it's loaded form classpath).

If all this did not help, ask on the mailing lists/forum.


Q: When trying to login I get: java.lang.NoClassDefFoundError: javax/servlet/ServletContext
A: make sure you got the servlet.jar from the tomcat common/lib dir in your classpath.


Q: I am geting errors like: Fatal Database error java.lang.NullPointerException? Query: select distinct corinismachine.* from corinismachine where(corinismachine.domain = 'localhost')
java.lang.NullPointerException
at corinis.modules.abstracts.data.DataView.deleteStatement(DataView.java:585)
at corinis.modules.abstracts.data.DataView.deleteEntry(DataView.java:1417)
at corinis.modules.core.CorinisContext.updateCache(CorinisContext.java:395)
at corinis.Core.(Core.java:172)
at corinis.Core.(Core.java:85)
at org.apache.jsp.getEntry_jsp._jspService(getEntry_jsp.java:91)
...
A: Open your configuration.xml (corinis.xml) and make sure this part is correct:
   In case the MACHINE and MACHINES tags are missing, add them.

Q: When running the configurator (setup.jsp) I get an Excpetions like java.lang.NoClassDefFoundError?: javax/xml/parsers/DocumentBuilderFactory
Step 1: Parsing configuration file test.xml... Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/parsers/DocumentBuilderFactory
        at omnis.Configurator.a(Configurator.java)
        at omnis.Configurator.(Configurator.java)
        at omnis.Configurator.(Configurator.java)
        at omnis.Configurator.main(Configurator.java)
A: This happens when xerces.jar or xercesImpl.jar are missing in the Classpath. Make sure they are in the tomcat/common/lib folder.


Core Module
Q: After running the CCM for some time, it seems to be getting slower and slower. Why (I am using mysql)?

A: The Corinis CCM uses Connection Pooling, it opens quite some connections to the database in order to be able to respond quicker (by this the overhead of connecting to the db falls away). It may be that because of your configuration the maximum numbers of concurrent conections to the database are exhaustet.

In this case you have to raise the value of max_connections in my.cnf (compare it to the configuration in the corinis.xml). When using Linux this value can easily be raised from the Default(100) to 500-1000 (depending on the ram instaled).

To find out what you max_connections is right now use "mysqladmin variables" (using linux you can also use: "mysqladmin variables | grep max_connections"; depending on your configuration you might want to add -u USERNAME -p PASSWORD)

Q: I am using FireFox|Mozilla|Gecko based browser, and I can't copy/pase in the richedit fields!
A: This is a normal behaviour. Just follow the information on the follow up site after you clicked OK.
or
A: Open your user.js file (found in Application Data/Firefox or ~/.firefox) and add:
user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "http://my.admin.domain.tld http://localhost:8080");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

You can add more sites in case you have more domains with richtext-editing.

Cms Module

Q: Why don't I see any changes in my implemented site after I saved my  document in the CMS (or on http://demo.corinis.com )

A: This is because the corinis cms is a 3-tier cms. There are three seperate systems for editing, quality management and life. When editing something it is only changed in the edit system, only after sending it to the QM (the button with the two orange arrows in a circle that look like refresh) and then life (the ok button) the changes are available on the implemented page.

Alternatively you can also appen &preview=true to the url in the life system to see the changes (if oyu changed index.jsp?Document_id=3452345 - write index.jsp?Document_id=3452345&preview=true ). This will only work if you used the taglib implementation method.

Q: I dont' see any tumbnails in the photolibrary and when I klick und the photo - there is no photo

A: Check in the Configuration XML: 1st: does the temp path exist (/CORINIS/CORE/UPLOAD/TEMPPATH), 2nd check if
        /CORINIS/MODULES/WEBALBUM/ALBUMWEBROOT in the Confirguration XML points to the correct path

Q: I created a new Template but when creating a document based on it, I only get white pages.
A: There are two reasons why this happens: either because the template file is not found, or because it is not xml-compatible. When saving the template, make sure it says OK and not FAILED

Also make sure the configuration is correkt and the files are read from there (you can also see if the files exist in the folder). If you changed something/installed recently, restart tomcat and try again.