• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Target WAS 5.1 with RAD

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author and cow tipper
Posts: 5006
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Marshal
Posts: 27214
87
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Aha! Of course! Thanks. I'm running the install right now.
 
Cameron Wallace McKenzie
author and cow tipper
Posts: 5006
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
They gave me pumpkin ice cream. It was not pumpkin pie ice cream. Wiping my tongue on this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic