geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "carlo_cappelletti@libero.it" <carlo_cappelle...@libero.it>
Subject deployment error
Date Mon, 20 Feb 2006 23:41:13 GMT
Hi everybody.
I'm new to geronimo and also, I have to say, to editing XML docs with 
only reading schemas specs...
However, I'm trying to deploy one application previously working with 
Sun Application Server to WASCE (that I understood is a geronimo server).
If I don't provide any deployment plan (the geronimo specific ones) I 
have the following error:
"Could not deploy module
EJB [ServerBean] is misconfigured: no CMP mapping defined by OpenEJB DD."

So I worked it out putting a "openejb-jar.xml" (you will found it at the 
bottom of the mail) in the web-inf dir of the ejb jar.
So I got the following error:
"Currently a Geronimo deployment plan is required for an EJB module.
Please provide a plan as a deployer argument or packaged in the EJB JAR 
at META-INF/openejb-jar.xml"

... that is exactly where it is.
What am I missing? The names of the Beans are OK to me.

Thankyou in advance for your attention,

Carlo Cappelletti.

<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application"
    configId="com/ibm/j2g/security"
    parentId="org/apache/geronimo/Server">
    <entity>
      <ejb-name>MPointBean</ejb-name>
      <jndi-name>ejb/MPointBean</jndi-name>
        <resource-ref>
        <res-ref-name>jdbc/mysql</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </entity>
    <entity>
      <ejb-name>PackageUsageBean</ejb-name>
      <jndi-name>ejb/PackageUsageBean</jndi-name>
        <resource-ref>
        <res-ref-name>jdbc/mysql</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </entity>
    <entity>
      <ejb-name>ApplicationHostingBean</ejb-name>
      <jndi-name>ejb/ApplicationHostingBean</jndi-name>
        <resource-ref>
        <res-ref-name>jdbc/mysql</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </entity>
    <entity>
      <ejb-name>PackageHostingBean</ejb-name>
      <jndi-name>ejb/PackageHostingBean</jndi-name>
        <resource-ref>
        <res-ref-name>jdbc/mysql</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </entity>
    <entity>
      <ejb-name>FilesourceBean</ejb-name>
      <jndi-name>ejb/FilesourceBean</jndi-name>
        <resource-ref>
        <res-ref-name>jdbc/mysql</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </entity>
    <entity>
      <ejb-name>StreamBean</ejb-name>
      <jndi-name>ejb/StreamBean</jndi-name>
        <resource-ref>
        <res-ref-name>jdbc/mysql</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </entity>
    <entity>
      <ejb-name>DbUsageBean</ejb-name>
      <jndi-name>ejb/UsageBean</jndi-name>
        <resource-ref>
        <res-ref-name>jdbc/mysql</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </entity>
    <entity>
      <ejb-name>FilesourceUsageBean</ejb-name>
      <jndi-name>ejb/FilesourceUserBean</jndi-name>
        <resource-ref>
        <res-ref-name>jdbc/mysql</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </entity>
    <entity>
      <ejb-name>DbBean</ejb-name>
      <jndi-name>ejb/DbBean</jndi-name>
        <resource-ref>
        <res-ref-name>jdbc/mysql</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </entity>
    <entity>
      <ejb-name>StrmdbUsageBean</ejb-name>
      <jndi-name>ejb/StrmdbUsageBean</jndi-name>
        <resource-ref>
        <res-ref-name>jdbc/mysql</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </entity>
    <entity>
      <ejb-name>DbHostingBean</ejb-name>
      <jndi-name>ejb/DbHostingBean</jndi-name>
        <resource-ref>
        <res-ref-name>jdbc/mysql</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </entity>
    <entity>
      <ejb-name>ProviderBean</ejb-name>
      <jndi-name>ejb/ProviderBean</jndi-name>
        <resource-ref>
        <res-ref-name>jdbc/mysql</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </entity>
    <entity>
      <ejb-name>StrmpckUsageBean</ejb-name>
      <jndi-name>ejb/StrmpckUsageBean</jndi-name>
        <resource-ref>
        <res-ref-name>jdbc/mysql</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </entity>
    <entity>
      <ejb-name>ServerBean</ejb-name>
      <jndi-name>ejb/ServerBean</jndi-name>
        <resource-ref>
        <res-ref-name>jdbc/mysql</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </entity>
    <entity>
      <ejb-name>PackageBean</ejb-name>
      <jndi-name>ejb/PackageBean</jndi-name>
        <resource-ref>
        <res-ref-name>jdbc/mysql</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </entity>
    <entity>
      <ejb-name>ApplicationBean</ejb-name>
      <jndi-name>ejb/ApplicationBean</jndi-name>
        <resource-ref>
        <res-ref-name>jdbc/mysql</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </entity>
    <entity>
      <ejb-name>SeekerBean</ejb-name>
      <jndi-name>ejb/SeekerBean</jndi-name>
        <resource-ref>
        <res-ref-name>jdbc/mysql</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </entity>
        <session>
            <display-name>SeekerBean</display-name>
            <jndi-name>ejb/SeekerBean</jndi-name>
            <ejb-local-ref>
                <ejb-link>PackageBean</ejb-link>
                
