This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
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.
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.
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.