[jboss-user] [EJB/JBoss] - Re: Migrating from jBoss4.0.5GA to 4.2.2GA

2008-04-30 Thread cane74
Hi.

I've had similar problem. It occured while one of my SLSB extended another 
SLSB. After some code refactoring it works properly right now.

Regards,
Bart

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147847
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: Migrating from jBoss4.0.5GA to 4.2.2GA

2008-02-28 Thread nsmith80
Didn't mean to add anything.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132945
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: Migrating from jBoss4.0.5GA to 4.2.2GA

2008-02-28 Thread nsmith80
"nsmith80" wrote : 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

[jboss-user] [EJB/JBoss] - Re: Migrating from jBoss4.0.5GA to 4.2.2GA

2008-02-27 Thread nsmith80
"nsmith80" wrote : Here's the bean, the interface(s) implemented, and class he 
inherits from.  Basically the business tier was built on a hierarchical scheme 
where the highest level user BeloAdmin would inherit his characteristics from 
the lower levels. ie. RegionAdmin 
  | 
  | 
  |   | @Stateless
  |   | public class BeloAdminFactoryBean extends RegionAdminFactoryBean 
implements ISessionBeloAdminFactoryLocal {
  |   | 
  |   | 
  |   | @EJB private ISessionBeloAdminRegionLocal beloAdminRegionBean;
  |   | @EJB private ISessionBeloAdminDMALocal beloAdminDMABean;
  |   | @EJB private ISessionBeloAdminSportLocal beloAdminSportBean;
  |   | @EJB private ISessionBeloAdminPlayerLocal beloAdminPlayerBean;
  |   | @EJB private ISessionBeloAdminCoachLocal beloAdminCoachBean;
  |   | @EJB private ISessionBeloAdminGameLocal beloAdminGameBean;
  |   | @EJB private ISessionBeloAdminStatsLocal beloAdminStatBean;
  |   | @EJB private ISessionBeloAdminUserLocal beloAdminUserBean;
  |   | 
  |   | 
  |   | 
  |   | /* (non-Javadoc)
  |   |  * @see 
com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminRegionBean()
  |   |  */
  |   | public ISessionBeloAdminRegionLocal getBeloAdminRegionBean() {
  |   | 
  |   | return beloAdminRegionBean;
  |   | 
  |   | }
  |   | 
  |   | 
  |   | /* (non-Javadoc)
  |   |  * @see 
com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminDMABean()
  |   |  */
  |   | public ISessionBeloAdminDMALocal getBeloAdminDMABean() {
  |   | 
  |   | return beloAdminDMABean;
  |   | 
  |   | }
  |   | 
  |   | 
  |   | /* (non-Javadoc)
  |   |  * @see 
com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminSportBean()
  |   |  */
  |   | public ISessionBeloAdminSportLocal getBeloAdminSportBean() {
  |   | 
  |   | return beloAdminSportBean;
  |   | 
  |   | }
  |   | 
  |   | 
  |   | /* (non-Javadoc)
  |   |  * @see 
com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminPlayerBean()
  |   |  */
  |   | public ISessionBeloAdminPlayerLocal getBeloAdminPlayerBean() {
  |   | 
  |   | return beloAdminPlayerBean;
  |   | 
  |   | }
  |   | 
  |   | 
  |   | /* (non-Javadoc)
  |   |  * @see 
com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminCoachBean()
  |   |  */
  |   | public ISessionBeloAdminCoachLocal getBeloAdminCoachBean() {
  |   | 
  |   | return beloAdminCoachBean;
  |   | 
  |   | }
  |   | 
  |   | 
  |   | /* (non-Javadoc)
  |   |  * @see 
com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminGameBean()
  |   |  */
  |   | public ISessionBeloAdminGameLocal getBeloAdminGameBean() {
  |   | 
  |   | return beloAdminGameBean;
  |   | 
  |   | }
  |   | 
  |   | 
  |   | /* (non-Javadoc)
  |   |  * @see 
com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminStatBean()
  |   |  */
  |   | public ISessionBeloAdminStatsLocal getBeloAdminStatBean() {
  |   | 
  |   | return beloAdminStatBean;
  |   | 
  |   | }
  |   | 
  |   | 
  |   | /* (non-Javadoc)
  |   |  * @see 
com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminUserBean()
  |   |  */
  |   | public ISessionBeloAdminUserLocal getBeloAdminUserBean() {
  |   | 
  |   | return beloAdminUserBean;
  |   | 
  |   | }
  |   | 
  |   | 
  |   | }
  |   | 
  | 
  | 
  |   | 
  |   | package com.belo.leaderboard.ejb.session.factories;
  |   | 
  |   | import javax.ejb.Local;
  |   | 
  |   | /**
  |   |  * Interface for use in the EJB and web tier.
  |   |   * Interface to Belo Admin Entity Beans
  |   |  */
  |   | @Local
  |   | public interface ISessionBeloAdminFactoryLocal extends 
