Deploying ejb - multiple module descriptors error
Posted on 2006-07-21
I am adding ejb to my existing web app that consist of a few jsp, java files as well as web.xml and I am using weblogic server.
Now, I added ejb-jar.xml file and weblogic-ejb-jar.xml file and was trying to deploy(not using jar/ear file. I just drop entire dir in particular dir and used web application modules deployments menu option from weblogic’s admin console. Then I had the following error:
C:\bea81\user_projects\applications\AS8\WebRoot contains multiple module descriptors
This is the file dir:
I still need web.xml file because I have servlet controller. To me, it looks that I can’t have those 3 xml files in same application. Another unusual thing was that when I drop entire application dir, I was able to see radio button next to app dir name, but it didn’t show this time. So, I had to move into that app dir and then I was able to see radio button next to WebRoot dir.
So, what do I need to do in my case?
Thanks in advance.