Sounds like a problem with the application.xml ear deployment descriptor. It should 
resemble the following:

<application>
  <display-name>myapp</display-name>
    <module>
      <web>
        <web-uri>my.war</web-uri>
        <context-root>/myapp</context-root>
      </web>
    </module>
    <module>
      <ejb>my.jar</ejb>
    </module>
</application>

The ejb module declaration puts my.jar in the web app's classpath.

[EMAIL PROTECTED] wrote:

> Hi all,
>
> have problem, I trying deploy my.ear application at JBoss 2.2.2 with Tomcat 3.2.2. 
>my.ear contains my.war archive with 3 JSP files
> and 1 java controller class, then my.jar archive with 1 Entity EJB. After deploy, I 
>start first JSP, this JSP instancied
> controller class (no problem), then controller class try found EJB and stopped when 
>try lookup EJB (no message at JBoss screen,
> ServletException in Browser).
> Interesant is when I put out my.jar archive from ear to \deploy directory, and then 
>into JBoss starting .bat file I insert
> classpath for this my.jar, aplication work without problems.
> I think problem is with some classpath settings, maybe in XML files, but don't known 
>where. Have any1 some ideas?
>
> Miro
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user

--
Fred Loney
Spirited Software, Inc.
[EMAIL PROTECTED]



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

Reply via email to