Author |
Message
|
james2005 |
Posted: Sat Dec 17, 2005 1:03 am Post subject: How to use .war file with MB |
|
|
Apprentice
Joined: 18 Sep 2005 Posts: 31
|
Hello,
I have to use .war file with MB. Anybody have exp with this issue?
Regards,
Enda. |
|
Back to top |
|
 |
wschutz |
Posted: Sat Dec 17, 2005 3:39 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
I doubt that would work (but I've never tried). Why can't you just supply a JAR file or extract the JAR file out of the WAR file? _________________ -wayne |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Dec 17, 2005 7:16 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20763 Location: LI,NY
|
The war file is just a repackaging of a number of classes and archives.
I would have expected you to use an ear file as it would contain the EJB deployment layer.
If all you have is war file it means that you are just using java and servlets (web app archive). No EJB/MDB's in this deployment. Make sure all the needed external java classes and jar files are included.
Enjoy  |
|
Back to top |
|
 |
james2005 |
Posted: Mon Dec 19, 2005 4:12 am Post subject: I created web project |
|
|
Apprentice
Joined: 18 Sep 2005 Posts: 31
|
I created web project and imported .war file into it.
MB automatically created DefaultEAR file and in that a module with .war file name. After this what i have to do? |
|
Back to top |
|
 |
james2005 |
Posted: Mon Dec 19, 2005 4:14 am Post subject: |
|
|
Apprentice
Joined: 18 Sep 2005 Posts: 31
|
I forgot to tell i have around 10 jar files. No ejb's. some jsp's are there. |
|
Back to top |
|
 |
|