Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


I use Ubuntu 16.04, Tomcat 8, PHP 7, JavaBridge 6.2.1, Libreoffice
5.14. Below is my codings.

$ComponentContext=Java("com.sun.star.comp.helper.Bootstrap")->bootstrap(array("--nologo","--nodefault","--norestore","--nolockcheck","--headless"));
$ServiceManager=$ComponentContext->getServiceManager();
$Desktop=$ServiceManager->createInstanceWithContext("com.sun.star.frame.Desktop",$ComponentContext);

Everything is still OK...

$ComponentLoader=Java("com.sun.star.uno.UnoRuntime")->queryInterface(Java("com.sun.star.frame.XComponentLoader")->class,$Desktop);

Here I got "com.sun.star.lang.DisposedException".

I run "ps -aux" and found that soffice was still running.

tomcat8    941  0.0  0.0 206168  3372 ?        Sl  
10:24   0:00 /usr/lib/libreoffice/program/oosplash
--accept=pipe,name=uno6335492298840663686;urp; --nologo --nodefault
--norestore --nolockcheck --headless
tomcat8    982  0.0  0.3 923312 55924 ?        Sl  
10:24   0:00 /usr/lib/libreoffice/program/soffice.bin
--accept=pipe,name=uno6335492298840663686;urp; --nologo --nodefault
--norestore --nolockcheck --headless
tomcat8    983  0.0  0.0      0     0 ?       
Z    10:24   0:00 [soffice.bin] 

How could I find out what's wrong?

Brooke


-- 
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.