My short answer to you is, "Shit-can JRun." My team is developing a very complex web-based B2B/B2C/Maintenance application for VoiceStream Wireless. We are using Struts (now) 1.1b-1 (and the migration from 1.0.2 was very problematic!), Apache webserver on Unix, and Oracle 8i as the integration tier. We started out using JRun 3.1 and had so many problems with it (from huge memory leaks to configuration nightmares) that we have abandoned it and are migrating to Oracle9ias. Our preliminary exposure to 9ias has been very positive.
Mark -----Original Message----- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 8:51 PM To: Struts Users Mailing List Subject: At wits end, questions JRun, Oracle9ias Strutsters, I've been playing around with struts on my local machine here at work under Tomcat and everything is fine. In another local environment I've been using JRun for some applications and I'd like to get the sample app I was working under Tomcat to work under JRun. I'm not having any luck. I've been searching these archives and whatever I could find but I'm still stuck. Here's the deal. I have a really really watered down basic app in a directory called 'utilities' in the tomcat webapps folder. I now took this whole directory and copied it into the default path for where I have other JRun apps. ( I configured JRun to point to this new application and even configured the servlet mapping). If I try to go right to the page 'payrollChangeForm.jsp' I get an error that others have gotten (not necessarily with JRun): Exception thrown processing JSP page. javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:781) at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:481 ....{cut}... Now, I'm not sure what cause this error since the same files are working fine under Tomcat. Another thing messed up which might help some of you debug is I also have an index page with a simple link on it that calls the action : <action path="/payrollChanges" forward="/formsStruts/test.jsp"> </action> When this link is hit, I get a nice 500 Internal Error page with: null java.lang.NoSuchMethodError at org.apache.commons.digester.Digester.parse(Digester.java:859) at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1274) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:461) What else do I need to get this running successfully under JRun? The installation instructions with Struts mention the taglib issues but I don't think this is really related to that. Couple comments: JRun is pointing to the directory for this application on another network directory. This means my local classpath that points to some XML xerces stuff I have on my local classpath won't be valid so I put the following files in my applications lib directory xmlParserAPIs.jar and xercesImpl.jar. Somehow I think this is a parser issue or something because if I remove this file and then click on the link I'll get: org/xml/sax/helpers/DefaultHandler java.lang.NoClassDefFoundError: org/xml/sax/helpers/DefaultHandler at java.lang.ClassLoader.defineClass0(Native Method) I'm just guessing here but if the parsing isn't taking place correctly that might explain the first problem of when I try to go straight to the form.jsp page and get the "Cannot find ActionMappings or ActionFormBean collections' error, since maybe it can't parse the struts-config.xml? Any ideas what is wrong? I'm also concerned because I want to push for using struts here at work but I know they'll have issues if it's going to be hard to configure it to get it to work under Oracle9ias as well. Are struts apps easy to configure under Oracle9ias as well? I didn't think I'd have this problem with JRun so once I tackle that hurdle I hope tackling the next one won't be as bad. Thanks for any help. -- Rick mailto:[EMAIL PROTECTED] "One thing kids like is to be tricked. For instance, I was going to take my little nephew to Disneyland, but instead I drove him to an old burned-out warehouse. 'Oh, no,' I said. 'Disneyland burned down.' He cried and cried, but I think that deep down, he thought it was a pretty good joke. I started to drive over to the real Disneyland, but it was getting pretty late." -Jack Handey -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>