On 31.07.2019 14:49, Mark Thomas wrote:
On 31/07/2019 13:03, Potgieter, Carlo wrote:
On 31/07/2019 12:48, Potgieter, Carlo wrote:
I was hoping to obtain some assistance. We have used a library to convert MS
Office documents (docx and pptx) to PDF.
This works perfectly in the development environment and also when running
Tomcat in a console window.
The moment we run Tomcat as a service this specific component gives and error.
Unfortunately the error is non-specific so we cannot troubleshoot the origin.
My question is, what would be the difference in running Tomcat as a Service as
oppose to running it in Console that might cause this problem?
Tomcat runs as a different user with different access permissions, particularly
to network shares.
You probably want to set up a Tomcat specific user with the appropriate
Thank you Mark for the quick response.
My first thought was permissions also, however I have attempted to run it with
local, domain and system user, however the same result.
Both local and domain user was part of the local admin group. Is there anything
else I can check?
Are you sure the DDL is being loaded? That normally needs explicit
configuration to point the JVM at the right path.
Look at the docs for for
org.apache.catalina.startup.VersionLoggerListener and configure it to
dump everything. Then compare the console start with the service start.
What is also different when Tomcat runs as a Service or in a console, is where the JVM
that runs tomcat, picks up its environment and command-line switches.
If you are not familiar with this matter, this may help :
verbose explanation :
Official page :
(Perhaps the application expects some value to be set somewhere..)
Also, above you mention "Unfortunately the error is non-specific..", but maybe you want to
copy the error message here, so that someone else can have a look at it ?
Maybe it triggers some recognition by another user having had the same issue with that
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org