Sudhakar Reddy
Sudhakar Reddy

Reputation: 53

How to migrate from IBM Websphere to Tomcat?

I want to migrate the existing IBM Websphere application server to equivalent Tomcat application server?

Second, how to configure this migrated Tomcat application server with IBM HTTP Server (ihs)?

To brief the current system, We are running simple web application with Servlets/JSP's for file uploading/downloading

Please let me know for any clarifications.

Upvotes: 3

Views: 8530

Answers (1)

Eugène Adell
Eugène Adell

Reputation: 3174

The idea is to migrate with keeping the same level of J2EE, or it could break some things (deprecated methods, new behaviours,..)

  • check Java versions on both sides, probably use the same versions even they are coming from different companies (IBM, Oracle)
  • check the J2EE version supported by IBM Websphere, choose Tomcat accordingly
  • once you have your Java and Tomcat installed, copy your application to Tomcat's webapps directory (whatever it is : a war file or a directory)
  • you might have some libraries to copy in lib directory (JDBC, javamail,..) but you didn't talk about
  • check Tomcat's logs, particularly catalina.out to see the deployment's result

There is no IHS for Tomcat, you will edit some files. These files should be considered :

  • conf/server.xml where you define the listening port (8080 on the default's connector), keep it by default but probably you will need to set attributes for your uploading
  • bin/setenv.sh is the place where to declare the JVM options (JAVA_HOME, memory settings such as the heap space, the log verbosity like PrintGCDetails and others)

Depending on your application, the context can be configured in different ways.

For the beginning, just follow the items from the first list and see if it starts. If it doesn't start, check the logs and probably work around the setenv file to adjust memory.

Upvotes: 3

Related Questions