3 Replies Latest reply on Aug 5, 2002 12:15 AM by Mel Gibsun

    unable to run the client for interest example (file not foun

    raghuram Newbie

      hai
      i have successfully installed the jboss/tomcat/cocoon/ant combination.. ive successfully done everything untill
      ant intro-interest-deploy... and now when i am trying to run the client it says FileNotFoundException: InterestClient does not exist..
      i have installed JBoss of NTmachine and have included all the class paths correctly.........here is my problem


      E:\JBoss-2.4.1_Tomcat-3.2.3\examples\build>ant intro-interest-client
      Buildfile: build.xml

      validate-servlet:

      validate-jboss:

      fail_if_not_valid:

      init:
      [echo] Using JBoss directory=E:\JBoss-2.4.1_tomcat-3.2.3\jboss
      [echo] Using base classpath=E:\JBoss-2.4.1_tomcat-3.2.3\jboss\client\jboss-
      j2ee.jar;E:\JBoss-2.4.1_tomcat-3.2.3\jboss\client\jaas.jar;E:\JBoss-2.4.1_tomcat
      -3.2.3\jboss\client\jbosssx-client.jar;E:\JBoss-2.4.1_tomcat-3.2.3\jboss\client\
      jboss-client.jar;E:\JBoss-2.4.1_tomcat-3.2.3\jboss\client\jnp-client.jar;E:\JBos
      s-2.4.1_tomcat-3.2.3\tomcat\lib\servlet.jar
      [echo] Using Source directory=E:\JBoss-2.4.1_Tomcat-3.2.3\examples
      [echo] Using Build directory=E:\JBoss-2.4.1_Tomcat-3.2.3\examples/build-exa
      mples

      intro-interest-client:

      compile:

      interest-client:
      [java] java.io.FileNotFoundException: E:\JBoss-2.4.1_tomcat-3.2.3\jboss\con
      fig\security.properties (The system cannot find the path specified)
      [java] at java.io.FileInputStream.open(Native Method)
      [java] at java.io.FileInputStream.(FileInputStream.java:64)
      [java] at java.io.FileInputStream.(FileInputStream.java:95)
      [java] at com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility
      .java:42)
      [java] at com.sun.enterprise.iiop.POAEJBORB.(POAEJBORB.java:78)

      [java] at java.lang.Class.forName0(Native Method)
      [java] at java.lang.Class.forName(Class.java:195)
      [java] at org.omg.CORBA.ORB.create_impl(ORB.java:284)
      [java] at org.omg.CORBA.ORB.init(ORB.java:328)
      [java] at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:
      138)
      [java] at com.sun.enterprise.util.ORBManager.init(ORBManager.java:65)
      [java] at com.sun.enterprise.naming.SerialInitContextFactory.(Ser
      ialInitContextFactory.java:31)
      [java] at java.lang.Class.newInstance0(Native Method)
      [java] at java.lang.Class.newInstance(Class.java:237)
      [java] at javax.naming.spi.NamingManager.getInitialContext(NamingManage
      r.java:652)
      [java] at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.
      java:246)
      [java] at javax.naming.InitialContext.init(InitialContext.java:222)
      [java] at javax.naming.InitialContext.(InitialContext.java:178)
      [java] at org.jboss.docs.interest.InterestClient.main(InterestClient.ja
      va:29)
      [java] java.io.FileNotFoundException: E:\JBoss-2.4.1_tomcat-3.2.3\jboss\con
      fig\ejb.properties (The system cannot find the path specified)
      [java] at java.io.FileInputStream.open(Native Method)
      [java] at java.io.FileInputStream.(FileInputStream.java:64)
      [java] at java.io.FileInputStream.(FileInputStream.java:95)
      [java] at com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility
      .java:42)
      [java] at com.sun.enterprise.iiop.J2EEInitializer.(J2EEInitialize
      r.java:54)
      [java] at java.lang.Class.newInstance0(Native Method)
      [java] at java.lang.Class.newInstance(Class.java:237)
      [java] at com.sun.corba.ee.internal.Interceptors.PIORB.registerORBIniti
      alizers(PIORB.java:377)
      [java] at com.sun.corba.ee.internal.Interceptors.PIORB.parseProperties(
      PIORB.java:347)
      [java] at com.sun.corba.ee.internal.TxPOA.TxPIORB.parseProperties(TxPIO
      RB.java:116)
      [java] at com.sun.corba.ee.internal.corba.ORB.set_parameters(ORB.java:4
      61)
      [java] at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.ja
      va:156)
      [java] at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(P
      IORB.java:336)
      [java] at org.omg.CORBA.ORB.init(ORB.java:329)
      [java] at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:
      138)
      [java] at com.sun.enterprise.util.ORBManager.init(ORBManager.java:65)
      [java] at com.sun.enterprise.naming.SerialInitContextFactory.(Ser
      ialInitContextFactory.java:31)
      [java] at java.lang.Class.newInstance0(Native Method)
      [java] at java.lang.Class.newInstance(Class.java:237)
      [java] at javax.naming.spi.NamingManager.getInitialContext(NamingManage
      r.java:652)
      [java] at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.
      java:246)
      [java] at javax.naming.InitialContext.init(InitialContext.java:222)
      [java] at javax.naming.InitialContext.(InitialContext.java:178)
      [java] at org.jboss.docs.interest.InterestClient.main(InterestClient.ja
      va:29)
      [java]
      [java] Warning: unable to read transaction.interoperability config property

      [java] Got context
      [java] java.io.FileNotFoundException: E:\JBoss-2.4.1_tomcat-3.2.3\jboss\con
      fig\security.properties (The system cannot find the path specified)
      [java] at java.io.FileInputStream.open(Native Method)
      [java] at java.io.FileInputStream.(FileInputStream.java:64)
      [java] at java.io.FileInputStream.(FileInputStream.java:95)
      [java] at com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility
      .java:42)
      [java] at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<c
      linit>(SecurityMechanismSelector.java:102)
      [java] at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(
      IIOPSSLSocketFactory.java:211)
      [java] at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(
      ConnectionTable.java:73)


      can someone help me out..thanks in advance

        • 1. Re: unable to run the client for interest example (file not
          raghuram Newbie

          here is the server side output (incase if it is needed...)this is when i was trying to run the Clent of the CDexample....(same problem for Interest example also). i was able to compile all the classes and successfully deployed it onto the server... can somebody help identify what the problem is ..?
          here is the class path of my system if it is needed..


          CLASSPATH:
          C:\jdk1.2\lib\*.jar;E:\JBoss-2.4.1_Tomcat3.2.3\lib\*.jar;E:\JBoss-2.4.1_Tomcat3.2.3\jboss\lib\*.jar;E:\JBoss-2.4.1_Tomcat3.2.3\jboss\lib\ext\*.jar;C:\j2sdkee1.3.1\*.jar;E:\jakarta-ant-1.4.1\lib\*.jar;E:\JBoss-2.4.1_Tomcat-3.2.3\tomcat\lib\*.jar;E:\j2re1.4.0\lib\*.jar;E:\j2sdk1.3.1\lib\*.jar;E:\JBoss-2.4.1_Tomcat-3.2.3\jboss\client\*.jar


          SERVER SIDE OUTPUT:


          ....JBOSS_CLASSPATH=;E:\j2sdk1.3.1/lib/tools.jar;run.jar;../lib/crimson.jar
          jboss.home = E:\JBoss-2.4.1_Tomcat-3.2.3\jboss
          Using JAAS LoginConfig: file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jboss/conf/tomcat/auth
          .conf
          Using configuration "tomcat"
          [root] Started Log4jService, config=file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jboss/conf
          /tomcat/log4j.properties
          [Info] Java version: 1.3.1_02,Sun Microsystems Inc.
          [Info] Java VM: Java HotSpot(TM) Client VM 1.3.1_02-b02,Sun Microsystems Inc.
          [Info] System: Windows NT 4.0,x86
          [Shutdown] Shutdown hook added
          [Service Control] Initializing 48 MBeans
          [WebService] Initializing
          [WebService] Initialized
          [NamingService] Initializing
          [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.hsql.jdbcDriver
          [JdbcProvider] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver
          [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
          [TopicManager] Initialized
          [TopicManager] Initializing
          [TopicManager] Initialized
          [TopicManager] Initializing
          [TopicManager] Initialized
          [QueueManager] Initializing
          [QueueManager] Initialized
          [QueueManager] Initializing
          [QueueManager] Initialized
          [QueueManager] Initializing
          [QueueManager] Initialized
          [QueueManager] Initializing
          [QueueManager] Initialized
          [QueueManager] Initializing
          [QueueManager] Initialized
          [QueueManager] Initializing
          [QueueManager] Initialized
          [QueueManager] Initializing
          [QueueManager] Initialized
          [QueueManager] Initializing
          [QueueManager] Initialized
          [QueueManager] Initializing
          [QueueManager] Initialized
          [NamingAlias] Initializing
          [NamingAlias] Initialized
          [NamingAlias] Initializing
          [NamingAlias] Initialized
          [JMSProviderLoader] Initializing
          [JMSProviderLoader] Initialized
          [ServerSessionPoolLoader] Initializing
          [ServerSessionPoolLoader] Initialized
          [J2eeDeployer] Initializing
          [J2eeDeployer] Initialized
          [RARDeployer] Initializing
          [RARDeployer] Initialized
          [ConnectionManagerFactoryLoader] Initializing
          [ConnectionManagerFactoryLoader] Initialized
          [ConnectionManagerFactoryLoader] Initializing
          [ConnectionManagerFactoryLoader] Initialized
          [ConnectionManagerFactoryLoader] Initializing
          [ConnectionManagerFactoryLoader] Initialized
          [ConnectionFactoryLoader] Initializing
          [ConnectionFactoryLoader] Initialized
          [ConnectionFactoryLoader] Initializing
          [ConnectionFactoryLoader] 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
          [WebService] Started webserver with address: null port: 8083
          [WebService] Codebase set to: http://wsoft15:8083/
          [WebService] Started
          [NamingService] Starting
          [NamingService] Starting jnp server
          [NamingService] Started jnpPort=1099, rmiPort=0, backlog=50, bindAddress=null, C
          lient SocketFactory=null, Server SocketFactory=null
          [NamingService] InitialContext Environment:
          [NamingService] key=java.naming.factory.initial, value=org.jnp.interfaces.Naming
          ContextFactory
          [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.securi
          ty.SubjectSecurityProxyFactory@562270
          [JaasSecurityManagerService] Started
          [JdbcProvider] Starting
          [JdbcProvider] Started
          [HypersonicDatabase] Starting
          [HypersonicDatabase] Database started
          [HypersonicDatabase] Started
          [XADataSourceLoader] Starting
          [InstantDB] XA Connection pool InstantDB bound to java:/InstantDB
          [Default] Enhydra InstantDB - Version 3.26
          [Default]
          [Default] The Initial Developer of the Original Code is Lutris Technologies Inc.

          Portions created by Lutris are Copyright (C) 1997-2001 Lutris Technologies, Inc.

          All Rights Reserved.
          [Default] Server 1.4 is running
          [Default] Press [Ctrl]+[C] to abort
          [XADataSourceLoader] Started
          [XADataSourceLoader] Starting
          [DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS
          [XADataSourceLoader] Started
          [ServerDataCollector] Starting
          [ServerDataCollector] JBoss Management Service 'servercollector' bound to server
          collector
          [ServerDataCollector] Started
          [ContainerFactory] Starting
          [ContainerFactory] Started
          [EmbeddedTomcatServiceSX] Starting
          [EmbeddedTomcatSX] Starting EmbeddedTomcatSX....
          [Default] Starting tomcat. Check logs/tomcat.log for error messages
          [EmbeddedTomcatSX] 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 : 192.168.1.104:3390
          [OILServerILService] Started
          [UILServerILService] Starting
          [UILServerILService] JBossMQ UIL service available at : 192.168.1.104:3391
          [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] 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
          [RARDeployer] Starting
          [RARDeployer] Started
          [ConnectionManagerFactoryLoader] Starting
          [MinervaNoTransCMFactory] Connection manager factory 'MinervaNoTransCMFactory bo
          und to 'java:/MinervaNoTransCMFactory'
          [ConnectionManagerFactoryLoader] Started
          [ConnectionManagerFactoryLoader] Starting
          [MinervaSharedLocalCMFactory] Connection manager factory 'MinervaSharedLocalCMFa
          ctory bound to 'java:/MinervaSharedLocalCMFactory'
          [ConnectionManagerFactoryLoader] Started
          [ConnectionManagerFactoryLoader] Starting
          [MinervaXACMFactory] Connection manager factory 'MinervaXACMFactory bound to 'ja
          va:/MinervaXACMFactory'
          [ConnectionManagerFactoryLoader] Started
          [ConnectionFactoryLoader] Starting
          [ConnectionFactoryLoader] Started
          [ConnectionFactoryLoader] Starting
          [ConnectionFactoryLoader] Started
          [AutoDeployer] Starting
          [AutoDeployer] Watching E:\JBoss-2.4.1_Tomcat-3.2.3\jboss\deploy
          [AutoDeployer] Watching E:\JBoss-2.4.1_Tomcat-3.2.3\jboss\deploy\lib
          [AutoDeployer] Auto deploy of file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jboss/deploy/coc
          oon.war
          [J2EE Deployer Default] Deploy J2EE application: file:/E:/JBoss-2.4.1_Tomcat-3.2
          .3/jboss/deploy/cocoon.war
          [J2eeDeployer] Create application cocoon.war
          [J2eeDeployer] inflate and install WEB module cocoon.war
          [Container factory] Deploying:file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jboss/tmp/deploy
          /Default/cocoon.war
          [Container factory] Deployed application: file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jbos
          s/tmp/deploy/Default/cocoon.war
          [J2EE Deployer Default] Starting module cocoon.war
          [EmbeddedTomcatSX] deploy, ctxPath=/cocoon, warUrl=file:/E:/JBoss-2.4.1_Tomcat-3
          .2.3/jboss/tmp/deploy/Default/cocoon.war/web1001/
          [J2EE Deployer Default] J2EE application: file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jbos
          s/deploy/cocoon.war is deployed.
          [AutoDeployer] Auto deploy of file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jboss/deploy/int
          erest.ear
          [J2EE Deployer Default] Deploy J2EE application: file:/E:/JBoss-2.4.1_Tomcat-3.2
          .3/jboss/deploy/interest.ear
          [J2eeDeployer] Create application interest.ear
          [J2eeDeployer] inflate and install WEB module interest.war
          [J2eeDeployer] install EJB module interest.jar
          [J2eeDeployer] add all ejb jar files to the common classpath
          [Container factory] Deploying:file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jboss/tmp/deploy
          /Default/interest.ear
          [Verifier] Verifying file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jboss/tmp/deploy/Default/
          interest.ear/ejb1003.jar
          [Container factory] Deploying Interest
          [ContainerManagement] Initializing
          [ContainerManagement] Initialized
          [ContainerManagement] Starting
          [ContainerManagement] Started
          [Container factory] Deployed application: file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jbos
          s/tmp/deploy/Default/interest.ear
          [J2EE Deployer Default] Starting module interest.war
          [EmbeddedTomcatSX] deploy, ctxPath=/interest, warUrl=file:/E:/JBoss-2.4.1_Tomcat
          -3.2.3/jboss/tmp/deploy/Default/interest.ear/web1002/
          [J2EE Deployer Default] J2EE application: file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jbos
          s/deploy/interest.ear is deployed.
          [AutoDeployer] Auto deploy of file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jboss/deploy/int
          erest.jar
          [J2EE Deployer Default] Deploy J2EE application: file:/E:/JBoss-2.4.1_Tomcat-3.2
          .3/jboss/deploy/interest.jar
          [J2eeDeployer] Create application interest.jar
          [J2eeDeployer] install EJB module interest.jar
          [Container factory] Deploying:file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jboss/tmp/deploy
          /Default/interest.jar
          [Verifier] Verifying file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jboss/tmp/deploy/Default/
          interest.jar/ejb1004.jar
          [Container factory] Deploying Interest
          [ContainerManagement] Registration is not done -> destroy
          [ContainerManagement] Destroying
          [ContainerManagement] Destroyed
          [Default] javax.management.InstanceAlreadyExistsException: Management:jnidName=i
          nterest/Interest
          [Default] at com.sun.management.jmx.RepositorySupport.addMBean(RepositoryS
          upport.java:134)
          [Default]
          [Default] at com.sun.management.jmx.MBeanServerImpl.internal_addObject(MBe
          anServerImpl.java:2352)
          [Default]
          [Default] at com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServe
          rImpl.java:641)
          [Default]
          [Default] at org.jboss.ejb.ContainerFactory.handleContainerManagement(Cont
          ainerFactory.java:721)
          [Default]
          [Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:3
          78)
          [Default]
          [Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:3
          04)
          [Default]
          [Default] at java.lang.reflect.Method.invoke(Native Method)
          [Default]
          [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
          .java:1628)
          [Default]
          [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
          .java:1523)
          [Default]
          [Default] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.j
          ava:494)
          [Default]
          [Default] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeploy
          er.java:468)
          [Default]
          [Default] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:20
          8)
          [Default]
          [Default] at java.lang.reflect.Method.invoke(Native Method)
          [Default]
          [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
          .java:1628)
          [Default]
          [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
          .java:1523)
          [Default]
          [Default] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379)
          [Default]
          [Default] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217)
          [Default]
          [Default] at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:353
          )
          [Default]
          [Default] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.
          java:107)
          [Default]
          [Default] at java.lang.reflect.Method.invoke(Native Method)
          [Default]
          [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
          .java:1628)
          [Default]
          [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
          .java:1523)
          [Default]
          [Default] at org.jboss.configuration.ConfigurationService$ServiceProxy.inv
          oke(ConfigurationService.java:836)
          [Default]
          [Default] at $Proxy0.start(Unknown Source)
          [Default]
          [Default] at org.jboss.util.ServiceControl.start(ServiceControl.java:81)
          [Default]
          [Default] at java.lang.reflect.Method.invoke(Native Method)
          [Default]
          [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
          .java:1628)
          [Default]
          [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
          .java:1523)
          [Default]
          [Default] at org.jboss.Main.(Main.java:210)
          [Default]
          [Default] at org.jboss.Main$1.run(Main.java:116)
          [Default]
          [Default] at java.security.AccessController.doPrivileged(Native Method)
          [Default]
          [Default] at org.jboss.Main.main(Main.java:112)
          [Default]
          [Container factory] Deployed application: file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jbos
          s/tmp/deploy/Default/interest.jar
          [J2EE Deployer Default] J2EE application: file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jbos
          s/deploy/interest.jar is deployed.
          [AutoDeployer] Auto deploy of file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jboss/deploy/tom
          cat-test.ear
          [J2EE Deployer Default] Deploy J2EE application: file:/E:/JBoss-2.4.1_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:/E:/JBoss-2.4.1_Tomcat-3.2.3/jboss/tmp/deploy
          /Default/tomcat-test.ear
          [Verifier] Verifying file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jboss/tmp/deploy/Default/
          tomcat-test.ear/ejb1006.jar
          [Container factory] Deploying Optimized
          [Container factory] Deploying NonOptimized
          [ContainerManagement] Initializing
          [ContainerManagement] Initialized
          [ContainerManagement] Starting
          [ContainerManagement] Started
          [ContainerManagement] Initializing
          [ContainerManagement] Initialized
          [ContainerManagement] Starting
          [ContainerManagement] Started
          [Container factory] Deployed application: file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jbos
          s/tmp/deploy/Default/tomcat-test.ear
          [J2EE Deployer Default] Starting module tomcat-test.war
          [EmbeddedTomcatSX] deploy, ctxPath=/jboss, warUrl=file:/E:/JBoss-2.4.1_Tomcat-3.
          2.3/jboss/tmp/deploy/Default/tomcat-test.ear/web1005/
          [J2EE Deployer Default] J2EE application: file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jbos
          s/deploy/tomcat-test.ear is deployed.
          [AutoDeployer] Auto deploy of file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jboss/deploy/lib
          /jbosspool-jdbc.rar
          [RARDeployer] Attempting to deploy RAR at 'file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jbo
          ss/deploy/lib/jbosspool-jdbc.rar'
          [RARDeployer] Loading Minerva Resource Adapter for JDBC 1/2 drivers
          [RARDeployer] Required license terms present. See deployment descriptor.
          [MinervaDS] Not setting config property 'Driver'
          [MinervaDS] Not setting config property 'Password'
          [MinervaDS] Not setting config property 'UserName'
          [MinervaDS] Bound connection factory for resource adapter 'Minerva JDBC LocalTra
          nsaction ResourceAdapter' to JNDI name 'java:/MinervaDS'
          [AutoDeployer] Auto deploy of file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jboss/deploy/lib
          /jms-ra.rar
          [RARDeployer] Attempting to deploy RAR at 'file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jbo
          ss/deploy/lib/jms-ra.rar'
          [JmsXA] Using default value 'java:DefaultJMSProvider' for config property 'JmsPr
          oviderAdapterJNDI'
          [JmsXA] FINE: Setting LogWriter: org.jboss.logging.LogWriter@16b5c2
          [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.1a Started in 0m:40s
          [AutoDeployer] Auto deploy of file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jboss/deploy/cd.
          jar
          [J2EE Deployer Default] Deploy J2EE application: file:/E:/JBoss-2.4.1_Tomcat-3.2
          .3/jboss/deploy/cd.jar
          [J2eeDeployer] Create application cd.jar
          [J2eeDeployer] install EJB module cd.jar
          [Container factory] Deploying:file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jboss/tmp/deploy
          /Default/cd.jar
          [Verifier] Verifying file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jboss/tmp/deploy/Default/
          cd.jar/ejb1007.jar
          [Container factory] Deploying CDBean
          [Container factory] Deploying CDCollectionBean
          [JAWS] Created table 'CDBean' successfully.
          [Bean Cache] Cache policy scheduler started
          [ContainerManagement] Initializing
          [ContainerManagement] Initialized
          [ContainerManagement] Starting
          [ContainerManagement] Started
          [ContainerManagement] Initializing
          [ContainerManagement] Initialized
          [ContainerManagement] Starting
          [ContainerManagement] Started
          [Container factory] Deployed application: file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jbos
          s/tmp/deploy/Default/cd.jar
          [J2EE Deployer Default] J2EE application: file:/E:/JBoss-2.4.1_Tomcat-3.2.3/jbos
          s/deploy/cd.jar is deployed.

          ...................................................................................................................
          any help would be greatly appreciated....

          • 2. Re: unable to run the client for interest example (file not
            Mel Gibsun Newbie

            Hello,

            Im' sorry this is not the solution to your problem.
            I am getting exactly the same error and I am just wondering if you found the solution.

            If you do, I would appreciate if you could share it with me.

            Thanks.

            • 3. Re: unable to run the client for interest example (file not
              Mel Gibsun Newbie

              Rdneni,

              I found the cause of the problem. Its the j2ee.jar from j2sdkee1.3.1 that I added in the build.xml. I added it due to earlier error on FileNotFound on javax.net.SocketFactory - I assume that you did the same. Anyhow, the security.properties and other properties like ejb.properties that JBOSS was complaining is actually under the j2sdkee1.3.1/config directory. Copying that config directory under the jboss directory will get rid of the error but will give another error:
              ...
              interest-client:
              [java] Got context
              [java] javax.naming.CommunicationException: Can't find SerialContextProvider

              This is a whole new problem that I think you should drop too. I dropped jboss300 and jboss246 and went back to jboss241. I extracted jboss241 and copied all the examples under it and used the original build.xml. Running the intro worked. You may want to do the same until Jboss fixed their jboss246 and jboss300 download.

              Good luck!