Hi all and a happy new year ;:-)) I upgraded to 1.0b4, but still have my threading problem. As I am quite sure that I am doing some silly things, I attached the relevant code and hopefully someone can tell me what's wrong. The thing is quite easy: just opening a connection to the db, querying for a document, and at the end closing the collection and disconnect from db. When I iterate over this, I can see the thread count go up in top, and around 1000 it breaks with a memory error. My question is how can I kill the thread when I finish one iteration?
Here is the stack trace I get in my db window: dbXML 1.0b4 (Mustard) Database: 'db' initializing Script: 'GET' added to script storage Service: 'db' started Service: 'GopherServer' started @ gopher://surfer:4070/ Service: 'HTTPServer' started @ http://surfer:4080/ Service: 'APIService' started Server Running java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start(Native Method) at org.openorb.net.ServerManagerImpl.register_channel(ServerManagerImpl.java:89 0) at org.openorb.iiop.IIOPServerChannel.<init>(IIOPServerChannel.java:100) at org.openorb.iiop.IIOPServerProtocol.listen(IIOPServerProtocol.java:223) at org.openorb.iiop.IIOPServerProtocol.run_listen(IIOPServerProtocol.java:233) at org.openorb.net.ServerManagerImpl$ProtocolRunner.run(ServerManagerImpl.java: 833) at java.lang.Thread.run(Thread.java:579) I am using solaris 7 and 8 and java 1.3 I am greatful for any suggestions. By the way how can I do a remote connection to the db from my program? It changed with the introduction of openORB ... I couldn't find a clue. One more question: is there a way to get access to the mailing list archives again? It is a really useful thing ;-) Thank you very much. Heike <<DbxmlTest.java>>
DbxmlTest.java
Description: Binary data
