[GeoNetwork-devel] File Not Found

Good day,

First of all, the environment in which I am working is the version 2.6 of Geonetwork. This Geonetwork was installed as part of the installation of v1.2 GeoNode which is installed on a platform Ubuntu Server 12.04.

So, my problem is this:

I’m trying to print a pdf of selected metadata in GeoNetwork, and sends me this error:
FileNotFoundException: / var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/7e5a2928-98a1-4b9b-b295-9758ff416c9f.pdf (No such file or directory)

What I do is the following:

  1. I go to my home page and look for a metadata GeoNetwork
  2. I select the metadata and I click on
  3. Next, I click
  4. Then I get the error that I mention above.

What I have tried is to give permissions to the folder located at the following address on my server / var/lib/tomcat6/webapps/geonetwork/WEB-INF/data

as follows: chmod-R + w / var/lib/tomcat6/webapps/geonetwork/WEB-INF/data

and directory as well,

tomcat6 tomcat6 drwxrwxrwx … data

and still keeps sending me the same error …

Even after you change owner to user that I log to the server and nothing happens …

Hi,

You are correct that the error is likely a permissions problem. It is critical that the tomcat user has full write permission to the data directory as well as x permissions to the directories.

However that might not be the problem. It could be a problem with the xslt or some other problem. XSLT problems are often reported in the catalina.out log file. SO look there for the catalina problems.

Also look for exceptions that come before the filenotfound error. It could be that the PDF was not generated correctly and therefore didn’t make the pdf file.

Jesse

···

On Wed, May 8, 2013 at 10:15 PM, Sergio Cabrera <ccheco25@anonymised.com> wrote:

Good day,

First of all, the environment in which I am working is the version 2.6 of Geonetwork. This Geonetwork was installed as part of the installation of v1.2 GeoNode which is installed on a platform Ubuntu Server 12.04.

So, my problem is this:

I’m trying to print a pdf of selected metadata in GeoNetwork, and sends me this error:
FileNotFoundException: / var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/7e5a2928-98a1-4b9b-b295-9758ff416c9f.pdf (No such file or directory)

What I do is the following:

  1. I go to my home page and look for a metadata GeoNetwork
  2. I select the metadata and I click on
  3. Next, I click
  4. Then I get the error that I mention above.

What I have tried is to give permissions to the folder located at the following address on my server / var/lib/tomcat6/webapps/geonetwork/WEB-INF/data

as follows: chmod-R + w / var/lib/tomcat6/webapps/geonetwork/WEB-INF/data

and directory as well,

tomcat6 tomcat6 drwxrwxrwx … data

and still keeps sending me the same error …

Even after you change owner to user that I log to the server and nothing happens …


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Good day,

Earlier I had talked about the problem I had the impression of PDF in the Geonetwork.

I was told me to look in the tomcat log file is catalina.out. So I sent errors are:

09/05/2013 15:19:49,958 INFO [jeeves.service] → dispatching to output for: pdf.present
09/05/2013 15:19:49,959 DEBUG [jeeves.engine] - TransformerFactoryFactory: de.fzi.dbs.xml.transform.CachingTransformerFactory
09/05/2013 15:19:49,959 DEBUG [jeeves.engine] - TransformerFactoryFactory: Implementation transformer produces net.sf.saxon.IdentityTransformer
09/05/2013 15:19:50,064 INFO [jeeves.service] → transforming with stylesheet: / var/lib/tomcat6/webapps/geonetwork/xsl/portal-present-fop.xsl
09/05/2013 15:19:50,073 ERROR [jeeves.service] → During exception XSL / FO transformation for: pdf.present
09/05/2013 15:19:50,073 ERROR [jeeves.service] → (C) stylesheet: / var/lib/tomcat6/webapps/geonetwork/xsl/portal-present-fop.xsl
09/05/2013 15:19:50,073 ERROR [jeeves.service] → (C) message: / var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/54a83349-11cb-46be -aa25-31c77feda0e4.pdf (No such file or directory)
09/05/2013 15:19:50,073 ERROR [jeeves.service] → (C) exception: FileNotFoundException
09/05/2013 15:19:50,090 DEBUG [jeeves.service] - Raised exception while executing service

id=“error”>
/ var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/54a83349-11cb-46be-aa25-31c77feda0e4.pdf (No such file or directory) </ message>
FileNotFoundException </ class>

