1 Reply Latest reply on Apr 19, 2004 10:24 AM by Dennis Meyer

    Failure when debugging JBoss from Eclipse

    euclides Newbie

      Hi people. I am very new in JBoss. Please, help me! I am trying to deploy an EJB at Eclipse, so iam following tusc's site instructions. Before starting deployment process, a tusc's instruction ask me to run JBOSS 3.2.1 DEBUG process. Unfortunatelly, Eclipse J2EE window returns me this message error, showed bellow. Could anybody help me?
      Thanks in advance, Euclides.

      Starting
      19:50:22,592 INFO [InvokerAdaptorService] Started
      19:50:22,608 INFO [MainDeployer] Deployed package: file:/C:/JBoss-3.2.1/server/all/deploy/jmx-invoker-adaptor-server.sar/
      19:50:22,608 INFO [MainDeployer] Starting deployment of package: file:/C:/JBoss-3.2.1/server/all/deploy/jmx-rmi-adaptor.sar/
      19:50:22,655 INFO [RMIAdaptorService] Creating
      19:50:22,655 INFO [RMIAdaptorService] Created
      19:50:22,671 INFO [RMIAdaptorService] Starting
      19:50:23,046 INFO [RMIAdaptorService] Started
      19:50:23,077 INFO [MainDeployer] Deployed package: file:/C:/JBoss-3.2.1/server/all/deploy/jmx-rmi-adaptor.sar/
      19:50:23,092 INFO [MainDeployer] Starting deployment of package: file:/C:/JBoss-3.2.1/server/all/deploy/management/console-mgr.sar
      19:50:23,139 INFO [SARDeployer] nested deployment: file:/C:/JBoss-3.2.1/server/all/tmp/deploy/server/all/deploy/management/console-mgr.sar/17.console-mgr.sar-contents/console-mgr-classes.jar
      19:50:23,296 INFO [PluginManager] Creating
      19:50:23,311 INFO [PluginManager] Created
      19:50:23,311 INFO [PluginManager] Starting
      19:50:23,467 INFO [PluginManager] Started
      19:50:23,483 INFO [MainDeployer] Deployed package: file:/C:/JBoss-3.2.1/server/all/deploy/management/console-mgr.sar
      19:50:23,499 INFO [MainDeployer] Starting deployment of package: file:/C:/JBoss-3.2.1/server/all/deploy/uuid-key-generator.sar
      19:50:23,592 INFO [UUIDKeyGeneratorFactoryService] Creating
      19:50:23,592 INFO [UUIDKeyGeneratorFactoryService] Created
      19:50:23,592 INFO [UUIDKeyGeneratorFactoryService] Starting
      19:50:23,639 INFO [UUIDKeyGeneratorFactoryService] Started
      19:50:23,686 INFO [MainDeployer] Deployed package: file:/C:/JBoss-3.2.1/server/all/deploy/uuid-key-generator.sar
      19:50:23,686 INFO [MainDeployer] Starting deployment of package: file:/C:/JBoss-3.2.1/server/all/deploy/jboss-local-jdbc.rar
      19:50:23,874 INFO [RARDeployer] nested deployment: file:/C:/JBoss-3.2.1/server/all/tmp/deploy/server/all/deploy/jboss-local-jdbc.rar/19.jboss-local-jdbc.rar-contents/jboss-local-jdbc.jar
      19:50:23,952 INFO [MainDeployer] Deployed package: file:/C:/JBoss-3.2.1/server/all/deploy/jboss-local-jdbc.rar
      19:50:23,952 INFO [MainDeployer] Starting deployment of package: file:/C:/JBoss-3.2.1/server/all/deploy/jboss-xa-jdbc.rar
      19:50:24,124 INFO [RARMetaData] Loading JBoss Resource Adapter for JDBC 2 XA drivers
      19:50:24,124 INFO [RARMetaData] Required license terms present. See deployment descriptor.
      19:50:24,155 INFO [RARDeployer] nested deployment: file:/C:/JBoss-3.2.1/server/all/tmp/deploy/server/all/deploy/jboss-xa-jdbc.rar/20.jboss-xa-jdbc.rar-contents/jboss-xa-jdbc.jar
      19:50:24,217 INFO [MainDeployer] Deployed package: file:/C:/JBoss-3.2.1/server/all/deploy/jboss-xa-jdbc.rar
      19:50:24,233 INFO [MainDeployer] Starting deployment of package: file:/C:/JBoss-3.2.1/server/all/deploy/jms/jms-ra.rar
      19:50:24,358 INFO [RARDeployer] nested deployment: file:/C:/JBoss-3.2.1/server/all/tmp/deploy/server/all/deploy/jms/jms-ra.rar/21.jms-ra.rar-contents/jms-ra.jar
      19:50:24,436 INFO [MainDeployer] Deployed package: file:/C:/JBoss-3.2.1/server/all/deploy/jms/jms-ra.rar
      19:50:24,436 INFO [MainDeployer] Starting deployment of package: file:/C:/JBoss-3.2.1/server/all/deploy/hsqldb-ds.xml
      19:50:24,577 INFO [XSLSubDeployer] transformed into doc: [#document: null]
      19:50:24,842 INFO [HypersonicDatabase] Creating
      19:50:24,842 INFO [HypersonicDatabase] Created
      19:50:24,842 INFO [RARDeployment] Creating
      19:50:24,842 INFO [RARDeployment] Created
      19:50:24,842 INFO [JBossManagedConnectionPool] Creating
      19:50:24,842 INFO [JBossManagedConnectionPool] Created
      19:50:24,874 INFO [HypersonicDatabase] Starting
      19:50:24,874 INFO [HypersonicDatabase] Started
      19:50:24,889 INFO [RARDeployment] Starting
      19:50:24,936 INFO [STDOUT] server.properties not found, using command line or default properties
      19:50:24,936 INFO [STDOUT] Opening database: C:\JBoss-3.2.1\server\all\data\hypersonic\default
      19:50:24,936 INFO [STDOUT] HSQLDB server 1.7.1 is running
      19:50:24,936 INFO [STDOUT] Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly
      19:50:25,108 INFO [RARDeployment] Started
      19:50:25,108 INFO [JBossManagedConnectionPool] Starting
      19:50:25,124 INFO [JBossManagedConnectionPool] Started
      19:50:25,155 INFO [MainDeployer] Deployed package: file:/C:/JBoss-3.2.1/server/all/deploy/hsqldb-ds.xml
      19:50:25,155 INFO [MainDeployer] Starting deployment of package: file:/C:/JBoss-3.2.1/server/all/deploy/jms/jms-ds.xml
      19:50:25,702 INFO [XSLSubDeployer] transformed into doc: [#document: null]
      19:50:26,530 INFO [JMSProviderLoader] Creating
      19:50:26,530 INFO [JMSProviderLoader] Created
      19:50:26,530 INFO [RARDeployment] Creating
      19:50:26,530 INFO [RARDeployment] Created
      19:50:26,530 INFO [JBossManagedConnectionPool] Creating
      19:50:26,530 INFO [JBossManagedConnectionPool] Created
      19:50:26,546 INFO [JMSProviderLoader] Starting
      19:50:26,671 INFO [JMSProviderLoader] Bound adapter to java:/DefaultJMSProvider
      19:50:26,671 INFO [JMSProviderLoader] Started
      19:50:26,671 INFO [RARDeployment] Starting
      19:50:26,764 INFO [RARDeployment] Started
      19:50:26,764 INFO [JBossManagedConnectionPool] Starting
      19:50:26,764 INFO [JBossManagedConnectionPool] Started
      19:50:26,780 INFO [MainDeployer] Deployed package: file:/C:/JBoss-3.2.1/server/all/deploy/jms/jms-ds.xml
      19:50:26,780 INFO [MainDeployer] Starting deployment of package: file:/C:/JBoss-3.2.1/server/all/deploy/cache-invalidation-service.xml
      19:50:26,842 INFO [InvalidationManager] Creating
      19:50:26,858 INFO [InvalidationManager] Created
      19:50:26,858 INFO [InvalidationManager] Starting
      19:50:26,858 INFO [InvalidationManager] Starting Invalidation Manager jboss.cache:service=InvalidationManager
      19:50:26,858 INFO [InvalidationManager] Started
      19:50:26,889 INFO [MainDeployer] Deployed package: file:/C:/JBoss-3.2.1/server/all/deploy/cache-invalidation-service.xml
      19:50:26,889 INFO [MainDeployer] Starting deployment of package: file:/C:/JBoss-3.2.1/server/all/deploy/cluster-service.xml
      19:50:27,124 INFO [ClusterPartition] Creating
      19:50:27,702 INFO [ClusterPartition] Set the JavaGroups logging to log4j with category:org.apache.log4j.Logger@1afa486, priority: DEBUG, JavaGroupsLevel: 4
      19:50:27,874 INFO [DefaultPartition] Initializing
      19:50:28,124 INFO [STDOUT] Server.run/init: java.sql.SQLException: The database is already in use by another process
      19:50:28,124 ERROR [STDERR] java.sql.SQLException: The database is already in use by another process
      19:50:28,124 ERROR [STDERR] at org.hsqldb.Trace.getError(Unknown Source)
      19:50:28,124 ERROR [STDERR] at org.hsqldb.Trace.error(Unknown Source)
      19:50:28,155 ERROR [STDERR] at org.hsqldb.Log.open(Unknown Source)
      19:50:28,155 ERROR [STDERR] at org.hsqldb.Database$Logger.openLog(Unknown Source)
      19:50:28,155 ERROR [STDERR] at org.hsqldb.Database.open(Unknown Source)
      19:50:28,155 ERROR [STDERR] at org.hsqldb.Database.(Unknown Source)
      19:50:28,155 ERROR [STDERR] at org.hsqldb.Server.openDB(Unknown Source)
      19:50:28,155 ERROR [STDERR] at org.hsqldb.Server.run(Unknown Source)
      19:50:28,155 ERROR [STDERR] at org.hsqldb.Server.main(Unknown Source)
      19:50:28,155 ERROR [STDERR] at org.jboss.jdbc.HypersonicDatabase$2.run(HypersonicDatabase.java:250)
      19:50:28,233 INFO [ClusterPartition] Created
      19:50:28,233 INFO [HASessionStateService] Creating
      19:50:28,280 INFO [HASessionStateService] Created
      19:50:28,280 INFO [HANamingService] Creating
      19:50:28,530 INFO [HANamingService] Created
      19:50:28,530 INFO [JGCacheInvalidationBridge] Creating
      19:50:28,530 INFO [JGCacheInvalidationBridge] Created
      19:50:28,530 INFO [JRMPInvokerHA] Creating
      19:50:28,530 INFO [JRMPInvokerHA] Created
      19:50:28,546 INFO [ClusterPartition] Starting
      19:50:28,546 INFO [ClusterPartition] Connecting to channel
      19:50:28,577 INFO [STDOUT]
      -------------------------------------------------------
      GMS: address is 10.2.4.19:1090
      -------------------------------------------------------
      19:50:30,796 INFO [ClusterPartition] Starting channel
      19:50:30,811 INFO [DefaultPartition] Number of cluster members: 2
      19:50:30,811 INFO [DefaultPartition] Other members: 1
      19:50:30,921 INFO [ClusterPartition] Started ClusterPartition: DefaultPartition
      19:50:30,921 INFO [ClusterPartition] Started
      19:50:30,921 INFO [HASessionStateService] Starting
      19:50:30,921 INFO [HASessionStateService] Started
      19:50:30,921 INFO [HANamingService] Starting
      19:50:31,217 ERROR [HANamingService] Could not start on port 1100
      java.net.BindException: Address already in use: JVM_Bind
      at java.net.PlainSocketImpl.socketBind(Native Method)
      at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
      at java.net.ServerSocket.bind(ServerSocket.java:309)
      at java.net.ServerSocket.(ServerSocket.java:183)
      at org.jboss.ha.jndi.HANamingService.startService(HANamingService.java:246)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
      at $Proxy11.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:392)
      at org.jboss.system.ServiceController.start(ServiceController.java:408)
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:273)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:392)
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)