about
  demos
  download
  documentation

documentation

How do I generate a self-signed certificate for my omixed installation?
First generate a key store by doing:
keytool -genkey -alias tomcat -keyalg RSA -validity 10000 -keystore keystore.key
supplying a password, that you use below in your server.xml
<Connector port="8081" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="/path/to/keystore.key" keystorePass="myKeyPass" />
then restart your server.
I am working on OSX, but I when I try to build the server I get back several "WebParam" errors.
You need to add the location of your JAVA_HOME to your ~/.profile . e.g.:
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
omixed can't seem to connect to the database on deployment.
Verify that your database-user really can connect to the database from the command-line of the same machine you have installed the omixed server on, and that you have granted ALL PRIVILEGES to it, because it needs to be able to create databases. Remember access rights to "localhost" only won't work over JDBC. You need to specify the IP or %.
On OSX, the server is deployed successfully, but the AdminConsole won't start.
Typically, you get
$ java -jar AdminConsole.jar Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:675) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:316) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
This is because, even if Java 6 is set to be default on your system, there is still a symbolic link to Java 5 in '/System/Library/Frameworks/JavaVM.framework/Versions'. You need to
cd /System/Library/Frameworks/JavaVM.framework/Versions/ sudo rm CurrentJDK sudo ln -s 1.6 CurrentJDK
On Ubuntu, the server is deployed but blank pages are displayed. We are using the Ubuntu-standard apt package of Tomcat.
It seems the log4j that comes bundled with the apt version of Ubuntu tomcat conflicts with the one bundled in the OmixedServer lib. You can try removing the log4j JAR from the unpacked war file and restarting the server. However we recommend you use a downloaded tomcat of your own.