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 
> permissions.
> 
> Mark
> 
> 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.

Mark


> 
> Carlo
> 
> *Disclaimer:* This email is subject to important restrictions, qualifications 
> and disclaimers ("the Disclaimer") that must be accessed and read by visiting 
> our website and viewing the webpage at the following address: 
> http://www.deloitte.com/za/disclaimer. The Disclaimer forms part of the 
> content of this email. If you cannot access the Disclaimer, please obtain a 
> copy thereof from us by sending an email to zaitserviced...@deloitte.co.za. 
> Deloitte refers to a Deloitte member firm, one of its related entities, or 
> Deloitte Touche Tohmatsu Limited (“DTTL”). Each Deloitte member firm is a 
> separate legal entity and a member of DTTL. DTTL does not provide services to 
> clients. Please see www.deloitte.com/about to learn more.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to