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....