ISessionBeloAdminFactory {
  |   | 
  |   | }
  |   | 
  |   | 
  | 
  | 
  | 
  |   | package com.belo.leaderboard.ejb.session.factories;
  |   | 
  |   | import 
com.belo.leaderboard.ejb.session.function.ISessionBeloAdminCoachLocal;
  |   | import 
com.belo.leaderboard.ejb.session.function.ISessionBeloAdminDMALocal;
  |   | import 
com.belo.lea

[jboss-user] [EJB/JBoss] - Re: Migrating from jBoss4.0.5GA to 4.2.2GA

2008-02-27 Thread nsmith80
Here's the bean, the interface(s) implemented, and class he inherits from.  
Basically the business tier was built on a hierarchical scheme where the 
highest level user BeloAdmin would inherit his characteristics from the lower 
levels. ie. RegionAdmin 


@Stateless
public class BeloAdminFactoryBean extends RegionAdminFactoryBean implements 
ISessionBeloAdminFactoryLocal {


@EJB private ISessionBeloAdminRegionLocal beloAdminRegionBean;
@EJB private ISessionBeloAdminDMALocal beloAdminDMABean;
@EJB private ISessionBeloAdminSportLocal beloAdminSportBean;
@EJB private ISessionBeloAdminPlayerLocal beloAdminPlayerBean;
@EJB private ISessionBeloAdminCoachLocal beloAdminCoachBean;
@EJB private ISessionBeloAdminGameLocal beloAdminGameBean;
@EJB private ISessionBeloAdminStatsLocal beloAdminStatBean;
@EJB private ISessionBeloAdminUserLocal beloAdminUserBean;



/* (non-Javadoc)
 * @see 
com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminRegionBean()
 */
public ISessionBeloAdminRegionLocal getBeloAdminRegionBean() {

return beloAdminRegionBean;

}


/* (non-Javadoc)
 * @see 
com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminDMABean()
 */
public ISessionBeloAdminDMALocal getBeloAdminDMABean() {

return beloAdminDMABean;

}


/* (non-Javadoc)
 * @see 
com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminSportBean()
 */
public ISessionBeloAdminSportLocal getBeloAdminSportBean() {

return beloAdminSportBean;

}


/* (non-Javadoc)
 * @see 
com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminPlayerBean()
 */
public ISessionBeloAdminPlayerLocal getBeloAdminPlayerBean() {

return beloAdminPlayerBean;

}


/* (non-Javadoc)
 * @see 
com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminCoachBean()
 */
public ISessionBeloAdminCoachLocal getBeloAdminCoachBean() {

return beloAdminCoachBean;

}


/* (non-Javadoc)
 * @see 
com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminGameBean()
 */
public ISessionBeloAdminGameLocal getBeloAdminGameBean() {

return beloAdminGameBean;

}


/* (non-Javadoc)
 * @see 
com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminStatBean()
 */
public ISessionBeloAdminStatsLocal getBeloAdminStatBean() {

return beloAdminStatBean;

}


/* (non-Javadoc)
 * @see 
com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminUserBean()
 */
public ISessionBeloAdminUserLocal getBeloAdminUserBean() {

return beloAdminUserBean;

}


}

package com.belo.leaderboard.ejb.session.factories;

import javax.ejb.Local;

/**
 * Interface for use in the EJB and web tier.
  * Interface to Belo Admin Entity Beans
 */
@Local
public interface ISessionBeloAdminFactoryLocal extends ISessionBeloAdminFactory 
{

}

package com.belo.leaderboard.ejb.session.factories;

import com.belo.leaderboard.ejb.session.function.ISessionBeloAdminCoachLocal;
import com.belo.leaderboard.ejb.session.function.ISessionBeloAdminDMALocal;
import com.belo.leaderboard.ejb.session.function.ISessionBeloAdminGameLocal;
import com.belo.leaderboard.ejb.session.function.ISessionBeloAdminPlayerLocal;
import com.belo.leaderboard.ejb.session.function.ISessionBeloAdminRegionLocal;
import com.belo.leaderboard.ejb.session.function.ISessionBeloAdminSportLocal;
import com.belo.leaderboard.ejb.session.function.ISessionBeloAdminStatsLocal;
import com.belo.leaderboard.ejb.session.function.ISessionBeloAdminUserLocal;

/**
* Interface for use in the EJB and web tier.
* Interface to Belo Admin Entity Beans
*/

public interface ISessionBeloAdminFactory extends ISessionRegionAdminFactory {

/**
 * @return
 */
public ISessionBeloAdminRegionLocal getBeloAdminRegionBean();

/**
 * @return
 */
public ISessionBeloAdminDMALocal getBeloAdminDMABean();

/**
 * @return
 */
public ISessionBeloAdminSportLocal getBeloAdminSportBean();

 

[jboss-user] [EJB/JBoss] - Re: Migrating from jBoss4.0.5GA to 4.2.2GA

2008-02-27 Thread jaikiran
Can you post the contents of your bean? Are you injecting any other beans?

While posting the contents, remember to wrap it in a code block, using the Code 
button in the message editor window.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132402
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user