Re: Struts with Tomcat and Apache
Am Samstag, 10. April 2004 00:04 schrieb QM: On Fri, Apr 09, 2004 at 11:38:38PM +0200, Ralf Schneider wrote: : I want to use Struts 1.1 with Tomcat 5.0.16 and Apache 2.0.48. The Struts : documentation only talks about Tomcat 3.x. Setting up Apache+Tomcat and Tomcat+Struts are two separate processes that don't necessarily have to be done at the same time: Hi, I just tried to follow the Struts docs explaining how to use it with Tomcat and Apache, but with older versions. I use Tomcat 5.0.16 with Apache 2.0.48. * If you're new to Tomcat, you'd do well to start with a basic Tomcat+Struts approach first, then add Apache later on. * If you want only to experiment with Struts from a development point of view, leave Apache out of the picture altogether. No, I'm not new to Tomcat. I've some experiences with it together with Apache2. My job is to move a project using these two players towards Struts. So, one requirement is that the basic infrastructure remains as it is. As someone else mentioned, the struts-blank app is just a standard webapp. The Tomcat docs describe the process of deploying a webapp. http://jakarta.apache.org/tomcat I know. And as John suggested, I also read a book (in german) about Struts, but it only explains how to use it with Tomcat without Apache. Best regards, Ralf. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts with Tomcat and Apache
On Sat, Apr 10, 2004 at 12:24:11PM +0200, Ralf Schneider wrote: : No, I'm not new to Tomcat. I've some experiences with it together with : Apache2. My job is to move a project using these two players towards Struts. : So, one requirement is that the basic infrastructure remains as it is. Understood. My idea to start with just Tomcat was to help you get the Tomcat+Struts up and running before putting Apache in the picture. It wasn't a suggestion to go to production w/o Apache, if the app needs it. : I know. And as John suggested, I also read a book (in german) about Struts, : but it only explains how to use it with Tomcat without Apache. I suppose, then, I don't understand your question. What sort of specific problems have you run into? Admittedly, it's been a while since I've done a struts setup from scratch, but I don't recall anything special about putting Apache in front. -that is, nothing special beyond what you'd do for putting Apache in front of any webapp (i.e. mod_jk or jk2 configuration). Assuming you have all of the prerequisite JAR files -- and I think there's a version of struts-blank.war that includes them -- then you just drop the WAR file into Tomcat's webapps/ dir and it runs. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Autoreply: Re: Struts with Tomcat and Apache
Hello, Due to the increased volume of SPAM this mailbox has been closed. Please contact us via http://www.directxtras.com/ContactUS.asp We apology for the inconvenience. Best Regards, -- The DirectXtras Team - DirectXtras - Xtra Power for Director and Authorware - http://www.directxtras.com Sites with something to say - http://www.SpeaksForItself.com - Your message reads: Received: from mail.apache.org (unverified [208.185.179.12]) by mail2.intermedia.net (Rockliffe SMTPRA 4.5.6) with SMTP id [EMAIL PROTECTED] for [EMAIL PROTECTED]; Sat, 10 Apr 2004 06:57:11 -0700 Received: (qmail 29544 invoked by uid 500); 10 Apr 2004 13:56:43 - Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk List-Unsubscribe: mailto:[EMAIL PROTECTED] List-Subscribe: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED] List-Post: mailto:[EMAIL PROTECTED] List-Id: Tomcat Users List tomcat-user.jakarta.apache.org Reply-To: Tomcat Users List [EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] Received: (qmail 29442 invoked from network); 10 Apr 2004 13:56:43 - Received: from unknown (HELO smarty.dreamhost.com) (66.33.216.24) by daedalus.apache.org with SMTP; 10 Apr 2004 13:56:43 - Received: from strange.dreamhost.com (strange.dreamhost.com [66.33.193.57]) by smarty.dreamhost.com (Postfix) with ESMTP id 5C1BF13F638; Sat, 10 Apr 2004 06:56:44 -0700 (PDT) Received: by strange.dreamhost.com (Postfix, from userid 7734) id 5EA106AA14; Sat, 10 Apr 2004 06:56:44 -0700 (PDT) Date: Sat, 10 Apr 2004 08:56:44 -0500 From: QM [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Struts with Tomcat and Apache Message-ID: [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: [EMAIL PROTECTED] User-Agent: Mutt/1.3.28i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Sat, Apr 10, 2004 at 12:24:11PM +0200, Ralf Schneider wrote: : No, I'm not new to Tomcat. I've some experiences with it together with : Apache2. My job is to move a project using these two players towards Struts. : So, one requirement is that the basic infrastructure remains as it is. Understood. My idea to start with just Tomcat was to help you get the Tomcat+Struts up and running before putting Apache in the picture. It wasn't a suggestion to go to production w/o Apache, if the app needs it. : I know. And as John suggested, I also read a book (in german) about Struts, : but it only explains how to use it with Tomcat without Apache. I suppose, then, I don't understand your question. What sort of specific problems have you run into? Admittedly, it's been a while since I've done a struts setup from scratch, but I don't recall anything special about putting Apache in front. -that is, nothing special beyond what you'd do for putting Apache in front of any webapp (i.e. mod_jk or jk2 configuration). Assuming you have all of the prerequisite JAR files -- and I think there's a version of struts-blank.war that includes them -- then you just drop the WAR file into Tomcat's webapps/ dir and it runs. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts with Tomcat and Apache
Am Samstag, 10. April 2004 15:56 schrieb QM: : I know. And as John suggested, I also read a book (in german) about : Struts, but it only explains how to use it with Tomcat without Apache. I suppose, then, I don't understand your question. What sort of specific problems have you run into? OK, the problem was (yes, I solved right now!) that the Struts docs explain the connection between Tomcat and Apache for quite old versions (Tomcat 3.2.1) with mod_jk. But I actually use Tomcat 5.0.16 with Apache 2.0.48 with mod_jk2. But fortunately, the setup with mod_jk2 seems to be a bit easier than with mod_jk, so all I had to do was to add some section in the workers2.properties file in the conf directory of Apache like this: [uri:/struts-blank/*] worker=ajp13:localhost:8009 Now, I can call the example apps with an URL like http://localhost/struts_blank (without supplying port 8080). Assuming you have all of the prerequisite JAR files -- and I think there's a version of struts-blank.war that includes them -- then you just drop the WAR file into Tomcat's webapps/ dir and it runs. Unfortunately not! I did drop the example apps into the webapps directory of my Tomcat installation, but when I call the struts-blank example I get the following error: exception javax.servlet.ServletException: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256) javax.servlet.http.HttpServlet.service(HttpServlet.java:853) root cause java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:572) org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:432) org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:290) org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:204) org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:458) org.apache.jasper.compiler.Parser.parseDirective(Parser.java:523) org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577) org.apache.jasper.compiler.Parser.parse(Parser.java:171) org.apache.jasper.compiler.ParserController.parse(ParserController.java:247) org.apache.jasper.compiler.ParserController.parse(ParserController.java:149) org.apache.jasper.compiler.ParserController.parse(ParserController.java:135) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237) org.apache.jasper.compiler.Compiler.compile(Compiler.java:456) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) javax.servlet.http.HttpServlet.service(HttpServlet.java:853) Did I miss anything? Do I have to install anything else for being able to try the example apps? Best regards, Ralf. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts with Tomcat and Apache
On Sat, Apr 10, 2004 at 05:19:18PM +0200, Ralf Schneider wrote: : javax.servlet.ServletException: : javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V : org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256) : javax.servlet.http.HttpServlet.service(HttpServlet.java:853) : : root cause : : java.lang.NoSuchMethodError: : javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V For grins and giggles, I dropped struts-blank.war into a test Tomcat5 deployment. It worked without a problem. - what JDK are you using? 1.3 or 1.4? - did you see the list of prerequisite software on the Struts page? After that, it's time to hunt for rogue jars... -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Autoreply: Re: Struts with Tomcat and Apache
Hello, Due to the increased volume of SPAM this mailbox has been closed. Please contact us via http://www.directxtras.com/ContactUS.asp We apology for the inconvenience. Best Regards, -- The DirectXtras Team - DirectXtras - Xtra Power for Director and Authorware - http://www.directxtras.com Sites with something to say - http://www.SpeaksForItself.com - Your message reads: Received: from mail.apache.org (unverified [208.185.179.12]) by mail2.intermedia.net (Rockliffe SMTPRA 4.5.6) with SMTP id [EMAIL PROTECTED] for [EMAIL PROTECTED]; Sat, 10 Apr 2004 09:45:28 -0700 Received: (qmail 31161 invoked by uid 500); 10 Apr 2004 16:45:10 - Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk List-Unsubscribe: mailto:[EMAIL PROTECTED] List-Subscribe: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED] List-Post: mailto:[EMAIL PROTECTED] List-Id: Tomcat Users List tomcat-user.jakarta.apache.org Reply-To: Tomcat Users List [EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] Received: (qmail 31146 invoked from network); 10 Apr 2004 16:45:10 - Received: from unknown (HELO smarty.dreamhost.com) (66.33.216.24) by daedalus.apache.org with SMTP; 10 Apr 2004 16:45:10 - Received: from strange.dreamhost.com (strange.dreamhost.com [66.33.193.57]) by smarty.dreamhost.com (Postfix) with ESMTP id 5BAC913F634; Sat, 10 Apr 2004 09:45:13 -0700 (PDT) Received: by strange.dreamhost.com (Postfix, from userid 7734) id 697196AA14; Sat, 10 Apr 2004 09:45:13 -0700 (PDT) Date: Sat, 10 Apr 2004 11:45:13 -0500 From: QM [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Struts with Tomcat and Apache Message-ID: [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: [EMAIL PROTECTED] User-Agent: Mutt/1.3.28i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Sat, Apr 10, 2004 at 05:19:18PM +0200, Ralf Schneider wrote: : javax.servlet.ServletException: : javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V : org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256) : javax.servlet.http.HttpServlet.service(HttpServlet.java:853) : : root cause : : java.lang.NoSuchMethodError: : javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V For grins and giggles, I dropped struts-blank.war into a test Tomcat5 deployment. It worked without a problem. - what JDK are you using? 1.3 or 1.4? - did you see the list of prerequisite software on the Struts page? After that, it's time to hunt for rogue jars... -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts with Tomcat and Apache
Am Samstag, 10. April 2004 18:45 schrieb QM: On Sat, Apr 10, 2004 at 05:19:18PM +0200, Ralf Schneider wrote: : javax.servlet.ServletException: : javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/ :String;ZZ)V : org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256) : javax.servlet.http.HttpServlet.service(HttpServlet.java:853) : : root cause : : java.lang.NoSuchMethodError: : javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/ :String;ZZ)V For grins and giggles, I dropped struts-blank.war into a test Tomcat5 deployment. It worked without a problem. - what JDK are you using? 1.3 or 1.4? - did you see the list of prerequisite software on the Struts page? After that, it's time to hunt for rogue jars... OK, I solved the problem. I had one JAR too much in common/lib: servlet.jar. Thanks for your suggestions, Ralf. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts with Tomcat and Apache
Ralf, I'm not familiar with the document you refer to but Struts is essentially a library of functions and JSP tags that are part of your servlet. Neither the Tomcat nor Apache configurations are really affected by Struts. The documents at http://jakarta.apache.org/struts/ talk about how to put the libraries in the right places. If you haven't used Struts before, I'd suggest the bookstore. There are a couple of decent books on it. Sorry, but I don't have either of mine with me right now. It definitely was not straight forward but made easier with lots of examples. John -Original Message- From: Ralf Schneider [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 4:39 PM To: 'Tomcat Users List' Subject: Struts with Tomcat and Apache -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I want to use Struts 1.1 with Tomcat 5.0.16 and Apache 2.0.48. The Struts documentation only talks about Tomcat 3.x. My first try was to follow the instructions for Tomcat 3.2.1. I copied the war files included with the binary distribution into the webapps directory of my Tomcat installation. Then I restarted Tomcat, but the file tomcat-apache.conf is not generate as described in the docs. So, I assume the installation works a bit different with these newer versions, but how? I that described anywhere? And if yes, where? Any hint would be apreciated, Ralf. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAdxfe7YyyfykA0YkRAmb9AJ48UdZw2EZ6mDqJlEa6Jwwu8LwslgCfY02w ZkhLHZdDKMiqy3HoijINtCQ= =hJ/+ -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts with Tomcat and Apache
Hey John, When you get home, would you mind posting the names of the books? Thanks, Dave -Original Message- From: John Thompson [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 2:55 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: Struts with Tomcat and Apache Ralf, I'm not familiar with the document you refer to but Struts is essentially a library of functions and JSP tags that are part of your servlet. Neither the Tomcat nor Apache configurations are really affected by Struts. The documents at http://jakarta.apache.org/struts/ talk about how to put the libraries in the right places. If you haven't used Struts before, I'd suggest the bookstore. There are a couple of decent books on it. Sorry, but I don't have either of mine with me right now. It definitely was not straight forward but made easier with lots of examples. John -Original Message- From: Ralf Schneider [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 4:39 PM To: 'Tomcat Users List' Subject: Struts with Tomcat and Apache -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I want to use Struts 1.1 with Tomcat 5.0.16 and Apache 2.0.48. The Struts documentation only talks about Tomcat 3.x. My first try was to follow the instructions for Tomcat 3.2.1. I copied the war files included with the binary distribution into the webapps directory of my Tomcat installation. Then I restarted Tomcat, but the file tomcat-apache.conf is not generate as described in the docs. So, I assume the installation works a bit different with these newer versions, but how? I that described anywhere? And if yes, where? Any hint would be apreciated, Ralf. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAdxfe7YyyfykA0YkRAmb9AJ48UdZw2EZ6mDqJlEa6Jwwu8LwslgCfY02w ZkhLHZdDKMiqy3HoijINtCQ= =hJ/+ -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts with Tomcat and Apache
You bet. One is at home and the other at the office. I'll post as soon as I can. -Original Message- From: David Short [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 5:02 PM To: 'Tomcat Users List' Subject: RE: Struts with Tomcat and Apache Hey John, When you get home, would you mind posting the names of the books? Thanks, Dave -Original Message- From: John Thompson [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 2:55 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: Struts with Tomcat and Apache Ralf, I'm not familiar with the document you refer to but Struts is essentially a library of functions and JSP tags that are part of your servlet. Neither the Tomcat nor Apache configurations are really affected by Struts. The documents at http://jakarta.apache.org/struts/ talk about how to put the libraries in the right places. If you haven't used Struts before, I'd suggest the bookstore. There are a couple of decent books on it. Sorry, but I don't have either of mine with me right now. It definitely was not straight forward but made easier with lots of examples. John -Original Message- From: Ralf Schneider [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 4:39 PM To: 'Tomcat Users List' Subject: Struts with Tomcat and Apache -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I want to use Struts 1.1 with Tomcat 5.0.16 and Apache 2.0.48. The Struts documentation only talks about Tomcat 3.x. My first try was to follow the instructions for Tomcat 3.2.1. I copied the war files included with the binary distribution into the webapps directory of my Tomcat installation. Then I restarted Tomcat, but the file tomcat-apache.conf is not generate as described in the docs. So, I assume the installation works a bit different with these newer versions, but how? I that described anywhere? And if yes, where? Any hint would be apreciated, Ralf. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAdxfe7YyyfykA0YkRAmb9AJ48UdZw2EZ6mDqJlEa6Jwwu8LwslgCfY02w ZkhLHZdDKMiqy3HoijINtCQ= =hJ/+ -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts with Tomcat and Apache
On Fri, Apr 09, 2004 at 11:38:38PM +0200, Ralf Schneider wrote: : I want to use Struts 1.1 with Tomcat 5.0.16 and Apache 2.0.48. The Struts : documentation only talks about Tomcat 3.x. Setting up Apache+Tomcat and Tomcat+Struts are two separate processes that don't necessarily have to be done at the same time: * If you're new to Tomcat, you'd do well to start with a basic Tomcat+Struts approach first, then add Apache later on. * If you want only to experiment with Struts from a development point of view, leave Apache out of the picture altogether. As someone else mentioned, the struts-blank app is just a standard webapp. The Tomcat docs describe the process of deploying a webapp. http://jakarta.apache.org/tomcat -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts with Tomcat and Apache
Would also mind stating which one you recommend the most? -Original Message- From: John Thompson [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 3:03 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: Struts with Tomcat and Apache You bet. One is at home and the other at the office. I'll post as soon as I can. -Original Message- From: David Short [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 5:02 PM To: 'Tomcat Users List' Subject: RE: Struts with Tomcat and Apache Hey John, When you get home, would you mind posting the names of the books? Thanks, Dave -Original Message- From: John Thompson [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 2:55 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: Struts with Tomcat and Apache Ralf, I'm not familiar with the document you refer to but Struts is essentially a library of functions and JSP tags that are part of your servlet. Neither the Tomcat nor Apache configurations are really affected by Struts. The documents at http://jakarta.apache.org/struts/ talk about how to put the libraries in the right places. If you haven't used Struts before, I'd suggest the bookstore. There are a couple of decent books on it. Sorry, but I don't have either of mine with me right now. It definitely was not straight forward but made easier with lots of examples. John -Original Message- From: Ralf Schneider [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 4:39 PM To: 'Tomcat Users List' Subject: Struts with Tomcat and Apache -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I want to use Struts 1.1 with Tomcat 5.0.16 and Apache 2.0.48. The Struts documentation only talks about Tomcat 3.x. My first try was to follow the instructions for Tomcat 3.2.1. I copied the war files included with the binary distribution into the webapps directory of my Tomcat installation. Then I restarted Tomcat, but the file tomcat-apache.conf is not generate as described in the docs. So, I assume the installation works a bit different with these newer versions, but how? I that described anywhere? And if yes, where? Any hint would be apreciated, Ralf. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAdxfe7YyyfykA0YkRAmb9AJ48UdZw2EZ6mDqJlEa6Jwwu8LwslgCfY02w ZkhLHZdDKMiqy3HoijINtCQ= =hJ/+ -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts with Tomcat and Apache
On Fri, Apr 09, 2004 at 03:01:30PM -0700, David Short wrote: : Hey John, : : When you get home, would you mind posting the names of the books? I'm not John, but I'll play him on TV. ;) Seriously: Struts in Action (Husted et al, Manning Press) has been my guide. It's a little heavy on the theory at times, but I find that much more useful than the quick-hit books that leave you stranded the minute you want to do something advanced. This text covers Tiles, I18N, declarative exception handling, and several other topics that other books (at the time, at least) either glossed over or omitted entirely. Don't be fooled by its age: it's technically written for Struts 1.0 (with a chapter or two on 1.1), but much of the book is Overall Struts Concepts which makes it largely version-independent. Just be careful of which printing you get: the first printing was rife with typos. For a while I had two bookmarks: one, for the page I was reading; the other, for the page I'd made corrections based on the publisher's errata site... ;) If you're interested, there was also a recent thread on the struts-user list of this same topic. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts with Tomcat and Apache
Thanks! -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 3:15 PM To: Tomcat Users List Subject: Re: Struts with Tomcat and Apache On Fri, Apr 09, 2004 at 03:01:30PM -0700, David Short wrote: : Hey John, : : When you get home, would you mind posting the names of the books? I'm not John, but I'll play him on TV. ;) Seriously: Struts in Action (Husted et al, Manning Press) has been my guide. It's a little heavy on the theory at times, but I find that much more useful than the quick-hit books that leave you stranded the minute you want to do something advanced. This text covers Tiles, I18N, declarative exception handling, and several other topics that other books (at the time, at least) either glossed over or omitted entirely. Don't be fooled by its age: it's technically written for Struts 1.0 (with a chapter or two on 1.1), but much of the book is Overall Struts Concepts which makes it largely version-independent. Just be careful of which printing you get: the first printing was rife with typos. For a while I had two bookmarks: one, for the page I was reading; the other, for the page I'd made corrections based on the publisher's errata site... ;) If you're interested, there was also a recent thread on the struts-user list of this same topic. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts 1.1 +Tomcat 4.0.4 -- RequestProcessor - Exception
Hi, You might have more luck with this in the struts-user mailing list. Are you using a custom request processor? If so did you extend org.apache.struts.action.RequestProcessor or org.apache.struts.tiles.TilesRequestProcessor? Adrian - Original Message - From: Namasivayam, Sudhakar (Cognizant) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 12:27 AM Subject: Struts 1.1 +Tomcat 4.0.4 -- RequestProcessor - Exception Hi all, This error happens only in Tomcat 4.0 and not Tomcat 5.0.19 in Linux 7.0. Am i missing any library files? I have put the latest library files. I did find similar mail in the struts archives but no response to that... Or is this the problem with my manager webapp? I do not get Class cast exception message when i stop and start the webapp. Only when a action is invoked this exception occurs!! Both the times( stop-start and action.do ) it is trying to get the same RequestProcessor object but the second time it throws an error. If i insert a try catch block in the ActionServlet class,it works fine... Can any one explain me why this exception occurs? I did verify that getServletContext().getAttribute(key); in ActionServlet.java:855 returns a RequestProcessor object. Pls find the log and my server.xml at the end of the mail. Thanks in advance, Sudhakar 2004-03-22 15:18:09 Manager: start: Starting web application at '/sfpsr2' 2004-03-22 15:18:09 StandardHost[localhost]: standardHost.start /sfpsr2 2004-03-22 15:18:09 StandardContext[/sfpsr2]: Configuring ProxyDirContext [EMAIL PROTECTED] 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploying class repositories to work directory /usr/local/tomcat4.0.4/work/Agent8050/localhost/sfpsr2 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/activation.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/activation.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/classes12.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/classes12.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/commons-beanutils.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-beanutils.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/commons-collections.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-collections.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/commons-dbcp-1.1.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-dbcp-1.1.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/commons-digester.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-digester.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/commons-fileupload.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-fileupload.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/commons-lang.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-lang.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/commons-logging.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-logging.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/commons-logging1.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-logging1.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/commons-validator.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-validator.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/jakarta-oro.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/jakarta-oro.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/log4j-1.2.8.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/log4j-1.2.8.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/mail.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/mail.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/servlet.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/servlet.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/struts.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/struts.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/struts2.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/struts2.jar 2004-03-22 15:18:09 StandardManager[/sfpsr2]: Seeding random number generator class java.security.SecureRandom 2004-03-22 15:18:09 StandardManager[/sfpsr2]: Seeding of random number generator has been completed 2004-03-22 15:18:10 ContextConfig[/sfpsr2]: Added certificates - request attribute Valve 2004-03-22 15:18:10 Initializing application variables 2004-03-22 15:18:11 StandardWrapper[/sfpsr2:default]: Loading container servlet default 2004-03-22 15:18:11 default: init 2004-03-22 15:18:11 jsp: init 2004-03-22 15:18:12 StandardWrapper[/sfpsr2:ssi]: Loading container servlet ssi 2004-03-22 15:18:12 ssi:
RE: Struts 1.1 +Tomcat 4.0.4 -- RequestProcessor - Exception
Hi, No luck in that mailing list :( May be i thought this might have to do some thing with tomcat... I am using the default RequestPrcessor only. I m using the default package of struts! Thanks, sudhakar -Original Message- From: Adrian Lanning [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 7:40 PM To: Tomcat Users List Subject: Re: Struts 1.1 +Tomcat 4.0.4 -- RequestProcessor - Exception Hi, You might have more luck with this in the struts-user mailing list. Are you using a custom request processor? If so did you extend org.apache.struts.action.RequestProcessor or org.apache.struts.tiles.TilesRequestProcessor? Adrian - Original Message - From: Namasivayam, Sudhakar (Cognizant) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 12:27 AM Subject: Struts 1.1 +Tomcat 4.0.4 -- RequestProcessor - Exception Hi all, This error happens only in Tomcat 4.0 and not Tomcat 5.0.19 in Linux 7.0. Am i missing any library files? I have put the latest library files. I did find similar mail in the struts archives but no response to that... Or is this the problem with my manager webapp? I do not get Class cast exception message when i stop and start the webapp. Only when a action is invoked this exception occurs!! Both the times( stop-start and action.do ) it is trying to get the same RequestProcessor object but the second time it throws an error. If i insert a try catch block in the ActionServlet class,it works fine... Can any one explain me why this exception occurs? I did verify that getServletContext().getAttribute(key); in ActionServlet.java:855 returns a RequestProcessor object. Pls find the log and my server.xml at the end of the mail. Thanks in advance, Sudhakar 2004-03-22 15:18:09 Manager: start: Starting web application at '/sfpsr2' 2004-03-22 15:18:09 StandardHost[localhost]: standardHost.start /sfpsr2 2004-03-22 15:18:09 StandardContext[/sfpsr2]: Configuring ProxyDirContext [EMAIL PROTECTED] 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploying class repositories to work directory /usr/local/tomcat4.0.4/work/Agent8050/localhost/sfpsr2 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/activation.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/activation.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/classes12.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/classes12.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/commons-beanutils.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-beanutils.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/commons-collections.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-collections.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/commons-dbcp-1.1.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-dbcp-1.1.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/commons-digester.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-digester.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/commons-fileupload.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-fileupload.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/commons-lang.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-lang.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/commons-logging.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-logging.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/commons-logging1.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-logging1.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/commons-validator.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-validator.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/jakarta-oro.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/jakarta-oro.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/log4j-1.2.8.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/log4j-1.2.8.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/mail.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/mail.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/servlet.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/servlet.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/struts.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/struts.jar 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/struts2.jar to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/struts2.jar 2004-03-22 15:18:09 StandardManager[/sfpsr2]: Seeding random number generator class java.security.SecureRandom 2004-03-22 15:18:09 StandardManager[/sfpsr2]: Seeding of random number generator has
RE: STRUTS in Tomcat?
The 4.1.x version of Tomcat has an Administration app that's written using Struts. -Original Message- From: Chin, Ed [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 2:29 PM To: 'Tomcat Users List' Subject: STRUTS in Tomcat? Is STRUTS included in the distribution of Tomcat? That's what the documentation for Struts installation leads me to believe. -Edward - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: STRUTS in Tomcat?
Raible, Matt [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] The 4.1.x version of Tomcat has an Administration app that's written using Struts. This is true. However the struts jar is packaged in admin/WEB-INF/lib, so it isn't generally accessable to other web-apps. There is nothing that stops you from copying the jar file to shared/lib, where it is available to all web-apps. -Original Message- From: Chin, Ed [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 2:29 PM To: 'Tomcat Users List' Subject: STRUTS in Tomcat? Is STRUTS included in the distribution of Tomcat? That's what the documentation for Struts installation leads me to believe. -Edward - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: STRUTS in Tomcat?
On Fri, 4 Apr 2003, Bill Barker wrote: Date: Fri, 4 Apr 2003 19:49:17 -0800 From: Bill Barker [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: STRUTS in Tomcat? Raible, Matt [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] The 4.1.x version of Tomcat has an Administration app that's written using Struts. This is true. However the struts jar is packaged in admin/WEB-INF/lib, so it isn't generally accessable to other web-apps. There is nothing that stops you from copying the jar file to shared/lib, where it is available to all web-apps. Except for the minor problem that it's not certified to work when installed this way :-). http://jakarta.apache.org/struts/userGuide/configuration.html#config_add For Struts 1.0 and 1.1, you should always package struts.jar (and the JARs it depends on) in /WEB-INF/lib of your webapp. More robust support for running with a shared struts.jar is on the wishlist for Struts 1.2. Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: struts and tomcat 4
On Mon, 17 Sep 2001, Christoph Rooms wrote: Date: Mon, 17 Sep 2001 18:58:59 +0200 From: Christoph Rooms [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: struts and tomcat 4 Hi all, I tried to run a struts application on tomcat 3.2 and it worked. Now I'm running it under tomcat 4rc2 I get this exception : Cannot find ActionMappings or ActionFormBeans collection anyone an idea ? thanks !!! christoph You need to check the log files created by Tomcat 4 to make sure, but the most likely explanation is that you did not include an XML parser inside your web app. Tomcat 4, up until this point, has not made an XML parser available to web apps by default. NOTE: This will change, however, in the 4.0 final release. An XML parser will be made available -- see the Release Notes document that will come with Tomcat 4.0 (final) for details. Craig McClanahan
Re: struts and tomcat 4
On Mon, 17 Sep 2001 10:06:26 -0700 (PDT) Craig R. McClanahan [EMAIL PROTECTED] wrote: CM CM You need to check the log files created by Tomcat 4 to make sure, but the CM most likely explanation is that you did not include an XML parser inside CM your web app. Tomcat 4, up until this point, has not made an XML parser CM available to web apps by default. CM CM NOTE: This will change, however, in the 4.0 final release. An XML parser CM will be made available -- see the Release Notes document that will come CM with Tomcat 4.0 (final) for details. But we'll be able to use our favourite XML parser on a per context basis right? CM CM Craig McClanahan CM CM CM -- simon colston [EMAIL PROTECTED]
Re: struts and tomcat 4
On Tue, 18 Sep 2001, simon colston wrote: Date: Tue, 18 Sep 2001 10:35:09 +0900 From: simon colston [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: struts and tomcat 4 On Mon, 17 Sep 2001 10:06:26 -0700 (PDT) Craig R. McClanahan [EMAIL PROTECTED] wrote: CM CM You need to check the log files created by Tomcat 4 to make sure, but the CM most likely explanation is that you did not include an XML parser inside CM your web app. Tomcat 4, up until this point, has not made an XML parser CM available to web apps by default. CM CM NOTE: This will change, however, in the 4.0 final release. An XML parser CM will be made available -- see the Release Notes document that will come CM with Tomcat 4.0 (final) for details. But we'll be able to use our favourite XML parser on a per context basis right? Yes. CM CM Craig McClanahan CM CM CM -- simon colston [EMAIL PROTECTED]
Re: struts or tomcat 3.2.1 bug?
On Thu, 6 Sep 2001, juraj Lenharcik wrote: Date: Thu, 6 Sep 2001 17:36:36 +0200 From: juraj Lenharcik [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: struts or tomcat 3.2.1 bug? does anyone knows about a bug in tomcat 3.2.1 with struts? i mean there was a message few weeks ago, but i cant find it again. can someone give me a tip? the problem is, that i have an application under resin 2.0.2 running and when i put it on tomcat 3.2.1 it doesnt run. i get an exception: javax.servlet.ServletException: Cannot find bean data in scope session. Check your Tomcat log files for error and exception messages -- this kind of thing is usually caused by missing classes at startup time. thanks juraj Craig McClanahan
RE: struts in tomcat 3.3-m3
you already has one inside the TOMCAT_HOME%/lib/container .. the files jaxp.jar + parser.jar...copy this files to your apps web-inf/lib dir... or use xerces http://xml.apache.org/xerces-j/index.html Saludos , Ignacio J. Ortega -Mensaje original- De: Claudia Pietsch [mailto:[EMAIL PROTECTED]] Enviado el: jueves 31 de mayo de 2001 0:27 Para: [EMAIL PROTECTED] Asunto: RE: struts in tomcat 3.3-m3 Where I can get this Parser? Claudia At 23:43 30.05.2001 +0200, you wrote: Tomcat 3.3 does not put anything on the webapp's classpathin particular prior Tomcat 3.3 there was a XMLParser in the classpath of the executed webapps.. To solve this issue you need to put a XMLparser in the classpath of your webapp there are to 2 ways to achieve that.. * in the WEB-ibf/lib dir of you webapp, the standard way, or * in the %TOMCAT_HOME%/lib/apps dir.. Hope that helps Saludos , Ignacio J. Ortega -Mensaje original- De: Steve Salkin [mailto:[EMAIL PROTECTED]] Enviado el: miércoles 30 de mayo de 2001 22:15 Para: '[EMAIL PROTECTED]' Asunto: struts in tomcat 3.3-m3 Hi- Has anyone (else) had trouble deploying a struts application on tomcat-3.3-m3 that works fine under 3.2.2? I (and several people here) are experiencing oddness when trying to do this. It doesn't seem to be particular to our app either, since the struts-example.war also causes tomcat to fail during start-up. The error is a basically a failure to create a SaxParser from the SaxParserFactory - this is a static method that looks for a specific concrete class, either from a system property or an implementation-defined default. Apparently this is not occuring. Workarounds would be welcome: the tag-pooling feature of 3.3 has a lot of promise for a struts app. Thanks, Steve Salkin
RE: struts in tomcat 3.3-m3
Title: RE: struts in tomcat 3.3-m3 Ignacio J. Ortega wrote: you already has one inside the TOMCAT_HOME%/lib/container .. the files jaxp.jar + parser.jar...copy this files to your apps web-inf/lib dir... or use xerces http://xml.apache.org/xerces-j/index.html Hi Ignacio- Thanks for the advice! I have placed parser.jar and jaxp.jar in the struts-example/WEB-INF/lib and now it correctly deploys and runs. Do you know if this is the new requirement going forward in 3.3.x? If so, I'll mention it on the struts lists so that the deployment instructions for tomcat 3.3.x can include this information. Thanks again, S-
RE: struts in tomcat 3.3-m3
( Please do not post using html, makes almost imposible to have a decent conversation read http://jakarta.apache.org/site/mail.html) Well, this is not a new requeriment, is the way that should be done always, and is the way in which 3.3 and 4.0 setup the webapps classpath.. that is only the jars present on web-inf/lib are added to the webapp classpath Saludos , Ignacio J. Ortega -Mensaje original- De: Steve Salkin [mailto:[EMAIL PROTECTED]] Enviado el: jueves 31 de mayo de 2001 17:01 Para: '[EMAIL PROTECTED]' Asunto: RE: struts in tomcat 3.3-m3 Ignacio J. Ortega wrote: you already has one inside the TOMCAT_HOME%/lib/container .. the files jaxp.jar + parser.jar...copy this files to your apps web-inf/lib dir... or use xerces http://xml.apache.org/xerces-j/index.html Hi Ignacio- Thanks for the advice! I have placed parser.jar and jaxp.jar in the struts-example/WEB-INF/lib and now it correctly deploys and runs. Do you know if this is the new requirement going forward in 3.3.x? If so, I'll mention it on the struts lists so that the deployment instructions for tomcat 3.3.x can include this information. Thanks again, S-
RE: struts in tomcat 3.3-m3
Tomcat 3.3 does not put anything on the webapp's classpathin particular prior Tomcat 3.3 there was a XMLParser in the classpath of the executed webapps.. To solve this issue you need to put a XMLparser in the classpath of your webapp there are to 2 ways to achieve that.. * in the WEB-ibf/lib dir of you webapp, the standard way, or * in the %TOMCAT_HOME%/lib/apps dir.. Hope that helps Saludos , Ignacio J. Ortega -Mensaje original- De: Steve Salkin [mailto:[EMAIL PROTECTED]] Enviado el: miércoles 30 de mayo de 2001 22:15 Para: '[EMAIL PROTECTED]' Asunto: struts in tomcat 3.3-m3 Hi- Has anyone (else) had trouble deploying a struts application on tomcat-3.3-m3 that works fine under 3.2.2? I (and several people here) are experiencing oddness when trying to do this. It doesn't seem to be particular to our app either, since the struts-example.war also causes tomcat to fail during start-up. The error is a basically a failure to create a SaxParser from the SaxParserFactory - this is a static method that looks for a specific concrete class, either from a system property or an implementation-defined default. Apparently this is not occuring. Workarounds would be welcome: the tag-pooling feature of 3.3 has a lot of promise for a struts app. Thanks, Steve Salkin
RE: struts in tomcat 3.3-m3
Where I can get this Parser? Claudia At 23:43 30.05.2001 +0200, you wrote: Tomcat 3.3 does not put anything on the webapp's classpathin particular prior Tomcat 3.3 there was a XMLParser in the classpath of the executed webapps.. To solve this issue you need to put a XMLparser in the classpath of your webapp there are to 2 ways to achieve that.. * in the WEB-ibf/lib dir of you webapp, the standard way, or * in the %TOMCAT_HOME%/lib/apps dir.. Hope that helps Saludos , Ignacio J. Ortega -Mensaje original- De: Steve Salkin [mailto:[EMAIL PROTECTED]] Enviado el: miércoles 30 de mayo de 2001 22:15 Para: '[EMAIL PROTECTED]' Asunto: struts in tomcat 3.3-m3 Hi- Has anyone (else) had trouble deploying a struts application on tomcat-3.3-m3 that works fine under 3.2.2? I (and several people here) are experiencing oddness when trying to do this. It doesn't seem to be particular to our app either, since the struts-example.war also causes tomcat to fail during start-up. The error is a basically a failure to create a SaxParser from the SaxParserFactory - this is a static method that looks for a specific concrete class, either from a system property or an implementation-defined default. Apparently this is not occuring. Workarounds would be welcome: the tag-pooling feature of 3.3 has a lot of promise for a struts app. Thanks, Steve Salkin
RE: struts in tomcat 3.3-m3
I always have this problem. I'd put the parser.xml in the %TOMCAT_HOME/lib dir. I have the same failure. Thanks Claudia At 23:43 30.05.2001 +0200, you wrote: Tomcat 3.3 does not put anything on the webapp's classpathin particular prior Tomcat 3.3 there was a XMLParser in the classpath of the executed webapps.. To solve this issue you need to put a XMLparser in the classpath of your webapp there are to 2 ways to achieve that.. * in the WEB-ibf/lib dir of you webapp, the standard way, or * in the %TOMCAT_HOME%/lib/apps dir.. Hope that helps Saludos , Ignacio J. Ortega -Mensaje original- De: Steve Salkin [mailto:[EMAIL PROTECTED]] Enviado el: miércoles 30 de mayo de 2001 22:15 Para: '[EMAIL PROTECTED]' Asunto: struts in tomcat 3.3-m3 Hi- Has anyone (else) had trouble deploying a struts application on tomcat-3.3-m3 that works fine under 3.2.2? I (and several people here) are experiencing oddness when trying to do this. It doesn't seem to be particular to our app either, since the struts-example.war also causes tomcat to fail during start-up. The error is a basically a failure to create a SaxParser from the SaxParserFactory - this is a static method that looks for a specific concrete class, either from a system property or an implementation-defined default. Apparently this is not occuring. Workarounds would be welcome: the tag-pooling feature of 3.3 has a lot of promise for a struts app. Thanks, Steve Salkin