Weblogic Issues during EAR Deployment Exception in AppMerge flows progression

Unable to access the selected application

Exception in AppMerge flows progression

Bean already exists "weblogic.j2ee.descriptor.ModuleBeanImpl@..../Modules[weblogic.descriptor.internal.Descriptor.Beankey@....]



This issue can happen in many scenarios, may be you need to check your deployment descriptors based on Application Servers used, this generally happens due to issue in XML files related to deployment. I got this issue when i mistakenly added the modules twice in the Manifest file, the module 'Store.Storefront' is added more than once in  'ATG-Required'  of my Manifest.MF file,due to this i am seeing the module 'storedocroot.war' is added twice in my application.xml which is located in the  path ATGProd.ear\META-INF\application.xml.Due to this i am not able to deploy my EAR file. I have removed the duplicate entry and deployed the application and everything working fine.


.......
<module>
        <web>
            <web-uri>atg_bootstrap.war</web-uri>
            <context-root>/dyn</context-root>
        </web>
    </module>   
    <module>
        <web>
            <web-uri>storedocroot.war</web-uri>
            <context-root>crsdocroot</context-root>
        </web>
    </module>
    <module>
        <web>
            <web-uri>storedocroot.war</web-uri>
            <context-root>crsdocroot</context-root>
        </web>
    </module>

</application> 

But as a permanent solution you need to remove the duplicate entry 'Store.Storefront' from the Manifest.MF file.
 ....
<module>
        <web>
            <web-uri>atg_bootstrap.war</web-uri>
            <context-root>/dyn</context-root>
        </web>
    </module>   
    <module>
        <web>
            <web-uri>storedocroot.war</web-uri>
            <context-root>crsdocroot</context-root>
        </web>
    </module>
 

</application> 


4 comments:

Annika Pringles said...

Hello! I'm new at ATG and I'm having some troubles, could you be able to help me with the installation?! please! I've already read the whole manual and still can't install it!!, help me please!! I'm at annika.pringles@gmail.com so, maybe step by step you could guide thru the installation...I've tried it on CentOS/JBOSS/MySQL and WindowsXP/JBOSS/MySQL combinations and still not able to work.

Sebastian said...

Hello , Please post your steps here and the exception you are facing

Annika Pringles said...

Hello Sebastian, thanks for your reply... so here's what I'm doing:

1. Windows XP SP3 x32 virtual machine on Virtual Box:

- NAT configuration

- 50GB HDD

-1GB RAM

2. Install JDK 6 u 22

2.1 Set JAVA_HOME if not set and add it to Path if not added

3. Download JBOSS 5.1, folder name jboss-5.1.0.GA

3.1 Copy to c:\jboss\jboss-5.1.0.GA

3.2 Rename folder jboss-5.1.0.GA to jboss51

3.3 Test jboss

3.3.1 Execute c:/jboss/jboss51/bin/run.bat

3.3.2 Browse http://localhost:8080/ and we'll see JBOSS console

3.3.3 Back in the cmd window we'll stop the server with ctrl+c

4. Download ATG 10.0.3 from https://edelivery.oracle.com/ for Windows x32
4.1 Unzip V28088-01.zip

4.2 Execute ATG10.0.3

5. Start mysql installed with ATG on start menu

6. Start atg from the ATG menu

Now, what's next? how do I configure ATG? how's the demo apps configured?

Thanks,
Annika

Sebastian said...

you can do configuration of your ATG and other Products through CIM . You can leverage a fully functional built in CRS ATG Demo Application ,you can execute CIM from C:\ATG\ATG10.0.3\home\bin directory.You need to install Commerce Reference Software also from edelivery for the CRS option in CIM.

Post a Comment

Related Posts Plugin for WordPress, Blogger...