Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Target WAS 5.1 with RAD

 
andrew pierce
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 20750
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aha! Of course! Thanks. I'm running the install right now.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I love it when a plan comes together.

Keep us updated!

-Cameron McKenzie
 
andrew pierce
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic