-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Osama,
Welcome to the community! On 2/28/18 11:12 AM, M. Osama Alghwell wrote: > I have a Java application that run on windows and using to Tomcat > (unfortunately it is Tomcat 4.5 and I an assigned to upgrade it). > Is it possible to move to Linux platform? and is it possible to > jump to Tomcat 8.x? what action should be taken? While that sounds like a big jump (Windows -> Linux, Tomcat 4.x -> 8.x), it shouldn't be a *huge* change. You'll also need a Java upgrade as well, of course (Tomcat 8 requires Java 7 or later; I recommend Java 8). Installing Tomcat on Linux is straightforward: Option a) Use your package-manager to install the "tomcat" package (or whatever it is called in your environment) Option b) Download apache-tomcat-8.x.y.tar.gz from the ASF web site and untar the tarball wherever you want. In this community, we have a slight preference for "Option b" obly because package-managers often move things around in ways we can't always predict or have in our brains. The ASF-issued package always puts files in a predictable place. Once you've installed Java and Tomcat, installing your web application should be as easy as: 1. Drop your application's WAR file (or exploded WAR-like directory) into Tomcat's webapps/ auto-deployment directory 2. Adding any configuration to Tomcat's conf/server.xml you require (usually <Connector> elements) 3. You may have to adjust (or create, if necessary) your application's META-INF/context.xml file. This is typically where you would configure any resources such as a JDBC connection pool your application may require. Most applications deployed on Tomcat 4 put everything into the server's global configuration, so moving that into application-specific configuration is a Good Idea. 4. Launch Tomcat (and your application, which should auto-deploy) and see if there are any errors. Then, run-through your testing plan to ensure that everything is working. Please note that you cannot copy any of the following files from your old Tomcat installation into the new one: conf/server.xml conf/context.xml conf/web.xml If you have any questions, don't hesitate to post back to this mailing list. The more specific you can make your question, the better help you can get. Hope that helps, - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlqW3JgACgkQHPApP6U8 pFhYQBAAnHm9A9swpUJTMZt51L4iD8hrbD+1wBwGZ2Z73w9DKePqs+nuay3Z2Eqe ZEc004rl5Lejdf6MX6Ea97rkdD3X1mI7z9kZGKFj07VXmEwXjrZrPsPU+JbSI/IJ Zmg7hge8nhbqEmkn5CB323L/gUIaUF1KCHvqZKrobzyZPFFXxxeL9tDJdmf2kr27 2neRhavwTkQbZoF6KdptDfWI0+Jb4NPfZ9QPV2M9oojK/7s94vgyHlewA3OGD/hT j6k8Lh0FczHxuImjq+fo2x1P4z3n/Fm/d8oglbLaoU6rt1xwlzwjkDDPv7n4rxP/ kwzvhHeJIJsUWoe4rgo5Ub1Ce9jYqiASOHFoaNEHRTxiBnnKOa6Snq5sZjsgvxoy WZtZd2HI2N/OYnWAU+TzZWNreAQMdSRAW8ASHvIEWH7lYHmy3RFrnpYIkG0+59tR DPlh3duyaW+dbHksQhLSWeMUsQt15W5FLm80+DI3IrHPYpiMh85pDcIF58dudRbJ zAurWiPmYMSoOIej62DeHTCuCcDJxCv9Q7Ie5qHCdrB0j3GdMPFd90GDxpLvMb95 HQQsrPvAzVGWYqHRwGgPzG+ek71po4UzpYJaMf0d+htVqNSxTiOxh2RygWy5OwMy HhR4tE7rS1Q1kZa1euqDkSdamAC+4sJn069pCQA72T1Nm1Ed2po= =Pr7p -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org