Discussion:
Exception:weblogic.management.ApplicationException: Prepare failed.
(too old to reply)
Ramakrishna Mullapudi
2005-02-08 20:25:29 UTC
Permalink
Hi,

I'm having problem while deploying an "EAR" file. When i tried the "MedRec Tutorial" application which i got it from the sample code on bea site, i'm getting the following error.

Exception:weblogic.management.ApplicationException: Prepare failed.
Task Id = 4 Module: physSessionEjbs Error: [EJB:011023]An error
occurred while reading the deployment descriptor. The error was:
[EJB:010120]Error: The deployment descriptor 'META-INF/ejb-jar.xml'
was not found in
'./sqa-u2-2/stage/wlpackage_tutorial/physSessionEjbs'. Please add this
file to the JAR and try again..

Here are the steps i have done.

1. Basically i downloaded the sample code from the website and unzip
it.
2. Then i ran ant -f wlpackage_tutorial.xml.

Buildfile: wlpackage_tutorial.xml

package:
[jar] Building jar: /medrec_tutorial/dist/wlpackage_tutorial.ear

BUILD SUCCESSFUL
Total time: 9 seconds
3. Then i deployed the package and wl admin console throws the above
message.

4. Can someone help on this.

Thanks,
Ram
Rob Woollen
2005-02-10 00:32:50 UTC
Permalink
Can you show me the output of 'jar tvf wlpackage_tutorial.ear'

-- Rob
Post by Ramakrishna Mullapudi
Hi,
I'm having problem while deploying an "EAR" file. When i tried the "MedRec Tutorial" application which i got it from the sample code on bea site, i'm getting the following error.
Exception:weblogic.management.ApplicationException: Prepare failed.
Task Id = 4 Module: physSessionEjbs Error: [EJB:011023]An error
[EJB:010120]Error: The deployment descriptor 'META-INF/ejb-jar.xml'
was not found in
'./sqa-u2-2/stage/wlpackage_tutorial/physSessionEjbs'. Please add this
file to the JAR and try again..
Here are the steps i have done.
1. Basically i downloaded the sample code from the website and unzip
it.
2. Then i ran ant -f wlpackage_tutorial.xml.
Buildfile: wlpackage_tutorial.xml
[jar] Building jar: /medrec_tutorial/dist/wlpackage_tutorial.ear
BUILD SUCCESSFUL
Total time: 9 seconds
3. Then i deployed the package and wl admin console throws the above
message.
4. Can someone help on this.
Thanks,
Ram
Loading...