Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8DD2A17E5D for ; Fri, 3 Oct 2014 02:39:29 +0000 (UTC) Received: (qmail 20865 invoked by uid 500); 3 Oct 2014 02:39:26 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 20788 invoked by uid 500); 3 Oct 2014 02:39:26 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 20776 invoked by uid 99); 3 Oct 2014 02:39:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2014 02:39:26 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [206.46.173.25] (HELO vms173025pub.verizon.net) (206.46.173.25) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2014 02:39:21 +0000 Received: from Christophers-MacBook-Pro.local ([unknown] [71.178.180.80]) by vms173025.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0NCU00ENRKOKBK90@vms173025.mailsrvcs.net> for users@tomcat.apache.org; Thu, 02 Oct 2014 21:38:45 -0500 (CDT) Message-id: <542E0C34.9030600@christopherschultz.net> Date: Thu, 02 Oct 2014 22:38:44 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-version: 1.0 To: Tomcat Users List Subject: Re: Struts 2 /Glassfish to Tomcat migration References: In-reply-to: Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Kiran, On 10/2/14 9:59 PM, Kiran Badi wrote: > I am migration my glassfish struts 2 based application to Tomcat > 7.055. > > I am coming across 2 issues, first one is below exception while > starting Tomcat > > java.lang.UnsatisfiedLinkError: C:\Apache Software > Foundation\apache-tomcat-7.0.55\bin\tcnative-1.dll: Can't load IA > 64-bit .dll on a AMD 64-bit platform You have the IA-64 library in your path, and you need the x86-64 library instead. How did you install Tomcat? If you used the binary installer, it should have correctly detected your architecture and used the correct library. If you installed it manually, you should have a selection of tcnative .dll files. fine the x86-64 one and use that. > these are java information, > > Using CATALINA_BASE: "C:\Apache Software > Foundation\apache-tomcat-7.0.55" Using CATALINA_HOME: "C:\Apache > Software Foundation\apache-tomcat-7.0.55" Using CATALINA_TMPDIR: > "C:\Apache Software Foundation\apache-tomcat-7.0.55\temp" Using > JRE_HOME: "C:\Program Files\Java\jdk1.7.0_13" > > Though the server starts and I can access the home page, but it > seems like struts.xml file is getting ignored and i am getting 404 > for all jsp which are under web-inf. The inability to start the APR connector won't have any effect on this. How are you trying to access your .jsp files within WEB-INF? Via a direct URL or some kind of internal forward from another URL? > Is their any migration guide from glassfish 4x to Tomcat ? You shouldn't have to do too much to migrate, as long as you don't have anything GlassFish-specific in your webapp. You should be able to take your existing WAR file and drop it into Tomcat's webapps/ directory. That should get you 90% of the way. If you use JNDI-based resources, you'll have additional configuration, but I won't get into that unless you actually need it. > I was thinking that copying struts.xml to config directory and > setting dispatcher servlet should be sufficient. I am missing > anything here. What is "config directory" and how did you "set [the] dispatcher servlet"? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJULgw0AAoJEBzwKT+lPKRYoI8P/2N1QNVZK1ZfvPqNNY2sALE0 4obJMM/vKtzDsKrJmJ+kaTfSAt1Cnd6fOP3VCFUYrfkKGWUjOfTczxN6c2RgvJbV R8Y9nwUhevgb2Y36slZ2Kda6g2XmxH5WR8PU/qEF8qRu+ZM7BSkKAkfUz+lrbrC2 a4MD02LmiQXaXEyxsFzOcW+Ig9iMUi4gpCA5hJw9SJtObedeW9rfQDrNJVpMd559 FFUdGE6hz2/+3JcTV+gYutYrS0sGuPrTL/WA+X7OYTdPheU6R9JmiK8OmLBA6COg aNBT6k/Bm29NgTQVAXATkomI7fBCV3HRYlIH7eA1oZgMPgSKf6PTdrfKaAvZZfz0 qxXl9dD7gXgssNN59CxxDu2xHlYv11RMN/vlVodpdWWHWkttetigpQi1wL3dDfJd uBzi8vl8DXVcs+44sZ+lPNa07VjHRxR8zElqTppQ9f500ozQN+5j18LYtOKefoOZ HmQ1lhs721hN5XzWP1xQRZGFNVg1fb0tBFVf/n2TT3n9DhiQhXpy029xKYkUBa9q Ch2iFzQN1HbLimBVuUlKx2fDjy8P6BWUfN0I1T9kSPLwZwtSZy8V0JuSuaOdkNby kQ6PQBV5CMQNdMNcNE5rIDUA66YyLOMXMYnN/pQaT5JIoeTJL0b2jVNweFGcdukp ANyaJNqtL6SuIS7DUmvE =QXr1 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org