<ref-name>com.cappe.maintenance.model.PackageLocalHome</ref-name>
            </ejb-local-ref>
            <ejb-local-ref>
                <ejb-link>PackageHostingBean</ejb-link>
                
<ref-name>com.cappe.maintenance.model.PackageHostingLocalHome</ref-name>
            </ejb-local-ref>
            <ejb-local-ref>
                <ejb-link>FilesourceUsageBean</ejb-link>
                
<ref-name>com.cappe.maintenance.model.FilesourceUsageLocalHome</ref-name>
            </ejb-local-ref>
            <ejb-local-ref>
                <ejb-link>DbBean</ejb-link>
                <ref-name>com.cappe.maintenance.model.DbLocalHome</ref-name>
            </ejb-local-ref>
            <ejb-local-ref>
                <ejb-link>ProviderBean</ejb-link>
                
<ref-name>com.cappe.maintenance.model.ProviderLocalHome</ref-name>
            </ejb-local-ref>
            <ejb-local-ref>
                <ejb-link>DbUsageBean</ejb-link>
                
<ref-name>com.cappe.maintenance.model.DbUsageLocalHome</ref-name>
            </ejb-local-ref>
            <ejb-local-ref>
                <ejb-link>FilesourceBean</ejb-link>
                
<ref-name>com.cappe.maintenance.model.FilesourceLocalHome</ref-name>
            </ejb-local-ref>
            <ejb-local-ref>
                <ejb-link>StrmdbUsageBean</ejb-link>
                
<ref-name>com.cappe.maintenance.model.StrmdbUsageLocalHome</ref-name>
            </ejb-local-ref>
            <ejb-local-ref>
                <ejb-link>ApplicationHostingBean</ejb-link>
                
<ref-name>com.cappe.maintenance.model.ApplicationHostingLocalHome</ref-name>
            </ejb-local-ref>
            <ejb-local-ref>
                <ejb-link>StrmpckUsageBean</ejb-link>
                
<ref-name>com.cappe.maintenance.model.StrmpckUsageLocalHome</ref-name>
            </ejb-local-ref>
            <ejb-local-ref>
                <ejb-link>PackageUsageBean</ejb-link>
                
<ref-name>com.cappe.maintenance.model.PackageUsageLocalHome</ref-name>
            </ejb-local-ref>
            <ejb-local-ref>
                <ejb-link>StreamBean</ejb-link>
                
<ref-name>com.cappe.maintenance.model.StreamLocalHome</ref-name>
            </ejb-local-ref>
            <ejb-local-ref>
                <ejb-link>DbHostingBean</ejb-link>
                
<ref-name>com.cappe.maintenance.model.DbHostingLocalHome</ref-name>
            </ejb-local-ref>
            <ejb-local-ref>
                <ejb-link>ServerBean</ejb-link>
                
<ref-name>com.cappe.maintenance.model.ServerLocalHome</ref-name>
            </ejb-local-ref>
            <ejb-local-ref>
                <ejb-link>ApplicationBean</ejb-link>
                
<ref-name>com.cappe.maintenance.model.ApplicationLocalHome</ref-name>
            </ejb-local-ref>
            <ejb-local-ref>
                <ejb-link>MPointBean</ejb-link>
                
<ref-name>com.cappe.maintenance.model.MPointLocalHome</ref-name>
            </ejb-local-ref>
        </session>
</application>


Mime
View raw message