From: Andrew B. <ne...@my...> - 2003-02-05 16:10:57
|
Hello Bill! Finally I have solid keyborad to type ;) I hate laptop's one ;) > Please don't be confused with event term. Destroy method is actually > the event the servlet receives on container state change. >>I see. So you mean a servlet that would implement the >>destroy method an= d >>perhaps help to make configuration easier? I like >>that. We already (in >>0.7) have a MonitorServlet; why not have another >>servlet for other >>tasks. Like: >>1. Shutting down Proxool >>2. Configuring Proxool from file I didn't mean any certain form of framework. The servlet container is one o= f possible. Let it be. Again, in my case I have framework of absolutely d= ifferent kind. In case of the servlet engine I would sugest a Proxool Con= trol Panel having a form of servlet and swing application or a java bean = with UI customizer. This one should connect proxool or to be forked as a = thread. It shows real-time statistics, may configure a statistics log for= mat. In case of Avalon framework this component could be different but st= ill play the same role. But that's all about proxool tuning. What I meant= exactly is how Proxool react to framework state changes. There are few w= ays to use proxool in servlet container. It may be a singleton serving al= l servlets and it may be a part of one web application serving the needs = of this web application. This is the design issue. It is not possible to = say for sure which way is preferable. I would say that both are. It depen= ds upon technical requirements. So that I assume proxool is a component= allowing to be nested within a custom framework. To pass on framework ev= ents the framework should provide a proxy in between, talking directly to= proxool. If the framework doesn't suppose proxool customization it uses = it transparently like we have already discussed. Regards, Andrew. |
From: Andrew B. <ne...@my...> - 2003-02-07 10:39:58
|
Hello all > > >> In case of the servlet engine I would sugest a Proxool Control Panel >> having a form of servlet and swing application or a java bean with UI >> customizer. =20 > > > Are we getting into jmx territory here? > =20 > We could touch this. I don't see any problems. The main competitor of Proxo= ol - PoolMan was jmx compatible. > http://java.sun.com/products/JavaManagement/ > > We might end up righting a JMX component sometime. > > =20 > >> What I meant exactly is how Proxool react to framework state changes. >> =20 > > > What sort of state changes are you thinking of? I can think of 1) > Configuration, 2) Shutdown. > > We now have that behaviour with ServletConfigurator and > AvalonConfigurator. The API already allows you to do all these things, > no? > =20 > Let's say we provide few reactions of proxool which are supposed to be mapp= ed by framework proxy on framework's events. E.g.: we use a proxool insid= e of web application and we have to close connections on destroying of th= is application. We cannot wait for JVM shutdown. In this case web applica= tion is the framework in which the proxool is nested. Not the servlet eng= ine! When the web application receives Destroy message (destroy method is= called) it invokes shutdownHook of proxool facade. The fail-over is not = responsibility of proxool unless it happens inside of proxool. If mention= ed above web application has failed the proxool should receive the same s= hutdown message (facade shutdownHook is called) or another message like r= einitialize the pools or what is most fit the requirements. Andrew |
From: Bill H. <bi...@lo...> - 2003-02-07 11:09:21
|
Hi Andrew, On Wed, 2003-02-05 at 23:02, Andrew Budarevsky wrote: > We could touch this. I don't see any problems. The main competitor of > Proxool - PoolMan was jmx compatible. Yep, it's in the plan. Christian intends to write this before 1.0. We like JMX. > Let's say we provide few reactions of proxool which are supposed to be > mapped by framework proxy on framework's events. E.g.: we use a > proxool inside of web application and we have to close connections on > destroying of this application. We cannot wait for JVM shutdown. In > this case web application is the framework in which the proxool is > nested. Not the servlet engine! Ok. Let me be clearer. At the moment we have an adapter (if you want to call it that) ServletConfigurator that will do this shutdown for you. It works in Servlet Containers - obviously. I don't see any problem in writing another adapter for other web applications. > When the web application receives Destroy message (destroy method is > called) it invokes shutdownHook of proxool facade. The fail-over is > not responsibility of proxool unless it happens inside of proxool. "Fail-over"? > If mentioned above web application has failed the proxool should > receive the same shutdown message (facade shutdownHook is called) or > another message like reinitialize the pools or what is most fit the > requirements. Andrew, you're going to have to resort to specifics here. This is all a bit vague. I think the API already supports shutdown; the exact mechanism of that shutdown must depend on the environment that Proxool is running in. In what way do you think current Proxool API limits you? (BTW, Andrew, can you include a subject in your messages to this list please.) Regards, -- Bill Horsman Proxool http://proxool.sourceforge.net ICQ: 119577180 |
From: Andrey B. <ne...@my...> - 2003-02-07 11:35:00
|
Hello All! Sorry for missed subject. I had some troubles with my mail client and had to use web mail which is inconvenient. > > > If mentioned above web application has failed the proxool should > > receive the same shutdown message (facade shutdownHook is called) or > > another message like reinitialize the pools or what is most fit the > > requirements. > > Andrew, you're going to have to resort to specifics here. This is all a > bit vague. I think the API already supports shutdown; the exact > mechanism of that shutdown must depend on the environment that Proxool > is running in. > > In what way do you think current Proxool API limits you? I was speaking about pricinpals, not the missing features. Probably it was a bit more theoretical than needed ;) I do not have any limits on using Proxool, just terms are very important when you speak about architecture. Very often people understand the same terms diferenly. So let's skip that. Currently I have a question about transparent support of scrollable cursors. For example ODBC bridge doesn't support result set navigation and result set update. What do you think of that? Sorry for misleading. Andrew. |
From: Bill H. <bi...@lo...> - 2003-02-07 11:46:37
|
Hi Andrew, On Fri, 2003-02-07 at 11:33, Andrey Budarevsky wrote: > Currently I have a question about transparent support of scrollable cursors. > For example ODBC bridge doesn't support result set navigation and result set > update. What do you think of that? As far as I know, scrollable cursor support will depend on the delegate driver. So if that driver supports it, so will Proxool. When you ask a Statemet for a ResultSet you get the actual ResultSet from the delegate driver (no proxying). I say "as far as I know" because this isn't tested. (Although I believe Bas and Alastair include this in their J2SE compliance test - coming soon). Regards, -- Bill Horsman Proxool http://proxool.sourceforge.net ICQ: 119577180 |
From: Andrey B. <ne...@my...> - 2003-02-07 11:56:28
|
> On Fri, 2003-02-07 at 11:33, Andrey Budarevsky wrote: > > > Currently I have a question about transparent support of scrollable cursors. > > For example ODBC bridge doesn't support result set navigation and result set > > update. What do you think of that? > > As far as I know, scrollable cursor support will depend on the delegate > driver. So if that driver supports it, so will Proxool. When you ask a > Statemet for a ResultSet you get the actual ResultSet from the delegate > driver (no proxying). I say "as far as I know" because this isn't > tested. (Although I believe Bas and Alastair include this in their J2SE > compliance test - coming soon). This could be a feature to support scrollable cursors for drivers that don't have one. I am not sure it is worth, it depends on final target of your project. It's just an idea. Andrew. |
From: Bill H. <bi...@lo...> - 2003-02-07 12:11:19
|
Andrew, On Fri, 2003-02-07 at 11:56, Andrey Budarevsky wrote: > This could be a feature to support scrollable cursors for drivers that don't > have one. I am not sure it is worth, it depends on final target of your > project. It's just an idea. Ah, I see what you mean. I suppose that would be possible. Like you say, I'm not sure if that is really the objective of Proxool and it does sound quite involved. Still, thanks for the suggestion. Regards, -- Bill Horsman Proxool http://proxool.sourceforge.net ICQ: 119577180 |
From: Buller, J. <jef...@et...> - 2005-12-21 21:22:55
|
confirm 524091 |
From: <wan...@ne...> - 2006-06-27 06:13:27
|
Hello How do you do , I come from China , I want to ask some questions . When I use the Proxool , I donw=A1=AFt know how to set the DB time= out at the properties file , I hope get the help from you . Thanks very much ! My English is so bad , very very Sorry ! =20 =20 ---------------------------------------------------------------------------= ------------------- Confidentiality Notice: The information contained in this e-mail and any ac= companying attachment(s) is intended only for the use of the intended recip= ient and may be confidential and/or privileged of Neusoft Group Ltd., its s= ubsidiaries and/or its affiliates. If any reader of this communication is n= ot the intended recipient, unauthorized use, forwarding, printing, storing,= disclosure or copying is strictly prohibited, and may be unlawful. If you = have received this communication in error, please immediately notify the se= nder by return e-mail, and delete the original message and all copies from = your system. Thank you.=20 ---------------------------------------------------------------------------= -------------------- |
From: biglaughing <big...@gm...> - 2006-06-27 06:20:53
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=GB2312" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Hi,Mr Wang<br> <br> read this link <br> <br> <a class="moz-txt-link-freetext" href="http://proxool.sourceforge.net/properties.html">http://proxool.sourceforge.net/properties.html</a><br> <br> I am from China too.<br> <br> <br> <br> 王鹏 wrote: <blockquote cite="mid...@sm..." type="cite"> <meta http-equiv="Content-Type" content="text/html; "> <meta name="Generator" content="Microsoft Word 11 (filtered medium)"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"><!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:宋体; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:"\@宋体"; panose-1:2 1 6 0 3 1 1 1 1 1;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; font-size:10.5pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig {mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; font-size:12.0pt; font-family:宋体;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} /* Page Definitions */ @page Section1 {size:595.3pt 841.9pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; layout-grid:15.6pt;} div.Section1 {page:Section1;} --> </style></o:SmartTagType></o:SmartTagType> <div class="Section1" style=""> <p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">Hello<o:p></o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US"> How do you do , I come from <st1:place w:st="on"><st1:country-region w:st="on">China</st1:country-region></st1:place> , I want to ask some questions .<o:p></o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US"> When I use the Proxool , I donw’t know how to set the DB timeout at the properties file , I hope get the help from you .<o:p></o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US"> Thanks very much !<o:p></o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US"> My English is so bad , very very Sorry !<o:p></o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US"><o:p> </o:p></span></font></p> <p class="MsoNormal"><font face="Times New Roman" size="2"><span lang="EN-US"><o:p> </o:p></span></font></p> </div> <br> <font size="2"> <hr color="#000099"> <font color="#000099"><strong>Confidentiality Notice:</strong> The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. </font> <hr color="#000099"> </font> <pre wrap=""> <hr size="4" width="90%"> Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo <a class="moz-txt-link-freetext" href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642</a></pre> <pre wrap=""> <hr size="4" width="90%"> _______________________________________________ Proxool-developer mailing list <a class="moz-txt-link-abbreviated" href="mailto:Pro...@li...">Pro...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/proxool-developer">https://lists.sourceforge.net/lists/listinfo/proxool-developer</a> </pre> </blockquote> <br> </body> </html> |
From: Bill H. <bi...@lo...> - 2003-02-05 16:34:24
|
Hi Andrew, On Wed, 2003-02-05 at 16:10, Andrew Budarevsky wrote: > In case of the servlet engine I would sugest a Proxool Control Panel > having a form of servlet and swing application or a java bean with UI > customizer. Are we getting into jmx territory here? http://java.sun.com/products/JavaManagement/ We might end up righting a JMX component sometime. > What I meant exactly is how Proxool react to framework state changes. What sort of state changes are you thinking of? I can think of 1) Configuration, 2) Shutdown. We now have that behaviour with ServletConfigurator and AvalonConfigurator. The API already allows you to do all these things, no? -- Bill Horsman Proxool http://proxool.sourceforge.net ICQ: 119577180 |
From: Martin C. <mus...@us...> - 2003-02-05 17:02:36
|
> Are we getting into jmx territory here? > > http://java.sun.com/products/JavaManagement/ Yes, we are getting dangerously close;) > What sort of state changes are you thinking of? I can think of 1) > Configuration, 2) Shutdown. 3) Stats 4) Fail-over, redirecting URLs (ok maybe still configuration), but this was a cool idea! Martin |