GeeCON Prague 2014*
The moose likes Websphere and the fly likes Target WAS 5.1 with RAD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Websphere
Bookmark "Target WAS 5.1 with RAD" Watch "Target WAS 5.1 with RAD" New topic
Author

Target WAS 5.1 with RAD

andrew pierce
Ranch Hand

Joined: Jun 18, 2006
Posts: 33
I recently installed RAD v6.0 from WSAD. I still need to be able to deploy WAR and EAR's to WAS 5.1. Unfortunately, when I export a WAR and try to install it on WAS 5.1, I get an error that says:

* The EAR file could be corrupt and/or incomplete.
* com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml

This is a REALLY simple WAR file that I created just as a test.

So the question is, how do I target WAS 5.1 using RAD 6.0? I know this is supposed to be possible I just don't know how.

Thanks!
Tony Smith
Ranch Hand

Joined: Mar 15, 2005
Posts: 77
Our install of RAD has a 5.1 application server installation option. Once you install that, you then need to run the mother of all patches (available from within WSAD) which takes hours and hours to download. So start the download when you leave for the day.
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

When you create a J2EE project in RAD, you can specify a J2EE level.

Perhaps your J2EE project is above the J2EE level of WAS 5.1. It would be a sensible answer given your exception.

Good luck, and Happy WebSphere!

-Cameron McKenzie
andrew pierce
Ranch Hand

Joined: Jun 18, 2006
Posts: 33
I believe you are on to the problem Kameron. When I start a new "Dynamic Web Project" and click the "Show Advanced" button, there is a "Target server" list. Unfortunately, the only server in the list is WebSphere Application Server v6.0. I can click the "New" button beside this list but that brings up another window with v6.0 as the only available IBM target.

How do I go about adding 5.1?

Thanks.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

Originally posted by andrew pierce:
How do I go about adding 5.1?
That's a separate install from RAD and you must have missed it in the startup menu when you installed.

If you can install from the DVD then just do the install again and select the WS Test Environment 5.x option. Otherwise it's on one of the CDs labelled "Optional Software".

And before you try using it, get all the patches for it and apply them. Won't work right out of the box.
andrew pierce
Ranch Hand

Joined: Jun 18, 2006
Posts: 33
Aha! Of course! Thanks. I'm running the install right now.
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

I love it when a plan comes together.

Keep us updated!

-Cameron McKenzie
andrew pierce
Ranch Hand

Joined: Jun 18, 2006
Posts: 33
Viola! It worked. I haven't figured out how to "retro fit" v5.1 as a target server into my existing project. Not a big deal though; it wasn't very large at all.

Now I'm all set for targeting 6.x or 5.1 using RAD!

Thanks again for the assistance.
Andrew
 
GeeCON Prague 2014
 
subject: Target WAS 5.1 with RAD