line=“-2” file=“FileOutputStream.java” class=“java.io.FileOutputStream”


line=“260” file=“Xml.java” class=“jeeves.utils.Xml”
line=“613” file=“ServiceManager.java” class=“jeeves.server.dispatchers.ServiceManager”
line=“405” file=“ServiceManager.java” class=“jeeves.server.dispatchers.ServiceManager”
line=“670” file=“JeevesEngine.java” class=“jeeves.server.JeevesEngine”
line=“185” file=“JeevesServlet.java” class=“jeeves.server.sources.http.JeevesServlet”
line=“98” file=“JeevesServlet.java” class=“jeeves.server.sources.http.JeevesServlet”
line=“617” file=“HttpServlet.java” class=“javax.servlet.http.HttpServlet”
</ Stack>

Honestly I can not be, for I have tried to give all permissions to the data folder and its subfolders, even change their own one user with administrator privileges.

Thank you for your valuable help.

Sergio.

···

On Wed, May 8, 2013 at 10:15 PM, Sergio Cabrera <ccheco25@anonymised.com> wrote:

Good day,

First of all, the environment in which I am working is the version 2.6 of Geonetwork. This Geonetwork was installed as part of the installation of v1.2 GeoNode which is installed on a platform Ubuntu Server 12.04.

So, my problem is this:

I’m trying to print a pdf of selected metadata in GeoNetwork, and sends me this error:
FileNotFoundException: / var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/7e5a2928-98a1-4b9b-b295-9758ff416c9f.pdf (No such file or directory)

What I do is the following:

  1. I go to my home page and look for a metadata GeoNetwork
  2. I select the metadata and I click on
  3. Next, I click
  4. Then I get the error that I mention above.

What I have tried is to give permissions to the folder located at the following address on my server / var/lib/tomcat6/webapps/geonetwork/WEB-INF/data

as follows: chmod-R + w / var/lib/tomcat6/webapps/geonetwork/WEB-INF/data

and directory as well,

tomcat6 tomcat6 drwxrwxrwx … data

and still keeps sending me the same error …

Even after you change owner to user that I log to the server and nothing happens …


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

That is very odd… The only strange thing I see is there are spaces around the /var. is that a formatting error in the email or is it in the log file like that as well?

···

On Fri, May 10, 2013 at 6:19 AM, Sergio Cabrera <ccheco25@anonymised.com> wrote:

Good day,

Earlier I had talked about the problem I had the impression of PDF in the Geonetwork.

I was told me to look in the tomcat log file is catalina.out. So I sent errors are:

09/05/2013 15:19:49,958 INFO [jeeves.service] → dispatching to output for: pdf.present
09/05/2013 15:19:49,959 DEBUG [jeeves.engine] - TransformerFactoryFactory: de.fzi.dbs.xml.transform.CachingTransformerFactory
09/05/2013 15:19:49,959 DEBUG [jeeves.engine] - TransformerFactoryFactory: Implementation transformer produces net.sf.saxon.IdentityTransformer
09/05/2013 15:19:50,064 INFO [jeeves.service] → transforming with stylesheet: / var/lib/tomcat6/webapps/geonetwork/xsl/portal-present-fop.xsl
09/05/2013 15:19:50,073 ERROR [jeeves.service] → During exception XSL / FO transformation for: pdf.present
09/05/2013 15:19:50,073 ERROR [jeeves.service] → (C) stylesheet: / var/lib/tomcat6/webapps/geonetwork/xsl/portal-present-fop.xsl
09/05/2013 15:19:50,073 ERROR [jeeves.service] → (C) message: / var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/54a83349-11cb-46be -aa25-31c77feda0e4.pdf (No such file or directory)
09/05/2013 15:19:50,073 ERROR [jeeves.service] → (C) exception: FileNotFoundException
09/05/2013 15:19:50,090 DEBUG [jeeves.service] - Raised exception while executing service
error> id=“error”>
/ var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/54a83349-11cb-46be-aa25-31c77feda0e4.pdf (No such file or directory) </ message>
FileNotFoundException </ class>

line=“-2” file=“FileOutputStream.java” class=“java.io.FileOutputStream”


