8 Replies Latest reply on Nov 1, 2007 3:51 AM by louw swart

    localhost:8080 is not working

    Alex Pe Newbie

      Hello everyone,
      I downloaded jboss-4.2.1.GA.zip and extracted it into a new folder called
      C:\Vorlesung\jboss-4.2.1.GA. After that I edited the run.bat with Java_home pointing to the Java folder:

      rem JAVA_HOME set
      echo Java_Home set
      set JAVA_HOME=C:\Vorlesung\Java\jdk1.5.0_13

      The server starts without any errors(I presume that because my last message is:

      19:54:08,703 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBos
      s_4_2_1_GA date=200707131605)] Started in 38s:610ms

      But when I enter http://localhost:8080 in the browser (opera and firefox) I cannot see the start page from jboss. I also tried the IP instead of localhost--> same situation.

      Here the messages from the console:

      Thanks for comments on my problem

      Java_Home set
      ===============================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: C:\Vorlesung\jboss-4.2.1.GA

      JAVA: C:\Vorlesung\Java\jdk1.5.0_13\bin\java

      JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.cli
      ent.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

      CLASSPATH: C:\Vorlesung\Java\jdk1.5.0_13\lib\tools.jar;C:\Vorlesung\jboss-4.2.
      1.GA\bin\run.jar

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

      19:53:30,062 INFO [Server] Starting JBoss (MX MicroKernel)...
      19:53:30,062 INFO [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: SVNTag=
      JBoss_4_2_1_GA date=200707131605)
      19:53:30,078 INFO [Server] Home Dir: C:\Vorlesung\jboss-4.2.1.GA
      19:53:30,078 INFO [Server] Home URL: file:/C:/Vorlesung/jboss-4.2.1.GA/
      19:53:30,078 INFO [Server] Patch URL: null
      19:53:30,078 INFO [Server] Server Name: default
      19:53:30,078 INFO [Server] Server Home Dir: C:\Vorlesung\jboss-4.2.1.GA\server\
      default
      19:53:30,078 INFO [Server] Server Home URL: file:/C:/Vorlesung/jboss-4.2.1.GA/s
      erver/default/
      19:53:30,078 INFO [Server] Server Log Dir: C:\Vorlesung\jboss-4.2.1.GA\server\d
      efault\log
      19:53:30,078 INFO [Server] Server Temp Dir: C:\Vorlesung\jboss-4.2.1.GA\server\
      default\tmp
      19:53:30,078 INFO [Server] Root Deployment Filename: jboss-service.xml
      19:53:30,625 INFO [ServerInfo] Java version: 1.5.0_13,Sun Microsystems Inc.
      19:53:30,625 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_13-b05
      ,Sun Microsystems Inc.
      19:53:30,625 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      19:53:31,750 INFO [Server] Core system initialized
      19:53:37,984 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083
      /
      19:53:37,984 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
      ce:jboss-log4j.xml
      19:53:39,734 INFO [TransactionManagerService] JBossTS Transaction Service (JTA
      version) - JBoss Inc.
      19:53:39,750 INFO [TransactionManagerService] Setting up property manager MBean
      and JMX layer
      19:53:40,625 INFO [TransactionManagerService] Starting recovery manager
      19:53:40,765 INFO [TransactionManagerService] Recovery manager started
      19:53:40,765 INFO [TransactionManagerService] Binding TransactionManager JNDI R
      eference
      19:53:48,500 INFO [EJB3Deployer] Starting java:comp multiplexer
      19:53:52,562 INFO [ServiceEndpointManager] jbossws-1.2.1.GA (build=200704151756
      )
      19:53:55,078 INFO [AprLifecycleListener] The Apache Tomcat Native library which
      allows optimal performance in production environments was not found on the java
      .library.path: C:\Vorlesung\Java\jdk1.5.0_13\bin;.;C:\WINDOWS\system32;C:\WINDOW
      S;C:\Programme\ThinkPad\Utilities;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syst
      em32\Wbem;C:\Programme\Intel\Wireless\Bin\;C:\Programme\Diskeeper Corporation\Di
      skeeper\;C:\Programme\ThinkPad\ConnectUtilities;C:\Programme\Gemeinsame Dateien\
      Lenovo;C:\Programme\Lenovo\Client Security Solution;C:\Programme\Intel\Wireless\
      Bin\;C:\Programme\Intel\Wireless\Bin\;C:\Programme\Intel\Wireless\Bin\;C:\Progra
      mme\Intel\Wireless\Bin\;C:\Vorlesung\Java\jdk1.5.0_13\bin\
      19:53:55,250 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0
      .1-8080
      19:53:55,359 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-80
      09
      19:53:55,359 INFO [Catalina] Initialization processed in 746 ms
      19:53:55,359 INFO [StandardService] Starting service jboss.web
      19:53:55,359 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.0.GA
      19:53:55,468 INFO [Catalina] Server startup in 99 ms
      19:53:55,734 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-w
      eb.deployer/ROOT.war/
      19:53:57,343 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
      http-invoker.sar/invoker.war/
      19:53:58,218 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/dep
      loy/tmp20515jbossws-context-exp.war/
      19:53:59,125 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
      deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      19:54:01,562 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
      loy/management/console-mgr.sar/web-console.war/
      19:54:03,015 INFO [MailService] Mail Service bound to java:/Mail
      19:54:03,640 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jboss-ha-local-jdbc.rar
      19:54:03,828 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jboss-ha-xa-jdbc.rar
      19:54:03,906 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jboss-local-jdbc.rar
      19:54:04,031 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jboss-xa-jdbc.rar
      19:54:04,250 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jms/jms-ra.rar
      19:54:04,328 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/quartz-ra.rar
      19:54:04,343 INFO [QuartzResourceAdapter] start quartz!!!
      19:54:04,484 INFO [SimpleThreadPool] Job execution threads will use class loade
      r of thread: main
      19:54:04,562 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      19:54:04,578 INFO [RAMJobStore] RAMJobStore initialized.
      19:54:04,578 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzSchedule
      r' initialized from default resource file in Quartz package: 'quartz.properties'

      19:54:04,578 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      19:54:04,578 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUS
      TERED started.
      19:54:06,078 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
      oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      19:54:06,859 INFO [A] Bound to JNDI name: queue/A
      19:54:06,859 INFO [B] Bound to JNDI name: queue/B
      19:54:06,859 INFO [C] Bound to JNDI name: queue/C
      19:54:06,859 INFO [D] Bound to JNDI name: queue/D
      19:54:06,875 INFO [ex] Bound to JNDI name: queue/ex
      19:54:07,015 INFO [testTopic] Bound to JNDI name: topic/testTopic
      19:54:07,015 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
      19:54:07,015 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

      19:54:07,062 INFO [testQueue] Bound to JNDI name: queue/testQueue
      19:54:07,250 INFO [UILServerILService] JBossMQ UIL service available at : /127.
      0.0.1:8093
      19:54:07,390 INFO [DLQ] Bound to JNDI name: queue/DLQ
      19:54:07,750 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
      oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      19:54:07,812 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
      loy/jmx-console.war/
      19:54:08,609 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
      080
      19:54:08,687 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      19:54:08,703 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBos
      s_4_2_1_GA date=200707131605)] Started in 38s:610ms

        • 1. Re: localhost:8080 is not working
          Peter Johnson Master

          Do you have a firewall running? If so, have you blocked java.exe from acting as a server?

          Based on what I see here, you should be able to access the home directory using http://localhost:8080 or http://127.0.0.1:8080. You will not be able to access it via your hostname or host's IP address (for the reason why, see the readme file, the items in the configuration changes section).

          • 2. Re: localhost:8080 is not working
            Alex Pe Newbie

            Thanks PeterJ for your reply.
            I tried your suggestions (sutting my firewall down) and it is still the same thing. I'm a bit worried if the warning concerning a apache tomcat lib is the root of my trouble?
            I checked my hosts.txt--> everything ok
            Shall I post my logs? boot and server from server/default/log/ ?

            It's desperating...:-(

            • 3. Re: localhost:8080 is not working
              Peter Johnson Master

              That is not a warning (the Apache Tomcat Native Library message), and the app server works fine without it.

              First thing to do it try on another machine (if you have one, that is).

              Try http://localhost:8080/jmx-console

              Try http://localhost:8080/web-console

              If none of those work, run

              ping localhost
              netstat -ab


              and post the results for both commands.

              • 4. Re: localhost:8080 is not working
                Alex Pe Newbie

                I tried both options :-(
                The command ping localhost went well.

                Ping beatsquad [127.0.0.1] mit 32 Bytes Daten:
                
                Antwort von 127.0.0.1: Bytes=32 Zeit<1ms TTL=128
                Antwort von 127.0.0.1: Bytes=32 Zeit<1ms TTL=128
                Antwort von 127.0.0.1: Bytes=32 Zeit<1ms TTL=128
                Antwort von 127.0.0.1: Bytes=32 Zeit<1ms TTL=128
                
                Ping-Statistik für 127.0.0.1:
                 Pakete: Gesendet = 4, Empfangen = 4, Verloren = 0 (0% Verlust),
                Ca. Zeitangaben in Millisek.:
                 Minimum = 0ms, Maximum = 0ms, Mittelwert = 0ms


                The output of netstat -ab is the following:
                C:\>netstat -ab
                
                Aktive Verbindungen
                
                 Proto Lokale Adresse Remoteadresse Status PID
                 TCP beatsquad:epmap beatsquad:0 ABHÖREN 1748
                 c:\windows\system32\WS2_32.dll
                 C:\WINDOWS\system32\RPCRT4.dll
                 c:\windows\system32\rpcss.dll
                 C:\WINDOWS\system32\svchost.exe
                 C:\WINDOWS\system32\ADVAPI32.dll
                 [svchost.exe]
                
                 TCP beatsquad:microsoft-ds beatsquad:0 ABHÖREN 4
                 [System]
                
                 TCP beatsquad:1027 beatsquad:0 ABHÖREN 732
                 [LEXPPS.EXE]
                
                 TCP beatsquad:2219 beatsquad:0 ABHÖREN 6108
                 [java.exe]
                
                 TCP beatsquad:2220 beatsquad:0 ABHÖREN 6108
                 [java.exe]
                
                 TCP beatsquad:2222 beatsquad:0 ABHÖREN 6108
                 [java.exe]
                
                 TCP beatsquad:6060 beatsquad:0 ABHÖREN 1544
                 [tvttcsd.exe]
                
                 TCP beatsquad:31038 beatsquad:0 ABHÖREN 968
                 [DkService.exe]
                
                 TCP beatsquad:1041 beatsquad:0 ABHÖREN 2792
                 [alg.exe]
                
                 TCP beatsquad:1098 beatsquad:0 ABHÖREN 6108
                 [java.exe]
                
                 TCP beatsquad:1099 beatsquad:0 ABHÖREN 6108
                 [java.exe]
                
                 TCP beatsquad:3873 beatsquad:0 ABHÖREN 6108
                 [java.exe]
                
                 TCP beatsquad:4444 beatsquad:0 ABHÖREN 6108
                 [java.exe]
                
                 TCP beatsquad:4445 beatsquad:0 ABHÖREN 6108
                 [java.exe]
                
                 TCP beatsquad:4446 beatsquad:0 ABHÖREN 6108
                 [java.exe]
                
                 TCP beatsquad:8009 beatsquad:0 ABHÖREN 6108
                 [java.exe]
                
                 TCP beatsquad:8080 beatsquad:0 ABHÖREN 6108
                 [java.exe]
                
                 TCP beatsquad:8083 beatsquad:0 ABHÖREN 6108
                 [java.exe]
                
                 TCP beatsquad:8093 beatsquad:0 ABHÖREN 6108
                 [java.exe]
                
                 TCP beatsquad:netbios-ssn beatsquad:0 ABHÖREN 4
                 [System]
                
                 TCP beatsquad:2147 localhost:2148 HERGESTELLT 5364
                 [firefox.exe]
                
                 TCP beatsquad:2148 localhost:2147 HERGESTELLT 5364
                 [firefox.exe]
                
                 TCP beatsquad:2150 localhost:2151 HERGESTELLT 5364
                 [firefox.exe]
                
                 TCP beatsquad:2151 localhost:2150 HERGESTELLT 5364
                 [firefox.exe]
                
                 TCP beatsquad:2254 dispsd-48-download.boulder.ibm.com:https HERGES
                TELLT 5864
                 [tvsukernel.exe]
                
                 TCP beatsquad:2260 mu-in-f99.google.com:http HERGESTELLT 5364
                 [firefox.exe]
                
                 TCP beatsquad:2261 lm-in-f166.google.com:http HERGESTELLT 5364
                
                 [firefox.exe]
                
                 TCP beatsquad:2111 a212-201-100-141.deploy.akamaitechnologies.com:h
                ttp SCHLIESSEN_WARTEN 5720
                 [jusched.exe]
                
                 TCP beatsquad:2219 beatsquad:2221 SCHLIESSEN_WARTEN 6108
                
                 [java.exe]
                
                 TCP beatsquad:2262 pop.gmx.net:pop3 WARTEND 0
                 UDP beatsquad:isakmp *:* 1440
                 [lsass.exe]
                
                 UDP beatsquad:1763 *:* 236
                 C:\WINDOWS\system32\mswsock.dll
                 c:\windows\system32\WS2_32.dll
                 c:\windows\system32\DNSAPI.dll
                 c:\windows\system32\dnsrslvr.dll
                 C:\WINDOWS\system32\RPCRT4.dll
                 [svchost.exe]
                
                 UDP beatsquad:1140 *:* 236
                 C:\WINDOWS\system32\mswsock.dll
                 c:\windows\system32\WS2_32.dll
                 c:\windows\system32\DNSAPI.dll
                 c:\windows\system32\dnsrslvr.dll
                 C:\WINDOWS\system32\RPCRT4.dll
                 [svchost.exe]
                
                 UDP beatsquad:1765 *:* 236
                 C:\WINDOWS\system32\mswsock.dll
                 c:\windows\system32\WS2_32.dll
                 c:\windows\system32\DNSAPI.dll
                 c:\windows\system32\dnsrslvr.dll
                 C:\WINDOWS\system32\RPCRT4.dll
                 [svchost.exe]
                
                 UDP beatsquad:4500 *:* 1440
                 [lsass.exe]
                
                 UDP beatsquad:1137 *:* 236
                 C:\WINDOWS\system32\mswsock.dll
                 c:\windows\system32\WS2_32.dll
                 c:\windows\system32\DNSAPI.dll
                 c:\windows\system32\dnsrslvr.dll
                 C:\WINDOWS\system32\RPCRT4.dll
                 [svchost.exe]
                
                 UDP beatsquad:microsoft-ds *:* 4
                 [System]
                
                 UDP beatsquad:1759 *:* 236
                 C:\WINDOWS\system32\mswsock.dll
                 c:\windows\system32\WS2_32.dll
                 c:\windows\system32\DNSAPI.dll
                 c:\windows\system32\dnsrslvr.dll
                 C:\WINDOWS\system32\RPCRT4.dll
                 [svchost.exe]
                
                 UDP beatsquad:1900 *:* 288
                 c:\windows\system32\WS2_32.dll
                 c:\windows\system32\ssdpsrv.dll
                 ntdll.dll
                 C:\WINDOWS\system32\kernel32.dll
                 [svchost.exe]
                
                 UDP beatsquad:1900 *:* 288
                 c:\windows\system32\WS2_32.dll
                 c:\windows\system32\ssdpsrv.dll
                 ntdll.dll
                 C:\WINDOWS\system32\kernel32.dll
                 [svchost.exe]
                
                 UDP beatsquad:netbios-ns *:* 4
                 [System]
                
                 UDP beatsquad:netbios-dgm *:* 4
                 [System]
                


                I hope its still usable although its German ;-)

                • 5. Re: localhost:8080 is not working
                  Peter Johnson Master

                  Everything that I have seen so far says that it should work. The only thing I can suggest is try it on another machine, and if that works try to figure out what is different between the two machines.

                  I am getting all of the same responses (though in English not German) and seeing the same JBoss AS output. And it works for me. There has to be something about your PC that is different than mine, but I have run out of ideas.

                  One last idea, start the server using the -b 0.0.0.0 option and see if you connect then.

                  • 6. Re: localhost:8080 is not working
                    Alex Pe Newbie

                    I solved the problem...
                    I uninstalled my firewall and then it worked well....
                    Although I deactivated it, it still blocked somehow.
                    I used the Ashampoo Firewall...perhaps other users have the same problems...
                    Thanks you for trying to solve my "problem"

                    • 7. Re: localhost:8080 is not working
                      Peter Johnson Master

                      Yes, on Windows there is a big difference between turning off the firewall (by clicking a 'turn off' button within the firewall app), and actually disabling it (and possibly rebooting without it). I have experienced similar issues with ZoneAlarm.

                      • 8. Re: localhost:8080 is not working
                        louw swart Newbie

                        Hi beatzepz.

                        Your post was VERY helpful. I also had the same problem with Ashampoo Firewall. After uninstalling it my jBoss server started working normally again. I recently reinstalled Windows and it was quite difficult to figure out which change to the system caused it to suddenly stop working.

                        Still a newbie to jBoss and JSP, so wanted to pull my hair out after the umpteenth reboot without success!

                        Cheers