aspose file tools*
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
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
Author

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
Greenhorn

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

https://ip-address:9080/ibm/console

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 applicationresource.properties 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.
 
Don't get me started about those stupid light bulbs.
 
subject: Help with war file from Tomcat to Websphere