Any help guys?

On Nov 23, 2007 3:29 PM, CasMeiron <[EMAIL PROTECTED]> wrote:

> Hi guys,
>
> Im trying to create a full ear project with maven2.
> Entities module, Ejb3 module, war modules etc...
> In my ejb3 module, i have the file "my-app-ds.xml" inside
> src/main/resources/META-INF
> In my ear module pom, i have the follow:
>
>                     <jboss>
>                         <version>4</version>
>                         <data-sources>
>                             <data-source>
>                                 my-app-ds.xml
>                             </data-source>
>                         </data-sources>
>                     </jboss>
>
> The problem is: when i try to deploy my EAR, jboss says:
> "org.jboss.deployment.DeploymentException: Failed to find module file:
> my-app
> -ds.xml"
>
> Why jboss can't find the file? Is the wrong place to put my *ds archive?
>
> Another question, how can i change the jndi name for my ear? Cause if i
> need to get a instance of remote bean in SE enviroment, im doing this:
>
> jndiContext.lookup("my-app.ear-VERSION/Bean/...");
> I wanna config something like: "myapp:Bean/..."
>
> Tkz.
> --
> Paulo Cesar Silva Reis
> -------------------------------
> Powered by GMAIL




-- 
Paulo Cesar Silva Reis
-------------------------------
Powered by GMAIL

Reply via email to