3 Replies Latest reply on Jun 19, 2007 11:02 PM by Trevor Merrill

    Installation trouble Ubuntu 7.0.4

    Trevor Merrill Newbie

      I am trying to setup jbossweb for the first time on Ubuntu here is my startup script output. This is the default install, I have been trying to follow the really terrible documentation to get this setup. Here is the output:

      =========================================================================

      JBoss Web Server 1.0.1.GA Bootstrap Environment

      JBOSS_HOME: /usr/sbin/jbossweb-1.0.1.GA

      JAVA: /usr/lib/jvm/java-6-sun-1.6.0.00/bin/java

      JAVA_OPTS: -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh -Djava.library.path=/usr/sbin/jbossweb-1.0.1.GA/bin/native

      CLASSPATH: /usr/sbin/jbossweb-1.0.1.GA/bin/run.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/lib/tools.jar

      =========================================================================

      21:55:05,282 INFO [Server] Starting JBoss (MX MicroKernel)...
      21:55:05,286 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
      21:55:05,290 INFO [Server] Home Dir: /usr/sbin/jbossweb-1.0.1.GA
      21:55:05,290 INFO [Server] Home URL: file:/usr/sbin/jbossweb-1.0.1.GA/
      21:55:05,294 INFO [Server] Patch URL: null
      21:55:05,295 INFO [Server] Server Name: default
      21:55:05,296 INFO [Server] Server Home Dir: /usr/sbin/jbossweb-1.0.1.GA/server/default
      21:55:05,297 INFO [Server] Server Home URL: file:/usr/sbin/jbossweb-1.0.1.GA/server/default/
      21:55:05,298 INFO [Server] Server Log Dir: /usr/sbin/jbossweb-1.0.1.GA/server/default/log
      21:55:05,299 INFO [Server] Server Temp Dir: /usr/sbin/jbossweb-1.0.1.GA/server/default/tmp
      21:55:05,300 INFO [Server] Root Deployment Filename: jboss-service.xml
      21:55:06,299 INFO [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
      21:55:06,300 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0-b105,Sun Microsystems Inc.
      21:55:06,300 INFO [ServerInfo] OS-System: Linux 2.6.17-11-generic,i386
      21:55:07,413 INFO [Server] Core system initialized
      21:55:11,270 INFO [WebService] Using RMI server codebase: http://0.0.0.0:8083/
      21:55:11,336 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      21:55:19,864 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
      21:55:20,246 WARN [AUTOCONF] failed creating DatagramSocket: java.net.UnknownHostException: maxpower: maxpower
      21:55:20,251 ERROR [UDP] max_bundle_size (64000) is greater than largest UDP fragmentation size (0)
      21:55:20,267 WARN [ServiceController] Problem creating service jboss.cache:service=TomcatClusteringCache
      ChannelException: unable to setup the protocol stack
      at org.jgroups.JChannel.(JChannel.java:217)
      at org.jgroups.JChannel.(JChannel.java:189)
      at org.jboss.cache.TreeCache._createService(TreeCache.java:1373)
      at org.jboss.cache.TreeCache.createService(TreeCache.java:1300)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:330)
      at org.jboss.system.ServiceController.create(ServiceController.java:273)
      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.create(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:258)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:417)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:490)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.Exception: ProtocolStack.setup(): couldn't create protocol stack
      at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:116)
      at org.jgroups.JChannel.(JChannel.java:214)
      ... 96 more
      21:55:22,227 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
      21:55:22,330 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
      21:55:22,513 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
      21:55:22,592 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
      21:55:24,975 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      21:55:25,037 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- Packages waiting for a deployer ---
      org.jboss.deployment.DeploymentInfo@f5ad1dbe { url=file:/usr/sbin/jbossweb-1.0.1.GA/server/default/deploy/jbossweb.sar/ROOT.war/ }
      deployer: null
      status: Starting
      state: INIT_WAITING_DEPLOYER
      watch: file:/usr/sbin/jbossweb-1.0.1.GA/server/default/deploy/jbossweb.sar/ROOT.war/
      altDD: null
      lastDeployed: 1182228921286
      lastModified: 1182224869000
      mbeans:

      org.jboss.deployment.DeploymentInfo@850a7c49 { url=file:/usr/sbin/jbossweb-1.0.1.GA/server/default/deploy/management/console-mgr.sar/web-console.war/ }
      deployer: null
      status: Starting
      state: INIT_WAITING_DEPLOYER
      watch: file:/usr/sbin/jbossweb-1.0.1.GA/server/default/deploy/management/console-mgr.sar/web-console.war/
      altDD: null
      lastDeployed: 1182228921287
      lastModified: 1182224869000
      mbeans:

      org.jboss.deployment.DeploymentInfo@30f70e1d { url=file:/usr/sbin/jbossweb-1.0.1.GA/server/default/deploy/jmx-console.war/ }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/usr/sbin/jbossweb-1.0.1.GA/server/default/deploy/jmx-console.war/
      altDD: null
      lastDeployed: 1182228925033
      lastModified: 1182224869000
      mbeans:

      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@30f70e1d { url=file:/usr/sbin/jbossweb-1.0.1.GA/server/default/deploy/jmx-console.war/ }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/usr/sbin/jbossweb-1.0.1.GA/server/default/deploy/jmx-console.war/
      altDD: null
      lastDeployed: 1182228925033
      lastModified: 1182224869000
      mbeans:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.web:service=WebServer
      State: CONFIGURED
      I Depend On:
      jboss.security:service=JaasSecurityManager
      jboss.cache:service=TomcatClusteringCache
      jboss:service=TransactionManager
      jboss.jca:service=CachedConnectionManager

      ObjectName: jboss.cache:service=TomcatClusteringCache
      State: FAILED
      Reason: ChannelException: unable to setup the protocol stack
      I Depend On:
      jboss:service=Naming
      jboss:service=TransactionManager
      jboss.aop:service=AspectDeployer
      Depends On Me:
      jboss.web:service=WebServer

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.cache:service=TomcatClusteringCache
      State: FAILED
      Reason: ChannelException: unable to setup the protocol stack
      I Depend On:
      jboss:service=Naming
      jboss:service=TransactionManager
      jboss.aop:service=AspectDeployer
      Depends On Me:
      jboss.web:service=WebServer


      21:55:25,296 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 19s:985ms

      What am I doing wrong? When I go to my <server IP>:8080 I get nothing