Hi again,

some more precision about the problem

i open only one instance in oood
i loop several times and try to open a connection through 2002 port

the error occurs on the second connection (third if i have a pool of size 2 in oood)
-----------------
Traceback (most recent call last):
  File "./test.py", line 73, in ?
    main()
  File "./test.py", line 55, in main
desktop = ctx.ServiceManager.createInstanceWithContext("com.sun.star.frame.Desktop",ctx)
---------------

The oood log shows
----Wed Jun 1 21:03:29 2005 [INFO ]: Incoming request for a worker from localhost.localdomain:33434 Wed Jun 1 21:03:29 2005 [INFO ]: {0/1} -> Worker-0(8 uses) serves localhost.localdomain:33434 Wed Jun 1 21:03:29 2005 [DETAIL ]: resolving name StarOffice.ComponentContext Wed Jun 1 21:03:33 2005 [INFO ]: Incoming request for a worker from localhost.localdomain:33441 Wed Jun 1 21:03:33 2005 [SERIOUS]: {0/1} localhost.localdomain:33441 rejected, all workers are busy Wed Jun 1 21:03:35 2005 [INFO ]: localhost.localdomain:33434 disconnects from Worker-0(8 uses) (used for 6.1s) Wed Jun 1 21:03:35 2005 [INFO ]: {1/1} <- Worker-0(8 uses) reenters pool-------

The problem is that on the second connection, the OOo is seen as busy
it reenters the pool only when the test caller script crashes

did you experience such kind of problems ?
any advice/place to look at ?

is there a way to explicitelly disconnect from the pyUNO bridge ?
the inverse of ctx = resolver.resolve("uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext")


Thanks in advance

Laurent

--
Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org
Indesko >> http://www.indesko.com
Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org
Livre "Programmation OpenOffice.org", Eyrolles 2004

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

Reply via email to