line=“260” file=“Xml.java” class=“jeeves.utils.Xml”
line=“613” file=“ServiceManager.java” class=“jeeves.server.dispatchers.ServiceManager”
line=“405” file=“ServiceManager.java” class=“jeeves.server.dispatchers.ServiceManager”
line=“670” file=“JeevesEngine.java” class=“jeeves.server.JeevesEngine”
line=“185” file=“JeevesServlet.java” class=“jeeves.server.sources.http.JeevesServlet”
line=“98” file=“JeevesServlet.java” class=“jeeves.server.sources.http.JeevesServlet”
line=“617” file=“HttpServlet.java” class=“javax.servlet.http.HttpServlet”
</ Stack>

Honestly I can not be, for I have tried to give all permissions to the data folder and its subfolders, even change their own one user with administrator privileges.

Thank you for your valuable help.

Sergio.

---------- Forwarded message ----------
From: Jesse Eichar <jesse.eichar@anonymised.com>
Date: 2013/5/9
Subject: Re: [GeoNetwork-devel] File Not Found
To: Sergio Cabrera <ccheco25@anonymised.com>
Cc: “Devel geonetwork-devel@anonymised.come.net” <geonetwork-devel@lists.sourceforge.net>

Hi,

You are correct that the error is likely a permissions problem. It is critical that the tomcat user has full write permission to the data directory as well as x permissions to the directories.

However that might not be the problem. It could be a problem with the xslt or some other problem. XSLT problems are often reported in the catalina.out log file. SO look there for the catalina problems.

Also look for exceptions that come before the filenotfound error. It could be that the PDF was not generated correctly and therefore didn’t make the pdf file.

Jesse


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

On Wed, May 8, 2013 at 10:15 PM, Sergio Cabrera <ccheco25@anonymised.com> wrote:

Good day,

First of all, the environment in which I am working is the version 2.6 of Geonetwork. This Geonetwork was installed as part of the installation of v1.2 GeoNode which is installed on a platform Ubuntu Server 12.04.

So, my problem is this:

I’m trying to print a pdf of selected metadata in GeoNetwork, and sends me this error:
FileNotFoundException: / var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/7e5a2928-98a1-4b9b-b295-9758ff416c9f.pdf (No such file or directory)

What I do is the following:

  1. I go to my home page and look for a metadata GeoNetwork
  2. I select the metadata and I click on
  3. Next, I click
  4. Then I get the error that I mention above.

What I have tried is to give permissions to the folder located at the following address on my server / var/lib/tomcat6/webapps/geonetwork/WEB-INF/data

as follows: chmod-R + w / var/lib/tomcat6/webapps/geonetwork/WEB-INF/data

and directory as well,

tomcat6 tomcat6 drwxrwxrwx … data

and still keeps sending me the same error …

Even after you change owner to user that I log to the server and nothing happens …


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Jesse,

It is a format error in the mail.

···

On Fri, May 10, 2013 at 6:19 AM, Sergio Cabrera <ccheco25@anonymised.com> wrote:

Good day,

Earlier I had talked about the problem I had the impression of PDF in the Geonetwork.

I was told me to look in the tomcat log file is catalina.out. So I sent errors are:

09/05/2013 15:19:49,958 INFO [jeeves.service] → dispatching to output for: pdf.present
09/05/2013 15:19:49,959 DEBUG [jeeves.engine] - TransformerFactoryFactory: de.fzi.dbs.xml.transform.CachingTransformerFactory
09/05/2013 15:19:49,959 DEBUG [jeeves.engine] - TransformerFactoryFactory: Implementation transformer produces net.sf.saxon.IdentityTransformer
09/05/2013 15:19:50,064 INFO [jeeves.service] → transforming with stylesheet: / var/lib/tomcat6/webapps/geonetwork/xsl/portal-present-fop.xsl
09/05/2013 15:19:50,073 ERROR [jeeves.service] → During exception XSL / FO transformation for: pdf.present
09/05/2013 15:19:50,073 ERROR [jeeves.service] → (C) stylesheet: / var/lib/tomcat6/webapps/geonetwork/xsl/portal-present-fop.xsl
09/05/2013 15:19:50,073 ERROR [jeeves.service] → (C) message: / var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/54a83349-11cb-46be -aa25-31c77feda0e4.pdf (No such file or directory)
09/05/2013 15:19:50,073 ERROR [jeeves.service] → (C) exception: FileNotFoundException
09/05/2013 15:19:50,090 DEBUG [jeeves.service] - Raised exception while executing service
error> id=“error”>
/ var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/54a83349-11cb-46be-aa25-31c77feda0e4.pdf (No such file or directory) </ message>
FileNotFoundException </ class>

