4 Replies Latest reply on Apr 24, 2002 1:08 PM by eric PAPET

    javax.naming.CommunicationException

    JORGE Newbie

      Hi, when I try to run the interest example in my jboss server under W2000 the server can't find the ejb
      I see that I'm not the only with the problem.
      Is possible that the problem were the O/S?


      ObjRef = jndiContext.lookup("Interest");


      <enterprise-beans>

      <ejb-name>Interest</ejb-name>
      <jndi-name>Interest</jndi-name>

      </enterprise-beans>


      Thanks a lot for your help.

        • 1. Re: javax.naming.CommunicationException
          Andreas Schaefer Apprentice

          I know your time is valuable but MINE is, too. Therefore please add more information like the Exception Stack Trace and the part of the log output where the EJB is deployed and bound.

          Andy

          • 2. Re: javax.naming.CommunicationException
            JORGE Newbie

            Ok sorry about the small information I hope this will be enough

            //THE SERVER LOG

            [root] Started Log4jService, config=file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/conf/tomcat/log4j.properties
            [Classpath extension] Added directory:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/log/
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/activation.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/castor-0.9.1.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/gnu-regexp-1.0.8.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/hsql.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/hsqldb.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jboss-j2ee.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jboss-management.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jboss.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jbosscx.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jbossmq.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jbosspool.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jbosssx.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jcert.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jetty-service.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jmxtools.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jndi.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jnet.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jnpserver.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jpl-util-0_5b.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jsse.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/log4j.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/mail.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/mm.mysql-2.0.4-bin.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/oswego-concurrent.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/ots-jts_1.0.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/tomcat-service.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/tyrex-0.9.8.5.jar
            [Info] Java version: 1.3.1,Sun Microsystems Inc.
            [Info] Java VM: Java HotSpot(TM) Client VM 1.3.1-b24,Sun Microsystems Inc.
            [Info] System: Windows 2000 5.0,x86
            [Info] +++ Full System Properties Dump
            [Info] jmx.specification.vendor: Sun Microsystems
            [Info] java.runtime.name: Java(TM) 2 Runtime Environment, Standard Edition
            [Info] sun.boot.library.path: C:\Program Files\JavaSoft\JRE\1.3.1\bin
            [Info] java.vm.version: 1.3.1-b24
            [Info] java.vm.vendor: Sun Microsystems Inc.
            [Info] java.vendor.url: http://java.sun.com/
            [Info] path.separator: ;
            [Info] java.vm.name: Java HotSpot(TM) Client VM
            [Info] file.encoding.pkg: sun.io
            [Info] java.vm.specification.name: Java Virtual Machine Specification
            [Info] user.dir: D:\JBoss-2.4.3_Tomcat-3.2.3\jboss\bin
            [Info] java.runtime.version: 1.3.1-b24
            [Info] java.awt.graphicsenv: sun.awt.Win32GraphicsEnvironment
            [Info] os.arch: x86
            [Info] java.io.tmpdir: C:\DOCUME~1\jcastro\LOCALS~1\Temp\
            [Info] line.separator:

            [Info] java.vm.specification.vendor: Sun Microsystems Inc.
            [Info] java.awt.fonts:
            [Info] os.name: Windows 2000
            [Info] java.library.path: C:\WINNT\system32;.;C:\WINNT\System32;C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;J:\client\windows\oracle\ora81\bin;"D:\Program Files\Hummingbird\Connectivity\7.00\Accessories\";D:\PROGRA~1\ULTRAE~1;d:\jdk1.3.1\jre\bin;j:\client\windows\oracle\ora81\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;J:\client\windows\oracle\ora81\bin;"D:\Program Files\Hummingbird\Connectivity\7.00\Accessories\";D:\PROGRA~1\ULTRAE~1;d:\jdk1.3.1\jre\bin;j:\client\windows\oracle\ora81\bin;D:\jdk1.3.1\bin;
            [Info] javax.xml.parsers.SAXParserFactory: org.apache.crimson.jaxp.SAXParserFactoryImpl
            [Info] jmx.implementation.version: 1.0
            [Info] java.specification.name: Java Platform API Specification
            [Info] java.class.version: 47.0
            [Info] os.version: 5.0
            [Info] user.home: C:\Documents and Settings\jcastro
            [Info] user.timezone:
            [Info] java.security.policy: /D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/conf/tomcat/server.policy
            [Info] java.awt.printerjob: sun.awt.windows.WPrinterJob
            [Info] file.encoding: Cp1252
            [Info] java.specification.version: 1.3
            [Info] user.name: jcastro
            [Info] java.class.path: ;D:\jdk1.3.1/lib/tools.jar;run.jar;../lib/crimson.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/log/;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/activation.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/castor-0.9.1.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/gnu-regexp-1.0.8.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/hsql.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/hsqldb.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jboss-j2ee.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jboss-management.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jboss.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jbosscx.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jbossmq.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jbosspool.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jbosssx.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jcert.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jetty-service.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jmxtools.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jndi.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jnet.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jnpserver.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jpl-util-0_5b.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/jsse.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/log4j.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/mail.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/mm.mysql-2.0.4-bin.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/oswego-concurrent.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/ots-jts_1.0.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/tomcat-service.jar;/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/lib/ext/tyrex-0.9.8.5.jar
            [Info] jboss.home: D:\JBoss-2.4.3_Tomcat-3.2.3\jboss
            [Info] java.vm.specification.version: 1.0
            [Info] java.home: C:\Program Files\JavaSoft\JRE\1.3.1
            [Info] jmx.specification.name: Java Management Extensions
            [Info] java.specification.vendor: Sun Microsystems Inc.
            [Info] user.language: es
            [Info] awt.toolkit: sun.awt.windows.WToolkit
            [Info] jmx.implementation.name: JMX RI
            [Info] java.vm.info: mixed mode
            [Info] java.version: 1.3.1
            [Info] java.ext.dirs: C:\Program Files\JavaSoft\JRE\1.3.1\lib\ext
            [Info] sun.boot.class.path: C:\Program Files\JavaSoft\JRE\1.3.1\lib\rt.jar;C:\Program Files\JavaSoft\JRE\1.3.1\lib\i18n.jar;C:\Program Files\JavaSoft\JRE\1.3.1\lib\sunrsasign.jar;C:\Program Files\JavaSoft\JRE\1.3.1\classes
            [Info] java.vendor: Sun Microsystems Inc.
            [Info] javax.xml.parsers.DocumentBuilderFactory: org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
            [Info] java.security.auth.login.config: file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/conf/tomcat/auth.conf
            [Info] file.separator: \
            [Info] java.vendor.url.bug: http://java.sun.com/cgi-bin/bugreport.cgi
            [Info] sun.cpu.endian: little
            [Info] sun.io.unicode.encoding: UnicodeLittle
            [Info] jmx.implementation.vendor: Sun Microsystems
            [Info] user.region: ES
            [Info] jmx.specification.version: 1.0 Final Release
            [Info] sun.cpu.isalist: pentium i486 i386
            [Classpath extension] Added directory:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/tmp/
            [Classpath extension] Added directory:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/db/
            [Shutdown] Shutdown hook added
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/tomcat/lib/ant.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/tomcat/lib/jasper.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/tomcat/lib/jaxp.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/tomcat/lib/parser.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/tomcat/lib/servlet.jar
            [Classpath extension] Added library:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/tomcat/lib/webserver.jar
            [Configuration] Port set to 8083 in DefaultDomain:service=Webserver
            [Configuration] DownloadServerClasses set to true in DefaultDomain:service=Webserver
            [Configuration] Port set to 1099 in DefaultDomain:service=Naming
            [Configuration] TransactionTimeout set to 300 in DefaultDomain:service=TransactionManager
            [Configuration] SecurityManagerClassName set to org.jboss.security.plugins.JaasSecurityManager in Security:name=JaasSecurityManager
            [Configuration] Drivers set to org.gjt.mm.mysql.Driver,org.hsqldb.jdbcDriver in DefaultDomain:service=JdbcProvider
            [Configuration] Port set to 1476 in DefaultDomain:service=Hypersonic
            [Configuration] Silent set to true in DefaultDomain:service=Hypersonic
            [Configuration] Database set to default in DefaultDomain:service=Hypersonic
            [Configuration] Trace set to false in DefaultDomain:service=Hypersonic
            [Configuration] PoolName set to DefaultDS in DefaultDomain:service=XADataSource,name=DefaultDS
            [Configuration] DataSourceClass set to org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl in DefaultDomain:service=XADataSource,name=DefaultDS
            [Configuration] URL set to jdbc:hsqldb:hsql://localhost:1476 in DefaultDomain:service=XADataSource,name=DefaultDS
            [Configuration] GCMinIdleTime set to 1200000 in DefaultDomain:service=XADataSource,name=DefaultDS
            [Configuration] JDBCUser set to sa in DefaultDomain:service=XADataSource,name=DefaultDS
            [Configuration] MaxSize set to 10 in DefaultDomain:service=XADataSource,name=DefaultDS
            [Configuration] GCEnabled set to false in DefaultDomain:service=XADataSource,name=DefaultDS
            [Configuration] InvalidateOnError set to false in DefaultDomain:service=XADataSource,name=DefaultDS
            [Configuration] TimestampUsed set to false in DefaultDomain:service=XADataSource,name=DefaultDS
            [Configuration] Blocking set to true in DefaultDomain:service=XADataSource,name=DefaultDS
            [Configuration] GCInterval set to 120000 in DefaultDomain:service=XADataSource,name=DefaultDS
            [Configuration] IdleTimeout set to 1800000 in DefaultDomain:service=XADataSource,name=DefaultDS
            [Configuration] IdleTimeoutEnabled set to false in DefaultDomain:service=XADataSource,name=DefaultDS
            [Configuration] LoggingEnabled set to false in DefaultDomain:service=XADataSource,name=DefaultDS
            [Configuration] MaxIdleTimeoutPercent set to 1.0 in DefaultDomain:service=XADataSource,name=DefaultDS
            [Configuration] MinSize set to 0 in DefaultDomain:service=XADataSource,name=DefaultDS
            [Configuration] PoolName set to mysqlPool in DefaultDomain:service=XADataSource,name=mysqlPool
            [Configuration] DataSourceClass set to org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl in DefaultDomain:service=XADataSource,name=mysqlPool
            [Configuration] URL set to jdbc:mysql://localhost:3306/DATA in DefaultDomain:service=XADataSource,name=mysqlPool
            [Configuration] GCMinIdleTime set to 1200000 in DefaultDomain:service=XADataSource,name=mysqlPool
            [Configuration] MaxSize set to 10 in DefaultDomain:service=XADataSource,name=mysqlPool
            [Configuration] GCEnabled set to false in DefaultDomain:service=XADataSource,name=mysqlPool
            [Configuration] InvalidateOnError set to false in DefaultDomain:service=XADataSource,name=mysqlPool
            [Configuration] TimestampUsed set to false in DefaultDomain:service=XADataSource,name=mysqlPool
            [Configuration] Blocking set to true in DefaultDomain:service=XADataSource,name=mysqlPool
            [Configuration] GCInterval set to 120000 in DefaultDomain:service=XADataSource,name=mysqlPool
            [Configuration] IdleTimeout set to 1800000 in DefaultDomain:service=XADataSource,name=mysqlPool
            [Configuration] IdleTimeoutEnabled set to false in DefaultDomain:service=XADataSource,name=mysqlPool
            [Configuration] LoggingEnabled set to false in DefaultDomain:service=XADataSource,name=mysqlPool
            [Configuration] MaxIdleTimeoutPercent set to 1.0 in DefaultDomain:service=XADataSource,name=mysqlPool
            [Configuration] MinSize set to 0 in DefaultDomain:service=XADataSource,name=mysqlPool
            [Configuration] RefreshSleep set to 5000 in Management:service=Collector
            [Configuration] VerifyDeployments set to true in :service=ContainerFactory
            [Configuration] ValidateDTDs set to false in :service=ContainerFactory
            [Configuration] MetricsEnabled set to false in :service=ContainerFactory
            [Configuration] VerifierVerbose set to true in :service=ContainerFactory
            [Configuration] BeanCacheJMSMonitoringEnabled set to false in :service=ContainerFactory
            [Configuration] StateFile set to jbossmq-state.xml in JBossMQ:service=StateManager
            [Configuration] DataDirectory set to ../../db/jbossmq/ in JBossMQ:service=PersistenceManager
            [Configuration] ConnectionFactoryJNDIRef set to java:/ConnectionFactory in JBossMQ:service=InvocationLayer,type=JVM
            [Configuration] XAConnectionFactoryJNDIRef set to java:/XAConnectionFactory in JBossMQ:service=InvocationLayer,type=JVM
            [Configuration] ConnectionFactoryJNDIRef set to RMIConnectionFactory in JBossMQ:service=InvocationLayer,type=RMI
            [Configuration] XAConnectionFactoryJNDIRef set to RMIXAConnectionFactory in JBossMQ:service=InvocationLayer,type=RMI
            [Configuration] ConnectionFactoryJNDIRef set to ConnectionFactory in JBossMQ:service=InvocationLayer,type=OIL
            [Configuration] XAConnectionFactoryJNDIRef set to XAConnectionFactory in JBossMQ:service=InvocationLayer,type=OIL
            [Configuration] ConnectionFactoryJNDIRef set to UILConnectionFactory in JBossMQ:service=InvocationLayer,type=UIL
            [Configuration] XAConnectionFactoryJNDIRef set to UILXAConnectionFactory in JBossMQ:service=InvocationLayer,type=UIL
            [Configuration] ToName set to ConnectionFactory in DefaultDomain:service=NamingAlias,fromName=QueueConnectionFactory
            [Configuration] FromName set to QueueConnectionFactory in DefaultDomain:service=NamingAlias,fromName=QueueConnectionFactory
            [Configuration] ToName set to ConnectionFactory in DefaultDomain:service=NamingAlias,fromName=TopicConnectionFactory
            [Configuration] FromName set to TopicConnectionFactory in DefaultDomain:service=NamingAlias,fromName=TopicConnectionFactory
            [Configuration] ProviderName set to DefaultJMSProvider in :service=JMSProviderLoader,name=JBossMQProvider
            [Configuration] ProviderAdapterClass set to org.jboss.jms.jndi.JBossMQProvider in :service=JMSProviderLoader,name=JBossMQProvider
            [Configuration] QueueFactoryRef set to java:/XAConnectionFactory in :service=JMSProviderLoader,name=JBossMQProvider
            [Configuration] TopicFactoryRef set to java:/XAConnectionFactory in :service=JMSProviderLoader,name=JBossMQProvider
            [Configuration] PoolName set to StdJMSPool in :service=ServerSessionPoolMBean,name=StdJMSPool
            [Configuration] PoolFactoryClass set to org.jboss.jms.asf.StdServerSessionPoolFactory in :service=ServerSessionPoolMBean,name=StdJMSPool
            [Configuration] DeployerName set to Default in J2EE:service=J2eeDeployer
            [Configuration] JarDeployerName set to :service=ContainerFactory in J2EE:service=J2eeDeployer
            [Configuration] WarDeployerName set to :service=EmbeddedTomcat in J2EE:service=J2eeDeployer
            [Configuration] FactoryName set to MinervaNoTransCMFactory in JCA:service=ConnectionManagerFactoryLoader,name=MinervaNoTransCMFactory
            [Configuration] FactoryClass set to org.jboss.pool.connector.jboss.MinervaNoTransCMFactory in JCA:service=ConnectionManagerFactoryLoader,name=MinervaNoTransCMFactory
            [Configuration] FactoryName set to MinervaSharedLocalCMFactory in JCA:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory
            [Configuration] FactoryClass set to org.jboss.pool.connector.jboss.MinervaSharedLocalCMFactory in JCA:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory
            [Configuration] FactoryName set to MinervaXACMFactory in JCA:service=ConnectionManagerFactoryLoader,name=MinervaXACMFactory
            [Configuration] FactoryClass set to org.jboss.pool.connector.jboss.MinervaXACMFactory in JCA:service=ConnectionManagerFactoryLoader,name=MinervaXACMFactory
            [Configuration] FactoryName set to MinervaDS in JCA:service=ConnectionFactoryLoader,name=MinervaDS
            [Configuration] RARDeployerName set to JCA:service=RARDeployer in JCA:service=ConnectionFactoryLoader,name=MinervaDS
            [Configuration] ResourceAdapterName set to Minerva JDBC LocalTransaction ResourceAdapter in JCA:service=ConnectionFactoryLoader,name=MinervaDS
            [Configuration] Properties set to ConnectionURL=jdbc:HypersonicSQL:hsql://localhost:1476 in JCA:service=ConnectionFactoryLoader,name=MinervaDS
            [Configuration] ConnectionManagerFactoryName set to MinervaSharedLocalCMFactory in JCA:service=ConnectionFactoryLoader,name=MinervaDS
            [Configuration] ConnectionManagerProperties set to # Pool type - uncomment to force, otherwise it is the default
            #PoolConfiguration=per-factory

            # Connection pooling properties - see
            # org.jboss.pool.PoolParameters
            MinSize=0
            MaxSize=10
            Blocking=true
            GCEnabled=false
            IdleTimeoutEnabled=false
            InvalidateOnError=false
            TrackLastUsed=false
            GCIntervalMillis=120000
            GCMinIdleMillis=1200000
            IdleTimeoutMillis=1800000
            MaxIdleTimeoutPercent=1.0 in JCA:service=ConnectionFactoryLoader,name=MinervaDS
            [Configuration] PrincipalMappingClass set to org.jboss.resource.security.ManyToOnePrincipalMapping in JCA:service=ConnectionFactoryLoader,name=MinervaDS
            [Configuration] PrincipalMappingProperties set to userName=sa
            password= in JCA:service=ConnectionFactoryLoader,name=MinervaDS
            [Configuration] FactoryName set to JmsXA in JCA:service=ConnectionFactoryLoader,name=JmsXA
            [Configuration] RARDeployerName set to JCA:service=RARDeployer in JCA:service=ConnectionFactoryLoader,name=JmsXA
            [Configuration] ResourceAdapterName set to JMS Adapter in JCA:service=ConnectionFactoryLoader,name=JmsXA
            [Configuration] ConnectionManagerFactoryName set to MinervaXACMFactory in JCA:service=ConnectionFactoryLoader,name=JmsXA
            [Configuration] ConnectionManagerProperties set to # Pool type - uncomment to force, otherwise it is the default
            #PoolConfiguration=per-factory

            # Connection pooling properties - see
            # org.jboss.pool.PoolParameters
            MinSize=0
            MaxSize=10
            Blocking=true
            GCEnabled=false
            IdleTimeoutEnabled=false
            InvalidateOnError=false
            TrackLastUsed=false
            GCIntervalMillis=120000
            GCMinIdleMillis=1200000
            IdleTimeoutMillis=1800000
            MaxIdleTimeoutPercent=1.0 in JCA:service=ConnectionFactoryLoader,name=JmsXA
            [Configuration] PrincipalMappingClass set to org.jboss.resource.security.ManyToOnePrincipalMapping in JCA:service=ConnectionFactoryLoader,name=JmsXA
            [Configuration] PrincipalMappingProperties set to in JCA:service=ConnectionFactoryLoader,name=JmsXA
            [Configuration] Deployers set to J2EE:service=J2eeDeployer;
            JCA:service=RARDeployer in EJB:service=AutoDeployer
            [Configuration] URLs set to ../deploy,../deploy/lib in EJB:service=AutoDeployer
            [Configuration] MaxActiveClientCount set to 10 in Adaptor:name=html
            [Configuration] Port set to 8082 in Adaptor:name=html
            [Configuration] JNDIName set to Mail in :service=Mail
            [Configuration] ConfigurationFile set to mail.properties in :service=Mail
            [Configuration] User set to user_id in :service=Mail
            [Configuration] Password set to password in :service=Mail
            [Configuration] Detected JMX Bug: Server reports attribute 'ResourceAdapterName' is not writeable for MBean 'JCA:name=JmsXA,service=ConnectionFactoryLoader'
            [Configuration] Detected JMX Bug: Server reports attribute 'Backlog' is not writeable for MBean 'DefaultDomain:service=Naming'
            [Configuration] Detected JMX Bug: Server reports attribute 'ResourceAdapterName' is not writeable for MBean 'JCA:name=MinervaDS,service=ConnectionFactoryLoader'
            [Service Control] Initializing 48 MBeans
            [WebService] Initializing
            [WebService] Initialized
            [NamingService] Initializing
            [NamingService] System.setProperty, key=java.naming.factory.initial, value=org.jnp.interfaces.NamingContextFactory
            [NamingService] System.setProperty, key=java.naming.factory.url.pkgs, value=org.jboss.naming:org.jnp.interfaces
            [NamingService] Initialized
            [JNDIView] Initializing
            [JNDIView] Initialized
            [TransactionManagerService] Initializing
            [TransactionManagerService] Initialized
            [ClientUserTransactionService] Initializing
            [ClientUserTransactionService] Initialized
            [JaasSecurityManagerService] Initializing
            [JaasSecurityManagerService] Initialized
            [JdbcProvider] Initializing
            [JdbcProvider] Loaded JDBC-driver:org.gjt.mm.mysql.Driver
            [JdbcProvider] Loaded JDBC-driver:org.hsqldb.jdbcDriver
            [JdbcProvider] Initialized
            [HypersonicDatabase] Initializing
            [HypersonicDatabase] Initialized
            [XADataSourceLoader] Initializing
            [XADataSourceLoader] Initialized
            [XADataSourceLoader] Initializing
            [XADataSourceLoader] Initialized
            [ServerDataCollector] Initializing
            [ServerDataCollector] Initialized
            [ContainerFactory] Initializing
            [ContainerFactory] Initialized
            [EmbeddedTomcatServiceSX] Initializing
            [EmbeddedTomcatServiceSX] Initialized
            [JBossMQService] Initializing
            [JBossMQService] Initialized
            [StateManager] Initializing
            [StateManager] Initialized
            [PersistenceManager] Initializing
            [PersistenceManager] Initialized
            [JVMServerILService] Initializing
            [JVMServerILService] Initialized
            [RMIServerILService] Initializing
            [RMIServerILService] Initialized
            [OILServerILService] Initializing
            [OILServerILService] Initialized
            [UILServerILService] Initializing
            [UILServerILService] Initialized
            [TopicManager] Initializing
            [JMSServer] addDestination: TOPIC.testTopic, org.jboss.mq.server.JMSTopic@49131c
            [TopicManager] Initialized
            [TopicManager] Initializing
            [JMSServer] addDestination: TOPIC.example, org.jboss.mq.server.JMSTopic@5b99f
            [TopicManager] Initialized
            [TopicManager] Initializing
            [JMSServer] addDestination: TOPIC.bob, org.jboss.mq.server.JMSTopic@5da25b
            [TopicManager] Initialized
            [QueueManager] Initializing
            [JMSServer] addDestination: QUEUE.testQueue, JMSDestination:QUEUE.testQueue
            [QueueManager] Initialized
            [QueueManager] Initializing
            [JMSServer] addDestination: QUEUE.controlQueue, JMSDestination:QUEUE.controlQueue
            [QueueManager] Initialized
            [QueueManager] Initializing
            [JMSServer] addDestination: QUEUE.A, JMSDestination:QUEUE.A
            [QueueManager] Initialized
            [QueueManager] Initializing
            [JMSServer] addDestination: QUEUE.B, JMSDestination:QUEUE.B
            [QueueManager] Initialized
            [QueueManager] Initializing
            [JMSServer] addDestination: QUEUE.C, JMSDestination:QUEUE.C
            [QueueManager] Initialized
            [QueueManager] Initializing
            [JMSServer] addDestination: QUEUE.D, JMSDestination:QUEUE.D
            [QueueManager] Initialized
            [QueueManager] Initializing
            [JMSServer] addDestination: QUEUE.E, JMSDestination:QUEUE.E
            [QueueManager] Initialized
            [QueueManager] Initializing
            [JMSServer] addDestination: QUEUE.F, JMSDestination:QUEUE.F
            [QueueManager] Initialized
            [QueueManager] Initializing
            [JMSServer] addDestination: QUEUE.ex, JMSDestination:QUEUE.ex
            [QueueManager] Initialized
            [NamingAlias] Initializing
            [NamingAlias] Initialized
            [NamingAlias] Initializing
            [NamingAlias] Initialized
            [JMSProviderLoader] Initializing
            [JBossMQProvider] initializing
            [JMSProviderLoader] Initialized
            [ServerSessionPoolLoader] Initializing
            [ServerSessionPoolLoader] initalized with pool factory: org.jboss.jms.asf.StdServerSessionPoolFactory@41b571
            [ServerSessionPoolLoader] Initialized
            [J2eeDeployer] Initializing
            [J2eeDeployer] Initialized
            [RARDeployer] Initializing
            [RARDeployer] Initialized
            [ConnectionManagerFactoryLoader] Initializing
            [MinervaNoTransCMFactory] Initialized
            [ConnectionManagerFactoryLoader] Initializing
            [MinervaSharedLocalCMFactory] Initialized
            [ConnectionManagerFactoryLoader] Initializing
            [MinervaXACMFactory] Initialized
            [ConnectionFactoryLoader] Initializing
            [MinervaDS] Initialized
            [ConnectionFactoryLoader] Initializing
            [JmsXA] Initialized
            [AutoDeployer] Initializing
            [AutoDeployer] Initialized
            [JMXAdaptorService] Initializing
            [JMXAdaptorService] Initialized
            [RMIConnectorService] Initializing
            [RMIConnectorService] Initialized
            [MailService] Initializing
            [MailService] Initialized
            [Service Control] Initialized 48 services
            [Service Control] Starting 48 MBeans
            [WebService] Starting
            [WebServer] Started server: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8083]
            [WebService] Started webserver with address: null port: 8083
            [WebService] Codebase set to: http://jcastro:8083/
            [WebService] Started
            [NamingService] Starting
            [NamingService] Starting jnp server
            [NamingService] Started jnpPort=1099, rmiPort=0, backlog=50, bindAddress=null, Client SocketFactory=null, Server SocketFactory=null
            [NamingService] InitialContext Environment:
            [NamingService] key=java.naming.factory.initial, value=org.jnp.interfaces.NamingContextFactory
            [NamingService] key=java.naming.factory.url.pkgs, value=org.jboss.naming:org.jnp.interfaces:org.jboss.naming:org.jnp.interfaces
            [NamingService] Naming started on port 1099
            [NamingService] Started
            [JNDIView] Starting
            [JNDIView] Started
            [TransactionManagerService] Starting
            [TransactionManagerService] Started
            [ClientUserTransactionService] Starting
            [ClientUserTransactionService] Started
            [JaasSecurityManagerService] Starting
            [JaasSecurityManagerService] startService, cachePolicy=null
            [JaasSecurityManagerService] startService, SecurityProxyFactory=org.jboss.security.SubjectSecurityProxyFactory@113622
            [JaasSecurityManagerService] Started
            [JdbcProvider] Starting
            [JdbcProvider] Started
            [HypersonicDatabase] Starting
            [Default] Server 1.6 is running
            [Default] Press [Ctrl]+[C] to abort
            [HypersonicDatabase] Database started
            [HypersonicDatabase] Started
            [XADataSourceLoader] Starting
            [DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS
            [XADataSourceLoader] Started
            [XADataSourceLoader] Starting
            [mysqlPool] XA Connection pool mysqlPool bound to java:/mysqlPool
            [XADataSourceLoader] Started
            [ServerDataCollector] Starting
            [ServerDataCollector] JBoss Management Service 'servercollector' bound to servercollector
            [ServerDataCollector] Started
            [ContainerFactory] Starting
            [ContainerFactory] Started
            [EmbeddedTomcatServiceSX] Starting
            [EmbeddedTomcatServiceSX] Starting EmbeddedTomcatSX....
            [EmbeddedTomcatServiceSX] 2001-11-12 19:03:09 - ContextManager: Adding context Ctx( /examples )
            [EmbeddedTomcatServiceSX] 2001-11-12 19:03:09 - ContextManager: Adding context Ctx( /admin )
            [Default] Iniciando tomcat. Comprueba el archivo logs/tomcat.log si hay errores
            [EmbeddedTomcatServiceSX] 2001-11-12 19:03:09 - ContextManager: Adding context Ctx( )
            [EmbeddedTomcatServiceSX] 2001-11-12 19:03:09 - ContextManager: Adding context Ctx( /test )
            [EmbeddedTomcatServiceSX] 2001-11-12 19:03:10 - Ctx( ): Mapping with unregistered servlet servletToJsp
            [EmbeddedTomcatServiceSX] 2001-11-12 19:03:10 - PoolTcpConnector: Starting HttpConnectionHandler on 8080
            [EmbeddedTomcatServiceSX] 2001-11-12 19:03:10 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007
            [EmbeddedTomcatServiceSX] OK
            [EmbeddedTomcatServiceSX] Started
            [JBossMQService] Starting
            [JBossMQService] JBossMQ version 1.0.0 Beta Started
            [JBossMQService] Started
            [StateManager] Starting
            [StateManager] Started
            [PersistenceManager] Starting
            [PersistenceManager] Started
            [JVMServerILService] Starting
            [JVMServerILService] Started
            [RMIServerILService] Starting
            [RMIServerILService] Started
            [OILServerILService] Starting
            [OILServerILService] JBossMQ OIL service available at : 0.0.0.0/0.0.0.0:1453
            [OILServerILService] Started
            [UILServerILService] Starting
            [UILServerILService] JBossMQ UIL service available at : 0.0.0.0/0.0.0.0:1454
            [UILServerILService] Started
            [TopicManager] Starting
            [TopicManager] Started
            [TopicManager] Starting
            [TopicManager] Started
            [TopicManager] Starting
            [TopicManager] Started
            [QueueManager] Starting
            [QueueManager] Started
            [QueueManager] Starting
            [QueueManager] Started
            [QueueManager] Starting
            [QueueManager] Started
            [QueueManager] Starting
            [QueueManager] Started
            [QueueManager] Starting
            [QueueManager] Started
            [QueueManager] Starting
            [QueueManager] Started
            [QueueManager] Starting
            [QueueManager] Started
            [QueueManager] Starting
            [QueueManager] Started
            [QueueManager] Starting
            [QueueManager] Started
            [NamingAlias] Starting
            [NamingAlias] Started
            [NamingAlias] Starting
            [NamingAlias] Started
            [JMSProviderLoader] Starting
            [JMSProviderLoader] attempting to bind org.jboss.jms.jndi.JBossMQProvider@60038 to java:/DefaultJMSProvider
            [JMSProviderLoader] bound adapter DefaultJMSProvider to java:/DefaultJMSProvider
            [JMSProviderLoader] Started
            [ServerSessionPoolLoader] Starting
            [ServerSessionPoolLoader] pool factory StdJMSPool bound to java:/StdJMSPool
            [ServerSessionPoolLoader] Started
            [J2eeDeployer] Starting
            [J2EE Deployer Default] Cleaning up deployment directory
            [J2eeDeployer] Started
            [MinervaDS] Evaluating notification type='jmx.attribute.change', message='RARDeployer starting'
            [JmsXA] Evaluating notification type='jmx.attribute.change', message='RARDeployer starting'
            [RARDeployer] Starting
            [MinervaDS] Evaluating notification type='jmx.attribute.change', message='RARDeployer started'
            [JmsXA] Evaluating notification type='jmx.attribute.change', message='RARDeployer started'
            [RARDeployer] Started
            [MinervaNoTransCMFactory] Starting
            [MinervaNoTransCMFactory] Connection manager factory 'MinervaNoTransCMFactory bound to 'java:/MinervaNoTransCMFactory'
            [MinervaNoTransCMFactory] Started
            [MinervaSharedLocalCMFactory] Starting
            [MinervaSharedLocalCMFactory] Connection manager factory 'MinervaSharedLocalCMFactory bound to 'java:/MinervaSharedLocalCMFactory'
            [MinervaSharedLocalCMFactory] Started
            [MinervaXACMFactory] Starting
            [MinervaXACMFactory] Connection manager factory 'MinervaXACMFactory bound to 'java:/MinervaXACMFactory'
            [MinervaXACMFactory] Started
            [MinervaDS] Starting
            [MinervaDS] Started
            [JmsXA] Starting
            [JmsXA] Started
            [AutoDeployer] Starting
            [AutoDeployer] Watching D:\JBoss-2.4.3_Tomcat-3.2.3\jboss\deploy
            [AutoDeployer] Watching D:\JBoss-2.4.3_Tomcat-3.2.3\jboss\deploy\lib
            [AutoDeployer] Auto deploy of file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/deploy/Interest.jar
            [J2EE Deployer Default] Deploy J2EE application: file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/deploy/Interest.jar
            [J2eeDeployer] Create application Interest.jar
            [J2eeDeployer] install EJB module Interest.jar
            [Container factory] Deploying:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/tmp/deploy/Default/Interest.jar
            [Verifier] Verifying file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/tmp/deploy/Default/Interest.jar/ejb1001.jar
            [Verifier] Interest: Verified.
            [Container factory] Deploying Interest
            [Container factory] Container Invoker RMI Port='4444'
            [Container factory] Container Invoker Client SocketFactory='Default'
            [Container factory] Container Invoker Server SocketFactory='Default'
            [Container factory] Container Invoker Server SocketAddr='Default'
            [Container factory] Container Invoker Optimize='true'
            [Container factory] Begin java:comp/env for EJB: Interest
            [Container factory] TCL: java.net.URLClassLoader@1d98a
            [Container factory] End java:comp/env for EJB: Interest
            [Container factory] Mapped Container method remove HASH -1842617161
            [Container factory] Mapped Container method getEJBHome HASH -993218923
            [Container factory] Mapped Container method getHandle HASH 1182305581
            [Container factory] Mapped Container method getPrimaryKey HASH -131865408
            [Container factory] Mapped Container method isIdentical HASH 285457048
            [Container factory] Mapped calculateCompoundInterest 207470129to public double InterestBean.calculateCompoundInterest(double,double,double)
            [Container factory] Mapping remove
            [Container factory] Mapping remove
            [Container factory] Mapping getEJBMetaData
            [Container factory] Mapping getHomeHandle
            [Container factory] Mapping create
            [Container factory] JRMP 1.3 CI initialized
            [Container factory] Bound Interest to Interest
            [ContainerManagement] Initializing
            [ContainerManagement] Initialized
            [ContainerManagement] Starting
            [ContainerManagement] Started
            [Container factory] Deployed application: file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/tmp/deploy/Default/Interest.jar
            [J2EE Deployer Default] J2EE application: file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/deploy/Interest.jar is deployed.
            [AutoDeployer] Auto deploy of file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/deploy/tomcat-test.ear
            [J2EE Deployer Default] Deploy J2EE application: file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/deploy/tomcat-test.ear
            [J2eeDeployer] Create application tomcat-test.ear
            [J2eeDeployer] inflate and install WEB module tomcat-test.war
            [J2eeDeployer] install EJB module tomcat-test.jar
            [J2eeDeployer] add all ejb jar files to the common classpath
            [Container factory] Deploying:file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/tmp/deploy/Default/tomcat-test.ear
            [Verifier] Verifying file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/tmp/deploy/Default/tomcat-test.ear/ejb1003.jar
            [Verifier] Optimized: Verified.
            [Verifier] NonOptimized: Verified.
            [Container factory] Deploying Optimized
            [Container factory] Container Invoker RMI Port='Anonymous'
            [Container factory] Container Invoker Client SocketFactory='Default'
            [Container factory] Container Invoker Server SocketFactory='Default'
            [Container factory] Container Invoker Server SocketAddr='Default'
            [Container factory] Container Invoker Optimize='true'
            [Container factory] Deploying NonOptimized
            [Container factory] Container Invoker RMI Port='Anonymous'
            [Container factory] Container Invoker Client SocketFactory='Default'
            [Container factory] Container Invoker Server SocketFactory='Default'
            [Container factory] Container Invoker Server SocketAddr='Default'
            [Container factory] Container Invoker Optimize='false'
            [Container factory] Begin java:comp/env for EJB: NonOptimized
            [Container factory] TCL: java.net.URLClassLoader@546dbc
            [Container factory] End java:comp/env for EJB: NonOptimized
            [Container factory] Mapped Container method remove HASH -1842617161
            [Container factory] Mapped Container method getEJBHome HASH -993218923
            [Container factory] Mapped Container method getHandle HASH 1182305581
            [Container factory] Mapped Container method getPrimaryKey HASH -131865408
            [Container factory] Mapped Container method isIdentical HASH 285457048
            [Container factory] Mapped getMessage 2070904849to public java.lang.String org.jboss.test.tomcat.ejb.bean.StatelessSessionBean.getMessage()
            [Container factory] Mapped getMessageAndTrace -680988833to public java.lang.String org.jboss.test.tomcat.ejb.bean.StatelessSessionBean.getMessageAndTrace()
            [Container factory] Mapping remove
            [Container factory] Mapping remove
            [Container factory] Mapping getEJBMetaData
            [Container factory] Mapping getHomeHandle
            [Container factory] Mapping create
            [Container factory] JRMP 1.3 CI initialized
            [Container factory] Begin java:comp/env for EJB: Optimized
            [Container factory] TCL: java.net.URLClassLoader@4cd580
            [Container factory] End java:comp/env for EJB: Optimized
            [Container factory] Mapped Container method remove HASH -1842617161
            [Container factory] Mapped Container method getEJBHome HASH -993218923
            [Container factory] Mapped Container method getHandle HASH 1182305581
            [Container factory] Mapped Container method getPrimaryKey HASH -131865408
            [Container factory] Mapped Container method isIdentical HASH 285457048
            [Container factory] Mapped getMessage 2070904849to public java.lang.String org.jboss.test.tomcat.ejb.bean.StatelessSessionBean.getMessage()
            [Container factory] Mapped getMessageAndTrace -680988833to public java.lang.String org.jboss.test.tomcat.ejb.bean.StatelessSessionBean.getMessageAndTrace()
            [Container factory] Mapping remove
            [Container factory] Mapping remove
            [Container factory] Mapping getEJBMetaData
            [Container factory] Mapping getHomeHandle
            [Container factory] Mapping create
            [Container factory] JRMP 1.3 CI initialized
            [Container factory] Bound NonOptimized to NonOptimized
            [Container factory] Bound Optimized to Optimized
            [ContainerManagement] Initializing
            [ContainerManagement] Initialized
            [ContainerManagement] Starting
            [ContainerManagement] Started
            [ContainerManagement] Initializing
            [ContainerManagement] Initialized
            [ContainerManagement] Starting
            [ContainerManagement] Started
            [Container factory] Deployed application: file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/tmp/deploy/Default/tomcat-test.ear
            [J2EE Deployer Default] Starting module tomcat-test.war
            [EmbeddedTomcatServiceSX] deploy, ctxPath=/jboss, warUrl=file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/tmp/deploy/Default/tomcat-test.ear/web1002/
            [EmbeddedTomcatServiceSX] 2001-11-12 19:03:14 - ContextManager: Adding context Ctx( /jboss )
            [EmbeddedTomcatServiceSX] AbstractWebContainer.parseWebAppDescriptors, Begin
            [EmbeddedTomcatServiceSX] Linking java:comp/UserTransaction to JNDI name: UserTransaction
            [EmbeddedTomcatServiceSX] addEnvEntries
            [EmbeddedTomcatServiceSX] linkResourceRefs
            [EmbeddedTomcatServiceSX] linkEjbRefs
            [EmbeddedTomcatServiceSX] linkSecurityDomain
            [EmbeddedTomcatServiceSX] Binding security/securityMgr to NullSecurityManager
            [EmbeddedTomcatServiceSX] AbstractWebContainer.parseWebAppDescriptors, End
            [EmbeddedTomcatServiceSX] Initialized: {WebApplication: /D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/tmp/deploy/Default/tomcat-test.ear/web1002/, URL: file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/tmp/deploy/Default/tomcat-test.ear/web1002/, classLoader: AdaptiveClassLoader( ):5056523}
            [J2EE Deployer Default] J2EE application: file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/deploy/tomcat-test.ear is deployed.
            [AutoDeployer] Auto deploy of file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/deploy/lib/jbosspool-jdbc.rar
            [RARDeployer] Attempting to deploy RAR at 'file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/deploy/lib/jbosspool-jdbc.rar'
            [RARMetaData] methodName = 'setDisplayName'
            [RARMetaData] methodName = 'setDescription'
            [RARMetaData] Loading Minerva Resource Adapter for JDBC 1/2 drivers
            [RARMetaData] methodName = 'setVendorName'
            [RARMetaData] methodName = 'setSpecVersion'
            [RARMetaData] methodName = 'setEisType'
            [RARMetaData] methodName = 'setVersion'
            [RARMetaData] methodName = 'setLicense'
            [RARMetaData] Required license terms present. See deployment descriptor.
            [RARMetaData] methodName = 'setResourceadapter'
            [RARMetaData] methodName = 'setManagedconnectionfactoryClass'
            [RARMetaData] methodName = 'setConnectionfactoryInterface'
            [RARMetaData] methodName = 'setConnectionfactoryImplClass'
            [RARMetaData] methodName = 'setConnectionInterface'
            [RARMetaData] methodName = 'setConnectionImplClass'
            [RARMetaData] methodName = 'setTransactionSupport'
            [RARMetaData] methodName = 'setConfigProperty'
            [RARMetaData] methodName = 'setConfigProperty'
            [RARMetaData] methodName = 'setConfigProperty'
            [RARMetaData] methodName = 'setConfigProperty'
            [RARMetaData] methodName = 'setAuthenticationMechanism'
            [RARMetaData] methodName = 'setAuthenticationMechanismType'
            [RARMetaData] methodName = 'setCredentialInterface'
            [RARMetaData] methodName = 'setReauthenticationSupport'
            [RARDeployer] Adding the following URLs to classpath:
            [RARDeployer] file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/tmp/deploy/RARDeployer/rar.0/ra-libs.jar
            [MinervaDS] Evaluating notification type='org.jboss.resource.deployment.deploy', message='Minerva JDBC LocalTransaction ResourceAdapter'
            [MinervaDS] Received notification 'javax.management.Notification[source=org.jboss.resource.RARDeployer@3b9fae]'
            [MinervaDS] Not setting config property 'Driver'
            [MinervaDS] Not setting config property 'Password'
            [MinervaDS] Not setting config property 'UserName'
            [ConnectionManagerFactoryLoader] ConnectionManagerLoader.getObjectInstance, name = 'MinervaSharedLocalCMFactory'
            [MinervaDS] Binding object 'org.jboss.pool.connector.jdbc.JDBCDataSource@45e228' into JNDI at 'java:/MinervaDS'
            [MinervaDS] Bound connection factory for resource adapter 'Minerva JDBC LocalTransaction ResourceAdapter' to JNDI name 'java:/MinervaDS'
            [JmsXA] Evaluating notification type='org.jboss.resource.deployment.deploy', message='Minerva JDBC LocalTransaction ResourceAdapter'
            [AutoDeployer] Auto deploy of file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/deploy/lib/jms-ra.rar
            [RARDeployer] Attempting to deploy RAR at 'file:/D:/JBoss-2.4.3_Tomcat-3.2.3/jboss/deploy/lib/jms-ra.rar'
            [RARMetaData] methodName = 'setDisplayName'
            [RARMetaData] methodName = 'setVendorName'
            [RARMetaData] methodName = 'setSpecVersion'
            [RARMetaData] methodName = 'setVersion'
            [RARMetaData] methodName = 'setEisType'
            [RARMetaData] methodName = 'setResourceadapter'
            [RARMetaData] methodName = 'setManagedconnectionfactoryClass'
            [RARMetaData] methodName = 'setConnectionfactoryInterface'
            [RARMetaData] methodName = 'setConnectionfactoryImplClass'
            [RARMetaData] methodName = 'setConnectionInterface'
            [RARMetaData] methodName = 'setConnectionImplClass'
            [RARMetaData] methodName = 'setTransactionSupport'
            [RARMetaData] methodName = 'setConfigProperty'
            [RARMetaData] methodName = 'setAuthMechanism'
            [RARMetaData] methodName = 'setAuthMechType'
            [RARMetaData] methodName = 'setCredentialInterface'
            [RARMetaData] methodName = 'setReauthenticationSupport'
            [RARDeployer] Adding the following URLs to classpath:
            [MinervaDS] Evaluating notification type='org.jboss.resource.deployment.deploy', message='JMS Adapter'
            [JmsXA] Evaluating notification type='org.jboss.resource.deployment.deploy', message='JMS Adapter'
            [JmsXA] Received notification 'javax.management.Notification[source=org.jboss.resource.RARDeployer@3b9fae]'
            [JmsXA] Using default value 'java:DefaultJMSProvider' for config property 'JmsProviderAdapterJNDI'
            [JmsXA] FINE: Setting LogWriter: org.jboss.logging.log4j.CategoryWriter@e434d
            [ConnectionManagerFactoryLoader] ConnectionManagerLoader.getObjectInstance, name = 'MinervaXACMFactory'
            [JmsXA] Binding object 'org.jboss.jms.ra.JmsConnectionFactoryImpl@2c17f7' into JNDI at 'java:/JmsXA'
            [JmsXA] Bound connection factory for resource adapter 'JMS Adapter' to JNDI name 'java:/JmsXA'
            [AutoDeployer] Started
            [JMXAdaptorService] Starting
            [JMXAdaptorService] Started
            [RMIConnectorService] Starting
            [RMIConnectorService] Started
            [MailService] Starting
            [MailService] Mail Service 'Mail' bound to java:/Mail
            [MailService] Started
            [Service Control] Started 48 services
            [Default] JBoss 2.4.3 Started in 0m:12s
            [Default] Got context
            [Default] Excepción: javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: InterestHome]

            //THE XML'S

            <ejb-jar>
            jBoss test application
            <display-name>Interest</display-name>
            <enterprise-beans>

            <ejb-name>Interest</ejb-name>
            InterestHome
            Interest
            <ejb-class>InterestBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Bean</transaction-type>

            </enterprise-beans>
            </ejb-jar>


            <enterprise-beans>

            <ejb-name>Interest</ejb-name>
            <jndi-name>Interest</jndi-name>
            false

            </enterprise-beans>




            • 3. Re: javax.naming.CommunicationException
              JORGE Newbie

              Thanks a lot for your help, the Jboss server & Jboss team are the best of the best I've now got my application runnig under Jboss server long live JBOSS

              • 4. Re: javax.naming.CommunicationException
                eric PAPET Newbie

                I am the same problem.
                I use JBOSS2.4.4 whith Tomcat3.2.3 in the same JVM.

                <ejb-jar>
                <enterprise-beans>


                <ejb-name>UserBean</ejb-name>
                com.dev1.sysmex.fse.bean.entity.user.UserHome
                com.dev1.sysmex.fse.bean.entity.user.User
                <ejb-class>com.dev1.sysmex.fse.bean.entity.user.UserBean</ejb-class>
                <persistence-type>Container</persistence-type>
                <prim-key-class>java.lang.String</prim-key-class>
                False
                <cmp-field><field-name>nom</field-name></cmp-field>
                <cmp-field><field-name>login</field-name></cmp-field>
                <primkey-field>nom</primkey-field>


                <ejb-name>FseBean</ejb-name>
                com.dev1.sysmex.fse.bean.entity.fse.FseHome
                com.dev1.sysmex.fse.bean.entity.fse.Fse
                <ejb-class>com.dev1.sysmex.fse.bean.entity.fse.FseBean</ejb-class>
                <persistence-type>Container</persistence-type>
                <prim-key-class>java.lang.String</prim-key-class>
                False
                <cmp-field><field-name>numDem</field-name></cmp-field>
                <cmp-field><field-name>dateDem</field-name></cmp-field>
                <cmp-field><field-name>numFse</field-name></cmp-field>
                <cmp-field><field-name>etat</field-name></cmp-field>
                <primkey-field>numDem</primkey-field>

                </enterprise-beans>
                </ejb-jar>

                My client test ( not tomcat ) is OK

                public class ClientTest{

                public static void main(String args[]) throws Exception{

                try{
                Properties p = new Properties();
                p.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
                p.put("java.naming.provider.url","localhost:1099");
                p.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");

                InitialContext iniCtx = new InitialContext(p);

                System.out.println("TEST:initialisation contexte");

                Object ref = iniCtx.lookup("FseBean");

                System.out.println("REF:FSEHOME created");

                FseHome home = (FseHome) ref;

                /*
                home.create("113306",new Date());
                home.create("113307",new Date());
                home.create("113308",new Date());
                home.create("113309",new Date());
                home.create("113310",new Date());
                */

                Enumeration enumFse = Collections.enumeration(home.findAll());

                while(enumFse.hasMoreElements()){
                Fse fse = (Fse) enumFse.nextElement();
                System.out.println("FSE: numDem : "+fse.getNumDem()+" --- Date : "+ (fse.getDateDem()).toString()+"\n");
                }

                Object uRef = iniCtx.lookup("UserBean");

                System.out.println("LookUp UserBean OK");

                UserHome uHome = (UserHome) uRef;
                /*

                uHome.create("A");
                uHome.create("B");
                uHome.create("C");
                uHome.create("D");
                uHome.create("E");
                */
                System.out.println("Utilisateurs créés.");

                Enumeration users = uHome.findAll();

                while(users.hasMoreElements()){
                User user = (User) users.nextElement();
                System.out.println("Utisateur: Nom : " + user.getNom() + "\n");
                }



                }
                catch(Exception e){
                e.printStackTrace();
                }
                }

                }

                FIN CLIENT TEST

                BUT whith my servlet (MVC), only the FseBean is Ok, my UserBean generate when look Up : javax.servlet.ServletException: Mon erreur : javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: com.dev1.sysmex.fse.bean.entity.fse.FseHome]

                SERVELET

                public void init() throws ServletException{

                String fseConfFile = getInitParameter("contextFSE");

                if((fseConfFile == null) || (fseConfFile.length() == 0) ){

                try{
                ctrlFSE = new ControlerFSE();
                ctrlUser = new ControlerUser();
                }
                catch(Exception e){
                throw new ServletException("Mon erreur : " + e.toString());
                }
                }
                FIN SERVLET


                CONTROLEUR FSE
                public class ControlerFSE{

                InitialContext iniCtx = null;
                FseHome home = null;

                public ControlerFSE() throws Exception{
                try{
                iniCtx = new InitialContext();
                home = (FseHome) iniCtx.lookup("FseBean");
                }
                catch(Exception e){
                throw e;
                }
                }
                FIN CONTROLEUR FSE

                CONTROLEUR USER
                public class ControlerUser{

                InitialContext iniCtx = null;
                UserHome home = null;

                public ControlerUser() throws Exception{
                try{
                iniCtx = new InitialContext();
                home = (UserHome) iniCtx.lookup("UserBean");
                }
                catch(Exception e){
                throw e;
                }
                }
                FIN CONTROLEUR USER

                What the problem

                Best Regards
                Eric PAPET