Hi gbrigand; first of all thanks for your answer. I have this jboss-web.xml in my 
web-app:
anonymous wrote : <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN" 
"http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd";>
  | <jboss-web>
  |   <security-domain>java:/jaas/danetworkflow</security-domain>  
<context-root>demo</context-root>
  |   <ejb-ref>
  |     <ejb-ref-name>ejb/Engine</ejb-ref-name>
  |     <jndi-name>jnp://localhost:1099/WorkflowEngine</jndi-name>
  |   </ejb-ref>
  | </jboss-web>

my web.xml is:

anonymous wrote : <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 
"http://java.sun.com/dtd/web-app_2_3.dtd";>
  | <web-app>
  |   <display-name>Demo Engineering</display-name>
  |   Semplice demo per l'utilizzo di wfmOpen per Engineering Ingegneria Informatica
  |   
  |     <filter-name>LoginFilter</filter-name>
  |     <filter-class>it.eng.nikko.demo.web.login.LoginFilter</filter-class>
  |     <init-param>
  |       <param-name>ApplicationPolicy</param-name>
  |       <param-value>client-login</param-value>
  |     </init-param>
  |   
  |   <filter-mapping>
  |     <filter-name>LoginFilter</filter-name>
  |     <servlet-name>dispatcher</servlet-name>
  |   </filter-mapping>
  |   
  |     <servlet-name>dispatcher</servlet-name>
  |     <servlet-class>it.eng.nikko.demo.web.login.Dispatcher</servlet-class>
  |   
  |   <servlet-mapping>
  |     <servlet-name>dispatcher</servlet-name>
  |     <url-pattern>/dispatcher</url-pattern>
  |   </servlet-mapping>
  |   <security-constraint>
  |     <display-name>Restricted</display-name>
  |     <web-resource-collection>
  |       <web-resource-name>Restricted</web-resource-name>
  |       <url-pattern>/*</url-pattern>
  |       <http-method>DELETE</http-method>
  |       <http-method>HEAD</http-method>
  |       <http-method>GET</http-method>
  |       <http-method>POST</http-method>
  |       <http-method>PUT</http-method>
  |     </web-resource-collection>
  |     <auth-constraint>
  |       <role-name>StaffManagementUser</role-name>
  |     </auth-constraint>
  |   </security-constraint>
  |   <login-config>
  |     <auth-method>FORM</auth-method>
  |     <form-login-config>
  |       <form-login-page>/login.jsp</form-login-page>
  |       <form-error-page>/error.html</form-error-page>
  |     </form-login-config>
  |   </login-config>
  |   <security-role>
  |     Default
  |     <role-name>StaffManagementUser</role-name>
  |   </security-role>
  |   <ejb-ref>
  |     Mi riferisco al workflow EJB
  |     <ejb-ref-name>ejb/Engine</ejb-ref-name>
  |     <ejb-ref-type>Session</ejb-ref-type>
  |     de.danet.an.workflow.ejbs.WorkflowEngineHome
  |     de.danet.an.workflow.ejbs.WorkflowEngine
  |     <ejb-link>Engine</ejb-link>
  |   </ejb-ref>
  | </web-app>

All the EJB i want to use have a similar jboss.xml:
anonymous wrote : 
  | 
  |  <security-domain>java:/jaas/danetworkflow</security-domain>
  | 
  |    <enterprise-beans>
  | 
  |      <!--
  |        To add beans that you have deployment descriptor info for, add
  |        a file to your XDoclet merge directory called jboss-beans.xml that contains
  |        the ,  and <message-driven></message-driven>
  |        markup for those beans.
  |      -->
  | 
  |       
  |          <ejb-name>StaffMemberBean</ejb-name>
  |          <jndi-name>StaffMemberBean</jndi-name>
  | 
  |       
  |       
  |          <ejb-name>StaffGroupBean</ejb-name>
  |          <jndi-name>StaffGroupBean</jndi-name>
  | 
  |       
  | 
  |       
  |          <ejb-name>StaffDirectory</ejb-name>
  |          <jndi-name>de.danet.an.workflow.StaffDirectory</jndi-name>
  | 
  |       
  | 
  |    </enterprise-beans>
  | 
  |   <resource-managers>
  |   <resource-manager res-class="org.jboss.ejb.deployment.JDBCResource">
  |     <res-name>jdbc/StaffMgmt</res-name>
  |     <res-jndi-name>java:/DefaultDS</res-jndi-name>
  |   </resource-manager>
  | </resource-managers>
  | 
  | 

As you can see the security-domain are equals..... i'm becoming crazy to solve this 
error.... have you any ideas?
Thanks again...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853122#3853122

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853122


-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to