line=“-2” file=“FileOutputStream.java” class=“java.io.FileOutputStream”


line=“260” file=“Xml.java” class=“jeeves.utils.Xml”
line=“613” file=“ServiceManager.java” class=“jeeves.server.dispatchers.ServiceManager”
line=“405” file=“ServiceManager.java” class=“jeeves.server.dispatchers.ServiceManager”
line=“670” file=“JeevesEngine.java” class=“jeeves.server.JeevesEngine”
line=“185” file=“JeevesServlet.java” class=“jeeves.server.sources.http.JeevesServlet”
line=“98” file=“JeevesServlet.java” class=“jeeves.server.sources.http.JeevesServlet”
line=“617” file=“HttpServlet.java” class=“javax.servlet.http.HttpServlet”
</ Stack>

Honestly I can not be, for I have tried to give all permissions to the data folder and its subfolders, even change their own one user with administrator privileges.

Thank you for your valuable help.

Sergio.

---------- Forwarded message ----------
From: Jesse Eichar <jesse.eichar@anonymised.com>
Date: 2013/5/9
Subject: Re: [GeoNetwork-devel] File Not Found
To: Sergio Cabrera <ccheco25@anonymised.com>
Cc: “Devel geonetwork-devel@anonymised.come.net” <geonetwork-devel@lists.sourceforge.net>

Hi,

You are correct that the error is likely a permissions problem. It is critical that the tomcat user has full write permission to the data directory as well as x permissions to the directories.

However that might not be the problem. It could be a problem with the xslt or some other problem. XSLT problems are often reported in the catalina.out log file. SO look there for the catalina problems.

Also look for exceptions that come before the filenotfound error. It could be that the PDF was not generated correctly and therefore didn’t make the pdf file.

Jesse


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

On Wed, May 8, 2013 at 10:15 PM, Sergio Cabrera <ccheco25@anonymised.com> wrote:

Good day,

First of all, the environment in which I am working is the version 2.6 of Geonetwork. This Geonetwork was installed as part of the installation of v1.2 GeoNode which is installed on a platform Ubuntu Server 12.04.

So, my problem is this:

I’m trying to print a pdf of selected metadata in GeoNetwork, and sends me this error:
FileNotFoundException: / var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/7e5a2928-98a1-4b9b-b295-9758ff416c9f.pdf (No such file or directory)

What I do is the following:

  1. I go to my home page and look for a metadata GeoNetwork
  2. I select the metadata and I click on
  3. Next, I click
  4. Then I get the error that I mention above.

What I have tried is to give permissions to the folder located at the following address on my server / var/lib/tomcat6/webapps/geonetwork/WEB-INF/data

as follows: chmod-R + w / var/lib/tomcat6/webapps/geonetwork/WEB-INF/data

and directory as well,

tomcat6 tomcat6 drwxrwxrwx … data

and still keeps sending me the same error …

Even after you change owner to user that I log to the server and nothing happens …


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Jesse,

I was wondering if the points coming in the <config.xml> configuration file located in </ etc / GeoNode / geonetwork / config.xml> these … /… / Data / tmp </ uploaddir>, are right? or refer to a relative path?.

I remember when I install just the Geonetwork (WAR file) on my machine (Windows XP SP3 32bit) did not give me any problem of this type, this machine did not have or do not remember having changed some settings.

Also I have created the and subfolder in the following location:

/ var/lib/tomcat6/webapps/geonetwork/data/tmp (all permits)

and

