The problem is that I'm not writing anything to stdout/stderr, the problem I have is that I think that OOo isnot beeang able to create my javaservice even though it continues to execute AFTER the createUnoService call from basic. (previous versions of 1.9 has stopped at this line, but 118 does not)

Ok, I admitt it, I'm in error..... my problem was (in windows strangly enough) was that the user had no write permissions to the directory where my debug file was supposed to be placed (for some reason I was locked out of that directory) anyway, this has nothing to do with my problem, since my problem appeard before I tested this..

anyway, After making sure that the log file can be written to, I could redirect both stdout and stderr in java, and use my debug function.

anyway after getting the debug info I can still not see why it fails, there are no strange exceptions, it just does not work...

the debug-file for linux looks like this

----------------- installation part
__writeRegistryServiceInfo()
__writeRegistryServiceInfo()
__writeRegistryServiceInfo()
__getServiceFactory(biz.companyon.openoffice.Service)
__getServiceFactory(biz.companyon.openoffice.Properties)
__getServiceFactory(biz.companyon.openoffice.Section)
__getServiceFactory(biz.companyon.openoffice.Document)

----------------- Execution part
__getServiceFactory(biz.companyon.openoffice.Service)
new Service:1
new Service:2
getConfigurationValue
loadConfigurationValues
setConfigurationValue
saveConfigurationValues
...


----------------- installation part
__writeRegistryServiceInfo()
__writeRegistryServiceInfo()
__writeRegistryServiceInfo()
__getServiceFactory(biz.companyon.openoffice.Service)
__getServiceFactory(biz.companyon.openoffice.Properties)
__getServiceFactory(biz.companyon.openoffice.Section)
__getServiceFactory(biz.companyon.openoffice.Document)

----------------- Execution part
__getServiceFactory(biz.companyon.openoffice.Service)
new Service:1
new Service:2
getConfigurationValue
loadConfigurationValues
setConfigurationValue
saveConfigurationValues
...

for windows it looks like this...
----------------- installation part
__writeRegistryServiceInfo()
__writeRegistryServiceInfo()
__writeRegistryServiceInfo()
__getServiceFactory(biz.companyon.openoffice.Service)
__getServiceFactory(biz.companyon.openoffice.Properties)
__getServiceFactory(biz.companyon.openoffice.Section)
__getServiceFactory(biz.companyon.openoffice.Document)

----------------- Execution part
__getServiceFactory(biz.companyon.openoffice.Service)
new Service:1
new Service:2


as as you can see there is no difference, except that the function getConfigurationValue is never called and the log-file stops

the "new Service:1 and :2 are the first and last thingh that happens when instatiating the service class, so there is no exception there either...

and neither stdout or stderr says anything, so it looks like there are no exceptions, it just does not work...


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to