Hi,I have some serious problems with the installation of Fedora Commons on an existing Apache-Tomcat 7.0.23.
Our current configuration is an Apache httpd 2.2-Webserver communicating with Apache Tomcat 7.0.23 using mod_proxy and the ajp// protocol. The java version is
java version "1.6.0" Java(TM) SE Runtime Environment (build pxa6460sr9fp2-20110625_01(SR9 FP2))IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr9-20110624_85526 (JIT enabled, AOT enabled)
J9VM - 20110624_085526 JIT - r9_20101028_17488ifx17 GC - 20101027_AA) JCL - 20110530_01I proceeded by using the manual installation and answering all the questions the installation script asked me. At a first glance, the installation seems to work fine, since the static web pages are served well. But the java servlet all fail.
Here is a simple test, using the script on the site /fop coming together with Fedora Commons:
http://ourhost.dom/fop/FOPServlet?source=http://www.fedora.info/services/fop/sample_fo.xmlreturns a Tomcat error page. Note that the error is not caused by link rot (which is present, too, since http://www.fedora.info/services/fop/sample_fo.xml does not exist any longer). The whole query string is interpreted in the wrong way and a file
/usr/local/apache-tomcat-7.0.23/conf/http:/www.fedora.info/services/fop/sample_fo.xml is searched.Are there some configurations that I should take to make the installation work?
I googled for snippets of the error message, but I found only a comment from May, essentially suggesting to downgrade Apache Tomcat to version 6.0.
P.S. I am aware of the fact, that I can get fop & Co. directly from apache.org and install them independently from Fedora Commons. But then, Fedora Commons still does not work properly, and there the cause may be harder to see.
P.P.S. Attached is the full error message from Apache Tomcat.Title: Apache Tomcat/7.0.23 - Error report
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: javax.xml.transform.TransformerException: java.io.FileNotFoundException: /usr/local/apache-tomcat-7.0.23/conf/http:/www.fedora.info/services/fop/sample_fo.xml (No such file or directory) org.fcrepo.localservices.fop.FOPServlet.doGet(FOPServlet.java:108) javax.servlet.http.HttpServlet.service(HttpServlet.java:621) javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause
javax.xml.transform.TransformerException: java.io.FileNotFoundException: /usr/local/apache-tomcat-7.0.23/conf/http:/www.fedora.info/services/fop/sample_fo.xml (No such file or directory) org.apache.xalan.transformer.TransformerIdentityImpl.transform(Unknown Source) org.fcrepo.localservices.fop.FOPServlet.render(FOPServlet.java:221) org.fcrepo.localservices.fop.FOPServlet.renderFO(FOPServlet.java:160) org.fcrepo.localservices.fop.FOPServlet.doGet(FOPServlet.java:96) javax.servlet.http.HttpServlet.service(HttpServlet.java:621) javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause
java.io.FileNotFoundException: /usr/local/apache-tomcat-7.0.23/conf/http:/www.fedora.info/services/fop/sample_fo.xml (No such file or directory) java.io.FileInputStream.<init>(FileInputStream.java:123) java.io.FileInputStream.<init>(FileInputStream.java:83) sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:82) sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:173) org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) org.apache.xerces.parsers.XMLParser.parse(Unknown Source) org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) org.apache.xalan.transformer.TransformerIdentityImpl.transform(Unknown Source) org.fcrepo.localservices.fop.FOPServlet.render(FOPServlet.java:221) org.fcrepo.localservices.fop.FOPServlet.renderFO(FOPServlet.java:160) org.fcrepo.localservices.fop.FOPServlet.doGet(FOPServlet.java:96) javax.servlet.http.HttpServlet.service(HttpServlet.java:621) javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.23 logs.
Apache Tomcat/7.0.23
------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users