But once I use the database to get the files, it doesn't work for the Server service mode.
Here are the logs I get after running the solution (smart client on another machine and Server service mode):
.service_log.txt wrote:STATUS | wrapper | 2009/03/02 13:28:03 | <-- Wrapper Stopped
STATUS | wrapper | 2009/03/02 13:28:03 | --> Wrapper Started as Service
STATUS | wrapper | 2009/03/02 13:28:04 | Launching a JVM...
INFO | jvm 1 | 2009/03/02 13:28:04 | Wrapper (Version 3.1.2) http://wrapper.tanukisoftware.org
INFO | jvm 1 | 2009/03/02 13:28:04 |
INFO | jvm 1 | 2009/03/02 13:28:04 | 0 [WrapperSimpleAppMain] INFO com.servoy.j2db.util.Debug - Loading servoy.properties from C:\Program Files (x86)\Servoy\application_server\servoy.properties
INFO | jvm 1 | 2009/03/02 13:28:04 | 327 [WrapperSimpleAppMain] INFO com.servoy.j2db.util.Debug - Loading - Done
INFO | jvm 1 | 2009/03/02 13:28:08 | 02-Mar-2009 13:28:08 org.apache.coyote.http11.Http11Protocol init
INFO | jvm 1 | 2009/03/02 13:28:08 | INFO: Initializing Coyote HTTP/1.1 on http-8080
INFO | jvm 1 | 2009/03/02 13:28:08 | 02-Mar-2009 13:28:08 org.apache.catalina.startup.Catalina load
INFO | jvm 1 | 2009/03/02 13:28:08 | INFO: Initialization processed in 149 ms
INFO | jvm 1 | 2009/03/02 13:28:08 | 02-Mar-2009 13:28:08 org.apache.catalina.core.StandardService start
INFO | jvm 1 | 2009/03/02 13:28:08 | INFO: Starting service Catalina
INFO | jvm 1 | 2009/03/02 13:28:08 | 02-Mar-2009 13:28:08 org.apache.catalina.core.StandardEngine start
INFO | jvm 1 | 2009/03/02 13:28:08 | INFO: Starting Servlet Engine: Apache Tomcat/6.0-snapshot
INFO | jvm 1 | 2009/03/02 13:28:08 | 02-Mar-2009 13:28:08 org.apache.catalina.startup.DigesterFactory register
INFO | jvm 1 | 2009/03/02 13:28:08 | WARNING: Could not get url for /javax/servlet/resources/web-app_2_5.xsd
INFO | jvm 1 | 2009/03/02 13:28:08 | 02-Mar-2009 13:28:08 org.apache.coyote.http11.Http11Protocol start
INFO | jvm 1 | 2009/03/02 13:28:08 | INFO: Starting Coyote HTTP/1.1 on http-8080
INFO | jvm 1 | 2009/03/02 13:28:08 | 02-Mar-2009 13:28:08 org.apache.catalina.startup.Catalina start
INFO | jvm 1 | 2009/03/02 13:28:08 | INFO: Server startup in 665 ms
servoy_log.txt wrote:2009-03-02 13:28:05,932 WARN [WrapperSimpleAppMain] com.servoy.j2db.persistence.Server - Table name tbl_documents_controlled_copies from server ag is too long (>30 chars) -- this is not supported by all databases
As there are in total 4 machines involved (the client, servoy server, file server and database server), I was thinking about maybe a problem of accounts which can't access files or run something on other machines.
But it's working with Developer. It should also work with the Server service?
When I run developer it is the Headless client which runs the conversion. Then the Open Office service reads the file (which is on another machine) and generates a pdf on the server.
In don't see any reason why I shouldn't be the same when a foreign client launches it instead of the server himself? It the same user which runs the conversion in both cases, isn't it?
I've also noticed an interesting thing. When the Server service is started and I start Developer. Then launch the application from Developer, I get exactly the same problem. I have to turn the server service off before opening Developer.