Hi,
open xchange was horrible to install at ubuntu 7.10 - so i tried a 2nd time at ubuntu 6.10.
I followed the instructions till compiling the gui and got an error:
The second error is the mod_jk:
I was wondering why http://myserver/ajax/ shows me "Service Temporarily Unavailable". So let nmap search:
mhh, no port opened. So have a look in the mod_jk.log
i found no error in /etc/apache2/conf.d/ox.conf
in /etc/libapache2-mod-jk/workers.properties
help would be great!
thx alot,
Eisenkopf
open xchange was horrible to install at ubuntu 7.10 - so i tried a 2nd time at ubuntu 6.10.
I followed the instructions till compiling the gui and got an error:
Code:
root@ikaros:/tmp/open-xchange-gui# ant -Dlib.dir=/opt/open-xchange/lib/ deploy Buildfile: build.xml css: [xslt] DEPRECATED - xalan processor is deprecated. Use trax instead. [xslt] DEPRECATED - xslp processor is deprecated. Use trax instead. [xslt] java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.XslpLiaison [xslt] at java.net.URLClassLoader$1.run(URLClassLoader.java:200) [xslt] at java.security.AccessController.doPrivileged(Native Method) [xslt] at java.net.URLClassLoader.findClass(URLClassLoader.java:188) [xslt] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [xslt] at java.lang.ClassLoader.loadClass(ClassLoader.java:251) [xslt] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) [xslt] at java.lang.Class.forName0(Native Method) [xslt] at java.lang.Class.forName(Class.java:169) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.loadClass(XSLTProcess.java:419) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:397) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:619) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:212) [xslt] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xslt] at org.apache.tools.ant.Task.perform(Task.java:364) [xslt] at org.apache.tools.ant.Target.execute(Target.java:341) [xslt] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xslt] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xslt] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) [xslt] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) [xslt] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xslt] at org.apache.tools.ant.Main.runBuild(Main.java:668) [xslt] at org.apache.tools.ant.Main.startAnt(Main.java:187) [xslt] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) [xslt] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) [xslt] java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.XalanLiaison [xslt] at java.net.URLClassLoader$1.run(URLClassLoader.java:200) [xslt] at java.security.AccessController.doPrivileged(Native Method) [xslt] at java.net.URLClassLoader.findClass(URLClassLoader.java:188) [xslt] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [xslt] at java.lang.ClassLoader.loadClass(ClassLoader.java:251) [xslt] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) [xslt] at java.lang.Class.forName0(Native Method) [xslt] at java.lang.Class.forName(Class.java:169) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.loadClass(XSLTProcess.java:419) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:402) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:616) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:212) [xslt] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xslt] at org.apache.tools.ant.Task.perform(Task.java:364) [xslt] at org.apache.tools.ant.Target.execute(Target.java:341) [xslt] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xslt] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xslt] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) [xslt] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) [xslt] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xslt] at org.apache.tools.ant.Main.runBuild(Main.java:668) [xslt] at org.apache.tools.ant.Main.startAnt(Main.java:187) [xslt] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) [xslt] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) BUILD FAILED /tmp/open-xchange-gui/build.xml:58: java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.TraXLiaison Total time: 1 second
I was wondering why http://myserver/ajax/ shows me "Service Temporarily Unavailable". So let nmap search:
Code:
Starting Nmap 4.20 ( http://insecure.org ) at 2007-06-08 10:25 CEST Interesting ports on localhost (127.0.0.1): Not shown: 1693 closed ports PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 631/tcp open ipp 3306/tcp open mysql Nmap finished: 1 IP address (1 host up) scanned in 0.338 seconds
Code:
[Fri Jun 08 10:24:46 2007] [3749:0000] [error] ajp_service::jk_ajp_common.c (1794): Error connecting to tomcat. Tomcat is probably not started or is listenin g on the wrong port. worker=ajp13_worker failed
Code:
# Where to find workers.properties. We will create this file later in the tutorial. #JkWorkersFile /etc/apache2/workers.properties JkWorkersFile /etc/libapache2-mod-jk/workers.properties # Where to put jk logs. JkLogFile /var/log/apache2/mod_jk.log # Set the jk log level [debug/error/info] JkLogLevel error # Select the log format JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " # JkRequestLogFormat set the request format JkRequestLogFormat "%w %V %T" # This points to our servlets we install later JkMount /ajax/* ajp13_worker JkMount /servlet/* ajp13_worker
Code:
# workers.properties - # # This file is a simplified version of the workers.properties supplied # with the upstream sources. The jni inprocess worker (not build in the # debian package) section and the ajp12 (deprecated) section are removed. # # As a general note, the characters $( and ) are used internally to define # macros. Do not use them in your own configuration!!! # # Whenever you see a set of lines such as: # x=value # y=$(x)\something # # the final value for y will be value\something # # Normaly all you will need to do is un-comment and modify the first three # properties, i.e. workers.tomcat_home, workers.java_home and ps. # Most of the configuration is derived from these. # # When you are done updating workers.tomcat_home, workers.java_home and ps # you should have 3 workers configured: # # - An ajp13 worker that connects to localhost:8009 # - A load balancer worker # # # OPTIONS ( very important for jni mode ) # # workers.tomcat_home should point to the location where you # installed tomcat. This is where you have your conf, webapps and lib # directories. # workers.tomcat_home=/usr/share/tomcat5 # # workers.java_home should point to your Java installation. Normally # you should have a bin and lib directories beneath it. # workers.java_home=/usr/lib/jvm/java-6-sun # # You should configure your environment slash... ps=\ on NT and / on UNIX # and maybe something different elsewhere. # ps=/ # #------ ADVANCED MODE ------------------------------------------------ #--------------------------------------------------------------------- # # #------ worker list ------------------------------------------ #--------------------------------------------------------------------- # # # The workers that your plugins should create and work with # worker.list=ajp13_worker # #------ ajp13_worker WORKER DEFINITION ------------------------------ #--------------------------------------------------------------------- # # # Defining a worker named ajp13_worker and of type ajp13 # Note that the name and the type do not have to match. # worker.ajp13_worker.port=8009 worker.ajp13_worker.host=localhost worker.ajp13_worker.type=ajp13 # # Specifies the load balance factor when used with # a load balancing worker. # Note: # ----> lbfactor must be > 0 # ----> Low lbfactor means less work done by the worker. worker.ajp13_worker.lbfactor=1 # # Specify the size of the open connection cache. #worker.ajp13_worker.cachesize # #------ DEFAULT LOAD BALANCER WORKER DEFINITION ---------------------- #--------------------------------------------------------------------- # # # The loadbalancer (type lb) workers perform wighted round-robin # load balancing with sticky sessions. # Note: # ----> If a worker dies, the load balancer will check its state # once in a while. Until then all work is redirected to peer # workers. worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp13_worker
thx alot,
Eisenkopf
Comment