ERROR [URLDeploymentScanner] JBoss 4.2.2.GA and Netbeans 5.5
nknize Nov 20, 2007 2:42 PMI have been searching the blogs, forums, and documentation for a few days now looking for others that have had similar problems as myself deploying a simple EJB3.0 application. The application is (more or less) the same structure as the NewsApp EJB3.0 example application that is provided with Netbeans 5.5.1. I am trying to deploy a simple Entity, Message, and Session Bean packaged in a KMLEnterpriseApp.ear file in JBoss4.2.2.GA using the internal provided Hypersonic DB. The coding environment is Netbeans 5.5.1 that performs all of the jar, war, and ear packaging. I am providing the jboss log for insight. Apparently something is not configured correctly with the Hypersonic DB even though my hsqldb-ds.xml is configured as illustrated in the JBoss documentation. Am I missing something simple? I'm hoping something jumps out to the jboss guru's because it doesn't seem like this should be too difficult.
=============================================================================== JBoss Bootstrap Environment JBOSS_HOME: F:\jboss-4.2.2.GA JAVA: C:\Program Files\Java\jdk1.5.0_14\bin\java JAVA_OPTS: -Dhttp.proxyHost= -Dhttp.proxyPort= -Dhttp.nonProxyHosts="localhost|127.0.0.1|EXILIM" -Dhttps.proxyHost= -Dhttps.proxyPort= -classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 CLASSPATH: C:\Program Files\Java\jdk1.5.0_14\lib\tools.jar;F:\jboss-4.2.2.GA\bin\run.jar =============================================================================== Listening for transport dt_socket at address: 8787 13:19:53,781 INFO [Server] Starting JBoss (MX MicroKernel)... 13:19:53,781 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139) 13:19:53,781 INFO [Server] Home Dir: F:\jboss-4.2.2.GA 13:19:53,781 INFO [Server] Home URL: file:/F:/jboss-4.2.2.GA/ 13:19:53,781 INFO [Server] Patch URL: null 13:19:53,781 INFO [Server] Server Name: all 13:19:53,781 INFO [Server] Server Home Dir: F:\jboss-4.2.2.GA\server\all 13:19:53,781 INFO [Server] Server Home URL: file:/F:/jboss-4.2.2.GA/server/all/ 13:19:54,062 INFO [Server] Server Log Dir: F:\jboss-4.2.2.GA\server\all\log 13:19:54,062 INFO [Server] Server Temp Dir: F:\jboss-4.2.2.GA\server\all\tmp 13:19:54,062 INFO [Server] Root Deployment Filename: jboss-service.xml 13:19:54,546 INFO [ServerInfo] Java version: 1.5.0_14,Sun Microsystems Inc. 13:19:54,546 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_14-b03,Sun Microsystems Inc. 13:19:54,546 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 13:19:55,953 INFO [Server] Core system initialized 13:20:00,046 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ 13:20:00,046 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml 13:20:00,953 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. 13:20:00,953 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer 13:20:01,250 INFO [TransactionManagerService] Starting recovery manager 13:20:01,406 INFO [TransactionManagerService] Recovery manager started 13:20:01,406 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference 13:20:05,828 INFO [EJB3Deployer] Starting java:comp multiplexer 13:20:07,515 INFO [STDOUT] ------------------------------------------------------- GMS: address is 127.0.0.1:1207 ------------------------------------------------------- 13:20:09,531 INFO [TreeCache] viewAccepted(): [127.0.0.1:1207|0] [127.0.0.1:1207] 13:20:09,562 INFO [TreeCache] TreeCache local address is 127.0.0.1:1207 13:20:09,562 INFO [TreeCache] State could not be retrieved (we are the first member in group) 13:20:09,562 INFO [TreeCache] parseConfig(): PojoCacheConfig is empty 13:20:09,906 INFO [STDOUT] no object for null 13:20:09,906 INFO [STDOUT] no object for null 13:20:09,937 INFO [STDOUT] no object for null 13:20:10,000 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType 13:20:10,015 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType 13:20:12,796 INFO [NativeServerConfig] JBoss Web Services - Native 13:20:12,796 INFO [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837) 13:20:14,062 INFO [SnmpAgentService] SNMP agent going active 13:20:14,843 INFO [DefaultPartition] Initializing 13:20:14,953 INFO [STDOUT] ------------------------------------------------------- GMS: address is 127.0.0.1:1212 ------------------------------------------------------- 13:20:16,984 INFO [DefaultPartition] Number of cluster members: 1 13:20:16,984 INFO [DefaultPartition] Other members: 0 13:20:16,984 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds): 13:20:16,984 INFO [DefaultPartition] State could not be retrieved (we are the first member in group) 13:20:17,031 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/127.0.0.1 13:20:17,046 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /127.0.0.1:1102, group=230.0.0.4, HA-JNDI address=127.0.0.1:1100 13:20:18,875 INFO [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used 13:20:19,078 INFO [STDOUT] ------------------------------------------------------- GMS: address is 127.0.0.1:1216 ------------------------------------------------------- 13:20:21,078 INFO [TreeCache] viewAccepted(): [127.0.0.1:1216|0] [127.0.0.1:1216] 13:20:21,078 INFO [TreeCache] TreeCache local address is 127.0.0.1:1216 13:20:21,312 INFO [STDOUT] ------------------------------------------------------- GMS: address is 127.0.0.1:1220 ------------------------------------------------------- 13:20:23,312 INFO [TreeCache] viewAccepted(): [127.0.0.1:1220|0] [127.0.0.1:1220] 13:20:23,312 INFO [TreeCache] TreeCache local address is 127.0.0.1:1220 13:20:25,000 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000F4000102000000000A3132372E302E302E31000DC8000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000007000000000000000010000000000000024000000200000007E00000000000000010000000E3139322E3136382E312E313138000DC900400000000000080606678102010101000000170401000806066781020101010000000764656661756C7400000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003] 13:20:25,421 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000F4000102000000000A3132372E302E302E31000DC8000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000007000000000000000010000000000000024000000200000007E00000000000000010000000E3139322E3136382E312E313138000DC900400000000000080606678102010101000000170401000806066781020101010000000764656661756C7400000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003] 13:20:26,921 INFO [Embedded] Catalina naming disabled 13:20:27,531 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_14\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;f:\matlab6p1\bin\win32;C:\Program Files\Common Files\GTK\2.0\bin;f:\Ulead Systems\Ulead DVD MovieFactory 3.5 Suite Deluxe;C:\Program Files\Common Files\Ulead Systems\MPEG;C:\Program Files\Common Files\Ulead Systems\DVD;C:\Program Files\VDMSound\;C:\Program Files\QuickTime\QTSystem\;C:\cygwin\bin;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;F:\Microsoft Visual Studio\Common\Tools\WinNT;F:\Microsoft Visual Studio\Common\MSDev98\Bin;F:\Microsoft Visual Studio\Common\Tools;F:\Microsoft Visual Studio\VC98\bin 13:20:28,093 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080 13:20:28,093 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009 13:20:28,093 INFO [Catalina] Initialization processed in 1171 ms 13:20:28,093 INFO [StandardService] Starting service jboss.web 13:20:28,093 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA 13:20:28,187 INFO [Catalina] Server startup in 413 ms 13:20:28,359 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/ 13:20:29,218 WARN [config] Unable to process deployment descriptor for context 'null' 13:20:29,984 WARN [config] Unable to process deployment descriptor for context 'null' 13:20:30,109 WARN [config] Unable to process deployment descriptor for context 'null' 13:20:30,203 WARN [config] Unable to process deployment descriptor for context 'null' 13:20:30,359 WARN [config] Unable to process deployment descriptor for context 'null' 13:20:30,453 WARN [config] Unable to process deployment descriptor for context 'null' 13:20:30,578 WARN [config] Unable to process deployment descriptor for context 'null' 13:20:30,718 WARN [config] Unable to process deployment descriptor for context 'null' 13:20:30,812 WARN [config] Unable to process deployment descriptor for context 'null' 13:20:31,390 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/httpha-invoker.sar/invoker.war/ 13:20:31,578 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/ 13:20:31,718 INFO [TomcatDeployer] deploy, ctxPath=/juddi, warUrl=.../deploy/juddi-service.sar/juddi.war/ 13:20:32,046 INFO [RegistryServlet] Loading jUDDI configuration. 13:20:32,046 INFO [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties 13:20:32,046 INFO [RegistryServlet] Initializing jUDDI components. 13:20:32,859 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ 13:20:33,203 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/ 13:20:33,812 INFO [MailService] Mail Service bound to java:/Mail 13:20:34,062 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar 13:20:34,109 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar 13:20:34,140 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar 13:20:34,187 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar 13:20:34,312 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar 13:20:34,437 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar 13:20:34,484 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar 13:20:34,500 INFO [QuartzResourceAdapter] start quartz!!! 13:20:34,593 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main 13:20:34,625 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. 13:20:34,625 INFO [RAMJobStore] RAMJobStore initialized. 13:20:34,875 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 13:20:34,875 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 13:20:34,875 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. 13:20:36,015 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 13:20:36,125 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/ ********************************* HERE IS WHERE IT ATTEMPTS TO DEPLOY THE EAR FILE ******************************************* 13:20:36,406 INFO [EARDeployer] Init J2EE application: file:/F:/jboss-4.2.2.GA/server/all/deploy/KMLEnterpriseApp.ear 13:20:37,468 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment 13:20:37,468 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=KMLEnterpriseApp.ear,jar=KMLEnterpriseApp-ejb.jar,unitName=KMLEnterpriseApp-ejbPU with dependencies: 13:20:37,468 INFO [JmxKernelAbstraction] jboss.jca:name=DefaultDS,service=DataSourceBinding 13:20:37,562 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer 13:20:37,906 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=KMLEnterpriseApp.ear,jar=KMLEnterpriseApp-ejb.jar,name=GeoEntityFacade,service=EJB3 with dependencies: 13:20:37,906 INFO [JmxKernelAbstraction] persistence.units:ear=KMLEnterpriseApp.ear,jar=KMLEnterpriseApp-ejb.jar,unitName=KMLEnterpriseApp-ejbPU 13:20:37,906 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.mdb.MDB 13:20:37,906 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=KMLEnterpriseApp.ear,jar=KMLEnterpriseApp-ejb.jar,name=GeoMessage,service=EJB3 with dependencies: 13:20:38,390 INFO [JmxKernelAbstraction] persistence.units:ear=KMLEnterpriseApp.ear,jar=KMLEnterpriseApp-ejb.jar,unitName=KMLEnterpriseApp-ejbPU 13:20:38,406 INFO [EJB3Deployer] Deployed: file:/F:/jboss-4.2.2.GA/server/all/tmp/deploy/tmp59025KMLEnterpriseApp.ear-contents/KMLEnterpriseApp-ejb.jar 13:20:38,421 INFO [TomcatDeployer] deploy, ctxPath=/KMLEnterpriseApp-war, warUrl=.../tmp/deploy/tmp59025KMLEnterpriseApp.ear-contents/KMLEnterpriseApp-war-exp.war/ 13:20:38,531 INFO [EARDeployer] Started J2EE application: file:/F:/jboss-4.2.2.GA/server/all/deploy/KMLEnterpriseApp.ear ******************* HERE IS WHERE EVERYTHING GOES SOUTH ********************************************** 13:20:39,000 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans --- ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database State: CONFIGURED I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS ObjectName: jboss:service=juddi State: CONFIGURED I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo State: CONFIGURED I Depend On: jboss:service=TransactionManager jboss.jca:service=DataSourceBinding,name=DefaultDS ObjectName: jboss.mq:service=InvocationLayer,type=HTTP State: CONFIGURED I Depend On: jboss.mq:service=Invoker jboss.web:service=WebServer ObjectName: jboss.mq:service=StateManager State: CONFIGURED I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS Depends On Me: jboss.mq:service=DestinationManager ObjectName: jboss.mq:service=DestinationManager State: CONFIGURED I Depend On: jboss.mq:service=MessageCache jboss.mq:service=PersistenceManager jboss.mq:service=StateManager jboss.mq:service=ThreadPool jboss:service=Naming Depends On Me: jboss.mq.destination:service=Topic,name=testTopic jboss.mq.destination:service=Topic,name=edu.utd.gis.visualization.gpsTopic jboss.mq.destination:service=Topic,name=securedTopic jboss.mq.destination:service=Topic,name=testDurableTopic jboss.mq.destination:service=Queue,name=testQueue jboss.mq.destination:service=Queue,name=A jboss.mq.destination:service=Queue,name=B jboss.mq.destination:service=Queue,name=C jboss.mq.destination:service=Queue,name=D jboss.mq.destination:service=Queue,name=ex jboss.mq:service=SecurityManager jboss.mq.destination:service=Queue,name=DLQ ObjectName: jboss.mq:service=PersistenceManager State: CONFIGURED I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS Depends On Me: jboss.mq:service=DestinationManager ObjectName: jboss.mq.destination:service=Topic,name=testTopic State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager ObjectName: jboss.mq.destination:service=Topic,name=edu.utd.gis.visualization.gpsTopic State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager ObjectName: jboss.mq.destination:service=Topic,name=securedTopic State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager ObjectName: jboss.mq.destination:service=Queue,name=testQueue State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager ObjectName: jboss.mq.destination:service=Queue,name=A State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager ObjectName: jboss.mq.destination:service=Queue,name=B State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager ObjectName: jboss.mq.destination:service=Queue,name=C State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager ObjectName: jboss.mq.destination:service=Queue,name=D State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager ObjectName: jboss.mq.destination:service=Queue,name=ex State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager ObjectName: jboss.mq:service=Invoker State: CONFIGURED I Depend On: jboss.mq:service=TracingInterceptor jboss:service=Naming Depends On Me: jboss.mq:service=InvocationLayer,type=HTTP jboss.mq:service=InvocationLayer,type=JVM jboss.mq:service=InvocationLayer,type=UIL2 ObjectName: jboss.mq:service=TracingInterceptor State: CONFIGURED I Depend On: jboss.mq:service=SecurityManager Depends On Me: jboss.mq:service=Invoker ObjectName: jboss.mq:service=SecurityManager State: CONFIGURED I Depend On: jboss.security:service=JaasSecurityManager jboss.mq:service=DestinationManager Depends On Me: jboss.mq.destination:service=Topic,name=testTopic jboss.mq.destination:service=Topic,name=edu.utd.gis.visualization.gpsTopic jboss.mq.destination:service=Topic,name=securedTopic jboss.mq.destination:service=Topic,name=testDurableTopic jboss.mq.destination:service=Queue,name=testQueue jboss.mq:service=TracingInterceptor jboss.mq.destination:service=Queue,name=DLQ ObjectName: jboss.mq.destination:service=Queue,name=DLQ State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager ObjectName: jboss.mq:service=InvocationLayer,type=JVM State: CONFIGURED I Depend On: jboss.mq:service=Invoker ObjectName: jboss.mq:service=InvocationLayer,type=UIL2 State: CONFIGURED I Depend On: jboss.mq:service=Invoker ObjectName: jboss.jca:service=LocalTxCM,name=DefaultDS State: CONFIGURED I Depend On: jboss.jca:service=ManagedConnectionPool,name=DefaultDS jboss.jca:service=CachedConnectionManager jboss.security:service=JaasSecurityManager jboss:service=TransactionManager Depends On Me: jboss.jca:service=DataSourceBinding,name=DefaultDS ObjectName: jboss.jca:service=ManagedConnectionPool,name=DefaultDS State: CONFIGURED I Depend On: jboss.jca:service=ManagedConnectionFactory,name=DefaultDS Depends On Me: jboss.jca:service=LocalTxCM,name=DefaultDS ObjectName: jboss.jca:service=ManagedConnectionFactory,name=DefaultDS State: CONFIGURED I Depend On: jboss:service=Hypersonic jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar' Depends On Me: jboss.jca:service=ManagedConnectionPool,name=DefaultDS ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS State: CONFIGURED I Depend On: jboss.jca:service=LocalTxCM,name=DefaultDS Depends On Me: jboss.ejb:service=EJBTimerService,persistencePolicy=database jboss:service=juddi jboss:service=KeyGeneratorFactory,type=HiLo jboss.mq:service=StateManager jboss.mq:service=PersistenceManager persistence.units:ear=KMLEnterpriseApp.ear,jar=KMLEnterpriseApp-ejb.jar,unitName=KMLEnterpriseApp-ejbPU ObjectName: persistence.units:ear=KMLEnterpriseApp.ear,jar=KMLEnterpriseApp-ejb.jar,unitName=KMLEnterpriseApp-ejbPU State: NOTYETINSTALLED I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS Depends On Me: jboss.j2ee:ear=KMLEnterpriseApp.ear,jar=KMLEnterpriseApp-ejb.jar,name=GeoEntityFacade,service=EJB3 jboss.j2ee:ear=KMLEnterpriseApp.ear,jar=KMLEnterpriseApp-ejb.jar,name=GeoMessage,service=EJB3 ObjectName: jboss.j2ee:ear=KMLEnterpriseApp.ear,jar=KMLEnterpriseApp-ejb.jar,name=GeoEntityFacade,service=EJB3 State: NOTYETINSTALLED I Depend On: persistence.units:ear=KMLEnterpriseApp.ear,jar=KMLEnterpriseApp-ejb.jar,unitName=KMLEnterpriseApp-ejbPU ObjectName: jboss.j2ee:ear=KMLEnterpriseApp.ear,jar=KMLEnterpriseApp-ejb.jar,name=GeoMessage,service=EJB3 State: NOTYETINSTALLED I Depend On: persistence.units:ear=KMLEnterpriseApp.ear,jar=KMLEnterpriseApp-ejb.jar,unitName=KMLEnterpriseApp-ejbPU --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss:service=Hypersonic State: NOTYETINSTALLED Depends On Me: jboss.jca:service=ManagedConnectionFactory,name=DefaultDS 13:20:39,500 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 13:20:39,531 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 13:20:39,546 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 45s:484ms
I then, of course have the following problem when I try to invoke the bean through the servlet.
13:37:48,000 ERROR [STDERR] Nov 20, 2007 1:37:47 PM edu.utd.gis.webapp.GPSUpdateLink lookupGeoEntityFacade SEVERE: exception caught javax.naming.NameNotFoundException: KMLEnterpriseApp not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) at org.jnp.server.NamingServer.getObject(NamingServer.java:543) at org.jnp.server.NamingServer.lookup(NamingServer.java:267) at org.jnp.server.NamingServer.lookup(NamingServer.java:270) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:774) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) at javax.naming.InitialContext.lookup(InitialContext.java:351) at edu.utd.gis.webapp.GPSUpdateLink.lookupGeoEntityFacade(GPSUpdateLink.java:101) at edu.utd.gis.webapp.GPSUpdateLink.processRequest(GPSUpdateLink.java:57) at edu.utd.gis.webapp.GPSUpdateLink.doGet(GPSUpdateLink.java:78) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:595) 13:37:48,046 ERROR [[GPSUpdateLink]] Servlet.service() for servlet GPSUpdateLink threw exception java.lang.RuntimeException: javax.naming.NameNotFoundException: KMLEnterpriseApp not bound at edu.utd.gis.webapp.GPSUpdateLink.lookupGeoEntityFacade(GPSUpdateLink.java:105) at edu.utd.gis.webapp.GPSUpdateLink.processRequest(GPSUpdateLink.java:57) at edu.utd.gis.webapp.GPSUpdateLink.doGet(GPSUpdateLink.java:78) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:595) Caused by: javax.naming.NameNotFoundException: KMLEnterpriseApp not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) at org.jnp.server.NamingServer.getObject(NamingServer.java:543) at org.jnp.server.NamingServer.lookup(NamingServer.java:267) at org.jnp.server.NamingServer.lookup(NamingServer.java:270) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:774) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) at javax.naming.InitialContext.lookup(InitialContext.java:351) at edu.utd.gis.webapp.GPSUpdateLink.lookupGeoEntityFacade(GPSUpdateLink.java:101) ... 21 more
Which i'm sure is because the application did not deploy successfully. What confuses me here, is that when I invoke the jndi list method through the console, the KMLEnterpriseApp shows up. So if it did not successfully deploy, then wouldn't it be absent from the list?
java:comp namespace of the KMLEnterpriseApp.ear/KMLEnterpriseApp-war.war application: +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef) +- ORB (class: org.jacorb.orb.ORB) +- env (class: org.jnp.interfaces.NamingContext) | +- security (class: org.jnp.interfaces.NamingContext) | | +- realmMapping[link -> ] (class: javax.naming.LinkRef) | | +- subject[link -> /subject] (class: javax.naming.LinkRef) | | +- securityMgr[link -> ] (class: javax.naming.LinkRef) | | +- security-domain[link -> ] (class: javax.naming.LinkRef)
Any help or guidance from the JBoss experts is GREATLY appreciated! Thanks!
- Nick