This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Websphere and the fly likes Help with war file from Tomcat to Websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Help with war file from Tomcat to Websphere" Watch "Help with war file from Tomcat to Websphere" New topic

Help with war file from Tomcat to Websphere

Marcelo Tataje
Ranch Hand

Joined: Jan 31, 2011
Posts: 64

Hello, I'm here again because I'm facing a problem, I spent hours trying to install IBM Websphere Application Server 7 (Trial), but I've already installed it successfully in my ubuntu server (it's a server, so I can't use any gui tool or wizard :[ )

I verified the installation and started the server successfully... Now, I want to deploy a war file. My task is basically to migrate from tomcat to websphere. My Tomcat Server is 6.0 and my Websphere is 7.0 as I menctioned.

But I don't have any idea how to begin , because I'm sure we can't copy the war in a directory and deploy it happily as in tomcat, instead I found that I have to use some scripts, do you know how i can begin with this process? I will be really grateful if somebody can help me.

Thanks in advance.
samrat dhamale

Joined: Apr 15, 2011
Posts: 11
if you have other system you can access the Websphere Application server(WAS) console using browser


there you have applications in that you can upload the war file

you probably might have to do changes in the code also.
because i have faced similar issue. some resources file like or some user defined xml files are not found by WAS.
you will have to modify application to read form a specific path.

Also please not that ibm uses ibm jvm to run it. you might be using sun jvm to compile war.
so please dont compile it in 1.6 and install it in ibm 1.5 jdk. use sun jdk 1.5 to compile.
Marcelo Tataje
Ranch Hand

Joined: Jan 31, 2011
Posts: 64

Thank you very much for your answer, I will follow all the steps that you menctioned, I didn't know that I could access the console that way, because some people told me I had to use jpython to create scripts and deploy the war file, but the way you did it saves a lot of time. I know I will have a lot of problems when deploying since the application is using METRO WS which worked fine on glassfish and tomcat but for sure will fail on Websphere. Do you know if Websphere have some libraries that could replace METRO functioalities? Thanks for your reply, it will be useful.
I agree. Here's the link:
subject: Help with war file from Tomcat to Websphere
jQuery in Action, 3rd edition