[JBossWS] - Problem running/creating webservice client .NET
by jnaus
I am trying to integrate with a .NET web service and I am able to create the client side stubs using the AXIS wsdl2java ant task. However when I try and run the JBoss wsconsume function I get the following error:
[WARNING] src-resolve.4.2: Error resolving component 's:schema'
and
[ERROR] undefined element declaration 's:schema'
When I add the following line to my WSDL file
<s:import namespace="http://www.w3.org/2001/XMLSchema" schemaLocation="XMLSchema.xsd"/>
I get the following error:
[ERROR] Element "{http://www.w3.org/2001/XMLSchema}annotation" shows up in more
than one properties.
line 248 of file:/C:/work/JBOSS-~1.GA/bin/XMLSchema.xsd
[ERROR] The following location is relevant to the above error
line 242 of file:/C:/work/JBOSS-~1.GA/bin/XMLSchema.xsd
I am about to start trying to get AXIS to work as a client tool within the JBoss container, but would have liked to use the wsconsume tool. I have looked for a solution on this for 2 days. I have found plenty of posts online discussing the topic but have not found a solution to this problem. Any help on this issue would be appreciated.
Thanks,
Jeroen
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132962#4132962
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132962
17 years, 7 months
[EJB 3.0] - Re: Moving app from 4.0.5GA to 4.2.2GA
by 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
| package com.belo.leaderboard.ejb.session.factories;
|
| import javax.ejb.EJB;
| import javax.ejb.Stateless;
|
| 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;
| @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();
|
| /**
| * @return
| */
| public ISessionBeloAdminPlayerLocal getBeloAdminPlayerBean();
|
| /**
| * @return
| */
| public ISessionBeloAdminCoachLocal getBeloAdminCoachBean();
|
| /**
| * @return
| */
| public ISessionBeloAdminGameLocal getBeloAdminGameBean();
|
| /**
| * @return
| */
| public ISessionBeloAdminStatsLocal getBeloAdminStatBean();
|
| /**
| * @return
| */
| public ISessionBeloAdminUserLocal getBeloAdminUserBean();
|
| }
|
| package com.belo.leaderboard.ejb.session.factories;
|
| import javax.ejb.EJB;
| import javax.ejb.Stateless;
|
| import com.belo.leaderboard.ejb.session.function.ISessionRegionAdminDMALocal;
| import com.belo.leaderboard.ejb.session.function.ISessionRegionAdminGroupLocal;
| import com.belo.leaderboard.ejb.session.function.ISessionRegionAdminRegionLocal;
| import com.belo.leaderboard.ejb.session.function.ISessionRegionAdminSchoolLocal;
| import com.belo.leaderboard.ejb.session.function.ISessionRegionAdminSeasonLocal;
| import com.belo.leaderboard.ejb.session.function.ISessionRegionAdminStatsLocal;
| import com.belo.leaderboard.ejb.session.function.ISessionRegionAdminUserLocal;
| import com.belo.leaderboard.ejb.session.function.ISessionRegionAdminVenueLocal;
|
| /**
| * Factory class for use in the EJB and web tier.
| * Factory Class for access to Region Admin Entity Beans(interfaces)
| */
| @Stateless
| public class RegionAdminFactoryBean extends DMAMgrFactoryBean implements ISessionRegionAdminFactoryLocal {
|
|
| @EJB private ISessionRegionAdminDMALocal regionAdminDMABean;
| @EJB private ISessionRegionAdminSchoolLocal regionAdminSchoolBean;
| @EJB private ISessionRegionAdminVenueLocal regionAdminVenueBean;
| @EJB private ISessionRegionAdminSeasonLocal regionAdminSeasonBean;
| @EJB private ISessionRegionAdminGroupLocal regionAdminGroupBean;
| @EJB private ISessionRegionAdminStatsLocal regionAdminStatsBean;
| @EJB private ISessionRegionAdminUserLocal regionAdminUserBean;
| @EJB private ISessionRegionAdminRegionLocal regionAdminRegionBean;
|
|
|
| /* (non-Javadoc)
| * @see com.belo.leaderboard.ejb.session.factories.ISessionRegionAdminFactory#getRegionAdminDMABean()
| */
| public ISessionRegionAdminDMALocal getRegionAdminDMABean() {
|
| return regionAdminDMABean;
|
| }
|
|
| /* (non-Javadoc)
| * @see com.belo.leaderboard.ejb.session.factories.ISessionRegionAdminFactory#getRegionAdminSchoolBean()
| */
| public ISessionRegionAdminSchoolLocal getRegionAdminSchoolBean() {
|
| return regionAdminSchoolBean;
|
| }
|
|
| /* (non-Javadoc)
| * @see com.belo.leaderboard.ejb.session.factories.ISessionRegionAdminFactory#getRegionAdminVenueBean()
| */
| public ISessionRegionAdminVenueLocal getRegionAdminVenueBean() {
|
| return regionAdminVenueBean;
|
| }
|
|
| /* (non-Javadoc)
| * @see com.belo.leaderboard.ejb.session.factories.ISessionRegionAdminFactory#getRegionAdminSeasonBean()
| */
| public ISessionRegionAdminSeasonLocal getRegionAdminSeasonBean() {
|
| return regionAdminSeasonBean;
|
| }
|
|
| /* (non-Javadoc)
| * @see com.belo.leaderboard.ejb.session.factories.ISessionRegionAdminFactory#getRegionAdminGroupBean()
| */
| public ISessionRegionAdminGroupLocal getRegionAdminGroupBean() {
|
| return regionAdminGroupBean;
|
| }
|
|
| /* (non-Javadoc)
| * @see com.belo.leaderboard.ejb.session.factories.ISessionRegionAdminFactory#getRegionAdminStatsBean()
| */
| public ISessionRegionAdminStatsLocal getRegionAdminStatsBean() {
|
| return regionAdminStatsBean;
|
| }
|
|
| /* (non-Javadoc)
| * @see com.belo.leaderboard.ejb.session.factories.ISessionRegionAdminFactory#getRegionAdminUserBean()
| */
| public ISessionRegionAdminUserLocal getRegionAdminUserBean() {
|
| return regionAdminUserBean;
|
| }
|
| /* (non-Javadoc)
| * @see com.belo.leaderboard.ejb.session.factories.ISessionRegionAdminFactory#getRegionAdminRegionBean()
| */
| public ISessionRegionAdminRegionLocal getRegionAdminRegionBean() {
|
| return regionAdminRegionBean;
|
| }
|
|
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132959#4132959
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132959
17 years, 7 months
[EJB 3.0] - Moving app from 4.0.5GA to 4.2.2GA
by nsmith80
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#4132957
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132957
17 years, 7 months
[JCA/JBoss] - Oracle DS
by Artec
Hi,
I would to know if i can put two different database configuration in the same datasource file.
For example
<local-tx-datasource>
<jndi-name>BS_DB</jndi-name>
<connection-url>jdbc:oracle:oci8:@xxxx</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>BS</user-name>
BS
<max-pool-size>100</max-pool-size>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
</local-tx-datasource>
<local-tx-datasource>
<jndi-name>AS_DB</jndi-name>
<connection-url>jdbc:oracle:oci8:@xxxx</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>BBS</user-name>
BBS
<max-pool-size>100</max-pool-size>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
</local-tx-datasource>
My jboss is 3.2.1 and Oracle 8i.
Because sometimes i receive this error in starting mode:
2008-02-20 03:41:06,849 ERROR [org.jboss.mq.pm.jdbc2.PersistenceManager] Starting failed
org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Message recovery may not be accurate; - nested throwable: (org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (java.sql.SQLException: Connection is broken: Connection refused); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Connection is broken: Connection refused)))
Thanks
Davide
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132951#4132951
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132951
17 years, 7 months
[JBoss Portal] - Re: PortletPreferences in MySql
by PeterJ
I dumped my mysql variables and these are the differences that I noted:
1) I am using utf8 for my character sets:
| character_set_client | utf8
| character_set_connection | utf8
| character_set_database | utf8
| character_set_filesystem | binary
| character_set_results | utf8
| character_set_server | utf8
| character_set_system | utf8
| collation_connection | utf8_general_ci
| collation_database | utf8_general_ci
| collation_server | utf8_general_ci
This might have an effect on the sorting algorithm, and could be the cause of the problem you are seeing.
2) Various buffer sizes are different, but this probably just reflects differences in memory sizes.
3) You changed the port to 3307
4) Your sql-mode is set to nothing, while mine is:
| sql_mode | STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
Not sure if this could cause the problem.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132948#4132948
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132948
17 years, 7 months
[EJB/JBoss] - Re: Migrating from jBoss4.0.5GA to 4.2.2GA
by 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 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=4132942#4132942
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132942
17 years, 7 months