[Java framework] Error in function createSettingsDocument
(elements.cxx).
javaldx failed!
The problem seems to be the -env:UserInstallation part. If I remove it
completely or change the directory to my home directory then
openoffice starts without a problem. Searching I found it's probably a
permissions problem but I can quite happily touch a file in /var/tmp.
COuld be a wider problem as it does the same thing in Ubuntu 9.10 and
Solaris 5.10.
TIA
- if I run soffice.bin then openoffice will close immediately without
an error, I need to run just soffice for it to work
- if -env:UserInstallation is absolute, even if it's my home directory
i.e. /home/mark, I'll get the error from the previous message, but it
works if I use ~/
Kind regards
Mirko
Jan 13, 2010 11:09:00 AM
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager
<init>
INFO: ProcessManager implementation is
SolarisProcessManager
Jan 13, 2010 11:09:00 AM
org.artofsolving.jodconverter.office.OfficeProcess
start
INFO: starting process with acceptString
'socket,host=127.0.0.1,port=8100,tcpNoDelay=1' and profileDir
'~/.jodconverter_socket_host-127.0.0.1_port-8100'
Jan 13, 2010 11:09:00 AM
org.artofsolving.jodconverter.office.OfficeProcess
start
INFO: started process; pid =
10492
Jan 13, 2010 11:09:09 AM
org.artofsolving.jodconverter.office.OfficeConnection
connect
INFO: connected: 'socket,host=127.0.0.1,port=8100,tcpNoDelay=1'
Jan 13, 2010 11:09:15 AM
org.artofsolving.jodconverter.office.OfficeConnection$1 disposing
INFO: disconnected: 'socket,host=127.0.0.1,port=8100,tcpNoDelay=1'
Jan 13, 2010 11:09:15 AM
org.artofsolving.jodconverter.office.PooledOfficeManager$1
disconnected
WARNING: connection lost unexpectedly; attempting restart
Jan 13, 2010 11:09:15 AM
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
INFO: stopping
Jan 13, 2010 11:09:15 AM
org.artofsolving.jodconverter.office.ManagedOfficeProcess
doEnsureProcessExited
INFO: process exited with code 0
Jan 13, 2010 11:09:15 AM
org.artofsolving.jodconverter.office.OfficeProcess start
INFO: starting process with acceptString
'socket,host=127.0.0.1,port=8100,tcpNoDelay=1' and profileDir
'~/.jodconverter_socket_host-127.0.0.1_port-8100'
Jan 13, 2010 11:09:15 AM
org.artofsolving.jodconverter.office.OfficeProcess start
INFO: started process; pid = 10528
Jan 13, 2010 11:09:17 AM
org.artofsolving.jodconverter.office.OfficeConnection connect
INFO: connected: 'socket,host=127.0.0.1,port=8100,tcpNoDelay=1'
Jan 13, 2010 11:09:17 AM
org.artofsolving.jodconverter.office.OfficeConnection$1 disposing
INFO: disconnected: 'socket,host=127.0.0.1,port=8100,tcpNoDelay=1'
Jan 13, 2010 11:09:17 AM
org.artofsolving.jodconverter.office.ManagedOfficeProcess
doEnsureProcessExited
INFO: process exited with code 0
Jan 13, 2010 11:09:17 AM
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
INFO: stopped
Exception in thread "main"
org.artofsolving.jodconverter.office.OfficeException: task failed
at
org.artofsolving.jodconverter.office.PooledOfficeManager.execute
(PooledOfficeManager.java:97)
at
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.execute
(ProcessPoolOfficeManager.java:76)
at
org.artofsolving.jodconverter.OfficeDocumentConverter.convert
(OfficeDocumentConverter.java:76)
at
org.artofsolving.jodconverter.OfficeDocumentConverter.convert
(OfficeDocumentConverter.java:67)
at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:
104)
Caused by: java.util.concurrent.CancellationException
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown
Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at
org.artofsolving.jodconverter.office.PooledOfficeManager.execute
(PooledOfficeManager.java:86)
... 4 more
which I eventually figured out was caused by the following exception
in loadComponentFromURL in AbstractConversionTask.execute:
com.sun.star.uno.RuntimeException:
com.sun.star.lib.uno.environments.remote.JobQueue.removeJob -
unexpected:java.lang.InterruptedException
at com.sun.star.lib.uno.environments.remote.JobQueue.removeJob
(JobQueue.java:233)
at com.sun.star.lib.uno.environments.remote.JobQueue.enter
(JobQueue.java:340)
at com.sun.star.lib.uno.environments.remote.JobQueue.enter
(JobQueue.java:313)
at
com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter
(JavaThreadPool.java:101)
at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest
(java_remote_bridge.java:652)
at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory
$Handler.request(ProxyFactory.java:154)
at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory
$Handler.invoke(ProxyFactory.java:136)
at $Proxy4.loadComponentFromURL(Unknown Source)
at
org.artofsolving.jodconverter.AbstractConversionTask.loadDocument
(AbstractConversionTask.java:93)
at org.artofsolving.jodconverter.AbstractConversionTask.execute
(AbstractConversionTask.java:61)
at org.artofsolving.jodconverter.office.PooledOfficeManager
$2.run(PooledOfficeManager.java:81)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown
Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown
Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
Any ideas what could be causing that?
TIA
Kind regards
Mirko