anonymous wrote : | to compile @IgnoreDependency - you need | jboss-4.0.5.GA\client\jboss-annotations-ejb3.jar in your compile classpath. | I found jboss-annotations-ejb3.jar in ejb3.deployer directory which is in the deploy directory of my server, not the client/ directory as you specified. Note that to install EJB3 , I installed JBoss 4.0.5 , copied the default server configuration, then run the EJB3 ant script (install.xml) to install EJB3 stuffs in my server configuration.
Current conclusion is that: - <ignore-dependency /> put in jboss.xml is ignored : i mean event if i specify it, the bean are not deployed; - @IgnoreDependency works fine. When specified, the bean is started even if dependencies are not. So, there may be a problem with my jboss.xml file and ignore-dependency. Has someone got it running ? I copy below my jboss.xml file content. <?xml version="1.0" encoding="UTF-8"?> | <jboss | xmlns="http://java.sun.com/xml/ns/javaee" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee | http://www.jboss.org/j2ee/schema/jboss_5_0.xsd" | version="3.0"> | <enterprise-beans> | <session> | <ejb-name>CmdbServiceBean</ejb-name> | <ejb-ref> | <ejb-ref-name>RepositoryServiceBean</ejb-ref-name> | <ignore-dependency/> | </ejb-ref> | <ejb-ref> | <ejb-ref-name>SecurityServiceBean</ejb-ref-name> | <ignore-dependency/> | </ejb-ref> | </session> | <session> | <ejb-name>RegistryServiceBean</ejb-name> | <ejb-ref> | <ejb-ref-name>RepositoryServiceBean</ejb-ref-name> | <ignore-dependency/> | </ejb-ref> | <ejb-ref> | <ejb-ref-name>SecurityServiceBean</ejb-ref-name> | <ignore-dependency/> | </ejb-ref> | </session> | <session> | <ejb-name>TestServiceBean</ejb-name> | <ejb-ref> | <ejb-ref-name>RegistryServiceBean</ejb-ref-name> | <ignore-dependency/> | </ejb-ref> | </session> | </enterprise-beans> | </jboss> | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991024#3991024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991024 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user