Antw: RE: Difficult To Reproduce Session Issue
Hi, the problem I'm experiencing (I'm the OP) seems a different one, although it may be related, of course. 1. I'm not accessing the root context (with or without trailing slash) 2. I'm using JRun 26414 on the ReadHat box where the problem occurs. I suppose this build includes the mentiones patch. 3. I'm using the patched version of JRun 16777 on NT where the problem does not occur. 4. It can't be I step on other people's session because I made sure I was the only person accessing the server at the time, and I opened only one browser session. 5. It's not a caching problem - all happens in our LAN. 6. I'll work on Mike Collins' suggestion to test if an incoming jsessionid gets bound to the wrong httpsession object. One other thing I'll look for is that maybe the binding happens too late, so that all user's would share the same session for their firstv request, and only then get the proper session. Could that happen? 7. Perhaps this is relevant: I am not using any calls to invalidate sessions or setMaxInactiveInterval(-1) in code. Best, Sebastian [EMAIL PROTECTED] 27.03.2002 18.40 Uhr So are you saying that the patch for this does not work? Or people do not know about it? Please see this URL: http://www.macromedia.com/v1/handlers/index.cfm?ID=22260Method=Full Scott -Original Message- From: michael veit [mailto:[EMAIL PROTECTED]] not the problem - this is on an intranet - no proxy. all our pages carry that header as well. This bug is documented and reproduced by Macromedia: Jrun Bug 24049 - It is possible to get a duplicate session id during multi-user use of Jrun if the user browses to a Jrun Web application root directory without using a trailing slash. Haseltine, Celeste [EMAIL PROTECTED] wrote: Will, Good point. All of our web pages carry the header below. Perhaps that is why we have not experienced this problem. response.setHeader(Pragma,no-cache); //HTTP 1.0 refetch completely next time document is needed. response.setHeader(Cache-Control,no-cache); //HTTP 1.1 response.setDateHeader (Expires, 0); //prevents caching at the proxy server, refetches ONLY if it has been modified since last fetch response.setHeader(Cache-Control,no-store); //HTTP 1.1 Celeste -Original Message- From: Will Berger [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 10:38 AM To: JRun-Talk Subject: RE: Difficult To Reproduce Session Issue I am coming late to this thread, but I thought I would give you my 2 cents. We ran into this problem sometime ago where it appeared to be a jrun bug that caused sessions to get mixed up, turned out to be that the new client that we signed up had a proxy caching server and our jsp were being cached. Adding the response.addHeader(Pragma, No-cache); response.addHeader(Cache-Control, no-cache); response.addDateHeader(Expires, 1); This resolved the issue. Will -Original Message- From: Mike Collins [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 11:01 AM To: JRun-Talk Subject: Re: Difficult To Reproduce Session Issue Some ideas on troubleshooting this issue: I can think of 3 reasons why someone can get the wrong session data: 1. your jsessionid cookie somehow gets reset during the session to another valid session 2. when your session is initialized you step on someone else's httpsession object 3. requests with an incoming jsessionid gets bound to the wrong httpsession object Some ideas on troubleshooting the above scenarios: - upon the creation of a new session, record the jsessionid in the httpsession object. - if a value already exists you know that you have just hit #2 - on all subsequent requests validate the jsessionid with the value on the httpsession object. If they are not equal you know the problem is 1 or 3. If you add these lines of code I would think you have a pretty good chance at isolating and stopping folks from getting the wrong session. I would also hope it might lead us to a resolution. My gut tells me it is number 3, the others seem like they would have revealed themselves by now. Regards, Mike __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Difficult To Reproduce Session Issue
The patch did not work. --- Scott Stirling [EMAIL PROTECTED] wrote: So are you saying that the patch for this does not work? Or people do not know about it? Please see this URL: http://www.macromedia.com/v1/handlers/index.cfm?ID=22260Method=Full Scott -Original Message- From: michael veit [mailto:[EMAIL PROTECTED]] not the problem - this is on an intranet - no proxy. all our pages carry that header as well. This bug is documented and reproduced by Macromedia: Jrun Bug 24049 - It is possible to get a duplicate session id during multi-user use of Jrun if the user browses to a Jrun Web application root directory without using a trailing slash. Haseltine, Celeste [EMAIL PROTECTED] wrote: Will, Good point. All of our web pages carry the header below. Perhaps that is why we have not experienced this problem. response.setHeader(Pragma,no-cache); //HTTP 1.0 refetch completely next time document is needed. response.setHeader(Cache-Control,no-cache); //HTTP 1.1 response.setDateHeader (Expires, 0); //prevents caching at the proxy server, refetches ONLY if it has been modified since last fetch response.setHeader(Cache-Control,no-store); //HTTP 1.1 Celeste -Original Message- From: Will Berger [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 10:38 AM To: JRun-Talk Subject: RE: Difficult To Reproduce Session Issue I am coming late to this thread, but I thought I would give you my 2 cents. We ran into this problem sometime ago where it appeared to be a jrun bug that caused sessions to get mixed up, turned out to be that the new client that we signed up had a proxy caching server and our jsp were being cached. Adding the response.addHeader(Pragma, No-cache); response.addHeader(Cache-Control, no-cache); response.addDateHeader(Expires, 1); This resolved the issue. Will -Original Message- From: Mike Collins [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 11:01 AM To: JRun-Talk Subject: Re: Difficult To Reproduce Session Issue Some ideas on troubleshooting this issue: I can think of 3 reasons why someone can get the wrong session data: 1. your jsessionid cookie somehow gets reset during the session to another valid session 2. when your session is initialized you step on someone else's httpsession object 3. requests with an incoming jsessionid gets bound to the wrong httpsession object Some ideas on troubleshooting the above scenarios: - upon the creation of a new session, record the jsessionid in the httpsession object. - if a value already exists you know that you have just hit #2 - on all subsequent requests validate the jsessionid with the value on the httpsession object. If they are not equal you know the problem is 1 or 3. If you add these lines of code I would think you have a pretty good chance at isolating and stopping folks from getting the wrong session. I would also hope it might lead us to a resolution. My gut tells me it is number 3, the others seem like they would have revealed themselves by now. Regards, Mike __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Connection reset by peer: socket write error
Hi, I am getting the following error while accessing the database. I have JRun 3.1.15506 app server running on win2000 and NT both, and using oracle database. Instead of using JRun's connection pool for oracle I am using my own connection pool. The system works fine most of the times but all of a sudden it starts giving Connection reset by peer. I didn't have this problem when I was using JRun's Oracle thin driver connection pool before. But for migrating reasons I started using my own connection pool. Sometimes when I query the database using preparedStatement, it throws the below exception. I am seeing the same exception both on NT and win2000. Please tell what might the reason behind. Thanks _ _ Thu Mar 28 10:13:31 EST 2002 Io exception: Connection reset by peer: socket write error java.sql.SQLException: Io exception: Connection reset by peer: socket write error at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:292) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:307) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedStatement.ja va:194) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedStatement.ja va:177) at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:3 39) at com.emc.asi.ejb.pool.ASIConnection.prepareStatement(ASIConnection.java:61) at com.emc.asi.ejb.LoginBean.processLogin(LoginBean.java:48) at java.lang.reflect.Method.invoke(Native Method) at allaire.ejipt._BeanMethod._invoke(allaire/ejipt/_BeanMethod.java:166) at allaire.ejipt._SessionObject._invoke(allaire/ejipt/_SessionObject.java:182) at allaire.ejipt._CallableObject.call(allaire/ejipt/_CallableObject.java:101) at java.lang.reflect.Method.invoke(Native Method) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241) at sun.rmi.transport.Transport$1.run(Transport.java:152) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:148) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:7 06) at java.lang.Thread.run(Thread.java:484) __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Connection reset by peer: socket write error
What's JRun's Oracle driver? Have you tried using oracle's free thin driver? We use oracle JDBC driver-8.1.6.2.0 on a large variety of projects and operations w/o a hiccup. Maybe trying it will help you. BenG. [EMAIL PROTECTED] wrote: Hi, I am getting the following error while accessing the database. I have JRun 3.1.15506 app server running on win2000 and NT both, and using oracle database. Instead of using JRun's connection pool for oracle I am using my own connection pool. The system works fine most of the times but all of a sudden it starts giving Connection reset by peer. I didn't have this problem when I was using JRun's Oracle thin driver connection pool before. But for migrating reasons I started using my own connection pool. Sometimes when I query the database using preparedStatement, it throws the below exception. I am seeing the same exception both on NT and win2000. Please tell what might the reason behind. Thanks _ _ Thu Mar 28 10:13:31 EST 2002 Io exception: Connection reset by peer: socket write error java.sql.SQLException: Io exception: Connection reset by peer: socket write error at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:292) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:307) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedStatement.ja va:194) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedStatement.ja va:177) at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:3 39) at com.emc.asi.ejb.pool.ASIConnection.prepareStatement(ASIConnection.java:61) at com.emc.asi.ejb.LoginBean.processLogin(LoginBean.java:48) at java.lang.reflect.Method.invoke(Native Method) at allaire.ejipt._BeanMethod._invoke(allaire/ejipt/_BeanMethod.java:166) at allaire.ejipt._SessionObject._invoke(allaire/ejipt/_SessionObject.java:182) at allaire.ejipt._CallableObject.call(allaire/ejipt/_CallableObject.java:101) at java.lang.reflect.Method.invoke(Native Method) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241) at sun.rmi.transport.Transport$1.run(Transport.java:152) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:148) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:7 06) at java.lang.Thread.run(Thread.java:484) __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Connection reset by peer: socket write error
Ya, I am using Oracle's thin driver. -Original Message- From: Ben Groeneveld [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 11:34 AM To: JRun-Talk Subject: Re: Connection reset by peer: socket write error What's JRun's Oracle driver? Have you tried using oracle's free thin driver? We use oracle JDBC driver-8.1.6.2.0 on a large variety of projects and operations w/o a hiccup. Maybe trying it will help you. BenG. [EMAIL PROTECTED] wrote: Hi, I am getting the following error while accessing the database. I have JRun 3.1.15506 app server running on win2000 and NT both, and using oracle database. Instead of using JRun's connection pool for oracle I am using my own connection pool. The system works fine most of the times but all of a sudden it starts giving Connection reset by peer. I didn't have this problem when I was using JRun's Oracle thin driver connection pool before. But for migrating reasons I started using my own connection pool. Sometimes when I query the database using preparedStatement, it throws the below exception. I am seeing the same exception both on NT and win2000. Please tell what might the reason behind. Thanks _ _ Thu Mar 28 10:13:31 EST 2002 Io exception: Connection reset by peer: socket write error java.sql.SQLException: Io exception: Connection reset by peer: socket write error at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:292) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:307) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedStatement.j a va:194) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedStatement.j a va:177) at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java: 3 39) at com.emc.asi.ejb.pool.ASIConnection.prepareStatement(ASIConnection.java:61) at com.emc.asi.ejb.LoginBean.processLogin(LoginBean.java:48) at java.lang.reflect.Method.invoke(Native Method) at allaire.ejipt._BeanMethod._invoke(allaire/ejipt/_BeanMethod.java:166) at allaire.ejipt._SessionObject._invoke(allaire/ejipt/_SessionObject.java:182) at allaire.ejipt._CallableObject.call(allaire/ejipt/_CallableObject.java:101) at java.lang.reflect.Method.invoke(Native Method) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241) at sun.rmi.transport.Transport$1.run(Transport.java:152) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:148) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java: 7 06) at java.lang.Thread.run(Thread.java:484) __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Connection reset by peer: socket write error
Hi, I am using clobs and nested tables but I am also using oracle implementation of those. I am getting this error on prepared statement. -Original Message- From: Theodore Zimmerman [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 1:26 PM To: JRun-Talk Subject: RE: Connection reset by peer: socket write error Are you using a datatypes like blobs or clobs? I've been doing some testing lately with those datatypes and unless you used Oracle's implementation would get that same error. Ted Zimmerman -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 11:51 AM To: JRun-Talk Subject: RE: Connection reset by peer: socket write error Ya, I am using Oracle's thin driver. -Original Message- From: Ben Groeneveld [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 11:34 AM To: JRun-Talk Subject: Re: Connection reset by peer: socket write error What's JRun's Oracle driver? Have you tried using oracle's free thin driver? We use oracle JDBC driver-8.1.6.2.0 on a large variety of projects and operations w/o a hiccup. Maybe trying it will help you. BenG. [EMAIL PROTECTED] wrote: Hi, I am getting the following error while accessing the database. I have JRun 3.1.15506 app server running on win2000 and NT both, and using oracle database. Instead of using JRun's connection pool for oracle I am using my own connection pool. The system works fine most of the times but all of a sudden it starts giving Connection reset by peer. I didn't have this problem when I was using JRun's Oracle thin driver connection pool before. But for migrating reasons I started using my own connection pool. Sometimes when I query the database using preparedStatement, it throws the below exception. I am seeing the same exception both on NT and win2000. Please tell what might the reason behind. Thanks _ _ Thu Mar 28 10:13:31 EST 2002 Io exception: Connection reset by peer: socket write error java.sql.SQLException: Io exception: Connection reset by peer: socket write error at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:292) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:307) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedStatement.j a va:194) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedStatement.j a va:177) at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java: 3 39) at com.emc.asi.ejb.pool.ASIConnection.prepareStatement(ASIConnection.java:61) at com.emc.asi.ejb.LoginBean.processLogin(LoginBean.java:48) at java.lang.reflect.Method.invoke(Native Method) at allaire.ejipt._BeanMethod._invoke(allaire/ejipt/_BeanMethod.java:166) at allaire.ejipt._SessionObject._invoke(allaire/ejipt/_SessionObject.java:182) at allaire.ejipt._CallableObject.call(allaire/ejipt/_CallableObject.java:101) at java.lang.reflect.Method.invoke(Native Method) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241) at sun.rmi.transport.Transport$1.run(Transport.java:152) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:148) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java: 7 06) at java.lang.Thread.run(Thread.java:484) __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
load testing (was RE: Difficult To Reproduce Session Issue)
Celeste, you say: We haven't seen this problem, not yet anyway. But our servers are not under much of a load yet, as our site is just getting off the ground. We expect that to change over the next three to four months. If we do run into the same problem, I suspect that will be the final straw for the owner of this facility, and he too will decide to go with another JSP/Servlet server. I'm curious if you're considering load testing before just waiting to see what happens. Indeed, I'd like to open this discussion to a broader one of whether people do use load testing tools, especially if they do anticipate a growth in load. Or is the feeling that they're too expensive or cumbersome. Perhaps people can share their experiences with any load testing tools, indicating as well if the relative costs and challenges in using them. Perhaps they can also clarify their own load requirements: clearly someone with a commercial, clustered site with hundreds of thousands of hits per day will have different needs (and preferences) over someone with a smaller organization (or intranet) site getting hundreds of hits per day. Still, for issues like this one being discussed, just simulating many per second in a load testing tool could identify a problem that might otherwise not crop up until later. As Celeste says, better to know about it sooner than later. A testing tool seems of more value to people than they seem to give it credit. What are the facets that stop people from using them? Cost? Complexity? Lack of awareness? Choosing among many alternatives? Hopefully this thread will at least help us on the list get a better idea of what options make sense for our varying needs, and we can pass along our discoveries to others, and so on. /charlie __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: load testing (was RE: Difficult To Reproduce Session Issue)
Charlie, I would love to use some load testing tools, and I have gone to the mat with both the owner and my boss (the VP) to try and purchase some. But you have to keep in mind that most companies are really on tight budgets right now, and some smaller IT groups such as this one are having to make do with either free testing tools/shareware that is out on the internet, or open source tools via Sun/Jakarta. The company I am currently working with is a small manufacturer, who has a very narrow profit margin on the products he produces. He is in a niche market, but because he has such a narrow profit margin, and because the owner is close to retirement (he is 60), he is extremely reluctant to spend any money. In fact, the only reason he hired me was that some of his biggest clients told him that if he did not institute a web ordering system, they would consider taking their business to his competition. Even though the owner really dislikes computers, the threat by his larger clients caught his attention and he is now being forced into the web age kicking and screaming all the way. Bottom line, both he and the VP say they want to take their chances on when the site would go down and under what load conditions. I've tried to convince them that when your revenue is being generated via a web site, this is NOT the way you want to find coding errors and/or other problems, but I have not been successful in that endeavor yet. They feel that most of their customers will not actually use the site, and they do not intend to advertise it's existing in order to keep the traffic down. The concept that someone might just spam their site for the hell of it, and cause the site to crash, doesn't concern at this time. If you do find other freebie testing tools, I would be interested in the names/links. Celeste -Original Message- From: charles arehart [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 12:53 PM To: JRun-Talk Subject: load testing (was RE: Difficult To Reproduce Session Issue) Celeste, you say: We haven't seen this problem, not yet anyway. But our servers are not under much of a load yet, as our site is just getting off the ground. We expect that to change over the next three to four months. If we do run into the same problem, I suspect that will be the final straw for the owner of this facility, and he too will decide to go with another JSP/Servlet server. I'm curious if you're considering load testing before just waiting to see what happens. Indeed, I'd like to open this discussion to a broader one of whether people do use load testing tools, especially if they do anticipate a growth in load. Or is the feeling that they're too expensive or cumbersome. Perhaps people can share their experiences with any load testing tools, indicating as well if the relative costs and challenges in using them. Perhaps they can also clarify their own load requirements: clearly someone with a commercial, clustered site with hundreds of thousands of hits per day will have different needs (and preferences) over someone with a smaller organization (or intranet) site getting hundreds of hits per day. Still, for issues like this one being discussed, just simulating many per second in a load testing tool could identify a problem that might otherwise not crop up until later. As Celeste says, better to know about it sooner than later. A testing tool seems of more value to people than they seem to give it credit. What are the facets that stop people from using them? Cost? Complexity? Lack of awareness? Choosing among many alternatives? Hopefully this thread will at least help us on the list get a better idea of what options make sense for our varying needs, and we can pass along our discoveries to others, and so on. /charlie __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: load testing (was RE: Difficult To Reproduce Session Issue)
Celeste, Microsoft has a stress test tool that you can download for free. See the following KB article: http://www.macromedia.com/v1/Handlers/index.cfm?ID=21951Method=Full Ted Zimmerman -Original Message- From: Haseltine, Celeste [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 4:15 PM To: JRun-Talk Subject: RE: load testing (was RE: Difficult To Reproduce Session Issue) Charlie, I would love to use some load testing tools, and I have gone to the mat with both the owner and my boss (the VP) to try and purchase some. But you have to keep in mind that most companies are really on tight budgets right now, and some smaller IT groups such as this one are having to make do with either free testing tools/shareware that is out on the internet, or open source tools via Sun/Jakarta. The company I am currently working with is a small manufacturer, who has a very narrow profit margin on the products he produces. He is in a niche market, but because he has such a narrow profit margin, and because the owner is close to retirement (he is 60), he is extremely reluctant to spend any money. In fact, the only reason he hired me was that some of his biggest clients told him that if he did not institute a web ordering system, they would consider taking their business to his competition. Even though the owner really dislikes computers, the threat by his larger clients caught his attention and he is now being forced into the web age kicking and screaming all the way. Bottom line, both he and the VP say they want to take their chances on when the site would go down and under what load conditions. I've tried to convince them that when your revenue is being generated via a web site, this is NOT the way you want to find coding errors and/or other problems, but I have not been successful in that endeavor yet. They feel that most of their customers will not actually use the site, and they do not intend to advertise it's existing in order to keep the traffic down. The concept that someone might just spam their site for the hell of it, and cause the site to crash, doesn't concern at this time. If you do find other freebie testing tools, I would be interested in the names/links. Celeste -Original Message- From: charles arehart [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 12:53 PM To: JRun-Talk Subject: load testing (was RE: Difficult To Reproduce Session Issue) Celeste, you say: We haven't seen this problem, not yet anyway. But our servers are not under much of a load yet, as our site is just getting off the ground. We expect that to change over the next three to four months. If we do run into the same problem, I suspect that will be the final straw for the owner of this facility, and he too will decide to go with another JSP/Servlet server. I'm curious if you're considering load testing before just waiting to see what happens. Indeed, I'd like to open this discussion to a broader one of whether people do use load testing tools, especially if they do anticipate a growth in load. Or is the feeling that they're too expensive or cumbersome. Perhaps people can share their experiences with any load testing tools, indicating as well if the relative costs and challenges in using them. Perhaps they can also clarify their own load requirements: clearly someone with a commercial, clustered site with hundreds of thousands of hits per day will have different needs (and preferences) over someone with a smaller organization (or intranet) site getting hundreds of hits per day. Still, for issues like this one being discussed, just simulating many per second in a load testing tool could identify a problem that might otherwise not crop up until later. As Celeste says, better to know about it sooner than later. A testing tool seems of more value to people than they seem to give it credit. What are the facets that stop people from using them? Cost? Complexity? Lack of awareness? Choosing among many alternatives? Hopefully this thread will at least help us on the list get a better idea of what options make sense for our varying needs, and we can pass along our discoveries to others, and so on. /charlie __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Connection reset by peer: socket write error
Verma, In what scenarios do you get this problem. Is it on inserts or selects or both? Does it happen all the time? If so is there a way to reproduce the problem. Does JRun continue to work properly after the problem occurs? Have you tried it without connection pooling? I know you indicated previously that this didn't happen when you used JRun's pooling. The problem may very well have to do with the connection pooling classes that you are using. Ted Zimmerman -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 1:35 PM To: JRun-Talk Subject: RE: Connection reset by peer: socket write error Hi, I am using clobs and nested tables but I am also using oracle implementation of those. I am getting this error on prepared statement. -Original Message- From: Theodore Zimmerman [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 1:26 PM To: JRun-Talk Subject: RE: Connection reset by peer: socket write error Are you using a datatypes like blobs or clobs? I've been doing some testing lately with those datatypes and unless you used Oracle's implementation would get that same error. Ted Zimmerman -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 11:51 AM To: JRun-Talk Subject: RE: Connection reset by peer: socket write error Ya, I am using Oracle's thin driver. -Original Message- From: Ben Groeneveld [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 11:34 AM To: JRun-Talk Subject: Re: Connection reset by peer: socket write error What's JRun's Oracle driver? Have you tried using oracle's free thin driver? We use oracle JDBC driver-8.1.6.2.0 on a large variety of projects and operations w/o a hiccup. Maybe trying it will help you. BenG. [EMAIL PROTECTED] wrote: Hi, I am getting the following error while accessing the database. I have JRun 3.1.15506 app server running on win2000 and NT both, and using oracle database. Instead of using JRun's connection pool for oracle I am using my own connection pool. The system works fine most of the times but all of a sudden it starts giving Connection reset by peer. I didn't have this problem when I was using JRun's Oracle thin driver connection pool before. But for migrating reasons I started using my own connection pool. Sometimes when I query the database using preparedStatement, it throws the below exception. I am seeing the same exception both on NT and win2000. Please tell what might the reason behind. Thanks _ _ Thu Mar 28 10:13:31 EST 2002 Io exception: Connection reset by peer: socket write error java.sql.SQLException: Io exception: Connection reset by peer: socket write error at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:292) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:307) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedStatement.j a va:194) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedStatement.j a va:177) at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java: 3 39) at com.emc.asi.ejb.pool.ASIConnection.prepareStatement(ASIConnection.java:61) at com.emc.asi.ejb.LoginBean.processLogin(LoginBean.java:48) at java.lang.reflect.Method.invoke(Native Method) at allaire.ejipt._BeanMethod._invoke(allaire/ejipt/_BeanMethod.java:166) at allaire.ejipt._SessionObject._invoke(allaire/ejipt/_SessionObject.java:182) at allaire.ejipt._CallableObject.call(allaire/ejipt/_CallableObject.java:101) at java.lang.reflect.Method.invoke(Native Method) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241) at sun.rmi.transport.Transport$1.run(Transport.java:152) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:148) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java: 7 06) at java.lang.Thread.run(Thread.java:484) __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Connection reset by peer: socket write error
Dear Zimmerman, The problem does not occur always. It happens once in a while. I have seen this problem 2-3 times but I am unable to figure out it's basic nature. When I get a conneciotn from the pool and try to call a prepared statement on that then it problem occurs, but not always. I got this error this morning when I tried to login in the system, which further get login info from the database. There is a possibility that our network was down for few minutes but it was back soon. May that causes that error. I am attaching my connectio pooling classes. Check out if you can find anything wrong. Thanks -Original Message- From: Theodore Zimmerman [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 4:33 PM To: JRun-Talk Subject: RE: Connection reset by peer: socket write error Verma, In what scenarios do you get this problem. Is it on inserts or selects or both? Does it happen all the time? If so is there a way to reproduce the problem. Does JRun continue to work properly after the problem occurs? Have you tried it without connection pooling? I know you indicated previously that this didn't happen when you used JRun's pooling. The problem may very well have to do with the connection pooling classes that you are using. Ted Zimmerman -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 1:35 PM To: JRun-Talk Subject: RE: Connection reset by peer: socket write error Hi, I am using clobs and nested tables but I am also using oracle implementation of those. I am getting this error on prepared statement. -Original Message- From: Theodore Zimmerman [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 1:26 PM To: JRun-Talk Subject: RE: Connection reset by peer: socket write error Are you using a datatypes like blobs or clobs? I've been doing some testing lately with those datatypes and unless you used Oracle's implementation would get that same error. Ted Zimmerman -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 11:51 AM To: JRun-Talk Subject: RE: Connection reset by peer: socket write error Ya, I am using Oracle's thin driver. -Original Message- From: Ben Groeneveld [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 11:34 AM To: JRun-Talk Subject: Re: Connection reset by peer: socket write error What's JRun's Oracle driver? Have you tried using oracle's free thin driver? We use oracle JDBC driver-8.1.6.2.0 on a large variety of projects and operations w/o a hiccup. Maybe trying it will help you. BenG. [EMAIL PROTECTED] wrote: Hi, I am getting the following error while accessing the database. I have JRun 3.1.15506 app server running on win2000 and NT both, and using oracle database. Instead of using JRun's connection pool for oracle I am using my own connection pool. The system works fine most of the times but all of a sudden it starts giving Connection reset by peer. I didn't have this problem when I was using JRun's Oracle thin driver connection pool before. But for migrating reasons I started using my own connection pool. Sometimes when I query the database using preparedStatement, it throws the below exception. I am seeing the same exception both on NT and win2000. Please tell what might the reason behind. Thanks _ _ Thu Mar 28 10:13:31 EST 2002 Io exception: Connection reset by peer: socket write error java.sql.SQLException: Io exception: Connection reset by peer: socket write error at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:292) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:307) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedStatement.j a va:194) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedStatement.j a va:177) at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java: 3 39) at com.emc.asi.ejb.pool.ASIConnection.prepareStatement(ASIConnection.java:61) at com.emc.asi.ejb.LoginBean.processLogin(LoginBean.java:48) at java.lang.reflect.Method.invoke(Native Method) at allaire.ejipt._BeanMethod._invoke(allaire/ejipt/_BeanMethod.java:166) at allaire.ejipt._SessionObject._invoke(allaire/ejipt/_SessionObject.java:182) at allaire.ejipt._CallableObject.call(allaire/ejipt/_CallableObject.java:101) at java.lang.reflect.Method.invoke(Native Method) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241) at sun.rmi.transport.Transport$1.run(Transport.java:152) at java.security.AccessController.doPrivileged(Native
Migration tool
Hello. This is my first time posting here. I just wanted to let people know that JRun 4.0 comes with a migration tool. It will migrate JRun 3.x servers, apps, and configuration settings over to 4.0. Just type migrate your_jrun3x_root from the bin directory of JRun 4.0. You'll still have to do some configuring yourself, and the tool won't change your code, but it will take care of alot of the basics for you. So please, give it a try, and let me know what you think. Thanks. Barry Charles JRun QA __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Connection reset by peer: socket write error
We were getting this problem (Connection reset by peer: socket write error) consistently when our application was under a pretty heavy load. We attributed the problem to the bitmechanic JDBC connection pool that we were using at the time (we never looked into exactly what was wrong with the pool). We switched to the PoolMan JDBC connection pool and the problem went away. P.S. We aren't using the JRun connection pool because we need to use our connection pool outside of JRun. [EMAIL PROTECTED] 03/28/2002 03:53 PM Please respond to [EMAIL PROTECTED] To:JRun-Talk [EMAIL PROTECTED] cc: Subject:RE: Connection reset by peer: socket write error Dear Zimmerman, The problem does not occur always. It happens once in a while. I have seen this problem 2-3 times but I am unable to figure out it's basic nature. When I get a conneciotn from the pool and try to call a prepared statement on that then it problem occurs, but not always. I got this error this morning when I tried to login in the system, which further get login info from the database. There is a possibility that our network was down for few minutes but it was back soon. May that causes that error. I am attaching my connectio pooling classes. Check out if you can find anything wrong. Thanks -Original Message- From: Theodore Zimmerman [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 4:33 PM To: JRun-Talk Subject: RE: Connection reset by peer: socket write error Verma, In what scenarios do you get this problem. Is it on inserts or selects or both? Does it happen all the time? If so is there a way to reproduce the problem. Does JRun continue to work properly after the problem occurs? Have you tried it without connection pooling? I know you indicated previously that this didn't happen when you used JRun's pooling. The problem may very well have to do with the connection pooling classes that you are using. Ted Zimmerman -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 1:35 PM To: JRun-Talk Subject: RE: Connection reset by peer: socket write error Hi, I am using clobs and nested tables but I am also using oracle implementation of those. I am getting this error on prepared statement. -Original Message- From: Theodore Zimmerman [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 1:26 PM To: JRun-Talk Subject: RE: Connection reset by peer: socket write error Are you using a datatypes like blobs or clobs? I've been doing some testing lately with those datatypes and unless you used Oracle's implementation would get that same error. Ted Zimmerman -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 11:51 AM To: JRun-Talk Subject: RE: Connection reset by peer: socket write error Ya, I am using Oracle's thin driver. -Original Message- From: Ben Groeneveld [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 11:34 AM To: JRun-Talk Subject: Re: Connection reset by peer: socket write error What's JRun's Oracle driver? Have you tried using oracle's free thin driver? We use oracle JDBC driver-8.1.6.2.0 on a large variety of projects and operations w/o a hiccup. Maybe trying it will help you. BenG. [EMAIL PROTECTED] wrote: Hi, I am getting the following error while accessing the database. I have JRun 3.1.15506 app server running on win2000 and NT both, and using oracle database. Instead of using JRun's connection pool for oracle I am using my own connection pool. The system works fine most of the times but all of a sudden it starts giving Connection reset by peer. I didn't have this problem when I was using JRun's Oracle thin driver connection pool before. But for migrating reasons I started using my own connection pool. Sometimes when I query the database using preparedStatement, it throws the below exception. I am seeing the same exception both on NT and win2000. Please tell what might the reason behind. Thanks _ _ Thu Mar 28 10:13:31 EST 2002 Io exception: Connection reset by peer: socket write error java.sql.SQLException: Io exception: Connection reset by peer: socket write error at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:292) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:307) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedStatement.j a va:194) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedStatement.j a va:177) at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java: 3 39) at
RE: load testing (was RE: Difficult To Reproduce Session Issue)
If you do find other freebie testing tools, I would be interested in the names/links. Take a look at OpenSTA: http://www.opensta.org/ It's open-source, and free, and looks pretty good. I haven't used it for an actual testing engagement yet (I'm used to SilkPerformer) but it looks like it covers all the bases pretty well. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Will Jrun 4.0 support HTTPS?
Hi All, I would like to get rid of Netscape Enterprise Server and use Jrun alone, but Jrun 3.1 doesn't support HTTPS? Does any of you know whether JRun 4.0 will support HTTPS? Thanks, Shengtong Zhang __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Will Jrun 4.0 support HTTPS?
I am not 100% sure but if you use Jrun, you can connect it to a web server(IIS, Apache etc) which supports HTTPS as the web front end. Jrun can be used as the application server. I believe this is a preferred way of laying out the servers. Bin - Original Message - From: Zhang, Shengtong, ALCAS [EMAIL PROTECTED] To: JRun-Talk [EMAIL PROTECTED] Sent: Thursday, March 28, 2002 5:18 PM Subject: Will Jrun 4.0 support HTTPS? Hi All, I would like to get rid of Netscape Enterprise Server and use Jrun alone, but Jrun 3.1 doesn't support HTTPS? Does any of you know whether JRun 4.0 will support HTTPS? Thanks, Shengtong Zhang __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Will Jrun 4.0 support HTTPS?
You could use apache for your WebServer and use the JRun apacahe connector for comunication between apache and JRun. This way clients would connect into the WebServer through HTTPS and all communications between apache and JRun will be through the connector. Hope this helps. Zhang, Shengtong, ALCAS wrote: Hi All, I would like to get rid of Netscape Enterprise Server and use Jrun alone, but Jrun 3.1 doesn't support HTTPS? Does any of you know whether JRun 4.0 will support HTTPS? Thanks, Shengtong Zhang __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: load testing (was RE: Difficult To Reproduce Session Issue)
Yep, Dave and Ted have ID'ed the two most popular free tools I know of. So cost isn't really the issue, once one knows of these. It's more just a matter of deciding that the effort's worthwhile. Sounds like in your case, Celeste, that the bosses really just aren't motivated to worry about testing. That's the part I want to address. What do we, as professionals, do (and know, and say) to promote more effective testing (load and otherwise). What's really keeping it from being more prominent? Just some rhetorical questions. If there are no replies, I'll know it's the sound of one hand clapping. :-) /charlie -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 5:06 PM To: JRun-Talk Subject: RE: load testing (was RE: Difficult To Reproduce Session Issue) If you do find other freebie testing tools, I would be interested in the names/links. Take a look at OpenSTA: http://www.opensta.org/ It's open-source, and free, and looks pretty good. I haven't used it for an actual testing engagement yet (I'm used to SilkPerformer) but it looks like it covers all the bases pretty well. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists