cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with network drives using Nuxeo as windows service

admaruiz_
Confirmed Champ
Confirmed Champ

I installed Nuxeo as a service windows. But does not work well. I have problems with network directories. I mounted the network drive on the server, in Z: The log shows this:

Caused by: java.io.FileNotFoundException: Z:\NuxeoBINPRE\config.xml (El sistema no puede encontrar la ruta especificada)

only fails when I start Nuxeo as windows service

you know if I can use Nuxeo as a Windows service, with network drives?

THX

1 ACCEPTED ANSWER

admaruiz_
Confirmed Champ
Confirmed Champ

the problem was with the network drive. when it was Z:\Nuxeo\ changed for \\\nass\Nuxeo and windows service works.

I modified these routes in the files:

  • Wrapper.conf -----> -Dnuxeo.tmp.dir and -Djava.io.tmpdir
  • nuxeo.conf -------> repository.binary.store

Thanks for the help

View answer in original post

15 REPLIES 15

Thierry_Martins
Star Collaborator
Star Collaborator

did you check the configuration file generated by YAJSW? Is the path for nuxeo.data.dir to the network drive correct?

admaruiz_
Confirmed Champ
Confirmed Champ

Hi Thierry, in the wrapper.conf the nuxeo.data.dir points to nuxeo.tmp.dir=Z

Julien_Carsique
Elite Collaborator
Elite Collaborator

Hi,

I remember that when starting Nuxeo as a service and making it use network drives, there are constraints on how the drive is mounted: something like use UNC mapping, make it persistent, set SYSTEM as owner. You may find tips here: http://stackoverflow.com/questions/182750/map-a-network-drive-to-be-used-by-a-service

Hi Julien, I execute a "net use" comand in the Nuxeo server. The result that has come out is that yes this route be persistent, so I think this should not be the problem

However, it looks like the binary store cannot find the requested file. Could you paste the whole stack trace?

Hi Julien,

Indeed that strange. That means we'll have to look into the code and so need the whole stack trace with class names and line numbers.

Hi,

admaruiz_
Confirmed Champ
Confirmed Champ

The server.log:

2014-08-20 11:37:51,672 ERROR [main] [org.apache.catalina.startup.Catalina] No puedo hallar carpeta temporal especificada en Z:/Temp
2014-08-20 11:38:13,216 WARN  [localhost-startStop-1] [org.jboss.seam.init.Initialization] namespace declared in components.xml does not resolve to a package: 
2014-08-20 11:38:13,216 WARN  [localhost-startStop-1] [org.jboss.seam.init.Initialization] namespace declared in components.xml does not resolve to a package: 
2014-08-20 11:38:13,216 WARN  [localhost-startStop-1] [org.jboss.seam.init.Initialization] namespace declared in components.xml does not resolve to a package: 
2014-08-20 11:38:13,216 WARN  [localhost-startStop-1] [org.jboss.seam.init.Initialization] namespace declared in components.xml does not resolve to a package: 
2014-08-20 11:38:13,216 WARN  [localhost-startStop-1] [org.jboss.seam.init.Initialization] namespace declared in components.xml does not resolve to a package: 
2014-08-20 11:38:14,932 WARN  [localhost-startStop-1] [org.jboss.seam.Component] Component class should be serializable: org.jboss.seam.ui.facelet.mockHttpSession
2014-08-20 11:38:15,868 WARN  [localhost-startStop-1] [org.jboss.seam.security.permission.PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
2014-08-20 11:38:21,156 WARN  [localhost-startStop-1] [org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent] Command not available: pdftohtml (command pdftohtml not found in system path. You need to install pdftohtml)
2014-08-20 11:38:21,156 WARN  [localhost-startStop-1] [org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent] Command not available: wpd2text (command wpd2text not found in system path. You need to install wpd2text (deb: libwpd-tools)  http://libwpd.sourceforge.net/download.html)
2014-08-20 11:38:29,377 WARN  [localhost-startStop-1] [org.hibernate.ejb.Ejb3Configuration] Overriding hibernate.transaction.factory_class is dangerous, this might break the EJB3 specification implementation
2014-08-20 11:38:29,970 WARN  [persistence-init-NXUIDSequencer] [org.hibernate.cfg.SettingsFactory] Could not obtain connection metadata
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The BUFFERDIR connection property is invalid.)
	at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
	at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
	at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)