Re: [dev] createUnoService problem in 1.9.x on windows
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]
[dev] remote debugging seems not to work ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I just wanted to remote debug one of my oo java components ... I have the following paramters set in Tools - Options - Java - -Xdebug - -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n I am using WinXP SP 2 / Java 1.5_04 and eclipse 3.1 some month ago, i had no problems at all ... cause the debugging from eclipse does not work, (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=105828) it tried jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8000 from the command line, but this causes a E:\jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8000 Set uncaught java.lang.Throwable Internal exception: com.sun.jdi.VMDisconnectedException: connection is closed at com.sun.tools.jdi.TargetVM.send(TargetVM.java:274) at com.sun.tools.jdi.VirtualMachineImpl.sendToTarget(VirtualMachineImpl.java:929) at com.sun.tools.jdi.PacketStream.send(PacketStream.java:41) at com.sun.tools.jdi.JDWP$EventRequest$Set.enqueueCommand(JDWP.java:6206) at com.sun.tools.jdi.JDWP$EventRequest$Set.process(JDWP.java:6176) at com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.set(EventRequestManagerImpl.java:178) at com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.setEnabled(EventRequestManagerImpl.java:142) at com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.enable(EventRequestManagerImpl.java:127) at com.sun.tools.example.debug.tty.VMConnection.setEventRequests(VMConnection.java:270) at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:177) at com.sun.tools.example.debug.tty.Env.init(Env.java:63) at com.sun.tools.example.debug.tty.TTY.main(TTY.java:964) if I start my component *remote* from a commanline: E:\java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n -cp .; D:\Programme\OpenOffice.org\program\classes\juh.jar;D:\Programme\OpenOffice.org\program\classes\jurt.jar; D:\Programme\OpenOffice.org\program\classes\jut.jar;D:\Programme\OpenOffice.org\program\classes\ridl.jar; D:\Programme\OpenOffice.org\program\classes\unoil.jar;D:\Programme\OpenOffice.org\program\classes\sandbox.jar oo.comp.remote.RemoteConnectionMain Listening for transport dt_socket at address: 8000 the component starts but as soon as I try to start the debugger I get abouve exception and the following output from oo.comp.remote.RemoteConnectionMain: ERROR: transport error 202: send failed: Software caused connection abort [transport.c,L41] ERROR: transport error 202: recv error: Software caused connection abort [transport.c,L41] can give me a hint ? Oliver - -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC8LXsTiyrQM/QSkURAsw2AJ9C6+Mm6ZerPTTr1FXHaYQ8rqrk+wCfU6oJ MvvuQijOVO1txsJL0+f7K40= =ItGf -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Can't edit table on MySQL after create one
Eureka, I found the problem, I make a table without index. ;) Thanks about your help. --- Jayant Balraj Madavi [EMAIL PROTECTED] escreveu: There are certain permissions that are associated with the database; permit ALL /username etc; permission also include read/write just check if you have enabled /disabled them Regards, -Jayant (aZEN_JM) [EMAIL PROTECTED] 08/03/05 8:37 AM I Can't edit table on MySQL after create one in OOo. Others tables in the same database have strangers behaviors, some times I can edit and some times I can't. That looks like a bug, but maybe this have some solution. If some one have some idea? __ Converse com seus amigos em tempo real com o Yahoo! Messenger http://br.download.yahoo.com/messenger/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]