Hello, This application.xml works for me.
<?xml version="1.0" encoding="Cp1252"?> <!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'> <application> <display-name>whatever</display-name> <description>whatever</description> <module> <ejb>whatever.jar</ejb> </module> <module> <web> <web-uri>whatever.war</web-uri> <context-root>whatever</context-root> </web> </module> </application> Regards, Stephen. -----Original Message----- From: Leslie Bertels (Synergetic) [mailto:[EMAIL PROTECTED]] Sent: 20 August 2002 15:06 To: Struts Users Mailing List Subject: Problem deploying ejb combined with struts Hi all, I have a problem deploying my application. Used configuration: JBoss 3.0 - Jetty 4.1 EJB 2.0 Servlets - Struts. When I create my application.xml I need to add a <ejb> module otherwise the appserver does not deploy the ejbs. But if I do, my struts are no longer accessible. This is the error : java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm If I leave the <ejb> module out, the struts compile and are accessible trough the JSP's but when trying to access the ejb's (since they are not deployed) Following error occurs: javax.naming.NameNotFoundException: LogonSession not bound Meaning I need to come up with a solution for this. If anyone has encountered this problem, could you please let me know, maybe I can send over my xml and .ear file so you could have a look if my structure is wrong. Thanks in advance, Les. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> ------------------------------------------------------------------------------------------- Copyright material and/or confidential and/or privileged information may be contained in this e-mail and any attached documents. The material and information is intended for the use of the intended addressee only. If you are not the intended addressee, or the person responsible for delivering it to the intended addressee, you may not copy, disclose, distribute, disseminate or deliver it to anyone else or use it in any unauthorised manner or take or omit to take any action in reliance on it. To do so is prohibited and may be unlawful. The views expressed in this e-mail may not be official policy but the personal views of the originator. If you receive this e-mail in error, please advise the sender immediately by using the reply facility in your e-mail software, or contact [EMAIL PROTECTED] Please also delete this e-mail and all documents attached immediately. Many thanks for your co-operation. BMW Financial Services (GB) Limited is registered in England and Wales under company number 01288537. Registered Offices : Europa House, Bartley Way, Hook, Hants, RG27 9UF ------------------------------------------------------------------------------------------ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>