2 Replies Latest reply on May 7, 2005 3:20 AM by deng guangyuan

    Viewing a page

    Sabina Alejandra Schneider Newbie

      I have installed JBoss 4 in Fedora 3 and set the following:
      export JAVA_HOME=/usr/java/j2sdk1.4.2_08
      ./run.sh -c default

      The Stacktrace thows the following, so that I cannot see the page of the project I have deplyed with Ant.

      The stacktrace goes on and on with more errors, but I can see Jboss in localhost:8080, but not my project in a subfolder.

      When I do a port scan, I get:

      Initiating Connect() Scan against localhost.localdomain (127.0.0.1) [1660 ports] at 18:42
      Discovered open port 80/tcp on 127.0.0.1
      Discovered open port 443/tcp on 127.0.0.1
      Discovered open port 22/tcp on 127.0.0.1
      Discovered open port 25/tcp on 127.0.0.1
      Discovered open port 111/tcp on 127.0.0.1
      Discovered open port 8009/tcp on 127.0.0.1
      Discovered open port 4444/tcp on 127.0.0.1
      Discovered open port 3306/tcp on 127.0.0.1
      Discovered open port 631/tcp on 127.0.0.1
      Discovered open port 8080/tcp on 127.0.0.1
      The Connect() Scan took 0.17s to scan 1660 total ports.
      Host localhost.localdomain (127.0.0.1) appears to be up ... good.
      Interesting ports on localhost.localdomain (127.0.0.1):
      (The 1650 ports scanned but not shown below are in state: closed)
      PORT STATE SERVICE
      22/tcp open ssh
      25/tcp open smtp
      80/tcp open http
      111/tcp open rpcbind
      443/tcp open https
      631/tcp open ipp
      3306/tcp open mysql
      4444/tcp open krb524
      8009/tcp open ajp13
      8080/tcp open http-proxy


      What is the problem?

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

      JBoss Bootstrap Environment

      JBOSS_HOME: /home/sschneider/jboss-4.0.1sp1

      JAVA: /usr/java/j2sdk1.4.2_08/bin/java

      JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh

      CLASSPATH: /home/sschneider/jboss-4.0.1sp1/bin/run.jar:/usr/java/j2sdk1.4.2_08/lib/tools.jar

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

      18:40:05,709 INFO [Server] Starting JBoss (MX MicroKernel)...
      18:40:05,712 INFO [Server] Release ID: JBoss [Zion] 4.0.1sp1 (build: CVSTag=JBoss_4_0_1_SP1 date=200502160314)
      18:40:05,714 INFO [Server] Home Dir: /home/sschneider/jboss-4.0.1sp1
      18:40:05,771 INFO [Server] Home URL: file:/home/sschneider/jboss-4.0.1sp1/
      18:40:05,772 INFO [Server] Library URL: file:/home/sschneider/jboss-4.0.1sp1/lib/
      18:40:05,803 INFO [Server] Patch URL: null
      18:40:05,803 INFO [Server] Server Name: default
      18:40:05,804 INFO [Server] Server Home Dir: /home/sschneider/jboss-4.0.1sp1/server/default
      18:40:05,833 INFO [Server] Server Home URL: file:/home/sschneider/jboss-4.0.1sp1/server/default/
      18:40:05,834 INFO [Server] Server Data Dir: /home/sschneider/jboss-4.0.1sp1/server/default/data
      18:40:05,835 INFO [Server] Server Temp Dir: /home/sschneider/jboss-4.0.1sp1/server/default/tmp
      18:40:05,865 INFO [Server] Server Config URL: file:/home/sschneider/jboss-4.0.1sp1/server/default/conf/
      18:40:05,866 INFO [Server] Server Library URL: file:/home/sschneider/jboss-4.0.1sp1/server/default/lib/
      18:40:05,866 INFO [Server] Root Deployment Filename: jboss-service.xml
      18:40:05,902 INFO [Server] Starting General Purpose Architecture (GPA)...
      18:40:07,205 INFO [ServerInfo] Java version: 1.4.2_08,Sun Microsystems Inc.
      18:40:07,205 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.4.2_08-b03,Sun Microsystems Inc.
      18:40:07,206 INFO [ServerInfo] OS-System: Linux 2.6.11-1.14_FC3,i386
      18:40:09,115 INFO [Server] Core system initialized
      18:40:19,683 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      18:40:20,520 INFO [WebService] Using RMI server codebase: http://centauro:8083/
      18:40:21,024 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
      18:40:22,563 ERROR [PooledInvoker] Starting failed jboss:service=invoker,type=pooled
      java.net.BindException: Address already in use
      at java.net.PlainSocketImpl.socketBind(Native Method)
      at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
      at java.net.ServerSocket.bind(ServerSocket.java:318)
      at java.net.ServerSocket.(ServerSocket.java:185)
      at org.jboss.invocation.pooled.server.PooledInvoker.startService(PooledInvoker.java:173)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:416)
      at org.jboss.system.ServiceController.start(ServiceController.java:438)
      at org.jboss.system.ServiceController.start(ServiceController.java:438)
      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:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
      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:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
      at org.jboss.Main.boot(Main.java:162)
      at org.jboss.Main$1.run(Main.java:423)
      at java.lang.Thread.run(Thread.java:534)
      18:40:22,613 WARN [ServiceController] Problem starting service jboss:service=invoker,type=pooled
      java.net.BindException: Address already in use
      at java.net.PlainSocketImpl.socketBind(Native Method)
      at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
      at java.net.ServerSocket.bind(ServerSocket.java:318)
      at java.net.ServerSocket.(ServerSocket.java:185)
      at org.jboss.invocation.pooled.server.PooledInvoker.startService(PooledInvoker.java:173)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:416)
      at org.jboss.system.ServiceController.start(ServiceController.java:438)
      at org.jboss.system.ServiceController.start(ServiceController.java:438)
      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:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
      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:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
      at org.jboss.Main.boot(Main.java:162)
      at org.jboss.Main$1.run(Main.java:423)
      at java.lang.Thread.run(Thread.java:534)