manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Kröller <>
Subject Re: manifoldcf 0.5 from Windows Dev machine to Debian Server
Date Wed, 09 May 2012 11:45:07 GMT
Thank you for the quick feedback,

Tomcat is used in the Windows environment as well (Tomcat 7, manually fixed
the <taglib> issues before stumbling over the mailing list entry). In both
cases I use the setenv.[bat/sh] in tomcat/bin to set the manifold and solr
paths. I am pretty sure the config is found since mcf accesses the DB which
is configured there.

The synch directory has (temporary) full access for everybody. But the sub
directories which get created obviously only have write access for tomcat6
their creator (is that configurable?). The agent process (run as root) does
not complain about anything, but .../mcf-crawler-ui/listjobs.jsp becomes

*Jackpot. * Running the agent as tomcat6 does indeed work. I am totally
sure to have tried that before contacting the mailing list, but it seams i
never cleaned the sync dir after running as root.

Thanks a ton for the inspiration. I hope I won't have to bother you here

Kindest regards,

Marcus Kröller

Student Research Assistant - Fraunhofer IGD Rostock

2012/5/9 Karl Wright <>
> Did you use Tomcat on Windows?
> There is a -D switch you need to use when starting Tomcat which tells
> ManifoldCF web applications where to find the properties.xml file.  It
> may be that you'd need to make modifications to the tomcat startup
> (/etc/init.d/tomcat6) to set that property.
> The other thing to note is that, unless you change something explicit,
> under Debian tomcat runs as the "tomcat6" user.  So your sync
> directory has to be both readable and writeable by that user, as well
> as the user that runs the agents process.  Indeed, at MetaCarta we
> gave up and ran everything as the tomcat6 user - it seemed easier.
> Karl
> On Wed, May 9, 2012 at 6:14 AM, Marcus Kröller
> <> wrote:
> > Hello everybody,
> >
> > for searching internal resources (MySQL DBs, Wiki, Filesystem, own JDBC
> > based connector) we have created a ManifoldCF and Solr instance (0.5 and
> > 3.4). "Development" happened on Windows (7) machines and everything is
> > running as desired.
> > Now I am facing the challenge of getting it all to run on a Debian
> > with a Tomcat6 and PGSQl 8.4 on the same machine. Configuration paths
> > be adjusted properly. The webapps and the agent start individually. We
> > using scripts calling the JAVA command API as well as the servlet API
> > curl (easier for connection/job creation using json files) to
initialise DB,
> > register Agent, connectors, connections etc. (which have been
translated to
> > bash including EOL characters).
> >
> > The problem is: following the script the servlet API does not respond
> > the Crawler UI hangs on the empty template when requesting any of the
> > (Connections, Jobs, etc.). When restoring a database dump from the
> > machine these lists are accessible but starting the Agent process leads
> > the same non reacting behavior.
> > I imagine I am facing permission issues for the synch directory but was
> > unable to find documentation or similar issues and I would
unfortunately not
> > consider myself a Linux professional.
> >
> > Any input would be highly appreciated.
> >
> >
> > Regards and thank you,
> >
> >
> > Marcus Kröller
> >
> > Student Research Assistant - Fraunhofer IGD Rostock

View raw message