/ var/lib/tomcat6/webapps/geonetwork/WEB-INF/data/tmp (the already existed just add the subfolder data directory.

Thank you.

Sergio

···

On Fri, May 10, 2013 at 6:19 AM, Sergio Cabrera <ccheco25@anonymised.com> wrote:

Good day,

Earlier I had talked about the problem I had the impression of PDF in the Geonetwork.

I was told me to look in the tomcat log file is catalina.out. So I sent errors are:

09/05/2013 15:19:49,958 INFO [jeeves.service] → dispatching to output for: pdf.present
09/05/2013 15:19:49,959 DEBUG [jeeves.engine] - TransformerFactoryFactory: de.fzi.dbs.xml.transform.CachingTransformerFactory
09/05/2013 15:19:49,959 DEBUG [jeeves.engine] - TransformerFactoryFactory: Implementation transformer produces net.sf.saxon.IdentityTransformer
09/05/2013 15:19:50,064 INFO [jeeves.service] → transforming with stylesheet: / var/lib/tomcat6/webapps/geonetwork/xsl/portal-present-fop.xsl
09/05/2013 15:19:50,073 ERROR [jeeves.service] → During exception XSL / FO transformation for: pdf.present
09/05/2013 15:19:50,073 ERROR [jeeves.service] → (C) stylesheet: / var/lib/tomcat6/webapps/geonetwork/xsl/portal-present-fop.xsl
09/05/2013 15:19:50,073 ERROR [jeeves.service] → (C) message: / var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/54a83349-11cb-46be -aa25-31c77feda0e4.pdf (No such file or directory)
09/05/2013 15:19:50,073 ERROR [jeeves.service] → (C) exception: FileNotFoundException
09/05/2013 15:19:50,090 DEBUG [jeeves.service] - Raised exception while executing service
error> id=“error”>
/ var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/54a83349-11cb-46be-aa25-31c77feda0e4.pdf (No such file or directory) </ message>
FileNotFoundException </ class>

line=“-2” file=“FileOutputStream.java” class=“java.io.FileOutputStream”


line=“260” file=“Xml.java” class=“jeeves.utils.Xml”
line=“613” file=“ServiceManager.java” class=“jeeves.server.dispatchers.ServiceManager”
line=“405” file=“ServiceManager.java” class=“jeeves.server.dispatchers.ServiceManager”
line=“670” file=“JeevesEngine.java” class=“jeeves.server.JeevesEngine”
line=“185” file=“JeevesServlet.java” class=“jeeves.server.sources.http.JeevesServlet”
line=“98” file=“JeevesServlet.java” class=“jeeves.server.sources.http.JeevesServlet”
line=“617” file=“HttpServlet.java” class=“javax.servlet.http.HttpServlet”
</ Stack>

Honestly I can not be, for I have tried to give all permissions to the data folder and its subfolders, even change their own one user with administrator privileges.

Thank you for your valuable help.

Sergio.

---------- Forwarded message ----------
From: Jesse Eichar <jesse.eichar@anonymised.com>
Date: 2013/5/9
Subject: Re: [GeoNetwork-devel] File Not Found
To: Sergio Cabrera <ccheco25@anonymised.com>
Cc: “Devel geonetwork-devel@anonymised.come.net” <geonetwork-devel@lists.sourceforge.net>

Hi,

You are correct that the error is likely a permissions problem. It is critical that the tomcat user has full write permission to the data directory as well as x permissions to the directories.

However that might not be the problem. It could be a problem with the xslt or some other problem. XSLT problems are often reported in the catalina.out log file. SO look there for the catalina problems.

Also look for exceptions that come before the filenotfound error. It could be that the PDF was not generated correctly and therefore didn’t make the pdf file.

Jesse


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

On Wed, May 8, 2013 at 10:15 PM, Sergio Cabrera <ccheco25@anonymised.com> wrote:

Good day,

First of all, the environment in which I am working is the version 2.6 of Geonetwork. This Geonetwork was installed as part of the installation of v1.2 GeoNode which is installed on a platform Ubuntu Server 12.04.

So, my problem is this:

I’m trying to print a pdf of selected metadata in GeoNetwork, and sends me this error:
FileNotFoundException: / var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/7e5a2928-98a1-4b9b-b295-9758ff416c9f.pdf (No such file or directory)

What I do is the following:

  1. I go to my home page and look for a metadata GeoNetwork
  2. I select the metadata and I click on
  3. Next, I click
  4. Then I get the error that I mention above.

What I have tried is to give permissions to the folder located at the following address on my server / var/lib/tomcat6/webapps/geonetwork/WEB-INF/data

as follows: chmod-R + w / var/lib/tomcat6/webapps/geonetwork/WEB-INF/data

and directory as well,

tomcat6 tomcat6 drwxrwxrwx … data

and still keeps sending me the same error …

Even after you change owner to user that I log to the server and nothing happens …


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

I think in the latest version everything is now in the datadirectory and that is no longer set in the config.xml file but rather the geonetwork.dir system property. Maybe try adding:

-Dgeonetwork.dir=

to the tomcat JAVA_OPTS

Jesse

···

On Fri, May 10, 2013 at 6:42 PM, Sergio Cabrera <ccheco25@anonymised.com> wrote:

Hi Jesse,

I was wondering if the points coming in the <config.xml> configuration file located in </ etc / GeoNode / geonetwork / config.xml> these … /… / Data / tmp </ uploaddir>, are right? or refer to a relative path?.

I remember when I install just the Geonetwork (WAR file) on my machine (Windows XP SP3 32bit) did not give me any problem of this type, this machine did not have or do not remember having changed some settings.

Also I have created the and subfolder in the following location:

/ var/lib/tomcat6/webapps/geonetwork/data/tmp (all permits)

and

/ var/lib/tomcat6/webapps/geonetwork/WEB-INF/data/tmp (the already existed just add the subfolder data directory.

Thank you.

Sergio

---------- Forwarded message ----------
From: Sergio Cabrera <ccheco25@anonymised.com>
Date: 2013/5/10
Subject: Fwd: [GeoNetwork-devel] Fwd: File Not Found
To: geonetwork-devel@lists.sourceforge.net

Hi Jesse,

It is a format error in the mail.

---------- Forwarded message ----------
From: Jesse Eichar <jesse.eichar@anonymised.com>

Date: 2013/5/10
Subject: Re: [GeoNetwork-devel] Fwd: File Not Found
To: Sergio Cabrera <ccheco25@anonymised.com>
Cc: “Devel geonetwork-devel@anonymised.comceforge.net” <geonetwork-devel@lists.sourceforge.net>

That is very odd… The only strange thing I see is there are spaces around the /var. is that a formatting error in the email or is it in the log file like that as well?


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

On Fri, May 10, 2013 at 6:19 AM, Sergio Cabrera <ccheco25@anonymised.com> wrote:

Good day,

Earlier I had talked about the problem I had the impression of PDF in the Geonetwork.

I was told me to look in the tomcat log file is catalina.out. So I sent errors are:

09/05/2013 15:19:49,958 INFO [jeeves.service] → dispatching to output for: pdf.present
09/05/2013 15:19:49,959 DEBUG [jeeves.engine] - TransformerFactoryFactory: de.fzi.dbs.xml.transform.CachingTransformerFactory
09/05/2013 15:19:49,959 DEBUG [jeeves.engine] - TransformerFactoryFactory: Implementation transformer produces net.sf.saxon.IdentityTransformer
09/05/2013 15:19:50,064 INFO [jeeves.service] → transforming with stylesheet: / var/lib/tomcat6/webapps/geonetwork/xsl/portal-present-fop.xsl
09/05/2013 15:19:50,073 ERROR [jeeves.service] → During exception XSL / FO transformation for: pdf.present
09/05/2013 15:19:50,073 ERROR [jeeves.service] → (C) stylesheet: / var/lib/tomcat6/webapps/geonetwork/xsl/portal-present-fop.xsl
09/05/2013 15:19:50,073 ERROR [jeeves.service] → (C) message: / var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/54a83349-11cb-46be -aa25-31c77feda0e4.pdf (No such file or directory)
09/05/2013 15:19:50,073 ERROR [jeeves.service] → (C) exception: FileNotFoundException
09/05/2013 15:19:50,090 DEBUG [jeeves.service] - Raised exception while executing service
error> id=“error”>
/ var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/54a83349-11cb-46be-aa25-31c77feda0e4.pdf (No such file or directory) </ message>
FileNotFoundException </ class>

line=“-2” file=“FileOutputStream.java” class=“java.io.FileOutputStream”


line=“260” file=“Xml.java” class=“jeeves.utils.Xml”
line=“613” file=“ServiceManager.java” class=“jeeves.server.dispatchers.ServiceManager”
line=“405” file=“ServiceManager.java” class=“jeeves.server.dispatchers.ServiceManager”
line=“670” file=“JeevesEngine.java” class=“jeeves.server.JeevesEngine”
line=“185” file=“JeevesServlet.java” class=“jeeves.server.sources.http.JeevesServlet”
line=“98” file=“JeevesServlet.java” class=“jeeves.server.sources.http.JeevesServlet”
line=“617” file=“HttpServlet.java” class=“javax.servlet.http.HttpServlet”
</ Stack>

Honestly I can not be, for I have tried to give all permissions to the data folder and its subfolders, even change their own one user with administrator privileges.

Thank you for your valuable help.

Sergio.

---------- Forwarded message ----------
From: Jesse Eichar <jesse.eichar@anonymised.com>
Date: 2013/5/9
Subject: Re: [GeoNetwork-devel] File Not Found
To: Sergio Cabrera <ccheco25@anonymised.com>
Cc: “Devel geonetwork-devel@anonymised.come.net” <geonetwork-devel@lists.sourceforge.net>

Hi,

You are correct that the error is likely a permissions problem. It is critical that the tomcat user has full write permission to the data directory as well as x permissions to the directories.

However that might not be the problem. It could be a problem with the xslt or some other problem. XSLT problems are often reported in the catalina.out log file. SO look there for the catalina problems.

Also look for exceptions that come before the filenotfound error. It could be that the PDF was not generated correctly and therefore didn’t make the pdf file.

Jesse


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

On Wed, May 8, 2013 at 10:15 PM, Sergio Cabrera <ccheco25@anonymised.com> wrote:

Good day,

First of all, the environment in which I am working is the version 2.6 of Geonetwork. This Geonetwork was installed as part of the installation of v1.2 GeoNode which is installed on a platform Ubuntu Server 12.04.

So, my problem is this:

I’m trying to print a pdf of selected metadata in GeoNetwork, and sends me this error:
FileNotFoundException: / var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/7e5a2928-98a1-4b9b-b295-9758ff416c9f.pdf (No such file or directory)

What I do is the following:

  1. I go to my home page and look for a metadata GeoNetwork
  2. I select the metadata and I click on
  3. Next, I click
  4. Then I get the error that I mention above.

What I have tried is to give permissions to the folder located at the following address on my server / var/lib/tomcat6/webapps/geonetwork/WEB-INF/data

as follows: chmod-R + w / var/lib/tomcat6/webapps/geonetwork/WEB-INF/data

and directory as well,

tomcat6 tomcat6 drwxrwxrwx … data

and still keeps sending me the same error …

Even after you change owner to user that I log to the server and nothing happens …


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Jesse,

I found the solution, what I did is create the data folder in the following location / var/lib/tomcat6/data and then create the tmp subfolder.

Thanks for your help.

Regards.

Sergio.

···

On Fri, May 10, 2013 at 6:42 PM, Sergio Cabrera <ccheco25@anonymised.com> wrote:

Hi Jesse,

I was wondering if the points coming in the <config.xml> configuration file located in </ etc / GeoNode / geonetwork / config.xml> these … /… / Data / tmp </ uploaddir>, are right? or refer to a relative path?.

I remember when I install just the Geonetwork (WAR file) on my machine (Windows XP SP3 32bit) did not give me any problem of this type, this machine did not have or do not remember having changed some settings.

Also I have created the and subfolder in the following location:

/ var/lib/tomcat6/webapps/geonetwork/data/tmp (all permits)

and

/ var/lib/tomcat6/webapps/geonetwork/WEB-INF/data/tmp (the already existed just add the subfolder data directory.

Thank you.

Sergio

---------- Forwarded message ----------
From: Sergio Cabrera <ccheco25@anonymised.com>
Date: 2013/5/10
Subject: Fwd: [GeoNetwork-devel] Fwd: File Not Found
To: geonetwork-devel@lists.sourceforge.net

Hi Jesse,

It is a format error in the mail.

---------- Forwarded message ----------
From: Jesse Eichar <jesse.eichar@anonymised.com>

Date: 2013/5/10
Subject: Re: [GeoNetwork-devel] Fwd: File Not Found
To: Sergio Cabrera <ccheco25@anonymised.com>
Cc: “Devel geonetwork-devel@anonymised.comceforge.net” <geonetwork-devel@lists.sourceforge.net>

That is very odd… The only strange thing I see is there are spaces around the /var. is that a formatting error in the email or is it in the log file like that as well?


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

On Fri, May 10, 2013 at 6:19 AM, Sergio Cabrera <ccheco25@anonymised.com> wrote:

Good day,

Earlier I had talked about the problem I had the impression of PDF in the Geonetwork.

I was told me to look in the tomcat log file is catalina.out. So I sent errors are:

09/05/2013 15:19:49,958 INFO [jeeves.service] → dispatching to output for: pdf.present
09/05/2013 15:19:49,959 DEBUG [jeeves.engine] - TransformerFactoryFactory: de.fzi.dbs.xml.transform.CachingTransformerFactory
09/05/2013 15:19:49,959 DEBUG [jeeves.engine] - TransformerFactoryFactory: Implementation transformer produces net.sf.saxon.IdentityTransformer
09/05/2013 15:19:50,064 INFO [jeeves.service] → transforming with stylesheet: / var/lib/tomcat6/webapps/geonetwork/xsl/portal-present-fop.xsl
09/05/2013 15:19:50,073 ERROR [jeeves.service] → During exception XSL / FO transformation for: pdf.present
09/05/2013 15:19:50,073 ERROR [jeeves.service] → (C) stylesheet: / var/lib/tomcat6/webapps/geonetwork/xsl/portal-present-fop.xsl
09/05/2013 15:19:50,073 ERROR [jeeves.service] → (C) message: / var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/54a83349-11cb-46be -aa25-31c77feda0e4.pdf (No such file or directory)
09/05/2013 15:19:50,073 ERROR [jeeves.service] → (C) exception: FileNotFoundException
09/05/2013 15:19:50,090 DEBUG [jeeves.service] - Raised exception while executing service
error> id=“error”>
/ var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/54a83349-11cb-46be-aa25-31c77feda0e4.pdf (No such file or directory) </ message>
FileNotFoundException </ class>

line=“-2” file=“FileOutputStream.java” class=“java.io.FileOutputStream”


line=“260” file=“Xml.java” class=“jeeves.utils.Xml”
line=“613” file=“ServiceManager.java” class=“jeeves.server.dispatchers.ServiceManager”
line=“405” file=“ServiceManager.java” class=“jeeves.server.dispatchers.ServiceManager”
line=“670” file=“JeevesEngine.java” class=“jeeves.server.JeevesEngine”
line=“185” file=“JeevesServlet.java” class=“jeeves.server.sources.http.JeevesServlet”
line=“98” file=“JeevesServlet.java” class=“jeeves.server.sources.http.JeevesServlet”
line=“617” file=“HttpServlet.java” class=“javax.servlet.http.HttpServlet”
</ Stack>

Honestly I can not be, for I have tried to give all permissions to the data folder and its subfolders, even change their own one user with administrator privileges.

Thank you for your valuable help.

Sergio.

---------- Forwarded message ----------
From: Jesse Eichar <jesse.eichar@anonymised.com>
Date: 2013/5/9
Subject: Re: [GeoNetwork-devel] File Not Found
To: Sergio Cabrera <ccheco25@anonymised.com>
Cc: “Devel geonetwork-devel@anonymised.come.net” <geonetwork-devel@lists.sourceforge.net>

Hi,

You are correct that the error is likely a permissions problem. It is critical that the tomcat user has full write permission to the data directory as well as x permissions to the directories.

However that might not be the problem. It could be a problem with the xslt or some other problem. XSLT problems are often reported in the catalina.out log file. SO look there for the catalina problems.

Also look for exceptions that come before the filenotfound error. It could be that the PDF was not generated correctly and therefore didn’t make the pdf file.

Jesse


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

On Wed, May 8, 2013 at 10:15 PM, Sergio Cabrera <ccheco25@anonymised.com> wrote:

Good day,

First of all, the environment in which I am working is the version 2.6 of Geonetwork. This Geonetwork was installed as part of the installation of v1.2 GeoNode which is installed on a platform Ubuntu Server 12.04.

So, my problem is this:

I’m trying to print a pdf of selected metadata in GeoNetwork, and sends me this error:
FileNotFoundException: / var/lib/tomcat6/webapps/geonetwork/…/…/data/tmp/7e5a2928-98a1-4b9b-b295-9758ff416c9f.pdf (No such file or directory)

What I do is the following:

  1. I go to my home page and look for a metadata GeoNetwork
  2. I select the metadata and I click on
  3. Next, I click
  4. Then I get the error that I mention above.

What I have tried is to give permissions to the folder located at the following address on my server / var/lib/tomcat6/webapps/geonetwork/WEB-INF/data

as follows: chmod-R + w / var/lib/tomcat6/webapps/geonetwork/WEB-INF/data

and directory as well,

tomcat6 tomcat6 drwxrwxrwx … data

and still keeps sending me the same error …

Even after you change owner to user that I log to the server and nothing happens …


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork