Page 1 of 1

Quick Install not working

PostPosted:Fri Jan 30, 2015 3:58 pm
by nickorossa
Hi

I've done an install using the file OpenKM-6.x.x-community-tomcat-bundle.zip and following the quick install instructions; however the Tomcat server does not respond to requests from another machine on the network. The server with OpenKM installed does not have the capability to run a browser.

System running OpenKM is CentOS 7.

I've unzipped the bundle file. Ive made a small modification to the setenv.sh to allow Tomcat to bind to IPv4. The following was added.
Code: Select all
JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses"
The port is being listened on by the tomcat processes.
Code: Select all
lsof -P | grep 8080
java      2613                root   53u     IPv4              89046       0t0        TCP *:8080 (LISTEN)
java      2613 2624           root   53u     IPv4              89046       0t0        TCP *:8080 (LISTEN)
java      2613 2625           root   53u     IPv4              89046       0t0        TCP *:8080 (LISTEN)
java      2613 2626           root   53u     IPv4              89046       0t0        TCP *:8080 (LISTEN)
If I run tomcat interactively I can see it startup the application and its components. The only error displayed is below which I don't think should stop tomcat from responding to remote web requests.
Code: Select all
2015-01-30 15:52:40,682 [localhost-startStop-1] WARN  com.openkm.servlet.RepositoryStartupServlet- officeHome must exist and be a directory
java.lang.IllegalArgumentException: officeHome must exist and be a directory
        at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.checkArgument(DefaultOfficeManagerConfiguration.java:221)
        at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.setOfficeHome(DefaultOfficeManagerConfiguration.java:54)
Any ideas as to where the issue is?

Thanks.

Nick.

Re: Quick Install not working

PostPosted:Fri Jan 30, 2015 4:46 pm
by nickorossa
The issue is now fixed.

Nick.

Re: Quick Install not working

PostPosted:Sun Feb 01, 2015 8:58 am
by pavila
What was the problem?

Re: Quick Install not working

PostPosted:Sun Feb 01, 2015 9:22 am
by nickorossa
The short answer is the firewall on the host.

N.

Re: Quick Install not working

PostPosted:Mon Feb 02, 2015 4:43 pm
by pavila
Ok, thanks!