Re: Interrogating JRun
Howard, I think you can get at port info using the regular servlet API, but JRun provides for quite a bit of internal info using its JMX interface which you can review in the admin manual.It is very cute with an HTML front end. Hope that helps, BenG. [EMAIL PROTECTED] wrote: Hey, Does anyone know how to programmatically interrogate JRun for the list of defined servers and related information (ports, server status) without using the admin server? Basically, all the information available from the first screen of the admin server or the Java admin app. I am trying to write an rudimentary admin interface for OS X and it would be nice to tell the user what port the servers are on. Thanks. -- Howard Fore, [EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
response.setHeader(connection: close) with IIS becomes Keep-Alive
In response to an HTTP POST I am performing a response.setHeader(Connection, close); My JRun4 is configured with IIS.I think this used to work, but perhaps something else has changed (did browsers always use Keep-Alive on POSTs?).It is currently not working - for a couple months now, and IIS overrides this with a Connection: Keep-Alive - which is what the browser requests.Browser (IE and NS) requests are coming into my server as POSTs, and their connections are staying open and not closing.This creates a problem for my application in situations where IE or NS only want to have two concurrent socket connections open - I am using one of those two for a dedicated, persistent connection on a custom app. If I configure JRun to run using it's webservice and bypass IIS my app runs as designed. I have used the sniffer program provided with JRun to verify that the setHeader() call is not working. Help or pointers would be appreciated to make this call work with the JRun connector for IIS. Thanks, BenG. -- Ben Groeneveld, bgroeneveld [at] communicast [dot] com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Invalidating a session with Jrun SessionService
Nice when it works :) BenG. [EMAIL PROTECTED] wrote: Gavin, you might try registering each user's session reference in an object accessible to the admin so that he/she can peruse and act on them using session.invalidate().Hope that helps, BenG. [EMAIL PROTECTED] wrote: Ben, Jeff, Thanks for the responses. I will try the approach of registering the sessions with an object acessible by the admin. Ben, Jeff, Just FYI ...That worked. Thanks for the help. I'm still ironing out a couple of issues clustering issues with it. For some reason if you update or invalidate another user's session the changes do not get replicated to the buddy machine(s) in the cluster. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Invalidating a session with Jrun SessionService
Gavin, I am not familiar with that approach.As an alternative, you may try session.invalidate() - I use it frequently.Hope that helps, BenG. [EMAIL PROTECTED] wrote: I am trying to write a servlet that enables an administrator to invalidate a user's session. I am using the SessionService class to access the user's session. However I keep getting null pointer exceptions on the relevant methods. I instantiated a SessionService object: SessionService sessionSrvc = new SessionService(); Then I tried invoking the following methods , all of which returned null pointer exceptions: sessionSrvc.invalidateSession(SessionID); HttpSession sessionToDelete = sessionSrvc.findSession(SessionID); ArrayList sessionList = sessionSrvc.getSessions(); Similar functionality was deprecated and removed from the java api for security reasons. Does anyone know if this has been disabled in the jrun api? Alternatively, does anyone know of another way to disable a particular user's session? Thanks for any help. Gavin [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Invalidating a session with Jrun SessionService
Gavin, you might try registering each user's session reference in an object accessible to the admin so that he/she can peruse and act on them using session.invalidate().Hope that helps, BenG. [EMAIL PROTECTED] wrote: session.invalidate(); only invalidates the client session.The container assumes the sessionid is the same for that client only and the server will invalidate THAT client¹s session only...no other sessions will be touched. I think what this person is trying to do is have another client able to see all active sessions on a certain application and invalidate them.In other words, the administrator can OEboot¹ someone off the application much in the same way a chat room administrator can boot some one off a channel. With that said, I don¹t know the actual answer to this question, but just calling session.invalidate() isn¹t going to solve this person¹s problem. On 5/13/04 12:30 PM, Ben Groeneveld [EMAIL PROTECTED] wrote: Gavin, I am not familiar with that approach.As an alternative, you may try session.invalidate() - I use it frequently.Hope that helps, BenG. [EMAIL PROTECTED] wrote: I am trying to write a servlet that enables an administrator to invalidate a user's session. I am using the SessionService class to access the user's session. However I keep getting null pointer exceptions on the relevant methods. I instantiated a SessionService object: SessionService sessionSrvc = new SessionService(); Then I tried invoking the following methods , all of which returned null pointer exceptions: sessionSrvc.invalidateSession(SessionID); HttpSession sessionToDelete = sessionSrvc.findSession(SessionID); ArrayList sessionList = sessionSrvc.getSessions(); Similar functionality was deprecated and removed from the java api for security reasons. Does anyone know if this has been disabled in the jrun api? Alternatively, does anyone know of another way to disable a particular user's session? Thanks for any help. Gavin [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: JRUN Stability- reply 2
Kathy, we run primarily on windows.I have done some tests on linux, but not to this extent. Our app uses keepalive connections that remain open, so we need a very high level of concurrency.In production we run at 750 concurrent connections (users) per node.The JRun server doesn't seem to pre-allocate the threads, so they remain upper limits.We also run with a non-sanctioned patch provided by macromedia folks, because regular JRun will get stuck at 1000 activeHandlerThreads.They gave me the patch, but in followup email have been quiet to answer my request for info on when the change would be incorporated into the base code.I was working with someone by the name of Stephen Dupre last August; he was most helpful. Using the patch we have tested just beyond 1800 in our lab with the IBM jvm and 1700 with the sun jvm, before we run into memory management problems.We use the following jvm args now with sun 1.4: -Xms128m -Xmx128m -Xss64k In order to use such high settinmgs you also need to adjust your web server because by default they don't permit such high levels of concurrency either - I assume as a precaution against DOS attacks.So you have to adjust your Apache or IIS settings. If I recall my experiments properly, the jvm on windows is limited to 2048 threads, so to get beyond that on a single machine you need to have multiple vm's.So, I put several JRun servers under IIS, but then I started to run up against some upper limits of IIS.I never got further than 4000 concurrent connections for a single win2k box with 1 cpu, and that was with three JRun servers under IIS. Hope that helps, BenG. [EMAIL PROTECTED] wrote: Ben, How is the stability and performance of JRun server after you set activeHandlerThreads to 2000? Usually the number of the maxHandlerThreads should be bigger than activeHandlerThreads? As I understand, JRun would not perform well if the number of activeHandlerThreads is too big. Could you share your experience here? How busy would the traffic be on your site and is your site running in UNIX box? Thanks. Kathy --- Ben Groeneveld [EMAIL PROTECTED] wrote: This is true; to achieve high levels of concurrency we run with attribute name=activeHandlerThreads2000/attribute attribute name=maxHandlerThreads2000/attribute Hope that helps, BenG. [EMAIL PROTECTED] wrote: Thanks for the advice!.. I have Metrics turned on currently, monitoring every 20 seconds, and I get 0/0, 0 Sessions.. It does specifically say Web-Threads so, I looked for an additional setting for the proxy, (as we're using the JRUN connector via IIS on another server) but that was the only metrics option in the jrun.xml file. ~ Jon -Original Message- From: Kathy Vance [mailto:[EMAIL PROTECTED] Jon, I have the same problem while I did loading testing on JRun 4. We spent $500 for macromedia tech support in order to solve the issue. Please check your jrun.xml. There is a service called ProxyService. You need to increase the value of the attribute named activeHandlerThreads to a number based on how busy your app is. I remember the default value is 15. Also, You can turn on Metrics logging to decide how many threads you need. Sometimes you could get the same error mentioned while using jsp forward tag. But I believe that Updater 3 may solve forwarding issue on JRun 4. for your info, Kathy --- Jon Austin [EMAIL PROTECTED] wrote: Thanks to all for their input on this topic, I am getting more resource directed to this in the next day or, so, and will be running through some of the troubleshooting tips given here. I understand that many of you are running successfully, with many concurrent users, the question now, I have for those people, is what kind of scope is your application? Are we simply talking glorified web-sites with a little processing behind them, or are we talking full hard-code business applications. Our application falls heavily on the latter, and before I base conclusions on other peoples abilities to produce results under this environment, I want to be sure that we're in the same ballpark. One error which a user did capture during a server-halt the other day, was : Too many concurrent requests, jcp.endpoint.main.max.threads exceeded. I found documents on how to resolve this on JRUN3.. but none of the files that are referenced in that document, exist on my JRUN4 implimenation.Does anyone know where I can find the new settings fro JRUN4. Thanks ~ Jon [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: JRUN Stability- reply 2
[EMAIL PROTECTED] wrote: Hi Ben, You have to admit we were in some unexplored territory with that hotfix patch.(it's still being discussed). I don't think this applies to the general server hung issue Jon originally posted which is best handled by some of the debugging techniques mentioned by others (stack trace, etc) without changing the environment (JVMs, etc). Your app is very unique.It actually can have 750 concurrent, ACTIVE/RUNNING threads which doesn't resemble the typical web app of 10-20 possible request threads with maybe 5-10 active at any one time and constantly changing.I'm frankly amazed that you were able to tune it so well with JRun and find all those outer limitations of JVMs, etc that you mention. Well of course that is the beauty of our profession - we are all writing unique apps.I hope you didn't find this email on a negative note.I am most appreciative of your help.It's just the absense of a response that puzzled me.Thanks, BenG. Stephen Dupre Macromedia QA -Original Message- From: Ben Groeneveld [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 1:12 PM To: JRun-Talk Subject: Re: JRUN Stability- reply 2 Kathy, we run primarily on windows.I have done some tests on linux, but not to this extent. Our app uses keepalive connections that remain open, so we need a very high level of concurrency.In production we run at 750 concurrent connections (users) per node.The JRun server doesn't seem to pre-allocate the threads, so they remain upper limits.We also run with a non-sanctioned patch provided by macromedia folks, because regular JRun will get stuck at 1000 activeHandlerThreads.They gave me the patch, but in followup email have been quiet to answer my request for info on when the change would be incorporated into the base code.I was working with someone by the name of Stephen Dupre last August; he was most helpful. Using the patch we have tested just beyond 1800 in our lab with the IBM jvm and 1700 with the sun jvm, before we run into memory management problems.We use the following jvm args now with sun 1.4: -Xms128m -Xmx128m -Xss64k In order to use such high settinmgs you also need to adjust your web server because by default they don't permit such high levels of concurrency either - I assume as a precaution against DOS attacks.So you have to adjust your Apache or IIS settings. If I recall my experiments properly, the jvm on windows is limited to 2048 threads, so to get beyond that on a single machine you need to have multiple vm's.So, I put several JRun servers under IIS, but then I started to run up against some upper limits of IIS.I never got further than 4000 concurrent connections for a single win2k box with 1 cpu, and that was with three JRun servers under IIS. Hope that helps, BenG. [EMAIL PROTECTED] wrote: Ben, How is the stability and performance of JRun server after you set activeHandlerThreads to 2000? Usually the number of the maxHandlerThreads should be bigger than activeHandlerThreads? As I understand, JRun would not perform well if the number of activeHandlerThreads is too big. Could you share your experience here? How busy would the traffic be on your site and is your site running in UNIX box? Thanks. Kathy --- Ben Groeneveld [EMAIL PROTECTED] wrote: This is true; to achieve high levels of concurrency we run with attribute name=activeHandlerThreads2000/attribute attribute name=maxHandlerThreads2000/attribute Hope that helps, BenG. [EMAIL PROTECTED] wrote: Thanks for the advice!.. I have Metrics turned on currently, monitoring every 20 seconds, and I get 0/0, 0 Sessions.. It does specifically say Web-Threads so, I looked for an additional setting for the proxy, (as we're using the JRUN connector via IIS on another server) but that was the only metrics option in the jrun.xml file. ~ Jon -Original Message- From: Kathy Vance [mailto:[EMAIL PROTECTED] Jon, I have the same problem while I did loading testing on JRun 4. We spent $500 for macromedia tech support in order to solve the issue. Please check your jrun.xml. There is a service called ProxyService. You need to increase the value of the attribute named activeHandlerThreads to a number based on how busy your app is. I remember the default value is 15. Also, You can turn on Metrics logging to decide how many threads you need. Sometimes you could get the same error mentioned while using jsp forward tag. But I believe that Updater 3 may solve forwarding issue on JRun 4. for your info, Kathy --- Jon Austin [EMAIL PROTECTED] wrote: Thanks to all for their input on this topic, I am getting more resource directed to this in the next day or, so
Re: JRUN Stability- reply
This is true; to achieve high levels of concurrency we run with attribute name=activeHandlerThreads2000/attribute attribute name=maxHandlerThreads2000/attribute Hope that helps, BenG. [EMAIL PROTECTED] wrote: Thanks for the advice!.. I have Metrics turned on currently, monitoring every 20 seconds, and I get 0/0, 0 Sessions.. It does specifically say Web-Threads so, I looked for an additional setting for the proxy, (as we're using the JRUN connector via IIS on another server) but that was the only metrics option in the jrun.xml file. ~ Jon -Original Message- From: Kathy Vance [mailto:[EMAIL PROTECTED] Jon, I have the same problem while I did loading testing on JRun 4. We spent $500 for macromedia tech support in order to solve the issue. Please check your jrun.xml. There is a service called ProxyService. You need to increase the value of the attribute named activeHandlerThreads to a number based on how busy your app is. I remember the default value is 15. Also, You can turn on Metrics logging to decide how many threads you need. Sometimes you could get the same error mentioned while using jsp forward tag. But I believe that Updater 3 may solve forwarding issue on JRun 4. for your info, Kathy --- Jon Austin [EMAIL PROTECTED] wrote: Thanks to all for their input on this topic, I am getting more resource directed to this in the next day or, so, and will be running through some of the troubleshooting tips given here. I understand that many of you are running successfully, with many concurrent users, the question now, I have for those people, is what kind of scope is your application? Are we simply talking glorified web-sites with a little processing behind them, or are we talking full hard-code business applications. Our application falls heavily on the latter, and before I base conclusions on other peoples abilities to produce results under this environment, I want to be sure that we're in the same ballpark. One error which a user did capture during a server-halt the other day, was : Too many concurrent requests, jcp.endpoint.main.max.threads exceeded. I found documents on how to resolve this on JRUN3.. but none of the files that are referenced in that document, exist on my JRUN4 implimenation.Does anyone know where I can find the new settings fro JRUN4. Thanks ~ Jon [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: JRUN Stability
We run JRun4 with CFMX on win2k in a cluster supporting 1000s of concurrent users and it's quite reliable, believe me.Thanks, BenG. [EMAIL PROTECTED] wrote: The server in questions is windows 2000, SP4. We're using the Server version (/jrun4)and we're connecting to an Oracle backend. We're on JRUN Updater 3, and we've been running this configuration without issue, for about 6 months now. The problem appears to be load-based.. We usually don't have over 5 people on the server, developers are running their own local servers, so the database is already used to the load.. I'll look into the stack trace, but I do have to co-ordinate several very busy people, in order to get the load on the server, so I'm not sure when I'll be able to do that yet. Thanks, ~ Jon -Original Message- From: Stephen Dupre [mailto:[EMAIL PROTECTED] Did you try to get a stack trace when this was happening? (technote 18339 on www.macromedia.com http://www.macromedia.com ) What platform are you running on? Are you using the server version (/jrun4) or the standalone (/cfusionmx). What backend are you connecting to? Have you applied any patches (hotfixes, new database drivers, etc). I'd not ready to finger your code until we look at knownissues that might cause CPU spikes (environment-related, patches, etc). Stephen Dupre Macromedia QA -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 12:19 AM To: JRun-Talk Subject: JRUN Stability I'm having an issue on a CFMX / JRUN server, when we get around 14 simultaneous users, running an average sized lookup, our CPU spikes, our memory dives, and JRUN bites the dust. I've tried this on a single processor, 512mb machine, and it survived the load for approx 10-15 minutes. I switched to another server with 2 CPU's, and 1gb of ram, and it died in 5 minutes..That server did have two CFMX JRUN server instances on it however. Only one was in active use though, the other was running, but with no connections. Both machines were tested multiple times, and the same behavior continued. Does anyone have any tuning suggestions, or alternative's like porting our app to run off JBOSS? TIA, ~ Jon _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Anyone on this list
Yes, to JRun's credit I hope. We run JRun4 for all kinds of apps and it just works fine.BenG. Michael Dinowitz wrote: There are actually quite a number of people on the list (I weed out the bad addresses). Problem is, its not very active. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: JRun mysteriously crashing, strange errors in Apache
Richard, that's pretty much it then, except that you can create a custom logger to catch stdout and stderr if you want; refer to the manuals for that. You can usually tell if JRun shutdown or got torched.On a graceful shutdown, the destroy methods of servlets will be invoked, including the builtin JRun servlets, and they log misc things. If you are running from the console, and JRun looks like it's dead, but perhaps overloaded as you describe below, you can examine the threads with Ctrl-Break w/o affecting processing to get an idea of where it's stuck. Hope that helps, BenG. Richard Crawford wrote: Ben Groeneveld wrote: Rchard, I'm not sure by what you mean to say in that logging is always on, and println() for System.out and System.err will go to stdout and stderr, so I suspect that if you redirect them you will capture them. All other logging should be in JRun4/logs.Does that make sense?BenG. I can see that if I ran JRun from the command line, with something like errorlog, then the error messages will be captured and written to a file.I just wish there were a way to retrieve all of those errors that are missing from the jrun/log files.The log files I have show no reason why JRun should have crashed last Thursday. Although based on discussions I've had, it looks like JRun didn't crash completely; it just seems to have slowed down to such a sluggish pace that connections were timing out.I don't understand this at all myself. For what it's worth, here's the system information, which I should have included earlier: HOST SYSTEM: Solaris 9 JRUN VERSION: 4 (with updater 3 applied) CF VERSION: MX (with updater 2 applied) APACHE VERSION: 2.0.45 DATABASE: SQL Server 7, on a separate WinNT machine JRun, Apache, and Cold Fusion all live on the same Solaris 9 box. We are in the process of upgrading our SQL Server database to Oracle 9i (and you don't want to know how much of a nightmare that has been). [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: JRun mysteriously crashing, strange errors in Apache
I believe that you might find more logging info if you run from the command line and redirect stdout and stderr to a file.With JRun3 these used to be captured in a separate log files, but with JRun4 this is no longer the default.I do believe that the documentation talks about how to setup such logging, though.Hope this helps, BenG. Skip Klobucher wrote: With the JRun server shutdown during this time, you'd see errors on the Apache side without corresponding errors on the JRun side (Apache was fielding and forwarding requests to JRun, but JRun wasn't running and wasn't logging problems).The only way to determine what happened relative to JRun is to look at the log files for each JRun server - not just the event log but also the err and out files too.If they don't contain any information, then it will be difficult to tell.Does JRun run on the same machine as Apache, or are they distributed?Are there any system-level log files available (like Event Viewer on Windows) that might provide additional information about what happened?Thanks. Skip -Original Message- From: Richard Crawford [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 1:50 PM To: JRun-Talk Subject: JRun mysteriously crashing, strange errors in Apache Over the holiday, our distance learning campus webserver crashed, and our alarm system failed to notify anyone in the office (meaning that no one discovered this until yesterday morning).My boss managed to get the site up and running again, but when I came in and checked the error logs for JRun, I can't find anything out of the ordinary, in either default_event.log or admin_event.log (I found a broken pipe error in default_event.log but that is dated from this morning and is thus unrelated to Thursday's crash).On the other hand, my error_log from Apache shows the following line many many many times starting on Thursday: [notice] jrApache[7535] JRun is busy.[15] dropped while sending command. This message also shows up frequently, beginning at 9:05 on Thursday, November 27: [notice] jrApache[7535] Couldn't initialize from remote server, JRun server(s) probably down. ...however, I cannot find anything in either default-event.log or admin-event.log (or earlier versions of those files) that corresponds to that time. The Apache logs indicate that the computer was running the entire time, as was Apache itself. Does anyone have any idea as to what might have happened, or where else I might be able to find more information? _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: JRun mysteriously crashing, strange errors in Apache
Rchard, I'm not sure by what you mean to say in that logging is always on, and println() for System.out and System.err will go to stdout and stderr, so I suspect that if you redirect them you will capture them. All other logging should be in JRun4/logs.Does that make sense?BenG. Richard Crawford wrote: Ben Groeneveld wrote: I believe that you might find more logging info if you run from the command line and redirect stdout and stderr to a file.With JRun3 these used to be captured in a separate log files, but with JRun4 this is no longer the default.I do believe that the documentation talks about how to setup such logging, though.Hope this helps, BenG. Hm.Is there a way to access this information if you haven't enabled the logging? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: High Traffic JRun4 Settings
Juan I agree, that's a good article, and we have used it when we were with JRun 3.1. With JRun3.1 we never actually scaled that far, though. We are now using JRun4 sp1 and cannot get passed 1000 concurrent threads/sockets. Thanks for your advice, BenG. Juan Camacho wrote: We were having the same problem, we found a very good article that helped us to solve the problem, check it out, I hope it helps: http://www.macromedia.com/devnet/server_archive/articles/performance_tuning_jrun31.html Juan From: Ben Groeneveld [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: JRun-Talk [EMAIL PROTECTED] Subject: High Traffic JRun4 Settings Date: Wed, 20 Aug 2003 18:07:20 -0700 JRun fans, I am experimenting with high volume settings for JRun under IIS. I seem to bump up against a limit of 1000 user threads open. I have configured the default server SERVER-INF/jrun.xml as follows: service class=jrun.servlet.jrpp.JRunProxyService name=ProxyService !--attribute name=activeHandlerThreads25/attribute-- attribute name=activeHandlerThreads1005/attribute attribute name=backlog500/attribute attribute name=deactivatedfalse/attribute attribute name=interface*/attribute !--attribute name=maxHandlerThreads1000/attribute-- attribute name=maxHandlerThreads1005/attribute attribute name=minHandlerThreads1/attribute attribute name=port51000/attribute attribute name=threadWaitTimeout20/attribute attribute name=timeout300/attribute At 1000 concurrent connections the jrun server will start complaining that I need to configure it for more threads. I can set the active and or max handler threads higher, e.g., 2000, and it has no effect. When I experimented with low numbers, these params normally allow me (N-1) concurrent connections, where N is the HandlerThread param. Now from what I understand, each socket connection will hold onto one thread, and a VM on NT should be able to handle 2048 threads or so. Anyone have any idea what I am missing? I don't think IIS is the issue. But for what it's worth, I have JRun connected to IIS5 on win2k server, which is configured to as follows: 100,000 hits per day ListenBackLog 500 AcceptExOutstanding 200 MaxPoolThreads 20 PoolThreadLimit 2000 ServerListenBackLog 2000 MaxEndPointConnections 2000 Thanks for any advice. BenG. -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:541.420.6246 ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:8 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:8 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=:emailid:.:userid:.:listid: Get the JRun Web Application Construction Kit - the only book written specifically for JRun developers. http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion
High Traffic JRun4 Settings
JRun fans, I am experimenting with high volume settings for JRun under IIS. I seem to bump up against a limit of 1000 user threads open. I have configured the default server SERVER-INF/jrun.xml as follows: service class=jrun.servlet.jrpp.JRunProxyService name=ProxyService !--attribute name=activeHandlerThreads25/attribute-- attribute name=activeHandlerThreads1005/attribute attribute name=backlog500/attribute attribute name=deactivatedfalse/attribute attribute name=interface*/attribute !--attribute name=maxHandlerThreads1000/attribute-- attribute name=maxHandlerThreads1005/attribute attribute name=minHandlerThreads1/attribute attribute name=port51000/attribute attribute name=threadWaitTimeout20/attribute attribute name=timeout300/attribute At 1000 concurrent connections the jrun server will start complaining that I need to configure it for more threads. I can set the active and or max handler threads higher, e.g., 2000, and it has no effect. When I experimented with low numbers, these params normally allow me (N-1) concurrent connections, where N is the HandlerThread param. Now from what I understand, each socket connection will hold onto one thread, and a VM on NT should be able to handle 2048 threads or so. Anyone have any idea what I am missing? I don't think IIS is the issue. But for what it's worth, I have JRun connected to IIS5 on win2k server, which is configured to as follows: 100,000 hits per day ListenBackLog 500 AcceptExOutstanding 200 MaxPoolThreads 20 PoolThreadLimit 2000 ServerListenBackLog 2000 MaxEndPointConnections 2000 Thanks for any advice. BenG. -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:541.420.6246 ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:8 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:8 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=:emailid:.:userid:.:listid: Get the JRun Web Application Construction Kit - the only book written specifically for JRun developers. http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion
Re: help! jrun 3.1 crashing!!!
This may sound simple, but I would suggest divide and conquer. You haven't provided any useful information to comment on, so here are some very random thoughts. Isolate the problem. Try running just the servlet that crashes. Create a seperate JRun installation to debug on that has no modifications other than service packs. Hope that helps. Thanks, BenG. [EMAIL PROTECTED] wrote: This is really frustrating, now one of the applications is hanging at any page. At first it was one specific page that would not load this morning, although it's been working fine all along. Now, the whole application is not loading, but other apps are working fine. I did try generating a thread dump but no indication why this is happening, or it could be I am not understanding it (most likely). Can anyone help me? Our applications are not that complex and mimimum modifications were made to the JRUN 3.1 when installed. I called Macromedia to get some support and they want to charge $2000 a day Any suggestions? Thanks! Z ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=8 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
Re: Max Heap Size.
Kannan, before you start changing these parameters wildly, you might want to check you memory usage to see what your real bottleneck is. 1024M is quite high. JRun has some really nice metrics built in to log memory growth. I would recommend setting Xms and Xms both equal to some number like 128 meg so that memory is 'pre-allocated', and turn on the collection of memory statistics. Then you can see if you don't have a leak. What the amount of memory used. If you do have a leak you can get a tool like OptimizeIt (trial available) to help pinpoint it. I've tried using a free tool called jmp, but it had some reliability problems last time I tried about 6m ago. Good luck, BenG. Kannaiyan P wrote: Hello, I have some problem on the my application. i will give my scenario of my problem. when i start both app server @ web server it works fast . when people starting using the web. slowly it become very slow. and after some time it is not working ( i mean somebody try to open a page it never shows up). I think i have problem on the memory or between app server and webserver( connector). Please i need help on this issue. Anyone response my mail it very very thankful. How to increase the Max Heap Size VM Arguments : right now my Max heap size is : 512 MB VM Arguments : -Xmx1024M. i want increase both heap size and VM Arguments. please i need example value. please recommends on this too. Thanks Kannan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=8 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
Optimizing JRun4 For Larger Sites
We have an application configured for JRun3 to support up to 500 concurrent connections (open sockets). There we're some useful documents that helped us get there, in particular MacroMedia's Platform-Specific Performance Settings Article 11772. What might I find useful for JRun4 tuning? Currently I am wading through the pdf's, and just came across the HtmlAgentService to set all parameters in the jrun.xml file. But, some recommendations or references for large installations would be useful. Thanks, BenG. -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=8 Get the JRun Web Application Construction Kit - the only book written specifically for JRun developers. http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion
Inconsistency Iisue with jvm.conf and admin console Settings
This looks like a bug. We are running JRun4 no service packs (because sp1 doesn't completely install). In our bin/jvm.conf we have pre-allocated memory: java.args=-Xmx128M -Xms128M But, the admin console will display only the second param as: -Xms128M So, using the admin console you think something is missing ... so you add more params and provide the jvm with conflicting instructions. Anyone else seen this? Thanks, BenG. -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=8 Get the JRun Web Application Construction Kit - the only book written specifically for JRun developers. http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion
How To Browse Virtual Dirs In JRun4
How do I tell JRun4 to permit directory browsing in a specific directory, like the following dir defined in my jrun-web.xml file? virtual-mapping resource-path/logs/*/resource-path system-path/usr/local/JRun4/logs/system-path /virtual-mapping Thanks, BenG. -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:BGroeneveld;ici-web.com, phone:541.388.3611, cell:208.520.6488 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=8 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
Issues with XML and JRun4
I've been trying to use jdom8.jar with xerces. I tried using the builtin jdom7 with crimson, but kept getting an error regarding a null constructor for the SAXParser. However, my code works as desired after taking the following drastic measure, i.e., replacing and modify the jrun.jar. I updated jrun.jar with jdom and xerces as follows: jar xvf jdom.jar jar xvf XmlParserAPIs.jar jar xvf xercesImpl.jar jar -uf jrun.jar 'JDOMAbout$Author.class' 'JDOMAbout$Info.class' JDOMAbout.class javax org I thought I should have, but I could not get any of the following to work. For each of these I essentially get a ClassNotFoundException for the SAXParser. - put the jars in my CLASSPATH, or in JRun4/lib, or in JRun4/servers/default/myApp/WEB-INF/lib - expanding the jars into myApp's war path WEB-INF/classes Although everything seems to work fine for me now, I'm sure messing with jrun.jar is not kosher, especially with regard to support and patches, etc. What would be the right way to do this? Thanks, BenG. -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:BGroeneveld;ici-web.com, phone:541.388.3611, cell:208.520.6488 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/jrun_talk This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: document uploading tool
Zafif, I don't, but if you find out how I'd like to know. Thanks, BenG. [EMAIL PROTECTED] wrote: I downloaded the new files and it's working great. Do you know what would be the best way for me to check the size before uploading? Once I create the MultiRequest obj, and the file is larger than max size , it gives you automatically an error. I want to warn the user prior that. Thanks Ben Groeneveld bgroeneveld@icTo: Jrun-Talk [EMAIL PROTECTED] i-web.com cc: Subject: Re: document uploading tool 10/07/2002 12:19 PM Please respond to jrun-talk Zafif, we use Jason's classes on a postgres backend, and they work just great. We do exactly what you proposed. And his book's pretty good to have anyway. We just have problems with files 300M because of a bug in apache on linux, but otherwise uploads to 2G work. Good luck! BenG. Cortlandt Winters wrote: Hi Zafif, Here are two that I've looked at recently and liked . www.javazoom.com www.servlets.com Both have pretty nice implementations of multipart file upload code. Javazoom's is a jsp that costs $99 with an admin interface included, Jason Hunter's doesn't have an admin interface but it just requires that you have a current copy of his servlets book. Both are pretty good deals if you ask me. But I would think that new behavior in a 2 year old piece of code might more likely come from a configuration change or a different browser version than something being wrong in the tool itself. Good luck, hope to hear about the results later. Cort - Original Message - From: [EMAIL PROTECTED] To: JRun-Talk [EMAIL PROTECTED] Sent: Monday, October 07, 2002 10:04 AM Subject: document uploading tool Any of you suggest a good document uploading tool? The tool I have is acting up. It consists of: - A table in the db, with document specific info and location of file. - Folder on the Jrun server with subfolders for each app. - Uploading servlet that updates/inserts the document on the file server and adds the reference record in the table. Sometimes it lets me create subfolders on the file server and sometimes it just drops the files in the main directory. I'm having a hard time troubleshooting since I can't always reproduce the error. Anyway, it's a utility we wrote a couple of years ago, and I'm hoping there is a better tool out there. Thank you! __ 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: document uploading tool
Zafif, we use Jason's classes on a postgres backend, and they work just great. We do exactly what you proposed. And his book's pretty good to have anyway. We just have problems with files 300M because of a bug in apache on linux, but otherwise uploads to 2G work. Good luck! BenG. Cortlandt Winters wrote: Hi Zafif, Here are two that I've looked at recently and liked . www.javazoom.com www.servlets.com Both have pretty nice implementations of multipart file upload code. Javazoom's is a jsp that costs $99 with an admin interface included, Jason Hunter's doesn't have an admin interface but it just requires that you have a current copy of his servlets book. Both are pretty good deals if you ask me. But I would think that new behavior in a 2 year old piece of code might more likely come from a configuration change or a different browser version than something being wrong in the tool itself. Good luck, hope to hear about the results later. Cort - Original Message - From: [EMAIL PROTECTED] To: JRun-Talk [EMAIL PROTECTED] Sent: Monday, October 07, 2002 10:04 AM Subject: document uploading tool Any of you suggest a good document uploading tool? The tool I have is acting up. It consists of: - A table in the db, with document specific info and location of file. - Folder on the Jrun server with subfolders for each app. - Uploading servlet that updates/inserts the document on the file server and adds the reference record in the table. Sometimes it lets me create subfolders on the file server and sometimes it just drops the files in the main directory. I'm having a hard time troubleshooting since I can't always reproduce the error. Anyway, it's a utility we wrote a couple of years ago, and I'm hoping there is a better tool out there. Thank you! __ Get the JRun Web Application Construction Kit - the only book written specifically for JRun developers. http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Potential JRun 4 getPathInfo Migration Issue
Yes, our pattern was /TestServlet and changing it to /TestServlet/* resolves the issue. Thanks! BenG. Thomas Ruggles wrote: Hi Ben, I have been trying to reproduce this behavior and have come to the following assumption - your TestServlet servlet mapping uses the url pattern /TestServlet. Am I correct? I set up a mapping for my SnoopServlet using url pattern /snoop and requested http://localhost:8100/snoop/more/path/info and see the same results that you do - 404. However, when I use the url pattern /snoop/* I get the servlet path= /snoop and path info=/more/path/info as expected. While this may differ from JRun 3.x it is in compliance with the Servlet 2.3 spec (and matches the RI's behavior) and is touched upon in the example below from the spec. Hope this helps, Tom Ruggles JRun QA Table SRV.1: Example Context Set Up ContextPath /catalog Servlet Mapping Pattern: /lawn/* Servlet: LawnServlet Servlet Mapping Pattern: /garden/* Servlet: GardenServlet Servlet Mapping Pattern: *.jsp Servlet: JSPServlet Table SRV.2: Observed Path Element Behavior Request Path Path Elements /catalog/lawn/index.html ContextPath: /catalog ServletPath: /lawn PathInfo: /index.html -Original Message- From: Ben Groeneveld [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 3:08 PM To: JRun-Talk Subject: Potential JRun 4 getPathInfo Migration Issue I am having trouble migrating a servlet that uses request.getPathInfo(). We use a URL like: http://127.0.0.1:8100/tJRun4/TestServlet/extraParams?misc=stuffmore=NotEnough I developed a little testcase which presents the above as follows on JRun 3.0: doGet logRequestParameters request.getPathInfo(): /extraParams logRequestParameters request.getQueryString(): misc=stuffmore=NotEnough logRequestParameters request.getPathTranslated(): C:\usr\local\jrun-3.0\servers\default\tJRun4\extraParams logRequestParameters request.getRequestURL(): /tJRun4/TestServlet/extraParams logRequestParameters request.getParameterValues(): misc:[stuff] logRequestParameters request.getParameterValues(): more:[NotEnough] On JRun 4 I just get in the log: error Requested resource /tJRun4/TestServlet/extraParams not found Anyone have a clue as to what's up or what we're doing wrong? Thanks, BenG. -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 __ 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
Potential JRun 4 getPathInfo Migration Issue
I am having trouble migrating a servlet that uses request.getPathInfo(). We use a URL like: http://127.0.0.1:8100/tJRun4/TestServlet/extraParams?misc=stuffmore=NotEnough I developed a little testcase which presents the above as follows on JRun 3.0: doGet logRequestParameters request.getPathInfo(): /extraParams logRequestParameters request.getQueryString(): misc=stuffmore=NotEnough logRequestParameters request.getPathTranslated(): C:\usr\local\jrun-3.0\servers\default\tJRun4\extraParams logRequestParameters request.getRequestURL(): /tJRun4/TestServlet/extraParams logRequestParameters request.getParameterValues(): misc:[stuff] logRequestParameters request.getParameterValues(): more:[NotEnough] On JRun 4 I just get in the log: error Requested resource /tJRun4/TestServlet/extraParams not found Anyone have a clue as to what's up or what we're doing wrong? Thanks, BenG. -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 __ Get the JRun Web Application Construction Kit - the only book written specifically for JRun developers. http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Storing xml in oracle 8i
Verma, if you are looking for performance, consider storing your large objects outside of oracle directly on the file system. You can store a reference to the file in oracle. Filesystems are pretty good at serving large stuff quickly - works great for us! Hope that helps, BenG. [EMAIL PROTECTED] wrote: Hi All, Has anybody ever faced a challenge to store bigger size xml or any other file in the oracle 8i database. I tried using the folloing schema- CREATE TABLE ADVT_XML ( XML_NAME VARCHAR(32), XML_DATA CLOB) STORAGE (INITIAL 10M NEXT 10M) TABLESPACE ASI_DATA LOB (XML_DATA) STORE AS advt_xml_lob (TABLESPACE asi_test DISABLE STORAGE IN ROW STORAGE (INITIAL 5M NEXT 5M) CHUNK 32 PCTVERSION 0 NOCACHE LOGGING ); But I could save only 9k out of 15k file. And took almost 3 minutes to save. Has anybody ever done this? Thanks __ 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: Storing xml in oracle 8i
Verma, you could map the file directory to your web server, then it could be served to anyone to whom you provide access. But that may not be what you are looking for. Hope that helps, BenG. [EMAIL PROTECTED] wrote: Can I modified the file being stored as a reference in oracle? I read, using BFILE type allows file to be used as read-only. Storing file on file system will make it server dependent. I have to access that file from multiple servers. Any thought. -Original Message- From: Ben Groeneveld [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 12:04 PM To: JRun-Talk Subject: Re: Storing xml in oracle 8i Verma, if you are looking for performance, consider storing your large objects outside of oracle directly on the file system. You can store a reference to the file in oracle. Filesystems are pretty good at serving large stuff quickly - works great for us! Hope that helps, BenG. [EMAIL PROTECTED] wrote: Hi All, Has anybody ever faced a challenge to store bigger size xml or any other file in the oracle 8i database. I tried using the folloing schema- CREATE TABLE ADVT_XML ( XML_NAME VARCHAR(32), XML_DATA CLOB) STORAGE (INITIAL 10M NEXT 10M) TABLESPACE ASI_DATA LOB (XML_DATA) STORE AS advt_xml_lob (TABLESPACE asi_test DISABLE STORAGE IN ROW STORAGE (INITIAL 5M NEXT 5M) CHUNK 32 PCTVERSION 0 NOCACHE LOGGING ); But I could save only 9k out of 15k file. And took almost 3 minutes to save. Has anybody ever done this? Thanks __ 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: Java/Excel
Kans, I have found that the easiest way to do this is to simply alias your jsp or servlet to somename.csv. Then, if you just return a file with comma separated values, your IE will open MSExcel as an OLE thingy. Netscape will may prompt you. So, like this in your web.xml: servlet servlet-nameSql2Csv/servlet-name jsp-file/forms/sql2csv.jsp/jsp-file /servlet servlet-mapping servlet-nameSql2Csv/servlet-name url-pattern/forms/sql2csv.csv/url-pattern /servlet-mapping When IE sees that the file type of .csv it loads the results into Excel. So it *only* works if your URL ends with .csv, so you must POST if parameters are needed. You just need to write the csv to the stream (in jsp out.print()). To help Netscape you can add content type like so: % contentType=application/vnd.ms-excel % There are fancier ways to do this with XML as the so called pet shop examples show. However, I like the KISS principle. Hope that helps, BenG. Kannaiyan P wrote: Hi I m using jrun4. i have question for you you know the finance.yahoo.com . if you open any ticker for company you can see the daily stock value of the particular company based on period. at same time if you want to download the information you can download the data using excel file. so when user access my web site i want to give option to download the data dynamically. i don't know how to do that . i m using java , jsp, oracle database. please if any body know the solution or code please share the information . that would very helpful for me Thanks Kans __ Get the JRun Web Application Construction Kit - the only book written specifically for JRun developers. http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: help! Datasource!
Zafif, this is the case here. We are doing some JNI and when we hose the system up such that jrun.exe won't exit, even though the vm is gone, but you try and start up a new instance anyway, the symptom reported in the log is Port in use by another service or process: 53000 so I think your hypothesis is right on. BenG. [EMAIL PROTECTED] wrote: Thank you for your reply. I will try to implement that this week and see how it goes. The real problem we are having is every now and then, one of our apps is crashing the jrun default server with the following msg: javax.servlet.ServletException: Port in use by another service or process: 53000. I searched the web and this forum, and found the tech notes. But it seems that this port is not being used by any other apps. The only other explanation I have is maybe an instance of the app is not closing. Or maybe the JDBC connection is not closing. So I wrote a routine to check it for the classes that have the connection set up and make sure to close it if it is not null, (even though I already instructed it to close!) It worked fine for few days and now, it crashed again. I noticed from the logs that prior to that, it had created several JDBC connections but did not close them or time out. I'm pretty sure that these were opened by the Jrun datasource and not my classes. Anyone can suggest what else we can do to resolve this? [968] [1]java.net.BindException: Port in use by another service or process: 53000 [967] 07/30 15:29:28 error (JRun) JRun Aborting! [javax.servlet.ServletException: Port in use by another service or process: 53000] [966] 07/30 15:29:28 info (JRun) Loading control [965] 07/30 15:29:28 info (license) Enabling unlimited concurrency for Advanced [964] 07/30 15:29:28 info (JRun) Loading license [963] 07/30 15:29:28 info (JRun) Loading monitor [962] 07/30 15:29:11 info (JRun) Destroying jdbc [961] 07/30 15:29:11 info (JRun) Destroying ejb [960] 07/30 15:29:11 info (JRun) Destroying jms [959] 07/30 15:29:11 info (JRun) Destroying jndi [958] 07/30 15:29:11 info (JRun) Destroying mail [957] 07/30 15:29:11 info (JRun) Destroying url [956] 07/30 15:29:11 info (JRun) Destroying default-app [955] 07/30 15:29:11 info (JRun) Destroying demo-app [954] 07/30 15:29:11 info (JRun) Destroying invoice-app [953] 07/30 15:29:11 info (JRun) Destroying MPDEV [952] 07/30 15:29:11 info (JRun) Destroying MP Production [951] 07/30 15:29:11 info (JRun) Destroying PCF [950] 07/30 15:29:11 info (JRun) Destroying GEF [949] 07/30 15:29:11 info (JRun) Destroying MP2 [948] 07/30 15:29:11 info (session) 3 session(s) persisted [947] 07/30 15:29:11 info (JRun) SearchCriteria: destroy [946] 07/30 15:29:11 info (JRun) invoker: destroy [945] 07/30 15:29:11 info (JRun) Destroying BNWPPDev [944] 07/30 15:29:11 info (JRun) Destroying web [943] 07/30 15:29:11 info (JRun) Destroying jcp [942] 07/30 15:26:26 info (JRun) (BNWPP)Removing JDBC connection jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP due to timeout even though connection is still in use. [941] 07/30 15:25:28 info (JRun) (BNWPP) Creating JDBC connection to jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP [940] 07/30 15:25:16 info (JRun) (BNWPP) Creating JDBC connection to jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP [939] 07/30 15:25:05 info (JRun) (BNWPP) Creating JDBC connection to jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP [938] 07/30 15:24:58 info (JRun) (BNWPP) Creating JDBC connection to jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP [937] 07/30 15:23:30 info (JRun) (BNWPP) Creating JDBC connection to jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP [936] 07/30 15:22:38 info (JRun) (BNWPP) Creating JDBC connection to jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP [935] 07/30 15:22:32 info (JRun) (BNWPP) Creating JDBC connection to jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP [934] 07/30 15:22:07 info (JRun) (BNWPP) Creating JDBC connection to jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP [933] 07/30 15:21:28 info (JRun) (BNWPP) Creating JDBC connection to jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP [932] 07/30 14:40:59 info (JRun) (BNWPP) Creating JDBC connection to jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP [931] 07/30 14:38:26 info (JRun) (BNWPP) Removing JDBC connection jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP due to timeout [930] 07/30 14:25:15 info (JRun) (BNWPP) Creating JDBC connection to jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP [929] 07/30 14:24:26 info (JRun) (BNWPP) Removing JDBC connection
Re: Jrun in suse linux 7.2
And, there's an alternate fix to this issue as well, although I have not needed it: Ben, I can't seem to reply to the list, so I'll send this along to you (if you want to send it to the list, you can). The reason you're having problems is that the version of tar that Red Hat is shipping is a newer version and has had some things changed. Please take a look at this article from the JRun site detailing what you need to do to fix the problem (I had the same problem when installing it on my Linux box). http://www.macromedia.com/v1/handlers/index.cfm?ID=21039Method=Full Enjoy, Erik Sahl [EMAIL PROTECTED] Thanks, BenG. David Spacey wrote: Hi Veronika, I tried to install Jrun server 3.1 Enterprise edition on Suse Linux 7.2. with syntax: sh jrun31-unix-us.sh But it never success. It always error when installing core component. The error message is : 344 garbage bytes ignore at end of archieve tar: error exit delayed from previous error. I had a similar problem with Redhat. (And this despite Macromedia's claim that redhat is the only supported distro.) The solution I was given by Ben Groeneveld on this list is to search Macromedia's web site for patch 26414. That copy installed perfectly for me. Why that isn't the default copy is beyond me. The other possible solution, from Sanjay Acharya, is to download and install the same version of tar that Macromedia used to assemble the archive. The details are available on 'http://www.macromedia.com/support/jrun/releasenotes/3/releasenotes_3_1.h' . I didn't need to try that. Good luck. -- David Spacey [EMAIL PROTECTED] Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists . -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 __ 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: Difficult To Reproduce Session Issue
Celeste, replace 'setHeader' with 'addHeader' in the last statement only? BenG. Haseltine, Celeste 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 - Original Message - From: Jeff Ramin [EMAIL PROTECTED] To: JRun-Talk [EMAIL PROTECTED] Sent: Wednesday, March 27, 2002 9:08 AM Subject: Re: Difficult To Reproduce Session Issue Well, as long as we're commenting on the competition: My current lightweight app server of choice is Resin. I don't have much experience with it yet, but it seems solid. And fast. My first option used to be JRun, but given that this serious bug has gotten through Macromedia's quality assurance system 3 times, I have lost faith. As for WebSphere - I don't know about versions 3.5 or 4.0 (is 4.0 out yet?), but I have a lot of experience with 3.0. My advice given that experience: RUN AWAY AS FAST AS YOU CAN. michael veit wrote: We evaled both of those WebSphere and WebLogic - Websphere is much harder to work with then is WebLogic. WebLogic is close to JRun in ease of administration. But they both are very expensive, but you get what u pay for. Haseltine, Celeste [EMAIL PROTECTED] wrote: Michael, 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. The only thing stopping him now is the much greater costs of either BEA Weblogic and IBM Websphere, which are the only two JSP/Servlet/EJB servers I would consider going to at this point in time. Of course, since I recommended JRUN Server to the owner (mainly for the much lower costs and ease of use for a young group that was new to JSP/Servlet development and web administration) it would probably mean my job. Oh well, such is life!!! If you do find a patch or get additional assistance from Macromedia/Allaire, please post it on this listserver. Good luck!!! Celeste -- Jeffrey Ramin Berbee 5520 Research Park Drive Madison, WI 53711 [EMAIL PROTECTED] 608.298.1024 Berbee...putting the E in business __ 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
+1 for charlie, well said :) BenG. even if you are standing still you are moving backwards charles arehart wrote: Speaking only for myself (whose attitude I assume you didn't understand), I'm talking about letting by-gones be by-gones, considering it water under the bridge, what's past is past, etc. Let's move forward and judge based on what 's done now as much as what's been done in the past. As I said, If future similar situations are addressed similarly, that's great news for those of us remaining committed to JRun. If the damage to anyone's faith and hope is irreparable, then so be it. I'll just assert that as a beta tester of JRun 4 (and observer of the growth in the standards-support of the product through 3 and 3.1), it seems that the resources being dedicated to JRun and the improvements in the product are such that we have much to look forward to. And as was asserted by later notes today, sometimes problems like this are found to be caused by entirely unexpected situations--and sometimes not even the fault of the vendor. But as you said in a later note, let's not debate it. As I said, I just want to have a hopeful outlook about the future. Maybe it's a little pollyanna, but so be it. :-) I certainly don't mean to diminish the importance of the problem or its severity for those who suffered it. /charlie -Original Message- From: Jeff Ramin [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 9:24 AM To: JRun-Talk Subject: Re: Difficult To Reproduce Session Issue I don't understand this attitude. We're talking about a very serious bug that Macromedia has known about for close to a year now. It got through their testing/release process twice. They had a similar we will do whatever it takes to fix this problem response in November, which resulted in a patch that didn't fix the problem. I wouldn't call this a great response. More like feeble. If you're using JRun for development, or for an intranet where session affinity isn't important, then I can understand. But if you continue to use it in other environments, you are merely ignoring the issue. charles arehart wrote: Wow, great way to respond to the issue. Thanks, Mike and Macromedia. Let's hope folks don't jump in with trite replies like about time, etc. It really won't add anything meaningful to the situation. If future similar situations are addressed similarly, that's great news for those of us remaining committed to JRun. /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: 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: Difficult To Reproduce Session Issue
I continue to have the issue with jrun 3.1 patch level 26414 on redhat 7.1. The same problem was on rh 6.2. It's very frustrating because I cannot reproduce it consistently. I'm glad to hear someone tried their code on tomcat and no longer experience it. I've been experimenting with jboss/tomcat on another effort, so maybe that's just the way to go. Thanks, BenG. Haseltine, Celeste wrote: Michael, 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. The only thing stopping him now is the much greater costs of either BEA Weblogic and IBM Websphere, which are the only two JSP/Servlet/EJB servers I would consider going to at this point in time. Of course, since I recommended JRUN Server to the owner (mainly for the much lower costs and ease of use for a young group that was new to JSP/Servlet development and web administration) it would probably mean my job. Oh well, such is life!!! If you do find a patch or get additional assistance from Macromedia/Allaire, please post it on this listserver. Good luck!!! Celeste -Original Message- From: michael veit [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 2:53 PM To: JRun-Talk Subject: RE: Difficult To Reproduce Session Issue NT 4.0, Jrun 3.1 Haseltine, Celeste [EMAIL PROTECTED] wrote: Michael, What version of Windows server and JRUN Server were you using when you began experiencing this problem? Celeste -Original Message- From: michael veit [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 7:07 AM To: JRun-Talk Subject: Re: Difficult To Reproduce Session Issue Sebastian, On windows we had an issue where sessions were being switched - i.e. client sessions were sent to the wrong clients allowing people to see each others information. Needless to say what havoc that this caused. I searched this mail list and found someone who had a similar problem and had logged the problem with Allaire/Macromedia. They acknowledged it as a bug but never supplied an answer. I resurrected the problem on this list and sure enough I received a bunch of e-mail from people who were experiencing the same thing but assumed it was their application, not JRun that was the culprit. After a big uproar on this list, Macromedia responded with a patch. We applied the patch, but the problem still occured. Our solution was to go with another Java server. I have to say that none are easier to use than JRun, but I am afraid we just don't have faith in JRun. I really liked it - easy to use and administer (EJB was a little more cumbersome, but I think that the ejipt solution was more stop-gap than anything). Sebastian Millies wrote: Hello, in February, Ben Groeneveld posted a question about losing session attributes: http://www.mail-archive.com/jrun-talk@houseoffusion.com/msg05805.html Has this question been answered? I seem to run into a similar problem: JRun 3.1 build 26414 under RedHat 7.2 seems to create unexpected new sessions. The problem is easily reproducible. It happens every time when I request a new JSP page, but not when I forward to the same JSP I'm already on (I'm using Struts). I log the session ID to the event-log, and see a new session is created, causing me to lose previously stored session attributes. It's not a time-out issue. The web.xml file sets the session timeout to 30 minutes. It doesn't seem to be a permission problem: Setting directory permissions to 777 and running JRun as root makes no difference. I've checked my Browser settings (IE 6) to accept all Cookies. Choice of JVM (Sun, Blackdown or IBM) also has no influence. It's not a concurrency or load issue, either: I'm talking one single user, one single browser session. The strange thing is, this ONLY happens in the JRun/Linux combination - the same web application works just fine in Tomcat 3.2.4 on the same Red Hat box, and in JRun3.1 under NT 4.0 SP6 (although that's JRun build 16777). I guess that means the application itself is guilt-free, although I've not been able to create a scaled-down example to send to the people at Macromedia. I'm considering switching to Tomcat for production use. This problem diminishes my faith in the JRun server - recalling that there have been issues with session tracking before. As it is, I'm flummoxed, and would be grateful for any assistance. Best, Sebastian -- Sebastian Millies, IDS Scheer AG Postfach 10 15 34, 66015 Saarbrücken Zimmer 2.34, email: [EMAIL PROTECTED] fon +49-681-210-3221, fax +49-681-210-1311 __ This list and all
Re: Difficult To Reproduce Session Issue
Scott, easy for you to say...and I would have done that were it critical. Instead, it's not. Merely frustrating for me because it deals with a sys admin component of our system the customer never sees. You know I have provided you with a test case of a bug before and you just sat on it. How about offering some constructive debugging tips for this difficult issue instead? Thanks, BenG. Scott Stirling wrote: Pretty frustrating for me too. If this is such a problem, why can't anyone come up with a reproducable test case? Scott S. Macromedia -Original Message- From: Ben Groeneveld [mailto:[EMAIL PROTECTED]] I continue to have the issue with jrun 3.1 patch level 26414 on redhat 7.1. The same problem was on rh 6.2. It's very frustrating because I cannot reproduce it consistently. I'm glad to hear someone tried their code on tomcat and no longer experience it. I've been experimenting with jboss/tomcat on another effort, so maybe that's just the way to go. Thanks, BenG. __ 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
IIS authentication 'under' jrun
Hi, I'm looking for some iis/jrun integration advice. We have a jrun 3.0 app that uses form based authentication. Nice because we can generate 100s of passwords in batches using pwgen and jrunpasswd. Now we have the need to integrate with crystal reports under iis4 on nt4. We would like to bring these crystal iis 'pages' under the jrun realm, which is defined in our web.xml. I tried using a virtual mapping, but that doesn't work because the crystal reports use some sort of isapi (I'm not too familiar with this) filter that tell it to generate epf (encapsulated postscript, btw, pretty fancy if you haven't seen it). Adding mime types to global.properties was apparently not enough. Not being too knowledgeable on NT/IIS security - is there an easy way to accomplish this? Note that we absolutely do not want to use an IIS/NT gui to admin 100s of users, so if the solution is to have IIS control authentication, I would gladly hear about some way to import gobs of user credentials. Help is greatly appreciated. Thanks, BenG. -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 __ 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: Why HTTP tunneling not working in Netscape?
Susan, there can be a number of things up. Proxies and persistent connections can wreak havoc with the URLConnection class. In your case the POST may not actually be happening. These two articles helped me a lot: http://www.javaworld.com/javaworld/jw-03-2001/jw-0323-traps_p.html http://www.javaworld.com/javaworld/javatips/jw-javatip34.html Also, a great new feature for those of us using URLConnection instead of sockets (which I still prefer) is that with 1.4 you can specify a read timeout (albeit using a property)! Hope that helps, BenG. Susan M. Orndorff wrote: Hi, All, I have followed the code in Marty Hall's Core Web Programming to send POST data directly to a servlet from an applet. The code I used is: URL url = new URL(protocol, host, port, uri); URLConnection uc = url.openConnection(); uc.setUseCaches(false); uc.setDoOutput(true); ByteArrayOutputStream bs = new ByteArrayOutputStream(512); PrintWriter pw = new PrintWriter(bs, true); pw.print(ID=PennywiseTheClownRole=BallAndPlateTwirler); pw.flush(); String lengthString = String.valueOf(bs.size()); uc.setRequestProperty(Content-Length, lengthString); uc.setRequestProperty(Content-Type, application/x-www-form-urlencoded); bs.writeTo(uc.getOutputStream()); This works great in Internet Explorer. The use of request.getParameter() in my servlet gets the ID and Role passed with pw.print. However, when I run the same code in Netscape, request.getParameter() in my servlet yields a null value. Can anyone tell me why this is happening, and/or how to fix it? I am using IE 5.0 and Netscape 4.76, JRun 3.0 with IIS running on NT4.0. Thanks in advance for any advice or help. Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=sts . -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 __ 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: JRUN Startup and Shutdown Settings????
Alex, you may look into the init method of a servlet that is designated to be loaded on container startup by the web.xml, and use the destroy method of the same servlet. Hopt that helps, BenG. RESTREPO, ALEXANDER G [Non-Pharmacia/1000] wrote: Hello, I want to be able to run a JSP which stops a socket service when JRUN is shutdown. I also want to be able to run a JSP which starts a Socket Service when JRUN starts up again. Does anyone know if their is a good method to do this without creating specialized shell scripts? Are their any JRUN settings or files which can be modified to do this? Many Thanks: Alex Restrepo __ 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: Starting JRun Servers as Service
Dan, you add it to your local startup script, usually an rc.local, or create a startup script by cloning one of the many in /etc/rc.d/init.d if you are running a sysv unix like red hat linux (maybe macromedia will soon ship a template like other vendors). After cloning you use a utility like chkconfig to ensure the new script fires up at the appropriate run level by creating some symbolic links. Hope that helps, BenG. Dan Tran wrote: what about unix? Is there a way to automate this? -Dan From: Bob Buford [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: JRun-Talk [EMAIL PROTECTED] Subject: RE: Starting JRun Servers as Service Date: Tue, 12 Feb 2002 16:39:36 -0500 jrun -install NT-service_name server_name like jrun -install JRun GCPC Server gcpc see p87 of the JRun 3.0 Setup Guide Bob -Original Message- From: Drew Falkman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 4:38 PM To: JRun-Talk Subject: Starting JRun Servers as Service On this note... Does anyone know how to start a JRun Server as a service, as the Default Server and Admin Server do? Thanks. -Drew Falkman -Original Message- From: Dan Tran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 1:24 PM To: JRun-Talk Subject: Re: JRUN Startup and Shutdown Settings I think what Restrepo meant was how to start Jrun automatically during system startup I wonder if JRUN folks have any recommendation on how ot do this? On the W2K, we have the option to start JRUN under service. What about Unix? -Dan - Original Message - From: Ben Groeneveld [EMAIL PROTECTED] To: JRun-Talk [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 12:19 PM Subject: Re: JRUN Startup and Shutdown Settings Alex, you may look into the init method of a servlet that is designated to be loaded on container startup by the web.xml, and use the destroy method of the same servlet. Hopt that helps, BenG. RESTREPO, ALEXANDER G [Non-Pharmacia/1000] wrote: Hello, I want to be able to run a JSP which stops a socket service when JRUN is shutdown. I also want to be able to run a JSP which starts a Socket Service when JRUN starts up again. Does anyone know if their is a good method to do this without creating specialized shell scripts? Are their any JRUN settings or files which can be modified to do this? Many Thanks: Alex Restrepo __ 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
Difficult To Reproduce Session Issue
Hello. I seem to have a difficult to reproduce session issue. I am loosing session attributes on occasion, and it seems to be related (although not for sure) to concurrent use of ie 6 with a java applet that connects to the server for db interaction. Odd thing is that it is not immediately after one of those events - only after several more client/server interactions. It seems like I get a new session. All my forms and servlets communicate with the same database, whose jdbc connection information is stored with that user's session - so when my session gets lost I will see messages like: 02/08 16:19:26 error (JRun) exception.jsp: message:Can only use 'connection' or 'datasrc' or 'driver + url'. trace:allaire.taglib.InvalidTagAttributeException: Can only use 'connection' or 'datasrc' or 'driver + url'. [allaire.taglib.InvalidTagAttributeException: Can only use 'connection' or 'datasrc' or 'driver + url'.] allaire.taglib.InvalidTagAttributeException: Can only use 'connection' or 'datasrc' or 'driver + url'. at allaire.taglib.SqlTag.validate(SqlTag.java:100) at allaire.taglib.SqlTag.doStartTag(SqlTag.java:168) Can someone clue me in on what this might be - or I'm even up for some good debugging ideas? I am using jrun 3.1 patch level 26414 on redhat 7.1. Thanks, BenG. -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 __ 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: Installation on Linux
David, I had the same problem on 7.1 and wound up copying the binaries from a successful 6.2 install. But then, patch 26414 seems to install fine, which is apparently a complete install. Maybe give that a try; find it by searching the knowledge base at the support site. Hope that helps, BenG. Funny, I did exactly what you did in terms of altering the script and eventually ran into checksum errors. I thought it was me. David Spacey wrote: Hi All, Can anyone advise on installing JRun on Linux? I've been handed a jrun server to help administer, so to help I'm trying to set up a 'test' copy. I've downloaded the developer preview to install on an otherwise fresh copy of Redhat 7.1. The install script proceeds OK as far as 'Installing core components,' and then exits with two error messages from tar. These are: tar: 171 garbage bytes ignored at end of archive tar: Error exit delayed from previous errors I've tried downloading the whole thing again, with the same results. I've also tried an altered script which pressed on regardless of the errors, and some files were clearly not being installed. Of course, all this was done as root. Has anyone else experienced this? -- David Spacey [EMAIL PROTECTED] Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists . -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 __ 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: newbie questions - clustering
Is this true? One of my clients has just requested an estimate for a clustered system. I would also very much appreciate a response to this inquiry. Thanks, BenG. Justin MacCarthy wrote: We are using CF currently, but are evaluating JRun J2EE and possibly a mixed cf/java platform. I've read that the current version of JRun (3.1) does not support clustering. When is the next version release date, is there any info on the features that will be included in this area? Will JRun be part of the NEO ?? If you can point me towards any info, that would be excellent. Thanks ~J -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 __ 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: netstat, grep, etc
Jeff, you are so right. But one really nice things about NT is the performance monitor. It is just indispensable in system testing. Are you aware of any such comprehensive system data collection tool for unix? I've been on unix for ages and still fiddle with various scripts and utils. Thanks, BenG. Jeff Ramin wrote: One of the reasons I prefer unix over windows is the command line interface. With knowledge of a few commands, you can get an amazing amount of information. There is a toolset that provides many unix commands for windows operating systems, for those of you that don't like pointing and clicking all the time: http://sources.redhat.com/cygwin/ For those of you that have a unix background but must work in a windows environment, this is really a must see. charles arehart wrote: Well, the netstat works in Win2k, but not the grep. :-) At least now in my Win2k Pro. And while this is still not the list of unused ports I was originally seeking, it's cool to know that there's such an easy way to get those that are in use. /charlie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 17, 2001 12:35 PM To: JRun-Talk Subject: Re: JRun-Talk-List V1 #7 Jeff Ramin [EMAIL PROTECTED] wrote: For those of you running unix, to see what ports currently have servers using them, just type: netstat -an | grep -i listen This works in Windows 2000 as well. --Sam Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists __ 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: JVM and Red Hat 7.2
Renato, in testing I have observed and recorded better performance from IBM's jvm over Sun's on Redhat 7.1 for both java applications and servlets. BenG. Renato wrote: Hi all, Which the most stable JVM to use with JRun on RedHat 7.2 ? I heard of some incompatibilities with the RedHat and Java and latest Sun's JVM 1.3.1 doesn't seen to be fast and stable enough ( even with the workaround ). Where can I download this JVM ? Thanks Renato - Brazil. Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists . -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: JVM and Red Hat 7.2
Renato, download from www.ibm.com/java bruce:~ java -version java version 1.3.0 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20010626 (JIT enabled: jitc)) bruce:~ uname -a Linux bruce 2.4.3-6smp #1 SMP Wed May 16 04:29:16 EDT 2001 i686 unknown bruce:~ Regarding comments on the 1.4 beta - for what it's worth the plugin frequently freezes my IE on win32 running Oracle applets. But then I haven't tested IBM's plugin there. The IBM jdk on win32 also shows observable and measurable performance improvements over Sun's 1.3. BenG. Renato wrote: Thanks ! What version of IBM's are you using ? Where can I download it ? On Wed, 12 Dec 2001 02:22:00 -0800, Ben Groeneveld bgroeneveld@ici- web.com escreveu : Renato, in testing I have observed and recorded better performance from IBM's jvm over Sun's on Redhat 7.1 for both java applications and servlets. BenG. Renato wrote: Hi all, Which the most stable JVM to use with JRun on RedHat 7.2 ? I heard of some incompatibilities with the RedHat and Java and latest Sun's JVM 1.3.1 doesn't seen to be fast and stable enough ( even with the workaround ). Where can I download this JVM ? Thanks Renato - Brazil. Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists . -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Page cannot be displayed
Arul, this might be due to buffering. This went away for me when I used Apache as the external web server, and for the JRun web server when I manually set the buffer size, like so in the jsp: %@ page buffer=32kb autoFlush=true language=java import=allaire.taglib.*, java.sql.* % Hope that helps, BenG. Arul wrote: Hi I had a peculiar problem with Jrun .We have a live site and for some specific users it throws up an error Page Cannot be displayed It's not happenning to all , all the time .For a specific set of Users it throws it occasionally. What could be the problem.?? For the users who get this error , in their browsers the cookies are set properly and they are not behind a firewall. The Problem is like this.They could see the Homepage(html) and they could click on the JSP page (login.jsp) and when they try to submit , the next instant they get this error.Is it cause of Get /Post problem in Jrun we donot use any external web servers. and why does this happen with Jrun. we use Jrun3.0 with SP2 -Arul ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: SV: JRun does not responds after 100 threads
Roar, unless you make special provisions each servlet request would be another thread. Could it be that your threads (requests) are not exiting but blocking on some resource? Can you throttle demand for that resource by including a synchronized method wrapped around that resource? Just a thought. BenG. Johansen, Roar wrote: Ben Groeneveld wrote: Makarand, are you hitting JRun thru the Netscape Webserver? Then your problem may be with its max concurrency setting. I have seen this with IIS as the front-end to JRun. How many concurrent connections will your Netscape Webserver accept? Make sure you are updating the external web server settings and not the JRun web server. Hope that helps, BenG. - Does anybody have any thoughts as to why the number of threads even rises to 100? We are running a site that serves over 1200 pages a minute in peak hour, distributed among 6 unix servers. This means that any one server continuously serves 3-4 pages a second and does so with a minimum effort. In fact, any server rarely has more than 20-30 threads active at any time (we measure this by 'netstat -n | grep ESTABLISHED | grep JRun connector port number'). However, from time to time this figure rises dramatically during a few seconds, often ending at the 100 threads, where it eventually locks up. My feeling is, you can bump the limits in JRun, NS and unix, but when this rise occurs, it will eventually eat up any resources you feed it. I personally am very interested in finding a reason for this sudden rise. ~~ 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: JRun does not responds after 100 threads
More to ponder...I repeated this run on my laptop now booted in redhat 6.2. I change the JRun web server min threads from 1 to 50, and change the idle thread timeout from 300 to 60s. Now I fire up the JRun 3.1 default server. I check gtop, and I see jrun having 95 processes (a linux thread is practically a process). 60 seconds later this number drops to 46. Hmm. That doesn't seem right. It should be threads beyond the pool of 50 that get killed. Ok, so now I set the min threads back to 1, restart, and JRun default has 44 threads. Now all these threads are idle, none are vying for CPU. I have a hard time accepting this as thread-thrashing or NT vs unix. These are the exact same results I see on NT for JRun 3.0 sp2. I think the thread pool's not working, or I don't understand these parameters. What am I missing? Thanks, BenG. Haseltine, Celeste wrote: Dave, You made an excellent point regarding thread thrashing. Although I don't know if thread thrashing is completely responsible for the behavior that Ben is experiencing, it can certainly contribute. If my memory serves me correctly, the NT and 2000 threading scheduler is based on a preemptive model, vs a Unix operating system's threading scheduler is based on a time-slicing model. The difference being that a time slicing scheduler will eventually give CPU time to lower priority threads, whereas a preemptive scheduler may not. It one of many reasons to consider using a Unix server if you expect to experience heavy traffic/load on your site. You can write a simple program to execute a group threads and then one by one, launch another thread within your group and watch your performance. If your performance suddenly deteriorates around 50 or 100 threads, than you may need to upgrade your machine to include more CPU's. Or, if you are really anticipating a heavy load/traffic on your server, consider porting to a Unix server. That's one of the advantages of using JSP's and Java, you can easily port from one platform to the other if necessary. Celeste -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 6:09 PM To: JRun-Talk Subject: RE: Re: JRun does not responds after 100 threads Guys, How many processors do you have running on your system? I do not believe that this is a JRUN or java issue but a tread thrashing issue. Basically only one thread can run at any exact moment upon a CPU. By running 100 threads at once, the machine is spending a lot of resources upon just switching between threads than running them. Another issue to consider is that NT's thread model is not the best going. I just got a dual Pentium set up and it provides a little boost, but not what I had hoped for:( As for our PRD systems, we use some of the larger SUN systems and they handle threading very well. After some experience we have found out that setting more than about 20 threads to a process(not jrun in particular) provides little benefit due to I/O other things. This machine though has 64 processors to utilize. Makarand, It sounds as if you might be upgrading your hardware to a UNIX system to handle your load. A big perk with JSP's is that your code won't have to change one bit:) Dave -Original Message- From: bgroeneveld Sent: Wednesday, October 03, 2001 6:08 PM To: jrun-talk Cc: bgroeneveld Subject: Re: JRun does not responds after 100 threads Makarand, I have seen similar behavior. I think there may be a JRun problem. If I setup a threadpool of 50 with an idle thread timeout of 60, then after a fresh jrun startup and no activity NT perfmon shows the threadpool gets cleaned up. Or if I send a burst of 100 persistent connections, then after 60s the threadcount goes from 150 to 100. I am going to try an experiment with the IBM jvm later this week to make sure this isn't VM related. I've had best performance leaving the threadpool at 1, even thought that's not what's desired, my server/VM lives much longer that way. I'm assuming that changing the threadpool causes a fault inside JRun. Anyone know more? BenG. JOGALEKAR,MAKARAND (HP-Boise,ex1) wrote: Hello, We are having lot of problems with JRun 3.0 or Jrun3.1, If we get high volume and the thread count goes beyond 100, it does not respond. We are just using servlets with Netscape Exterprise server 3.6 with EJB's at all. We have disabled the EJB option for performance and also tried different options by setting initial thread count to 50 with maximum thread count to 500..but nothing works.. Any help ?? Thanks, -Makarand ~~ Get the mailserver that powers this list at http://www.coolfusion.com Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: JRun does not responds after 100 threads
Makarand, are you hitting JRun thru the Netscape Webserver? Then your problem may be with its max concurrency setting. I have seen this with IIS as the front-end to JRun. How many concurrent connections will your Netscape Webserver accept? Make sure you are updating the external web server settings and not the JRun web server. Hope that helps, BenG. JOGALEKAR,MAKARAND (HP-Boise,ex1) wrote: Hello Guys, Thanks for you feedback.. We tried following options to see If it boost the performance.. 1) Setting everything to default in JRun's setting Minimum Thread Count =1 Maximum Active Requests = 100 2) Minimum Thread Count = 5 Maximum Active Requests = 200 3) Minimum Thread Count = 25 Maximum Active Requests = 200 4) Minimum Thread Count = 50 Maximum Active Requests = 500 We are not using any EJB's so, we removed all EJB settings from the local.properties file. Hardward: OS: Windows NT service Pack 5 CPU: 2 Intel Processores RAM : 1 GB Hard disk : c: 4 GB, d: 25 GB We are still having this threading issue of 100 threads.. -Makarand -Original Message- From: Haseltine, Celeste [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 04, 2001 9:43 AM To: JRun-Talk Subject: RE: Re: JRun does not responds after 100 threads Dave, You made an excellent point regarding thread thrashing. Although I don't know if thread thrashing is completely responsible for the behavior that Ben is experiencing, it can certainly contribute. If my memory serves me correctly, the NT and 2000 threading scheduler is based on a preemptive model, vs a Unix operating system's threading scheduler is based on a time-slicing model. The difference being that a time slicing scheduler will eventually give CPU time to lower priority threads, whereas a preemptive scheduler may not. It one of many reasons to consider using a Unix server if you expect to experience heavy traffic/load on your site. You can write a simple program to execute a group threads and then one by one, launch another thread within your group and watch your performance. If your performance suddenly deteriorates around 50 or 100 threads, than you may need to upgrade your machine to include more CPU's. Or, if you are really anticipating a heavy load/traffic on your server, consider porting to a Unix server. That's one of the advantages of using JSP's and Java, you can easily port from one platform to the other if necessary. Celeste -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 6:09 PM To: JRun-Talk Subject: RE: Re: JRun does not responds after 100 threads Guys, How many processors do you have running on your system? I do not believe that this is a JRUN or java issue but a tread thrashing issue. Basically only one thread can run at any exact moment upon a CPU. By running 100 threads at once, the machine is spending a lot of resources upon just switching between threads than running them. Another issue to consider is that NT's thread model is not the best going. I just got a dual Pentium set up and it provides a little boost, but not what I had hoped for:( As for our PRD systems, we use some of the larger SUN systems and they handle threading very well. After some experience we have found out that setting more than about 20 threads to a process(not jrun in particular) provides little benefit due to I/O other things. This machine though has 64 processors to utilize. Makarand, It sounds as if you might be upgrading your hardware to a UNIX system to handle your load. A big perk with JSP's is that your code won't have to change one bit:) Dave -Original Message- From: bgroeneveld Sent: Wednesday, October 03, 2001 6:08 PM To: jrun-talk Cc: bgroeneveld Subject: Re: JRun does not responds after 100 threads Makarand, I have seen similar behavior. I think there may be a JRun problem. If I setup a threadpool of 50 with an idle thread timeout of 60, then after a fresh jrun startup and no activity NT perfmon shows the threadpool gets cleaned up. Or if I send a burst of 100 persistent connections, then after 60s the threadcount goes from 150 to 100. I am going to try an experiment with the IBM jvm later this week to make sure this isn't VM related. I've had best performance leaving the threadpool at 1, even thought that's not what's desired, my server/VM lives much longer that way. I'm assuming that changing the threadpool causes a fault inside JRun. Anyone know more? BenG. JOGALEKAR,MAKARAND (HP-Boise,ex1) wrote: Hello, We are having lot of problems with JRun 3.0 or Jrun3.1, If we get high volume and the thread count goes beyond 100, it does not respond. We are just using servlets with Netscape Exterprise server 3.6 with EJB's at all. We have disabled the EJB option for performance and also
debug messages
When I turn on debug I see a lot of the following messages in my log file. Probably one for each thread I have. Does anyone know what they mean? Thanks, BenG. -- 10/02 23:52:09 debug (jcp) jcp-131 caught Exception while swapping [java.lang.InterruptedException] java.lang.InterruptedException at allaire.jrun.jrpp.ProxyService.swapRunnable(../jrpp/ProxyService.java:51) at allaire.jrun.ThreadPool.swapRunnable(../ThreadPool.java:223) at allaire.jrun.WorkerThread.run(../WorkerThread.java:77) -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 ~~ 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: JRun does not responds after 100 threads
Makarand, I have seen similar behavior. I think there may be a JRun problem. If I setup a threadpool of 50 with an idle thread timeout of 60, then after a fresh jrun startup and no activity NT perfmon shows the threadpool gets cleaned up. Or if I send a burst of 100 persistent connections, then after 60s the threadcount goes from 150 to 100. I am going to try an experiment with the IBM jvm later this week to make sure this isn't VM related. I've had best performance leaving the threadpool at 1, even thought that's not what's desired, my server/VM lives much longer that way. I'm assuming that changing the threadpool causes a fault inside JRun. Anyone know more? BenG. JOGALEKAR,MAKARAND (HP-Boise,ex1) wrote: Hello, We are having lot of problems with JRun 3.0 or Jrun3.1, If we get high volume and the thread count goes beyond 100, it does not respond. We are just using servlets with Netscape Exterprise server 3.6 with EJB's at all. We have disabled the EJB option for performance and also tried different options by setting initial thread count to 50 with maximum thread count to 500..but nothing works.. Any help ?? Thanks, -Makarand ~~ Get the mailserver that powers this list at http://www.coolfusion.com Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: JRun does not responds after 100 threads
Dave, agreed that 100 threads is a lot, but only if they are all busy. From a unix perspective, the main thing to worry about is that the average queue length in front of the cpu - aka load average - is 1. As long as this is well below 1 there should not be 'thread thrashing' on a single headed machine, don't you think? For example, in my experiments on NT we see JRun's VM consuming about 100 threads (because our clients keep their sockets open, but the threads are largely idle). NT and other processes account for an additional 4-500 threads, but CPU utilization is just some 15%. I can monitor page faults as well and they stay at just a couple per second. I'm having a difficult time attributing the thread 'loss' to something else than a bug... Thanks, BenG. [EMAIL PROTECTED] wrote: Guys, How many processors do you have running on your system? I do not believe that this is a JRUN or java issue but a tread thrashing issue. Basically only one thread can run at any exact moment upon a CPU. By running 100 threads at once, the machine is spending a lot of resources upon just switching between threads than running them. Another issue to consider is that NT's thread model is not the best going. I just got a dual Pentium set up and it provides a little boost, but not what I had hoped for:( As for our PRD systems, we use some of the larger SUN systems and they handle threading very well. After some experience we have found out that setting more than about 20 threads to a process(not jrun in particular) provides little benefit due to I/O other things. This machine though has 64 processors to utilize. Makarand, It sounds as if you might be upgrading your hardware to a UNIX system to handle your load. A big perk with JSP's is that your code won't have to change one bit:) Dave -Original Message- From: bgroeneveld Sent: Wednesday, October 03, 2001 6:08 PM To: jrun-talk Cc: bgroeneveld Subject: Re: JRun does not responds after 100 threads Makarand, I have seen similar behavior. I think there may be a JRun problem. If I setup a threadpool of 50 with an idle thread timeout of 60, then after a fresh jrun startup and no activity NT perfmon shows the threadpool gets cleaned up. Or if I send a burst of 100 persistent connections, then after 60s the threadcount goes from 150 to 100. I am going to try an experiment with the IBM jvm later this week to make sure this isn't VM related. I've had best performance leaving the threadpool at 1, even thought that's not what's desired, my server/VM lives much longer that way. I'm assuming that changing the threadpool causes a fault inside JRun. Anyone know more? BenG. JOGALEKAR,MAKARAND (HP-Boise,ex1) wrote: Hello, We are having lot of problems with JRun 3.0 or Jrun3.1, If we get high volume and the thread count goes beyond 100, it does not respond. We are just using servlets with Netscape Exterprise server 3.6 with EJB's at all. We have disabled the EJB option for performance and also tried different options by setting initial thread count to 50 with maximum thread count to 500..but nothing works.. Any help ?? Thanks, -Makarand ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Security Configuration in JRun: example (path-based access contro l)
John, thanks. I was hoping to not introduce yet another passwd machanism to maintain (anyone know if jrun has an LDAP interface planned?) by keeping it all in apache. And 'bedankt' for the detailed explain below; I'll use it. BenG. Mullee John - ZGI wrote: -Original Message- From: Ben Groeneveld [mailto:bgroeneveld@] As an aside, I would also like to be able to control access to the paths mapped by jrun using .htaccess or AuthUserFile, but it seems that they get intercepted first by the mod_jrun. Do you know of a way around this? BenG. Any way I can think of would be messy and, at best, not more easy to maintain. One thing might be to use a base servlet which, for every GET or POST, tries to connect back to apache (as if it was a local web-browser) with the supplied credentials. Of course you risk unwanted side-effects and worse performance... Then again, maybe some bright spark perl-coder or java-whiz has coded something that will read apache's .htaccess etc and derive a web.xml security constraint list.. JRUN_DIR/lib/global.properties : (relevent fragments; backup your global.properties and edit carefully!) basically you need to add authentication to the line webapp.services=scheduler,logging,session,jsp,file The rest should be okay. ## control services # List of services to start for Servlet/JSP support servlet.services={servlet.webapps} webapp.services=scheduler,logging,session,authentication,jsp,file # service aliases webapp.SessionManager=session webapp.ResourceAuthenticator=authentication webapp.PageTranslator=jsp ## misc JRun properties # login/authentication service (new for 3.0) authentication.class=allaire.jrun.servlet.ResourceAuthenticator authentication.service=propfile authentication.propfile.class=allaire.jrun.security.PropertyFileAuthenticati on authentication.propfile.filename={jrun.rootdir}/lib/users.properties JRUN_DIR/lib/users.properties : (complete file) see batchfile below for adding users computing password hashes # users.properties # (this is nonsense data !) # my_managers user.B32=B3iMnzTIUIZGq user.B34=B5LR2zgVT5HJq # my_team user.A7O=A37I7zUX4GyZq user.AXY=AXLHozK39XQ0q user.AYF=AYkiqzhPvctwq # my_testers user.BDP=B3.Lvz8ULo7uq user.BL5=BuWDGzQo1BbLq user.AXU=AGXQJzAQ5/qmq group.my_managers=B32,B34 group.my_team=A7O,AXY,AYF, group.my_managers group.my_testers=BDP,BL5,AXU role.my_manager_role=group.my_managers role.my_developer_role=group.my_team role.my_user_role=group.my_team, group.my_testers Also, to create users and passwords, you can use this batchfile: adduser.bat : (check your JDK dir and JRUN dir!) (complete file) @echo off REM make sure the correct JDK bin dir is first in the path set PATH=c:\jdk1.3\bin;%PATH% set JRUN_HOME=c:\progra~1\allaire\jrun set CLASSPATH= set CLASSPATH=%CLASSPATH%;%JRUN_HOME%\lib\ext\servlet.jar set CLASSPATH=%CLASSPATH%;%JRUN_HOME%\lib\jrun.jar @echo . Removing user %1 : java -cp %CLASSPATH% allaire.jrun.security.PropertyFileAuthentication -remove %JRUN_HOME%\lib\users.properties %1 @echo . Adding user %1 password %2 : java -cp %CLASSPATH% allaire.jrun.security.PropertyFileAuthentication -add%JRUN_HOME%\lib\users.properties %1 %2 This app/servlet is accessed by: http://localhost/myapp/ThingListServlet; or http://User:Password@localhost/myapp/ThingListServlet; JRUN_DIR/servers/default/myapp/WEB-INF/web.xml : (complete file) web-app servlet servlet-nameThingListServlet/servlet-name servlet-classbe.thiscorp.my.ThingListServlet/servlet-class security-role-ref role-namemanager/role-namerole-linkmy_manager_role/role-link role-namedeveloper/role-namerole-linkmy_developer_role/role-link role-nameuser/role-namerole-linkmy_user_role/role-link /security-role-ref /servlet servlet-mapping servlet-nameThingListServlet/servlet-name url-pattern/ThingListServlet/url-pattern /servlet-mapping !-- Security Configuration -- !-- In JRUN there's a bunch of tricky bits to get just right in the {jrun_home}/lib/global.properties, {jrun_home}/lib/users.properties and {jrun_home}/servers/{server}/local.properties before it will actually ask you for a userid/password (case-sensitive) -- security-constraint web-resource-collection !-- the web-resource-name should be the same
Re: JRun 3.1 connector disables SSI
Scott, the goal is to have apache work the way it used to before jrun was connected. jrun interferes with the ssi handling as far as I can tell. If I turn off jrun's .shtml handling then .shtml in the apache server root still doesn't work unless I rm the mod_jrun. I have found a workaround. Using the apache 'xbithack on' directive I can cause std .html files to be parsed for ssi if their file mode is +x. I also rename my files from .shtml to .html for this to work. I don't have evidence of anyone else seeing this issue, but would like to. it's easy to reproduce. The default redhat config for apache is to recognize ssi. I'm running jrun 3.1 on redhat 6.2 with apache 1.3.14. Thanks, BenG. Scott Stirling wrote: I don't understand. Do you want JRun to handle your SSI or do you want Apache to? I thought you wanted Apache to, so I sent instructions for disabling JRun's SSI support. JRun's SSI is weak, and only works with a few directives, so I would recommend disabling it, and let SSI fall through to Apache. You shouldn't have to rearrange the order of modules in Apache to achieve this -- just comment out the line below in JRun's global.properties and restart JRun and Apache. Scott -Original Message- From: Ben Groeneveld To: JRun-Talk Sent: 8/24/01 12:07 AM Subject: Re: JRun 3.1 connector disables SSI Scott, thanks. I would like to have it on in my apache html tree. But the mod_jrun seems to disable it. BenG. Scott Stirling wrote: A sure way to disable JRun's handling of SSI, assuming you are using .shtml as the file extension for these, is remove or comment out the line in global.properties that makes JRun handle those files: ### ## rules ### webapp.servlet-mapping./servlet=invoker webapp.servlet-mapping.*.jrun=invoker #webapp.servlet-mapping.*.shtml=ssifilter -- comment this line out webapp.servlet-mapping.*.jsp=jsp webapp.servlet-mapping.*.thtml=template Scott Stirling -Original Message- From: Ben Groeneveld To: JRun-Talk Sent: 8/23/01 8:16 PM Subject: Re: JRun 3.1 connector disables SSI Victory cry too soon! Just when shtml is working the mod_jrun stops, if I get mod_jrun to run by placing it before includes_module then shtml stops... Any help appreciated. Thanks, BenG. Ben Groeneveld wrote: John, SSI becomes disabled for all files in the apache Directory's. By default JRun loads their module after all others when auto-installed by the JRun admin console. So this is interesting: I just tried loading the JRun module first. *This works*. I put it back at the end of the httpd.conf and SSI stops working. Order matters. Thanks As an aside, I would also like to be able to control access to the paths mapped by jrun using .htaccess or AuthUserFile, but it seems that they get intercepted first by the mod_jrun. Do you know of a way around this? BenG. Mullee John - ZGI wrote: Subject: JRun 3.1 connector disables SSI Hooking up my JRun 3.1 to Apache 1.3.14 on RedHat 6.2 disables server side includes (.shtml). It is easily reproducible. Has anyone else seen this - is it a known problem with a workaround? Thanks, BenG. Does it disable SSI for all files or only files which are also JSPs? Or only for files under the directory below which paths are mapped to mod_jrun ? Have you tried putting mod_jrun after all other modules loaded in the https.conf? john . -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: JRun 3.1 connector disables SSI
Scott, that works! Thanks, BenG. Scott Stirling wrote: I've encountered exactly the same problem in the past, and I know how to get around it. The problem is I forgot that the shtml mapping is in both local.properties _and_ global.properties. Sorry. If you coment out the line below in both files, restart JRun and Apache, you shouldn't see JRun trying to handle shtml anymore, and Apache should work as before with respect to shtml. webapp.servlet-mapping.*.shtml={default} If you have Apache and JRun configured this way and it still doesn't work (and you are sure JRun and Apache have been restarted), then this is a bug and we should fix it. Scott S. -Original Message- From: Ben Groeneveld To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 8/24/2001 1:16 PM Subject: Re: JRun 3.1 connector disables SSI Scott, the goal is to have apache work the way it used to before jrun was connected. jrun interferes with the ssi handling as far as I can tell. If I turn off jrun's .shtml handling then .shtml in the apache server root still doesn't work unless I rm the mod_jrun. I have found a workaround. Using the apache 'xbithack on' directive I can cause std .html files to be parsed for ssi if their file mode is +x. I also rename my files from .shtml to .html for this to work. I don't have evidence of anyone else seeing this issue, but would like to. it's easy to reproduce. The default redhat config for apache is to recognize ssi. I'm running jrun 3.1 on redhat 6.2 with apache 1.3.14. Thanks, BenG. Scott Stirling wrote: I don't understand. Do you want JRun to handle your SSI or do you want Apache to? I thought you wanted Apache to, so I sent instructions for disabling JRun's SSI support. JRun's SSI is weak, and only works with a few directives, so I would recommend disabling it, and let SSI fall through to Apache. You shouldn't have to rearrange the order of modules in Apache to achieve this -- just comment out the line below in JRun's global.properties and restart JRun and Apache. Scott -Original Message- From: Ben Groeneveld To: JRun-Talk Sent: 8/24/01 12:07 AM Subject: Re: JRun 3.1 connector disables SSI Scott, thanks. I would like to have it on in my apache html tree. But the mod_jrun seems to disable it. BenG. Scott Stirling wrote: A sure way to disable JRun's handling of SSI, assuming you are using .shtml as the file extension for these, is remove or comment out the line in global.properties that makes JRun handle those files: ### ## rules ### webapp.servlet-mapping./servlet=invoker webapp.servlet-mapping.*.jrun=invoker #webapp.servlet-mapping.*.shtml=ssifilter -- comment this line out webapp.servlet-mapping.*.jsp=jsp webapp.servlet-mapping.*.thtml=template Scott Stirling -Original Message- From: Ben Groeneveld To: JRun-Talk Sent: 8/23/01 8:16 PM Subject: Re: JRun 3.1 connector disables SSI Victory cry too soon! Just when shtml is working the mod_jrun stops, if I get mod_jrun to run by placing it before includes_module then shtml stops... Any help appreciated. Thanks, BenG. Ben Groeneveld wrote: John, SSI becomes disabled for all files in the apache Directory's. By default JRun loads their module after all others when auto-installed by the JRun admin console. So this is interesting: I just tried loading the JRun module first. *This works*. I put it back at the end of the httpd.conf and SSI stops working. Order matters. Thanks As an aside, I would also like to be able to control access to the paths mapped by jrun using .htaccess or AuthUserFile, but it seems that they get intercepted first by the mod_jrun. Do you know of a way around this? BenG. Mullee John - ZGI wrote: Subject: JRun 3.1 connector disables SSI Hooking up my JRun 3.1 to Apache 1.3.14 on RedHat 6.2 disables server side includes (.shtml). It is easily reproducible. Has anyone else seen this - is it a known problem with a workaround? Thanks, BenG. Does it disable SSI for all files or only files which are also JSPs? Or only for files under the directory below which paths are mapped to mod_jrun ? Have you tried putting mod_jrun after all other modules loaded in the https.conf? john . -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: JRun 3.1 connector disables SSI
John, SSI becomes disabled for all files in the apache Directory's. By default JRun loads their module after all others when auto-installed by the JRun admin console. So this is interesting: I just tried loading the JRun module first. *This works*. I put it back at the end of the httpd.conf and SSI stops working. Order matters. Thanks As an aside, I would also like to be able to control access to the paths mapped by jrun using .htaccess or AuthUserFile, but it seems that they get intercepted first by the mod_jrun. Do you know of a way around this? BenG. Mullee John - ZGI wrote: Subject: JRun 3.1 connector disables SSI Hooking up my JRun 3.1 to Apache 1.3.14 on RedHat 6.2 disables server side includes (.shtml). It is easily reproducible. Has anyone else seen this - is it a known problem with a workaround? Thanks, BenG. Does it disable SSI for all files or only files which are also JSPs? Or only for files under the directory below which paths are mapped to mod_jrun ? Have you tried putting mod_jrun after all other modules loaded in the https.conf? john . -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: JRun 3.1 connector disables SSI
Victory cry too soon! Just when shtml is working the mod_jrun stops, if I get mod_jrun to run by placing it before includes_module then shtml stops... Any help appreciated. Thanks, BenG. Ben Groeneveld wrote: John, SSI becomes disabled for all files in the apache Directory's. By default JRun loads their module after all others when auto-installed by the JRun admin console. So this is interesting: I just tried loading the JRun module first. *This works*. I put it back at the end of the httpd.conf and SSI stops working. Order matters. Thanks As an aside, I would also like to be able to control access to the paths mapped by jrun using .htaccess or AuthUserFile, but it seems that they get intercepted first by the mod_jrun. Do you know of a way around this? BenG. Mullee John - ZGI wrote: Subject: JRun 3.1 connector disables SSI Hooking up my JRun 3.1 to Apache 1.3.14 on RedHat 6.2 disables server side includes (.shtml). It is easily reproducible. Has anyone else seen this - is it a known problem with a workaround? Thanks, BenG. Does it disable SSI for all files or only files which are also JSPs? Or only for files under the directory below which paths are mapped to mod_jrun ? Have you tried putting mod_jrun after all other modules loaded in the https.conf? john . -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: JRun 3.1 connector disables SSI
Scott, thanks. I would like to have it on in my apache html tree. But the mod_jrun seems to disable it. BenG. Scott Stirling wrote: A sure way to disable JRun's handling of SSI, assuming you are using .shtml as the file extension for these, is remove or comment out the line in global.properties that makes JRun handle those files: ### ## rules ### webapp.servlet-mapping./servlet=invoker webapp.servlet-mapping.*.jrun=invoker #webapp.servlet-mapping.*.shtml=ssifilter -- comment this line out webapp.servlet-mapping.*.jsp=jsp webapp.servlet-mapping.*.thtml=template Scott Stirling -Original Message- From: Ben Groeneveld To: JRun-Talk Sent: 8/23/01 8:16 PM Subject: Re: JRun 3.1 connector disables SSI Victory cry too soon! Just when shtml is working the mod_jrun stops, if I get mod_jrun to run by placing it before includes_module then shtml stops... Any help appreciated. Thanks, BenG. Ben Groeneveld wrote: John, SSI becomes disabled for all files in the apache Directory's. By default JRun loads their module after all others when auto-installed by the JRun admin console. So this is interesting: I just tried loading the JRun module first. *This works*. I put it back at the end of the httpd.conf and SSI stops working. Order matters. Thanks As an aside, I would also like to be able to control access to the paths mapped by jrun using .htaccess or AuthUserFile, but it seems that they get intercepted first by the mod_jrun. Do you know of a way around this? BenG. Mullee John - ZGI wrote: Subject: JRun 3.1 connector disables SSI Hooking up my JRun 3.1 to Apache 1.3.14 on RedHat 6.2 disables server side includes (.shtml). It is easily reproducible. Has anyone else seen this - is it a known problem with a workaround? Thanks, BenG. Does it disable SSI for all files or only files which are also JSPs? Or only for files under the directory below which paths are mapped to mod_jrun ? Have you tried putting mod_jrun after all other modules loaded in the https.conf? john . -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
JRun 3.1 connector disables SSI
Hooking up my JRun 3.1 to Apache 1.3.14 on RedHat 6.2 disables server side includes (.shtml). It is easily reproducible. Has anyone else seen this - is it a known problem with a workaround? Thanks, BenG. -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Setting Blob and Clob data in Oracle from an EJB.
Depending on your application, consider storing the blobs directly on disk. Filesystems can be efficient and fast. Just keep a reference to them in oracle. BenG. Mark A. Sandee wrote: I managed to set blob and clob data in Oracle 8.1.5 and 8.1.8 using EJBs, but it was a real kludge. I was wondering if anyone knew of a better solution. The problem is that when you access a blob (or clob) field in Oracle you just get a blob locator. This locator in turn is used to obtain the blob object to which the data can be written. To do this, you have to use SELECT ... FOR UPDATE to lock the row to ensure the blob locator remains valid. I guess a transaction is needed here, but how does that work with a pooled connection that wants to autocommit after every statement? I use the routine below in a Session bean to accomplish the job. It won't work without the FOR UPDATE, saying the row is not locked. Using the FOR UPDATE is not allowed with AutoCommit true. Setting AutoCommit to false is not allowed with a pooled connection. Thus, I could only get this to work by using a non-pooled connection which in the code below costs a lot of time for each blob! I'm using JRun 3.0 SP2. Bottom line is I'd like to use a pooled connection and keep this code in the BMP EJB. Can I set blob data in Oracle using a pooled connection? public void setBlobData(String tableName, String pkey, int pkeyId, InputStream dataIS) throws RemoteException { int chunkSize = 1988; // This number is optimized for the table chunk size byte[] buffer = new byte[chunkSize]; try { // NOTE: The setting of the blob data was moved to session bean ImageBlob. This was // done so that a separate non-pooled connection to the database could be used so // the command .setAutoCommit(false) could be used. I could not set the blob data // without first turning off auto commit which is not allowed with a pooled connection. // This is why source1 is not used here to get the connection. // Creating a connection outside of the connection pool is not desirable and should // only be done if absolutely necessary. i.e. Don't get connections this way in other // places. Class.forName(jdbcDriver); Connection connection = DriverManager.getConnection(jdbcConnectString, jdbcUsername, jdbcPassword); connection.setAutoCommit(false); try { BLOB blob; Statement stmt = connection.createStatement(); String cmd = SELECT BlobData FROM +tableName+ WHERE +pkey+ = +pkeyId+ FOR UPDATE; ResultSet res = stmt.executeQuery(cmd); if (res.next()) { // Get blob locator from the result set blob = ((OracleResultSet)res).getBLOB(1); OutputStream outstream = blob.getBinaryOutputStream(); int length = -1; // Copy the data to the BLOB while ((length = dataIS.read(buffer)) != -1) { outstream.write(buffer, 0, length); } outstream.close(); res.close(); connection.commit(); } stmt.close(); } catch (IOException e) { e.printStackTrace(); throw new RemoteException(e.toString()); } finally { connection.close(); } } catch (SQLException e) { e.printStackTrace(); throw new RemoteException(e.toString()); } catch (ClassNotFoundException e) { e.printStackTrace(); } } ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
what is Exception while swapping ?
In an attempt to debug what appears to be a lockup we turned debug on in logging. One thing we see is this: -- 08/07 16:04:43 info (JRun) f_req_drw_Servlet.doGet END 08/07 16:05:00 debug (web) web-480 caught Exception while swapping [java.lang.InterruptedException] java.lang.InterruptedException at allaire.jrun.http.WebService.swapRunnable(WebService.java:118) at allaire.jrun.ThreadPool.swapRunnable(ThreadPool.java:223) at allaire.jrun.WorkerThread.run(WorkerThread.java:77) 08/07 16:05:10 debug (web) Limiting InputStream read to '-2' bytes to maintain keepalive. 08/07 16:05:10 info (JRun) f_req_drw_Servlet.doPost BEGIN -- The END / BEGIN info's signify our code appears fine. Can someone clue me in on what this might mean? Thanks, BenG. -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: bean newbie question
That's interesting, we do just the same but with CVS. I'm curious, do you use makefiles for your build or have you come across a better tool? Makefiles have been nice in that we can build from the same repository on linux and windows using cygwin. BenG. Haseltine, Celeste wrote: Jay, I don't know about your development environment, but I require all developers to install the free version of JRUN on their local development machines. Everyone is also required to update their local source code from source safe upon notice, so that every developer has the same product framework to work with. This way, each individual can work on his segment of the product using his local copy of JRUN and IIS as the server on his local machine. Upon completion of development and local testing by the individual developer, his source code is uploaded to both source safe and to a development server upon approval of his lead. This is usually done on a weekly basis. This way, our testing department can test the entire product on a development server that every developer is mapped to. We can also use the development server to discuss and view code during meetings. I do not advocate using a development server for a large group of developers to actually develop on together. It's too easy for one person to make a change that subsequently breaks the product for everyone else, and brings the development process to a halt. By having a development environment installed on each persons computer, every programmer can proceed at his/her pace, and we can control when changes are uploaded to the development server. This way, the entire development server rarely goes down, and development process can proceed on schedule. I would be interested in any input from anyone else out there that has come up with a better software management/development process for web applications than the one I outlined above. Celeste -Original Message- From: Jay [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 02, 2001 12:51 PM To: JRun-Talk Subject: Re: bean newbie question Its a terrible thing. Imagine in a multi-developer environment how all of this can have an effect on productivity - restarting all the time... It ought to automatically recognize a modified bean - just like a modified JSP, and recompile and create a new class file. Can someone from Macromedia comment??? - Original Message - From: Jackie Comeau [EMAIL PROTECTED] To: JRun-Talk [EMAIL PROTECTED] Sent: Thursday, August 02, 2001 7:05 AM Subject: RE: bean newbie question So, you recommend every time you make a JSP change to stop and restart the server to make sure JRun recognizes the change? I have not run into this yet, but I'm just playing around with JSP and actually developing anything serious yet. This is not a good thing! Is this a possible bug with JRun and has it been reported? I think I would test my JSP's changes anyways before putting them into production, so hopefully I won't come up with problems of new class files not replacing old automatically. But yeah, I see the problem if your copying your changes over assuming the production server is going to recompile. Hmmm, not good! Jackie On Wednesday, August 01, 2001 6:00 PM, Haseltine, Celeste [SMTP:[EMAIL PROTECTED]] wrote: Jay, To answer your question, I don't think you can. The server loads all your classes into memory, along with your compiled JSP pages. If your in a development mode, JRUN will compile your JSP's to servlets the first time you request the JSP, and subsequently when it see's that the saved date is newer than the compile date. But not so for class files. In order to replace an old class file with a new class file in memory, you have to stop and restart the server. Although this is not usually required for JSP pages, but I have had times where minor changes in a JSP did NOT cause JRUN to recompile the JSP to a servlet, and I had to stop/restart the server in order to reflect the changes in the JSP page also. If you are using JRUN studio as your IDE, you can stop and restart the server from within the IDE using hotkeys. If not, you can assign a shortcut to your desktop and stop/restart the server from the shortcut. Celeste -Original Message- From: Jay [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 7:45 PM To: JRun-Talk Subject: bean newbie question This should be simple. I have created a bean, the first time I execute a JSP page that calls the bean, a class file is created for the bean and the jsp page in C:\test\WEB-INF\jsp. I then have to move the bean.class file into the C:\test\WEB-INF\classes directory for my code to execute.(because I get a java.lang.NoClassDefFoundError: getmov) However, if I make a change to the source code of the bean and reexecute, it appears that the original class is still in memory and manifests it self when the JSP is executed thereby not reflecting the new changes. I have
Re: Newbie question/Debate
Bear in mind that's it's not so 1-2-3 as you make it sound. It is my understanding from the developer of the cobol .net compiler for hitachi that you must code in a proper subset of the language. I think that if you want to use .net you are best coding in its native language c#. BenG. James Alexander wrote: Ummthats not quite correct. With .NET I can use any language I want, as long as it has a MSIL compiler. If I want to use Java, I can use Java. If I want to write an entire asp.net web app in C++ I can. Am I locked in if I choose to use C++? I can use any language I want. On top of that there are efforts underway for porting the .NET CLR (common language runtime) to other platforms for true platform independence. Pretty groovy huh? :) james -Original Message- From: Jackie Comeau [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 24, 2001 10:28 AM To: JRun-Talk Subject: RE: Newbie question/Debate Good question. With Microsoft, your locked into Microsoft technologies. With Java, you can select any platform you want. Also, if you move your platform, there is little to no rewriting of code (I'm talking J2EE platform). You can go to any server that is J2EE certified and just move your platform over. Another advantage is that it's evolving and merging with all the new technologies out there. This may be more of a long-term benefit. As far as running as a platform/server language, it has a head-start over Microsoft. Microsoft has not released it's .Net yet, has it? But J2EE has been out since December, 1999. There are disadvantages with Java. It basically uses only the java language. It works with other languages, but it is language-neutral. As a Java developer, your skills are more transferable. If your a Microsoft developer, your locked into their skills. Jackie On Monday, July 23, 2001 10:09 PM, Bert [SMTP:[EMAIL PROTECTED]] wrote: I know a lot of companies are using Java , Ejb , Oracle and Jsp but what are real the main benefits besides being cross platform than using Asp and Com,Com+ or Asp.net and C# . I know these are Microsoft only platform but what is the real advantage as to using Java in the real world? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Newbie question/Debate
One of the nice things I like is my ability to adjust and scale. In my current project I am just butting up against 2gbyte file limits on std 32bit intel linux. I know I can easily upgrade to a pay-for-unix, get huge files, and don't have to worry about my apps written in java/servlet/oracle. BenG. Bert wrote: I know a lot of companies are using Java , Ejb , Oracle and Jsp but what are real the main benefits besides being cross platform than using Asp and Com,Com+ or Asp.net and C# . I know these are Microsoft only platform but what is the real advantage as to using Java in the real world? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Servlet request object and multipart/form-data
Yes, the oreilly package is great. The only limitation we found is the upload size being checked with a Java int which limits the size of uploads to 2G... BenG. Moore, Jim wrote: check out oreilly's servlet package. it contains a good multipart request handler class: http://www.servlets.com/cos/index.html --jim -Original Message- From: Nathan Wheat [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 15, 2001 10:43 PM To: JRun-Talk Subject: Servlet request object and multipart/form-data Hi all, I'm reading values in from a form submission, and if the form is encoded with multipart/form-data, I can't seem to use the getParameter method to retrieve any values. Am I being stupid, or is this in fact true? What's the way to work with multipart forms?? TIA, Nathan Wheat Technical Sales Consultant Firmware Design Phone: 0401 148 989 Email: [EMAIL PROTECTED] http://www.firmware.com.au Are you a Web Developer or Designer? Looking for an edge? If so, check out Web Design 2001 Go to the link Below to find out more register http://wd2001.firmware.com.au/ft ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: JRun 3.1 Stability
Alpesh, we have most definately run into problems with jrun 3.1 configured with jdk 1.3.1 and Oracle 8.1.6 on radhat 6.2. SQL UPDATE statements don't work in the jrun:sql tag. I would like to report this to Allaire because I've narrowed this down quite well, but they want your credit card to report bugs - so they suggested I report it to this list. I have reported this issue 6/15: Has anyone else seen these issues when upgrading to 3.1? (1) 'update' statements fail to be parsed and run in the jsp:sql tag resulting in an out of memory message (2) the sql tag scripting method .resetCursor() vanished and must be replaced with .beforeFirst(), a java.sql.rowSet interface (3) the parser is much more sensitive to requiring scripting parameters be enclosed in double quotes, but that's probably a good thing. however, the line numbering info it returns is useless I haven't found a workaround to (1) so if anyone has please let me know. Thanks, BenG. Alpesh Shah wrote: Is anyone running JRun 3.1 in production, and have their been any stability issues, or issues with Oracle. Alpesh Shah Principal/Director of Technology Revolutionary Systems, LLC Phone 908.668.4700 Fax908.668.9045 E-Mail [EMAIL PROTECTED] Webhttp://www.revsystems.com Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
jrun 3.1 sql tag issues
Has anyone else seen these issues when upgrading to 3.1? (1) 'update' statements fail to be parsed and run in the jsp:sql tag resulting in an out of memory message (2) the sql tag scripting method .resetCursor() vanished and must be replaced with .beforeFirst(), a java.sql.rowSet interface (3) the parser is much more sensitive to requiring scripting parameters be enclosed in double quotes, but that's probably a good thing. however, the line numbering info it returns is useless I haven't found a workaround to (1) so if anyone has please let me know. Thanks, BenG. -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
bad magic number on NT crash
We seem to have a recurring problem with java servlet classes getting corrupted when NT gets shutdown ungracefully. A recompile always solves the problem, but that's a big hassle. I was wondering (1) does anyone else have this problem? a note is that our linux based servers don't see this and are using the same rev of JRun (3.01) and JDK(1.3). (2) can I mitigate this by turning off any sessions or other objects JRun is trying to recover? The log below is from jrun/logs/default-event.log. The errors occurs on a jsp (f_req_maint) that is forwarded to from a servlet (f_req_maint_Servlet). The jsp loads a bean, but it doesn't get that far. Thanks, BenG. -- 05/29 08:24:31 error (JRun) f_req_maint_Servlet.doGet [javax.servlet.ServletException: jrun__forms__f_req_maint2ejsp16 (Bad magic number)] [1]java.lang.ClassFormatError: jrun__forms__f_req_maint2ejsp16 (Bad magic number) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.lang.ClassLoader.defineClass(ClassLoader.java:426) at allaire.jrun.servlet.JSPClassLoader.loadClass(JSPClassLoader.java:82) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader.java:221) at allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader.java:190) at allaire.jrun.servlet.JRunServletLoader.loadServlet(JRunServletLoader.java:177) at allaire.jrun.servlet.JRunSE.getServletReference(JRunSE.java:1261) at allaire.jrun.jsp.JSPServlet.loadServlet(JSPServlet.java:241) at allaire.jrun.jsp.JSPServlet.loadPage(JSPServlet.java:181) at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:169) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013) at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925) at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88) at f_req_maint_Servlet.doGet(f_req_maint_Servlet.java:113) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013) at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925) at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131) at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330) at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:107) at allaire.jrun.ThreadPool.run(ThreadPool.java:272) at allaire.jrun.WorkerThread.run(WorkerThread.java:75) [0]javax.servlet.ServletException: jrun__forms__f_req_maint2ejsp16 (Bad magic number) at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:942) at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88) at f_req_maint_Servlet.doGet(f_req_maint_Servlet.java:113) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013) at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925) at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131) at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330) at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:107) at allaire.jrun.ThreadPool.run(ThreadPool.java:272) at allaire.jrun.WorkerThread.run(WorkerThread.java:75) -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
conversion of to lt;
Another conversion question - is there a class that can do these html safe conversions: lt; represents the sign amp; represents the sign quot; represents the mark etc. Thanks, BenG. -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: getRowCount()
htmlhead/headbodyfont face="Courier New, Courier, mono"yc, it's funny you ask because I just went thru the same.nbsp; The answer is in your std java doc 'jdbc getting started guide' under:/fontbr br font face="Courier New, Courier, mono"5.1.4Determining the Number of Rows in a Result Set/fontbr br BenG.br br a class="moz-txt-link-abbreviated" href="mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]/a wrote:br blockquote type="cite" cite="[EMAIL PROTECTED]">mid:[EMAIL PROTECTED]"pre wrap=""brbrAdditional Header Information:brReceived: from a class="moz-txt-link-abbreviated" href="http://www.houseoffusion.com"www.houseoffusion.com/a ([207.31.122.140]) by inside.pgi.com (LotusbrSMTP MTA v4.6.6 (890.1 7-16-1999)) with SMTP id 85256A1F.005B3AFA; Fri, 30 Marbr2001 11:36:28 -0500brReceived: from houseoffusion.com ([207.31.122.140])br by a class="moz-txt-link-abbreviated" href="http://www.houseoffusion.com"www.houseoffusion.com/a (Post.Office MTA v3.5.3brrelease 223br ID# 0-54969U100L100S0V35) with ESMTP id combr for a class="moz-txt-link-rfc2396E" href="mailto:[EMAIL PROTECTED]"lt;[EMAIL PROTECTED]gt;/a;br Fri, 30 Mar 2001 11:24:07 -0500brContent-type: text/plainbrContent-type: text/plainbrDate: Fri, 30 Mar 2001 11:15:18 -0500brFrom: Ed Apostol a class="moz-txt-link-rfc2396E" href="mailto:[EMAIL PROTECTED]"lt;[EMAIL PROTECTED]gt;/abrMessage-id:bra class="moz-txt-link-rfc2396E" href="[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]"lt;[EMAIL PROTECTED]gt;/abrSubject: correctionbrReply-To: a class="moz-txt-link-abbreviated" href="mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]/abrTo: JRun-Talk a class="moz-txt-link-rfc2396E" href="mailto:[EMAIL PROTECTED]"lt;[EMAIL PROTECTED]gt;/abrbrbr-brbrbrbrbrbrHi Eveyone,brDoes anyone knows how to get getRowCount() after I ran a query?brJRun tag, sql does support getRowCount(), If I don't use JRun's sql tag, how canbrI get the recordcount after i ran a query?brbrWhere can I find what else method does JRun sql tag support?brbrThank youbrbrYCbr ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
[Fwd: servlet debugging]
Please let me clarify. My issue is actually with a bean my .jsp's uses. The bean is not reloaded after I recompile it. Should it be? Thanks, BenG. Original Message Subject: servlet debugging Date: Fri, 29 Dec 2000 10:29:17 -0700 From: Ben Groeneveld [EMAIL PROTECTED] To: [EMAIL PROTECTED] What's a good way to have servlets auto-reloaded when recompiled? I looked though the manual and this was not obvious. When I change a .jsp jrun seems to detect that and reload, but servlets don't (I'm using the invoker servlet shortcut). What am I missing? Currently I restart the default jrun server to debug, but this is painfully slow. Thanks, BenG. -- Ben Groeneveld Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: JRun Studio and Windows 98
Jim, I have not seen a memory leak (though it may be there), but I have seen jrun studio extremely cpu intensive, to the point where even if I shut everything down but studio my cpu is still pegged. I've stopped using the product, which is unfortunate - because I liked it. Good thing for demos... BenG. Jim Gillaspy wrote: JRun Studio appears to have a terrible memory leak when running on Windows 98 or Windows ME. The system crashes after a few minutes of operation. Sometimes after giving messages like "Your system is extremely low on memory" -- Is anyone else having this problem? Any suggestions? Jim Gillaspy Director of Information Systems CMD Services, Inc. [EMAIL PROTECTED] 678-475-2030 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: servlet debugging
Scott, thanks for responding. At 01:14 AM 12/31/00 -0500, you wrote: As long as the servlet class files are not in the JVM's classpath, they should reload dynamically. Our servlets are located in jrun/servers/default/myapp/WEB-INF/classes, which is not in my CLASSPATH; I don't think they should be. The application is installed using makefiles, so we make use of the command line deploy and remove capabilities. We use makefiles because our app is developed collaboratively, geographically speaking, via cvs. We currently debug using the jrun event logging (jrun/logs) accessible from the servlet "context." Also, it depends where you're putting the newly compiled classes. In JRun 3.0 the /servlet/ mapping only works for the default-app, by default. Please give more details about which version of JRun you're using and what you application is set up like (where are you putting the servlet classes?). We're using jrun 3.01 on redhat 6.2 with jdk 1.3 and oracle on the back end. The config is standard I think, as described above. Any help is welcome. Restarting the server each run is slow. Thanks, BenG. You mentioned debugging in the subject. A problem with a debugger may be that the debugger JVM can't find the servlet classes unless they're in its classpath, which will prevent them from being dynamically reloaded while debugging. Scott Stirling -Original Message- From: Ben Groeneveld [mailto:[EMAIL PROTECTED]] What's a good way to have servlets auto-reloaded when recompiled? I looked though the manual and this was not obvious. When I change a .jsp jrun seems to detect that and reload, but servlets don't (I'm using the invoker servlet shortcut). What am I missing? Currently I restart the default jrun server to debug, but this is painfully slow. Thanks, BenG. ~ Paid Sponsorship ~ Get Your Own Dedicated Win2K Server! Instant Activation for $99/month w/Free Setup from SoloServer PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support Visit SoloServer, https://secure.irides.com/clientsetup.cfm. Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
servlet debugging
What's a good way to have servlets auto-reloaded when recompiled? I looked though the manual and this was not obvious. When I change a .jsp jrun seems to detect that and reload, but servlets don't (I'm using the invoker servlet shortcut). What am I missing? Currently I restart the default jrun server to debug, but this is painfully slow. Thanks, BenG. ~ Paid Sponsorship ~ Get Your Own Dedicated Win2K Server! Instant Activation for $99/month w/Free Setup from SoloServer PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support Visit SoloServer, https://secure.irides.com/clientsetup.cfm. Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
JSP hosting
Can someone recommend a JSP hosting service? JRun hosting preferred, but other containers may work too. In speaking with Allaire sales no hosting services could be recommended. Thanks, BenG. 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: JSP hosting
Scott, Evan gave me the referenced list below which lists primarily CF partners - not yet useful to me. I am still working with him to get a list of JRun hosting firms; he has not yet responded to my followup, which he normally has been very good about. I would agree with your statement; I have already received several responses with links to JSP hosting firms not on your list - perhaps because they are not "partners": cniweb.net (Tomcat), hostjsp.com, and www.senternet.com. Thanks, BenG. Ben, I have done some digging for you in regards to Jrun Hosting. I have included a link below where you can take a look at the different companies within the U.S. which host Jrun. http://www.allaire.com/Partners/Search/PartnerList.cfm Thank you, Evan Sylvester Allaire Corporation 275 Grove Street Newton, MA. 02466 [EMAIL PROTECTED] p: 617-219-5826 f: 617-219-2101 Scott Stirling wrote: Is it true that Allaire sales couldn't recommend anyone? That's pretty poor if true. Who'd you talk to? We really need to beef up our relationships with ISPs/ASPs if that's the case. One of the new initiatives announced at the recent Allaire Developer Conference was one where we would be seeking to develop relationships with ASPs. ISPs should be part of that. Scott Stirling Allaire Corporation http://www.allaire.com/developer/jrunreferencedesk/ > -Original Message----- > From: Ben Groeneveld [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 27, 2000 2:56 PM > To: JRun-Talk > Subject: JSP hosting > > > Can someone recommend a JSP hosting service? JRun hosting preferred, > but other containers may work too. In speaking with Allaire sales no > hosting services could be recommended. Thanks, BenG. 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