I'm trying to use 4.2.2GA for an EJB3 application that currently runs in 4.0.5GA
without any major issues. I'm running into an issue where the app server is trying to
use ejb-jar.xml file even though I don't use it. I get the following warnings when I
start the server:
| 008-02-26 13:34:22,737 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionRegionAdminDMALocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
| 2008-02-26 13:34:22,752 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionRegionAdminStatsLocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
| 2008-02-26 13:34:22,752 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionRegionAdminUserLocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
| 2008-02-26 13:34:22,752 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionRegionAdminRegionLocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
| 2008-02-26 13:34:22,752 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionDMAMgrCoachLocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
| 2008-02-26 13:34:22,752 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionDMAMgrSchoolLocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
| 2008-02-26 13:34:22,752 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionDMAMgrUserLocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
| 2008-02-26 13:34:22,768 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionDMAMgrDMALocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
| 2008-02-26 13:34:22,784 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionDMAUserPlayerLocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
| 2008-02-26 13:34:22,784 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionDMAUserCoachLocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
| 2008-02-26 13:34:22,784 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionDMAUserGroupLocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
| 2008-02-26 13:34:22,784 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionDMAUserGameLocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
| 2008-02-26 13:34:22,799 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionDMAUserStatsLocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
| 2008-02-26 13:34:22,799 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionDMAUserVenueLocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
| 2008-02-26 13:34:22,799 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionDMAUserSchoolLocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
| 2008-02-26 13:34:22,815 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionDMAUserSportLocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
| 2008-02-26 13:34:22,815 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionDMAUserDMALocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
| 2008-02-26 13:34:22,815 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionDMAUserSeasonLocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
| 2008-02-26 13:34:22,831 WARN [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY:
unable to find @EJB from interface only
com.belo.leaderboard.ejb.session.function.ISessionDMAUserUserLocal in ejb-jar.xml of
BeloAdminFactoryBeanduplicated in LeaderboardEJB.jar
|
It finally throws up toward the end of the deployment with the following error:
| 2008-02-26 13:34:36,984 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner]
Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName:
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=BeloAdminFactoryBean,service=EJB3
| State: FAILED
| Reason: java.lang.RuntimeException: could not resolve global JNDI name for @EJB for
container BeloAdminFactoryBean: reference class:
com.belo.leaderboard.ejb.session.function.ISessionDMAUserSeasonLocal ejbLink: duplicated
in LeaderboardEJB.jar
| I Depend On:
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=BeloAdminDMABean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=BeloAdminStatsBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=BeloAdminCoachBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=DMAUserRegionBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=DMAMgrAthleticDirectorBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=DMAUserPositionBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=DMAMgrDiv1AthleteBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=RegionAdminSeasonBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=RegionAdminGroupBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=DMAMgrAlumBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=BeloAdminUserBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=DMAMgrReportingGroupBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=BeloAdminSportBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=DMAUserTeamBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=AuthenticationBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=DMAUserMeetBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=DMAUserTournamentBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=RegionAdminSchoolBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=RegionAdminVenueBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=DMAUserRosterBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=BeloAdminPlayerBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=BeloAdminGameBean,service=EJB3
|
jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=BeloAdminRegionBean,service=EJB3
| Depends On Me:
| jboss.j2ee:ear=Leaderboard.ear,jar=LeaderboardEJB.jar,name=BeloAdminBean,service=EJB3
|
Does anyone have any ideas? Is there a way to keep jBoss from looking for the ejb-jar.xml
file altogether?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132957#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...