3 Replies Latest reply on Nov 23, 2007 5:43 PM by Peter Johnson

    ERROR [URLDeploymentScanner] JBoss 4.2.2.GA and Netbeans 5.5

    Nick Knize Newbie

      I 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

        • 1. Re: ERROR [URLDeploymentScanner] JBoss 4.2.2.GA and Netbeans
          Peter Johnson Master

          It appears that either you removed the server/default/deploy/hsqldb-ds.xml file, or changed the datasource name in that file to "JmsXA". This file declares the DefaultDS data source, the absence of which is what the first set of errors are about.

          Regarding the JNDI problem, the name "KMLEnterpriseApp" does not appear anywhere in the JNDI tree. The text "namespace of the KMLEnterpriseApp.ear/KMLEnterpriseApp-war.war application" is a description of the owner of that particular namespace. It is the stuff after that that is in the namespace ('UserTransaction', 'ORB', etc).

          • 2. Re: ERROR [URLDeploymentScanner] JBoss 4.2.2.GA and Netbeans
            Nick Knize Newbie

            Peter,

            Thanks so much for the recommendation. I checked all 3 directories (all, default, and minimal) for the hsqldb-ds.xml file, and it exists in all 3. Whats more, they're the same. Below is the contents of that file.

            <?xml version="1.0" encoding="UTF-8"?>
            
            <!-- The Hypersonic embedded database JCA connection factory config -->
            
            <!-- $Id: hsqldb-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
            
            <datasources>
             <local-tx-datasource>
            
             <!-- The jndi name of the DataSource, it is prefixed with java:/ -->
             <!-- Datasources are not available outside the virtual machine -->
             <jndi-name>DefaultDS</jndi-name>
            
             <!-- For server mode db, allowing other processes to use hsqldb over tcp.
             This requires the org.jboss.jdbc.HypersonicDatabase mbean.
             <connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1701</connection-url>
             -->
             <!-- For totally in-memory db, not saved when jboss stops.
             The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
             <connection-url>jdbc:hsqldb:.</connection-url>
             -->
             <!-- For in-process persistent db, saved when jboss stops.
             The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
             -->
             <connection-url>jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB</connection-url>
            
             <!-- The driver class -->
             <driver-class>org.hsqldb.jdbcDriver</driver-class>
            
             <!-- The login and password -->
             <user-name>sa</user-name>
             <password></password>
            
             <!--example of how to specify class that determines if exception means connection should be destroyed-->
             <!--exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter</exception-sorter-class-name-->
            
             <!-- this will be run before a managed connection is removed from the pool for use by a client-->
             <!--<check-valid-connection-sql>select * from something</check-valid-connection-sql> -->
            
             <!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -->
             <min-pool-size>5</min-pool-size>
            
             <!-- The maximum connections in a pool/sub-pool -->
             <max-pool-size>20</max-pool-size>
            
             <!-- The time before an unused connection is destroyed -->
             <!-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use -->
             <!-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections -->
             <idle-timeout-minutes>0</idle-timeout-minutes>
            
             <!-- sql to call when connection is created
             <new-connection-sql>some arbitrary sql</new-connection-sql>
             -->
            
             <!-- sql to call on an existing pooled connection when it is obtained from pool
             <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
             -->
            
             <!-- example of how to specify a class that determines a connection is valid before it is handed out from the pool
             <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyValidConnectionChecker</valid-connection-checker-class-name>
             -->
            
             <!-- Whether to check all statements are closed when the connection is returned to the pool,
             this is a debugging feature that should be turned off in production -->
             <track-statements/>
            
             <!-- Use the getConnection(user, pw) for logins
             <application-managed-security/>
             -->
            
             <!-- Use the security domain defined in conf/login-config.xml -->
             <security-domain>HsqlDbRealm</security-domain>
            
             <!-- Use the security domain defined in conf/login-config.xml or the
             getConnection(user, pw) for logins. The security domain takes precedence.
             <security-domain-and-application>HsqlDbRealm</security-domain-and-application>
             -->
            
             <!-- HSQL DB benefits from prepared statement caching -->
             <prepared-statement-cache-size>32</prepared-statement-cache-size>
            
             <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
             <metadata>
             <type-mapping>Hypersonic SQL</type-mapping>
             </metadata>
            
             <!-- When using in-process (standalone) mode -->
             <!--depends>jboss:service=Hypersonic,database=localDB</depends-->
             <!-- Uncomment when using hsqldb in server mode-->
             <depends>jboss:service=Hypersonic</depends>
             </local-tx-datasource>
            
             <!-- Uncomment if you want hsqldb accessed over tcp (server mode)
             <mbean code="org.jboss.jdbc.HypersonicDatabase"
             name="jboss:service=Hypersonic">
             <attribute name="Port">1701</attribute>
             <attribute name="BindAddress">${jboss.bind.address}</attribute>
             <attribute name="Silent">true</attribute>
             <attribute name="Database">default</attribute>
             <attribute name="Trace">false</attribute>
             <attribute name="No_system_exit">true</attribute>
             </mbean>
             -->
            
             <!-- For hsqldb accessed from jboss only, in-process (standalone) mode -->
             <mbean code="org.jboss.jdbc.HypersonicDatabase"
             name="jboss:service=Hypersonic,database=localDB">
             <attribute name="Database">localDB</attribute>
             <attribute name="InProcessMode">true</attribute>
             </mbean>
             <!--mbean code="org.jboss.jdbc.HypersonicDatabase"
             name="jboss:service=Hypersonic">
             <attribute name="Database">localDB</attribute>
             <attribute name="InProcessMode">true</attribute>
             </mbean-->
            
            </datasources>
            


            I don't see a JmsXA reference anywhere. I checked the configuration of this file against the JBoss manual and it doesn't appear that anything is abnormal or out of the ordinary. Maybe you can see something I can't.

            Regarding the JNDI problem, i'm not sure why the KMLEnterpriseApp would not be bound. Below is the code for the session bean.

            @Stateless
            @Local ({GeoEntityFacadeLocal.class})
            @LocalBinding (jndiBinding="KMLEnterpriseApp-ejb/GeoEntityFacade")
            public class GeoEntityFacade implements GeoEntityFacadeLocal {
            
             @PersistenceContext
             private EntityManager em;
            
             /** Creates a new instance of GeoEntityFacade */
             public GeoEntityFacade() {
             }
            
             public void create(GeoEntity geoEntity) {
             em.persist(geoEntity);
             }
            
             public void edit(GeoEntity geoEntity) {
             em.merge(geoEntity);
             }
            
             public void destroy(GeoEntity geoEntity) {
             em.merge(geoEntity);
             em.remove(geoEntity);
             }
            
             public GeoEntity find(Object pk) {
             return (GeoEntity) em.find(GeoEntity.class, pk);
             }
            
             public List findAll() {
             return em.createQuery("select object(o) from GeoEntity as o").getResultList();
             }
            
            }
            


            And here is the servlet code that looks up the session bean and throws the exception.

            public class GPSUpdateLink extends HttpServlet {
             //@EJB(name="KMLEnterpriseApp/GeoEntityFacade/local")
             private GeoEntityFacade geoEntityFacade;
            
             /**
             * Set the GeoEntityFacde EJB
             */
             @EJB(name="KMLEnterpriseApp/GeoEntityFacade/local")
             void setGeoEntityFacade( GeoEntityFacade gef)
             {
             geoEntityFacade = gef;
             }
            
             /** Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
             * @param request servlet request
             * @param response servlet response
             */
             protected void processRequest(HttpServletRequest request, HttpServletResponse response)
             throws ServletException, IOException {
             response.setContentType("text/html;charset=UTF-8");
             PrintWriter out = response.getWriter();
             out.println("<html>");
             out.println("<head>");
             out.println("<title>Servlet GPSUpdateLink</title>");
             out.println("</head>");
             out.println("<body>");
             out.println("<h1>Servlet GPSUpdateLink at " + request.getContextPath () + "</h1>");
             List geoPoint = lookupGeoEntityFacade().findAll(); // geoEntityFacade.findAll();
             for (Iterator it = geoPoint.iterator(); it.hasNext();) {
             GeoEntity elem = (GeoEntity) it.next();
             out.println(" <b>"+elem.getName()+" </b><br />");
             out.println(elem.getData()+"<br /> ");
             }
             out.println("<a href='PostMessage'>Add new message</a>");
            
             out.println("</body>");
             out.println("</html>");
            
             out.close();
             }
            
             // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
             /** Handles the HTTP <code>GET</code> method.
             * @param request servlet request
             * @param response servlet response
             */
             protected void doGet(HttpServletRequest request, HttpServletResponse response)
             throws ServletException, IOException {
             processRequest(request, response);
             }
            
             /** Handles the HTTP <code>POST</code> method.
             * @param request servlet request
             * @param response servlet response
             */
             protected void doPost(HttpServletRequest request, HttpServletResponse response)
             throws ServletException, IOException {
             processRequest(request, response);
             }
            
             /** Returns a short description of the servlet.
             */
             public String getServletInfo() {
             return "Short description";
             }
             // </editor-fold>
            
             private GeoEntityFacadeLocal lookupGeoEntityFacade() {
            
             try {
             Context c = new InitialContext();
             return (GeoEntityFacadeLocal) c.lookup("java:comp/env/KMLEnterpriseApp/GeoEntityFacade");//java:comp/env/ejb/GeoEntityFacade");
             }
             catch(NamingException ne) {
             Logger.getLogger(getClass().getName()).log(Level.SEVERE,"exception caught" ,ne);
             throw new RuntimeException(ne);
             }
             }
            }
            


            You can see that I tried the explicit EJB annotation, but that doesn't seem to work.. I end up with a NullPointerException for the geoEntityFacade object. I tried everything in the JNDI lookup string from "KMLEnterpriseApp/GeoEntityFacade/local" to "java:comp/env/KMLEnterpriseApp/GeoEntityFacade" to "KMLEnterpriseApp/GeoEntityFacade". Either way, since the name doesn't exist in the lookup tree it won't be able to resolve it no matter what string I use. Correct? I should mention that it is a local stateless session bean as indicate explicitly by the @Local and @LocalBinding annotations.

            Thanks again for all the help. At this point any suggestions are greatly appreciated.

            - Nick

            • 3. Re: ERROR [URLDeploymentScanner] JBoss 4.2.2.GA and Netbeans
              Peter Johnson Master

              Let's try to eliminate three possible problem areas.

              First, are you using NetBeans to start the server? If so, don't. Instead, start the server using the run.bat file from a command line. This will eliminate any weirdness introduced by NetBeans.

              Second, try copying C:\Program Files\Java\jdk1.5.0_14 to c:\jdk1.5.0_14 and change JAVA_HOME to c:\jdk1.5.0_14. (You do not have to re-install, copying the whole directory structure is fine.) This will eliminate any weirdness introduced by using Java stuff in directories with spaces in their names.

              Third, you are running the 'all' configuration which assumes clustering (hence the reference the JmsXA data source, it would help it I read the entire post). Try running the 'default' configuration instead (copy your ear file from the server/all/deploy directory to server/default/deploy).

              Also, what is in your WEB-INF/jboss-web.xml file? Are there any references to your EJBs in the global namespace?