views:

690

answers:

2

Continuum build server deploys to my oc4j instance I get the following error it seems every other build.

09/03/10 13:47:49 Notification ==>Operation failed with error: Unable to find/read file META-INF/application.xml in C:\oc4j\j2ee\home\applications\rrs (META-INF/application.xml)

Continuum is running in a windows environment

Any input would be greatly appreciated.

A: 

Rob, I'm having the same problem... If you encountered any solution, please contact-me by e-mail. Thanks! EdemarSantos a t g mail d o t com.

+1  A: 

I don't use Continuum, but I face this OC4J message during some app deployments.

The error message shows that the application.xml file is missing inside the EAR you are deploying. You are deploying an application called rss in the home instance. Inside the rss.ear file must be present a META-INF/application.xml with a content like this:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
     "http://java.sun.com/dtd/application_1_3.dtd"&gt;
<application>
    <display-name>rss</display-name>
    <module>
           <ejb>rss.jar</ejb>
    </module>
</application>

In some step of your building process you must define and include the application.xml file. Perhaps the tool you are using could do this, but need some configuration.

JuanZe