Hi,

I am trying to build a application (ear).
In this ear I have
I have a jar file userEjb.jar as a ejb module, containing:
        User.class (Serializable class)
        UserManager/Home/Bean
        \META-INF\ejb-jar.xml

I have a:
        taskforce.war
        userEjb.jar
        \META-INF
                application.xml in which I specify the following:

<?xml version="1.0" encoding="ISO-8859-1"?>
<application>
  <display-name>taskforce</display-name>
  <description>Application description</description>
  <module>
    <web>
      <web-uri>taskforce.war</web-uri>
      <context-root>/taskforce</context-root>
    </web>
  </module>
  <module>
    <ejb>userEjb.jar</ejb>
  </module>
</application>

My question is:
Is it normal that the server complains (ClassNotFoundException) when I try
to access the class User from a class inside the taskforce.war ???
Aren't all the classes accessible to the modules once the ear is deployed
????

The idea was to have separate module to facilitate maintenance(version
problems) and coding.
How should I do that?

Thanks,

Olivier


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to