Hi,
I'm not sure why it's not being deployed. I see some references to the ds in the proect, but I don't see how it woul be deployed or how it is not.
I've uploaded the project to http://www.azavia.com/Calculator.zip, and the full output from the console below, which is the result of going to http://localhost:8080/calculator/message.html
10:05:52,968 INFO [Server] Starting JBoss (MX MicroKernel)...
10:05:52,968 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
10:05:52,968 INFO [Server] Home Dir: C:\jboss
10:05:52,968 INFO [Server] Home URL: file:/C:/jboss/
10:05:52,968 INFO [Server] Patch URL: null
10:05:52,968 INFO [Server] Server Name: all
10:05:52,968 INFO [Server] Server Home Dir: C:\jboss\server\all
10:05:52,968 INFO [Server] Server Home URL: file:/C:/jboss/server/all/
10:05:52,968 INFO [Server] Server Log Dir: C:\jboss\server\all\log
10:05:52,968 INFO [Server] Server Temp Dir: C:\jboss\server\all\tmp
10:05:52,968 INFO [Server] Root Deployment Filename: jboss-service.xml
10:05:54,187 INFO [ServerInfo] Java version: 1.6.0-rc,Sun Microsystems Inc.
10:05:54,187 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0-rc-b104,Sun Microsystems Inc.
10:05:54,187 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
10:05:55,546 INFO [Server] Core system initialized
10:05:59,453 INFO [WebService] Using RMI server codebase: http://localhost:8083/
10:05:59,468 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
10:06:03,625 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://127.0.0.1:3873/]
10:06:04,515 INFO [AspectDeployer] Deployed AOP: file:/C:/jboss/server/all/deploy/ejb3-interceptors-aop.xml
10:06:09,750 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher
10:06:11,671 INFO [SnmpAgentService] SNMP agent going active
10:06:11,734 INFO [AspectDeployer] Deployed AOP: file:/C:/jboss/server/all/deploy/tc5-cluster.sar/tc5-cluster.aop
10:06:12,171 INFO [InterceptorChainFactory] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.PessimisticLockInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
class org.jboss.cache.interceptors.TxInterceptor
class org.jboss.cache.interceptors.CacheMgmtInterceptor
10:06:12,640 INFO [STDOUT]
-------------------------------------------------------
GMS: address is localhost:1593
-------------------------------------------------------
10:06:15,328 INFO [TreeCache] viewAccepted(): [localhost:1593|0] [localhost:1593]
10:06:15,328 INFO [TreeCache] TreeCache local address is localhost:1593
10:06:15,343 INFO [TreeCache] State could not be retrieved (we are the first member in group)
10:06:15,343 INFO [TreeCache] parseConfig(): PojoCacheConfig is empty
10:06:15,703 INFO [DefaultPartition] Initializing
10:06:15,843 INFO [STDOUT]
-------------------------------------------------------
GMS: address is localhost:1602 (additional data: 14 bytes)
-------------------------------------------------------
10:06:18,484 INFO [DefaultPartition] Number of cluster members: 1
10:06:18,484 INFO [DefaultPartition] Other members: 0
10:06:18,484 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
10:06:18,484 INFO [DefaultPartition] State could not be retrieved (we are the first member in group)
10:06:18,500 INFO [DefaultPartition] New cluster view for partition DefaultPartition (id: 0, delta: 0) : [127.0.0.1:1099]
10:06:18,500 INFO [DefaultPartition] I am (127.0.0.1:1099) received membershipChanged event:
10:06:18,500 INFO [DefaultPartition] Dead members: 0 ([])
10:06:18,500 INFO [DefaultPartition] New Members : 0 ([])
10:06:18,500 INFO [DefaultPartition] All Members : 1 ([127.0.0.1:1099])
10:06:18,593 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=localhost/127.0.0.1
10:06:18,671 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /127.0.0.1:1102, group=230.0.0.4, HA-JNDI address=127.0.0.1:1100
10:06:20,140 WARN [TreeCache] Using deprecated config element CacheLoaderFetchPersistentState. This element will be removed in future, please use CacheLoaderConfiguration instead.
10:06:20,140 WARN [TreeCache] Using legacy cache loader config mechanisms.
10:06:20,140 WARN [TreeCache] Using deprecated config element CacheLoaderFetchTransientState. This element will be removed in future, replaced with FetchInMemoryState.
10:06:20,140 WARN [TreeCache] Calls to setFetchStateOnStartup are ignored; configure state transfer using setFetchInMemoryState and any cache loader's FetchPersistentState property
10:06:20,156 WARN [TreeCache] Using deprecated config element CacheLoaderClass. This element will be removed in future, please use CacheLoaderConfiguration instead.
10:06:20,156 WARN [TreeCache] Using deprecated config element CacheLoaderConfig(Properties). This element will be removed in future, please use CacheLoaderConfiguration instead.
10:06:20,156 WARN [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used
10:06:20,203 WARN [TreeCache] Using deprecated configuration element 'EvictionPolicyProvider'. This is only provided for 1.2.x backward compatibility and may disappear in future releases.
10:06:20,234 INFO [InterceptorChainFactory] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.EvictionInterceptor
class org.jboss.cache.interceptors.PessimisticLockInterceptor
class org.jboss.cache.interceptors.CacheLoaderInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
class org.jboss.cache.interceptors.CacheStoreInterceptor
class org.jboss.cache.interceptors.TxInterceptor
class org.jboss.cache.interceptors.CacheMgmtInterceptor
10:06:20,265 INFO [STDOUT]
-------------------------------------------------------
GMS: address is localhost:1611
-------------------------------------------------------
10:06:22,281 INFO [TreeCache] TreeCache local address is localhost:1611
10:06:22,281 INFO [TreeCache] viewAccepted(): [localhost:1611|0] [localhost:1611]
10:06:22,296 INFO [TreeCache] State could not be retrieved (we are the first member in group)
10:06:22,359 WARN [TreeCache] Using deprecated configuration element 'EvictionPolicyProvider'. This is only provided for 1.2.x backward compatibility and may disappear in future releases.
10:06:22,359 INFO [InterceptorChainFactory] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.EvictionInterceptor
class org.jboss.cache.interceptors.PessimisticLockInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
class org.jboss.cache.interceptors.TxInterceptor
class org.jboss.cache.interceptors.CacheMgmtInterceptor
10:06:22,421 INFO [STDOUT]
-------------------------------------------------------
GMS: address is localhost:1618
-------------------------------------------------------
10:06:24,421 INFO [TreeCache] viewAccepted(): [localhost:1618|0] [localhost:1618]
10:06:24,421 INFO [TreeCache] TreeCache local address is localhost:1618
10:06:24,421 INFO [TreeCache] State could not be retrieved (we are the first member in group)
10:06:25,437 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000E8000102000000000A3132372E302E302E31000DC8000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000006400000000000000010000000000000024000000220000007E0000000000000001000000103136392E3235342E3134332E313336000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
10:06:25,578 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000E8000102000000000A3132372E302E302E31000DC8000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000006400000000000000010000000000000024000000220000007E0000000000000001000000103136392E3235342E3134332E313336000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
10:06:26,796 INFO [Embedded] Catalina naming disabled
10:06:26,859 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
10:06:26,859 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
10:06:27,234 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
10:06:27,234 INFO [Catalina] Initialization processed in 375 ms
10:06:27,234 INFO [StandardService] Starting service jboss.web
10:06:27,234 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20
10:06:27,265 INFO [StandardHost] XML validation disabled
10:06:27,281 INFO [Catalina] Server startup in 47 ms
10:06:27,500 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/httpha-invoker.sar/invoker.war/
10:06:27,953 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
10:06:28,625 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
10:06:28,796 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp23450jbossws.sar-contents/jbossws-exp.war/
10:06:28,984 INFO [TomcatDeployer] deploy, ctxPath=/juddi, warUrl=.../deploy/juddi-service.sar/juddiws.war/
10:06:29,156 INFO [RegistryServlet] Loading jUDDI configuration.
10:06:29,187 INFO [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties
10:06:29,187 INFO [RegistryServlet] Initializing jUDDI components.
10:06:29,671 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
10:06:29,953 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
10:06:30,718 INFO [MailService] Mail Service bound to java:/Mail
10:06:31,062 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
10:06:31,125 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
10:06:31,187 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
10:06:31,250 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
10:06:31,421 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
10:06:31,468 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
10:06:31,578 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
10:06:31,578 INFO [QuartzResourceAdapter] start quartz!!!
10:06:31,640 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
10:06:31,671 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
10:06:31,671 INFO [RAMJobStore] RAMJobStore initialized.
10:06:31,671 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
10:06:31,671 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
10:06:31,671 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
10:06:33,328 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
10:06:33,562 INFO [A] Bound to JNDI name: queue/A
10:06:33,562 INFO [B] Bound to JNDI name: queue/B
10:06:33,562 INFO [C] Bound to JNDI name: queue/C
10:06:33,562 INFO [D] Bound to JNDI name: queue/D
10:06:33,562 INFO [ex] Bound to JNDI name: queue/ex
10:06:33,578 INFO [testTopic] Bound to JNDI name: topic/testTopic
10:06:33,593 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
10:06:33,593 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
10:06:33,593 INFO [testQueue] Bound to JNDI name: queue/testQueue
10:06:33,625 INFO [UILServerILService] JBossMQ UIL service available at : localhost/127.0.0.1:8093
10:06:33,640 INFO [DLQ] Bound to JNDI name: queue/DLQ
10:06:33,796 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
10:06:33,843 INFO [TomcatDeployer] deploy, ctxPath=/CalculatorWeb, warUrl=.../tmp/deploy/tmp23491CalculatorWeb-exp.war/
10:06:34,078 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
10:06:34,234 INFO [EARDeployer] Init J2EE application: file:/C:/jboss/server/all/deploy/CalculatorApplication.ear
10:06:34,796 INFO [Ejb3Deployment] EJB3 deployment time took: 375
10:06:34,859 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=calculator' to JNDI name 'java:calculator'
10:06:34,859 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=CalculatorApplication.ear,jar=CalculatorEJB.jar,unitName=calculator with dependencies:
10:06:34,859 INFO [JmxKernelAbstraction] jboss.jca:name=CalculatorDS,service=DataSourceBinding
10:06:35,000 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=CalculatorApplication.ear,jar=CalculatorEJB.jar,name=CalculatorBean,service=EJB3 with dependencies:
10:06:35,203 INFO [EJBContainer] STARTED EJB: com.azavia.calculator.ejb.CalculatorBean ejbName: CalculatorBean
10:06:35,281 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=CalculatorApplication.ear,jar=CalculatorEJB.jar,name=Hello,service=EJB3 with dependencies:
10:06:35,312 INFO [EJBContainer] STARTED EJB: com.azavia.calculator.ejb.Hello ejbName: Hello
10:06:35,359 WARN [MessagingContainer] Could not find the queue destination-jndi-name=queue/azavia/testmdb
10:06:35,359 WARN [MessagingContainer] destination not found: queue/azavia/testmdb reason: javax.naming.NameNotFoundException: queue/azavia/testmdb
10:06:35,359 WARN [MessagingContainer] creating a new temporary destination: queue/azavia/testmdb
10:06:35,375 INFO [azavia/testmdb] Bound to JNDI name: queue/azavia/testmdb
10:06:35,437 INFO [EJB3Deployer] Deployed: file:/C:/jboss/server/all/tmp/deploy/tmp23492CalculatorApplication.ear-contents/CalculatorEJB.jar
10:06:35,437 INFO [TomcatDeployer] deploy, ctxPath=/calculator, warUrl=.../tmp/deploy/tmp23492CalculatorApplication.ear-contents/CalculatorWeb-exp.war/
10:06:35,796 INFO [EARDeployer] Started J2EE application: file:/C:/jboss/server/all/deploy/CalculatorApplication.ear
10:06:35,984 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName: persistence.units:ear=CalculatorApplication.ear,jar=CalculatorEJB.jar,unitName=calculator
State: NOTYETINSTALLED
I Depend On:
jboss.jca:name=CalculatorDS,service=DataSourceBinding
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:name=CalculatorDS,service=DataSourceBinding
State: NOTYETINSTALLED
Depends On Me:
persistence.units:ear=CalculatorApplication.ear,jar=CalculatorEJB.jar,unitName=calculator
10:06:36,093 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
10:06:36,328 INFO [ChannelSocket] JK: ajp13 listening on localhost/127.0.0.1:8009
10:06:36,328 INFO [JkMain] Jk running ID=0 time=0/16 config=null
10:06:36,375 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 43s:391ms
10:06:50,000 INFO [STDOUT] Hey!
10:06:55,000 INFO [STDOUT] I'm gettin' some messages.
By the way, I know that message bean has nothing to do with a calculator, but, I didn't feel like making another project. :)