RE: Javac or jikesw with JDK 1.5?
I recently build a server during which I went from the base JRUN install, to Updater 5, running under JRE 1.5. It took me almost a day to finally figure out I needed to remove jikesw, as per that workaround, even though Updater pack 5 is supposed to be 1.5 compatible. ~ Jon -Original Message- From: Chris Boyce [mailto:[EMAIL PROTECTED] Sent: Monday, July 11, 2005 3:01 PM To: JRun-Talk Subject: Javac or jikesw with JDK 1.5? There was a bug (ID 55419) that is showing as resolved for Updater 5. It stated as a workaround, to remove jikesw from the bin directory and use javac instead. Should we continue to use javac under Updater 5 (and beyond)? I noticed - after a JRun restart - that javac was running on our server (running JDK 1.5, JRun Updater 5) and was using quite a lot of CPU time. Is this normal? thanks -- Chris Boyce www.berbee.com ~| Protect Your PC from viruses, hackers, spam and more. Buy PC-cillin with Easy Installation Support http://www.houseoffusion.com/banners/view.cfm?bannerid=61 Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5708 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.8 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Is JRun still relevant?
Also an interesting time to raise such a question Just as Adobe are aquiring MM. That, alongside JRUN's relative dormance for the past couple of years+. With many people moving to Tomcat, for the reasons already stated in this topic, you have to wonder how Adobe will treat JRUN. ~ Jon ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5649 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.8 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Is JRun still relevant?
The problem I see with the results is that there is nothing there which makes it stand out as a remarkable alternative to the free offering of Tomcat. My personal experience with JRUN has been that compared to tomcat, everything is a struggle.. Installation with Tomcat was a breeze, and with JRUN (Admittedly because we use it coupled with CFMX) we have 3 pages of handwritten notes from the macromedia support tech who was assigned to our case when the installers failed us.. and if we deviate even slightly from those instructions, we have to uninstall and start again.. Deploying a Hibernate/Spring MVC application under Tomcat, was as simple as copying the folder structure. Deploying under JRUN, required a custom compile of Proxool, due to a JRUN Quirk and plenty of trial and error to determine which Jar's go where.. When I move forward, given the choice, I'm not going to pay for JRUN, when I can get less hassle from Tomcat. I have yet to find anything that stands out enough about JRUN which would convince me that I would get value for money from JRUN. I think it will be interesting to see which way Adobe go with JRUN, and I think alot of people are wondering the same. ~ Jon -Original Message- From: Alex Hubner [mailto:[EMAIL PROTECTED] It's nice to take a look on this: http://www.webperformanceinc.com/library/ServletReport/ Jrun is a hell of a good J2EE server. No reason to drop it IMHO. []'s Alex 1 -Mensagem original- De: Jon Austin [mailto:[EMAIL PROTECTED] Also an interesting time to raise such a question Just as Adobe are aquiring MM. That, alongside JRUN's relative dormance for the past couple of years+. With many people moving to Tomcat, for the reasons already stated in this topic, you have to wonder how Adobe will treat JRUN. ~ Jon ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5651 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.8 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: JRun Migration From 3.1 to 4
I'm a big fan of the Eclipse IDE for java. It will also handle JSP pages nicely.. It's open source, so there's no cost involved, and it has some great refactoring tools..You can change a variable with Refactor, Rename and have it replace any references to it in the code. This would cut down on some of the work. ~ Jon -Original Message- From: Savantraj, Chennamakal Subramanian [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 01, 2005 1:29 AM To: JRun-Talk Subject: JRun Migration From 3.1 to 4 Hi Guys, We have few JSP Applications running on JRun 3.1. When we decided to migrate to JRun 4.0, the following issue is stopping us. 1. Getter and Setter Methods were not strictly following Java Standard in 3.1 Because of this our application have many codes as follows String myBankAccount=; public String getmyBankAccount(); public void setmyBankAccount(); JSP's set the request parameters using *. All this works fine in JRun 3.1 2. JRun 4 being strictly following J2EE standards we are forced to change the code to String myBankAccount=; public String getMyBankAccount(); public void setMyBankAccount(); This being a huge change to carry out manually, may I seek your experience to understand, is there any Utility that could perform this / JRun 4 have any property to set to ignore this Java Standard? Would appreciate your precious responses. With Best Regards Savant --- This email is confidential and intended only for the use of the individual or entity named above and may contain information that is privileged. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify us immediately by return email or telephone and destroy the original message. - This mail is sent via Sony Asia Pacific Mail Gateway. --- ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5631 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.8 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Machine Specs
I have an enterprise level app running on JRUN CFMX, with a proposed user load of 2,000 users, running on 4 load balanced pairs of web-server/CF boxes, with 4gb RAM, on dual 1.6ghz.. My question is, I now need to scale it down to approximately 50 users.. But I don't have specific enough data to spec out that number of users.. Does anyone have any hardware suggestions for a 50 user enterprise level application? I'd like to avoid clustering at that level, but then again, failover support might be nice.. ~ Jon WARNING: The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is addressed. This message may contain information that is privileged, confidential and exempt from disclosure under applicable law. It may also contain trade secrets and other proprietary information for which you and your employer may be held liable for disclosing. You are hereby notified that any unauthorized dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify [EMAIL PROTECTED] by E-Mail and then destroy this communication in a manner appropriate for privileged information. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5624 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.8 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Java Files
I seem to recall reading at one point of an option in JRUN, to retain the generated java files (Not just the classes). Does anyone know offhand what this would be, or if it exists? I could be confusing it with Tomcat. Thanks! ~ Jon ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5621 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.8 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Java Files
Thanks! ~ Jon -Original Message- From: Drew Falkman [mailto:[EMAIL PROTECTED] Sent: Friday, January 07, 2005 12:10 PM To: JRun-Talk Subject: RE: Java Files Yes, you can do this. http://livedocs.macromedia.com/jrun/4/Programmers_Guide/servletxml 5.htm#1135 319 Drew Falkman Team Macromedia - JRun -Original Message- From: Jon Austin [mailto:[EMAIL PROTECTED] Sent: Friday, January 07, 2005 9:01 AM To: JRun-Talk Subject: Java Files I seem to recall reading at one point of an option in JRUN, to retain the generated java files (Not just the classes). Does anyone know offhand what this would be, or if it exists? I could be confusing it with Tomcat. Thanks! ~ Jon ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5623 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.8 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Hibernate, Spring and Proxool..
I'm going to back up a little on this one.. it's not my implimentation, it's something odd happening behind the scenes.. I downloaded the proxool source, and got to debugging it, and it turns out, that a param on Proxool's connect method (type Properties) which is supposed to be null, actually had embedded=true set in it.. Presumably by JRUN. Given that the same code, is behaving fine in Tomcat, I can only assume that JRUN is adding this, to the properties object in the method call.. Any idea's on how to stop it? or why it see's fit to tinker with my method call params? ~ Jon -Original Message- From: Jon Austin [mailto:[EMAIL PROTECTED] Sent: Monday, November 01, 2004 2:44 PM To: JRun-Talk Subject: Hibernate, Spring and Proxool.. I have an app in Tomcat, which is running just fine using the combination of Spring, Hibernate, and Prxool. However I have now deployed it under JRUN4, Updater 4, and I have the following problem. I have up to and including Hibernate working fine. When configured to use internal pooling, Hibernate and Spring work just fine together, but Hibernates internal pool is very limited. Once Proxool gets in the mix however, things get shaken up. I am getting The URL is not defined properly when Proxool attempts to connect to Oracle. However the exact same URL works just fine in both Hibernate in JRUN, and Proxool in Tomcat. So the reality is, the URL is just fine.. Anyone have any experience merging these four beasts, and know of any pitfalls I may have stumbled into? TIA, ~ Jon ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5599 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.8 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Hibernate, Spring and Proxool..
I have an app in Tomcat, which is running just fine using the combination of Spring, Hibernate, and Prxool. However I have now deployed it under JRUN4, Updater 4, and I have the following problem. I have up to and including Hibernate working fine. When configured to use internal pooling, Hibernate and Spring work just fine together, but Hibernates internal pool is very limited. Once Proxool gets in the mix however, things get shaken up. I am getting The URL is not defined properly when Proxool attempts to connect to Oracle. However the exact same URL works just fine in both Hibernate in JRUN, and Proxool in Tomcat. So the reality is, the URL is just fine.. Anyone have any experience merging these four beasts, and know of any pitfalls I may have stumbled into? TIA, ~ Jon ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=36 Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5598 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.8 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Spring
Has anyone worked with the Spring Framework, under JRUN? I have a spring-based servlet, which I have developed under Tomcat, and I am trying to deploy under JRUN, however I get an error could not preload servlet: servletname Nothing useful, like a reason... An error... Just that message.. Anyone worked with this before? Thanks! ~ Jon [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Spring
Was there a simple resolution to this? -Original Message- Has anyone worked with the Spring Framework, under JRUN? I have a spring-based servlet, which I have developed under Tomcat, and I am trying to deploy under JRUN, however I get an error could not preload servlet: servletname Nothing useful, like a reason... An error... Just that message.. Anyone worked with this before? im now working with Spring+Acegi+Tapestry under jrun there was one problem (jrun specific, i think) - Acegi servlets tried to access to spring WebAppContext before it was loaded may be you have the same problem? -- Roman Krutyakov [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Insert into returning
We are having an issue with uniqueID generation, and needing to know the ID following the insert. We're hoping to go with Insert into X (a) A returning id to return the value of the ID column in tandem, to prevent a select max(id) from returning the wrong ID in a multi-user situation. We haven't been able to successfully perform this currently, and wondered if the JDBC driver updates in JRUN4 Updater 4, would provide for this functionality. Thanks! ~ Jon [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Spring
I managed to resolve this one, with a few extra JAR files in the right place.. I had issues with hibernate, so I was unable to roll out all my jar files as I usually did in TOMCAT, and I missed a couple of vital ones. Now if my URL handler would only fire =) Thanks! ~ Jon -Original Message- From: Jon Austin [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 11:36 AM To: JRun-Talk Subject: RE: Spring Was there a simple resolution to this? -Original Message- Has anyone worked with the Spring Framework, under JRUN? I have a spring-based servlet, which I have developed under Tomcat, and I am trying to deploy under JRUN, however I get an error could not preload servlet: servletname Nothing useful, like a reason... An error... Just that message.. Anyone worked with this before? im now working with Spring+Acegi+Tapestry under jrun there was one problem (jrun specific, i think) - Acegi servlets tried to access to spring WebAppContext before it was loaded may be you have the same problem? -- Roman Krutyakov [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Spring
Okay, now my servlet is running just fine.. I hit my IIS box, with my virtual URL http://localhost/servlet.htm . JRun receives no such hit, and IIS replies with a page not found. It doesn't seem to forward to my connector. I hit my JRUN internal web serverhttp://localhost:8101/servlet.htm I get a JRUN error..Requested resource not found. So even when JRUN does get the hit, it still doesn't map my virtual URL through web XML to my servlet XML, to my class.. I'm digging through my config files to try to find the extension mappings for what gets sent to JRUN, and trying to figure out why JRUN isn't translating my virtual URL.. Can anyone offer me a hint? Thanks! [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Jrun Updater 4?
It enters the Just because you can, doesn't necessarily mean you should quandary. -Original Message- From: Simon Horwith [mailto:[EMAIL PROTECTED] but, because they don't support it, it means you really shouldn't do it, doesn't it ;) don't worry Pete, I'm not going to claim to have never done stuff I'm not supposed to, just pointing out the harsh reality of the situation ;) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: JRun Naming Service listening on *:2910
Is there a timeframe and feature list for Updater 4 yet? ~ Jon -Original Message- From: Stephen Dupre [mailto:[EMAIL PROTECTED] We have a fix for this.Bug 50753.It should be in Updater 4. It's a one classfile fix. Stephen [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Date? What Date?
I know this may be a little less JRUN related, however it's seemingly the only un-common denominator, between two different instances, which are behaving differently. Basically I have a CFM, running inside an application, on a JRUN 4 application server, hitting an Oracle database. The CFM has a cfquery in it, which has one parameter. The query is running, and returning a row, which the criteria of the query should be eliminating. I have run this query in numerous places, from numerous clients, and cannot replicate the behavior experienced on the cold-fusion server. To add an element to this, I have a local JRUN 4 server, same patch-level, which runs correctly, and does not return the additional row. The portion of the query i have narrowed it down to, is the line or somedate = '26-Jun-2004' (The record's date is Jan 1st 2001).. I've checked server settings, date formats, etc etc..and have come up blank..Both my local server, and the App server should be running the same versions of pretty much everything, yet the debug output, shows exactly the same query.. on exactly the same database, returning a recordcount=1 on my local server, and 2 on the application server. Has anyone run into this? ~ Jon [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Date? What Date?
- Original Message - From: Dave Watts [EMAIL PROTECTED] I suspect you'd have better luck with this sort of question on the CF-Talk list, actually. Thanks, I'll have to try it there.. You might have better luck if you use the to_date function with dates in Oracle: I have done that to resolve the problem already, however I'm curious as to why this is happening, incase it's a problem elsewhere in our app, where the results are not quite so obvious [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re[3]: JRUN Stability
I was finally able to get some load-testing today, and it looks like that ActiveHandlerThreads setting will probably do some good. I ran tests against two different DB's, one with a larger data-load, and one with a smaller load. The smaller data load, we never experienced any problems, and we never went above 7 active threads, with 22 concurrent users. With the larger data load, we experienced vast slow-down on the server, and the active threads were much higher. We brushed on 25 a couple of times, but it recovered enough to continue.. We then focused everyone on a specific area that had been causing problems before. Within seconds we managed to max it out, and cause the server to grind to a halt. java.lang.RuntimeException: Request timed out waiting for an available thread to run. You may want to consider increasing the number of active threads in the thread pool. at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:125) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:448 ) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:29 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Started flashing over the console running JRUN, and the metrics were showing a 25/39 threadcount w/18 sessions. The users at this point were either frozen, or getting JRUN errors. I left it, dying, and watched the threadcount, and it did slowly drop, and then Zero out. The console however, then littered itself with : 04/19 11:22:50 error java.lang.OutOfMemoryError I've attached the full thread dump, from the time when the users started to get the JRUN errors. Interestingly this time, while the CPU did max out, the memory usage on the box wasn't that high. TIA, ~ Jon [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Re[2]: JRUN Stability- reply
When running from the command line, I get the following two errors appear when I first run it, The strange thing is, that the 51003 port is not active prior to starting JRUN, and when I do run this command, it does activate it. ~ Jon 04/14 14:50:01 error Exception thrown in operation start [1]java.net.BindException: Port in use by another service or process: 51003 at jrun.servlet.network.NetworkService.bindToSocket(NetworkService.java:341) at jrun.servlet.network.NetworkService.start(NetworkService.java:202) at jrun.servlet.jrpp.JRunProxyService.start(JRunProxyService.java:77) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705) at jrunx.kernel.JRunServiceDeployer.invokeOnServices(JRunServiceDeployer.java:4 60) at jrunx.kernel.JRunServiceDeployer.startServices(JRunServiceDeployer.java:312) at jrunx.kernel.JRunServiceDeployer.startLifecycle(JRunServiceDeployer.java:260 ) at jrunx.kernel.JRunServiceDeployer.deployServices(JRunServiceDeployer.java:87) at jrunx.kernel.DeploymentService.loadServices(DeploymentService.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at jrunx.kernel.JRun.startServer(JRun.java:558) at jrunx.kernel.JRun.init(JRun.java:476) at jrunx.kernel.JRun$1.run(JRun.java:329) at java.security.AccessController.doPrivileged(Native Method) at jrunx.kernel.JRun.start(JRun.java:326) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at jrunx.kernel.JRun.invoke(JRun.java:180) at jrunx.kernel.JRun.main(JRun.java:168) [0]javax.management.MBeanException: Exception thrown in operation start at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1644) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705) at jrunx.kernel.JRunServiceDeployer.invokeOnServices(JRunServiceDeployer.java:4 60) at jrunx.kernel.JRunServiceDeployer.startServices(JRunServiceDeployer.java:312) at jrunx.kernel.JRunServiceDeployer.startLifecycle(JRunServiceDeployer.java:260 ) at jrunx.kernel.JRunServiceDeployer.deployServices(JRunServiceDeployer.java:87) at jrunx.kernel.DeploymentService.loadServices(DeploymentService.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at jrunx.kernel.JRun.startServer(JRun.java:558) at jrunx.kernel.JRun.init(JRun.java:476) at jrunx.kernel.JRun$1.run(JRun.java:329) at java.security.AccessController.doPrivileged(Native Method) at jrunx.kernel.JRun.start(JRun.java:326) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at jrunx.kernel.JRun.invoke(JRun.java:180) at jrunx.kernel.JRun.main(JRun.java:168) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Re[2]: JRUN Stability- reply
As is always the case, my timeframe for load-testing the server was diverted in favor of rising priorities, and so I have yet to get this going properly. I have had the metrics running overnight, but I'm still getting Zero for Zero, with Zero sessions.There are generally 3-5 people on most of the day, so I'm at a loss as to why no metrics are showing..And the other question, is if the box is really doing nothing, why does it crash? ;-) I've restarted the JRUN service from the command line, and I'm logging to out.txt, but it appears only STDOUT is going there, STDERR appears to be echoing on the console, so where will I need to capture the stack trace, when needed? Thanks, ~ Jon -Original Message- 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 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Re[2]: JRUN Stability
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: Re[2]: JRUN Stability- reply
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[2]: JRUN Stability
Hi Drew, thanks for the quick response. DF I would be willing to bet that your issue is not in the APPLICATION SERVER, DF but in the code. This is simply not normal behavior for ColdFusion/JRun or DF it would not be used as widely as it is. That's somewhat of a surprising comment, Macromedia's forums were littered with reports of just how unstable CFMX for J2EE on JRUN4 is. >From that forum I was given the impression that such behavior IS quote common. It's definately interesting, and gives some glimmer of hope, to hear another side. Scouring the various forums available last night, I actually got the impression that it Isn't that widely used, exactly for that reason, that it isn't very stable. There also appeared to be a distinct lack of willing, or ability (not sure which) to help on Macromedia's part. DF First: are you using ColdFusion? or just JRun? I'm running CFMX for J2EE. The reason for that decision, to my knowledge, was simply to allow for distributed processing across clustered servers. I am coming in on the tail end of this project, so I don't know the full reasons for the design decisions made.All I do know, is that right now, I have a problem with the JRUN service on the server spiking, crashing, and requiring me to manually reset it. DF Second: What is your Web Server? We're using IIS on a separate box, using the JRUN connector. DF Third: depending on whether you are using ColdFusion or JRun, you will want DF to use the appropriate debugging tools to see what is going on. If you are DF using both, I would debug first one, then the other. I'm looking into debugging JRUN, the CFMX code is at least stable enough to support 2/3 users... so It's leaning toward JRUN simply not being man enough for the job. Especially in the face of examples such as : http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=69threadid=806965 http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=69threadid=799421 And it's the JRUN connector which ultimately errors. DF Hope this helps. DF -Drew Falkman Thanks for the suggestions.. ~ Jon DF-Original Message- DFFrom: Jon Austin [mailto:[EMAIL PROTECTED] DFSent: Thursday, April 08, 2004 8:19 PM DFTo: JRun-Talk DFSubject: JRUN Stability DFI'm having an issue on a CFMX / JRUN server, when we get around 14 DFsimultaneous users, running an average sized lookup, our CPU spikes, DFour memory dives, and JRUN bites the dust. DFI've tried this on a single processor, 512mb machine, and it survived DFthe load for approx 10-15 minutes. DFI switched to another server with 2 CPU's, and 1gb of ram, and it died DFin 5 minutes..That server did have two CFMX JRUN server instances on DFit however. Only one was in active use though, the other was DFrunning, but with no connections. DFBoth machines were tested multiple times, and the same behavior DFcontinued. DFDoes anyone have any tuning suggestions, or alternative's like porting DFour app to run off JBOSS? DFTIA, DF~ Jon [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: JRUN Stability
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: JRUN Stability
Well it's nice to know that it does work for someone.. While I do believe you, unfortunately we run a similar setup, and it's not even reliable with 15 concurrent users. Hopefully I can get this resolved before the customer gets loose on it. Thanks, ~ Jon -Original Message- From: Ben Groeneveld [mailto:[EMAIL PROTECTED] We run JRun4 with CFMX on win2k in a cluster supporting 1000s of concurrent users and it's quite reliable, believe me.Thanks, BenG. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
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]