12 Replies Latest reply on Nov 3, 2006 11:17 AM by alex.pinkin

    4.0.5 GA bluescreens

    therockhopper

      Today I installed via the webstart installer. I selected C:\jboss-4.0.5.GA instead of the default under Program Files (why is that the default when your docs say don't use a directory with spaces in the name?).

      I chose All and accepted all the defaults on the succeeding pages.
      When I execute run.bat it causes a system crash and I'm getting a bluescreen.

      My environment:
      Ant 1.6.5
      Sun JDK 1.5.0_08
      Windows XP sp2
      Two gigs of RAM

      tomcat 5.5, websphere 6, weblogic, glassfish all start up, deploy and run just fine.


      This is the error sent on reboot to Microsoft:
      Error signature:
      BCCode : 100000c5 BCP1 : 3D796170 BCP2 : 00000002 BCP3 : 00000001
      BCP4 : 805446F3 OSVer : 5_1_2600 SP : 2_0 Product : 256_1

      The last few lines of server.log:

      2006-11-01 09:41:45,390 DEBUG [org.jboss.deployment.MainDeployer] Watching new

      file: file:/C:/jboss-4.0.5.GA/server/default/deploy/jdbc-metadata-service.xml
      2006-11-01 09:41:45,390 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment

      file:/C:/jboss-4.0.5.GA/server/default/deploy/jdbc-metadata-service.xml
      2006-11-01 09:41:45,390 DEBUG [org.jboss.deployment.SARDeployer] Deploying SAR, create step: url file:/C:/jboss-4.0





        • 1. Re: 4.0.5 GA bluescreens
          peterj

          I have the same configuration you have, at least as far as what you have reported, and 4.0.5 works fine for me. I am suspecting either a corrupt JVM installation (low probability) or a bad driver/library (high probability).

          Could you try the following:

          1) Run JBoss AS 4.0.5.GA with 1.4.2 JVM

          2) Install and run JBoss AS 4.0.4.GA with JVM 1.5.0 and again with 1.4.2 JVM

          If you get any of the above combinations working, use the listdlls utility from www.sysinternals.com to get a list of DLLs loaded into the JVM by entering:

          listdlls java

          Post the results. Whatever is causing the problem should show up in that output (unless you have a corrupt system DLL).

          • 2. Re: 4.0.5 GA bluescreens
            therockhopper

            I'll install 1.4 tonight and try it out.

            I downloaded jboss-4.0.5.GA.zip, unzipped it and it runs fine. Nothing else
            changed. I can see web-console webapp just fine in firefox 2. Want any info from that?

            I'll post the output of listdlls at the bottom of this. Useful tool; thanks.

            The thing is that I wanted to try your implementation of EJB 3 and the docs say "use the installer". The zip doesn't have EJB 3; any way to install it without the installer?

            output from listdlls:


            ListDLLs v2.25 - DLL lister for Win9x/NT
            Copyright (C) 1997-2004 Mark Russinovich
            Sysinternals - www.sysinternals.com

            ------------------------------------------------------------------------------
            java.exe pid: 3592
            Command line: "C:\Program Files\Java\jdk1.5.0_08\bin\java" -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 "-Djava.endorsed.dirs=C:\opensource\JBoss\jboss-4.0.5.GA\bin\\..\lib\endorsed" -classpath "C:\Program Files\Java\jdk1.5.0_08\lib\tools.jar;C:\opensource\JBoss\jboss-4.0.5.GA\bin\\run.jar" org.jboss.Main

            Base Size Version Path
            0x00400000 0xd000 5.00.0080.0003 C:\Program Files\Java\jdk1.5.0_08\bin\java.exe
            0x7c900000 0xb0000 5.01.2600.2180 C:\WINDOWS\system32\ntdll.dll
            0x7c800000 0xf4000 5.01.2600.2945 C:\WINDOWS\system32\kernel32.dll
            0x77dd0000 0x9b000 5.01.2600.2180 C:\WINDOWS\system32\ADVAPI32.dll
            0x77e70000 0x91000 5.01.2600.2180 C:\WINDOWS\system32\RPCRT4.dll
            0x77c10000 0x58000 7.00.2600.2180 C:\WINDOWS\system32\MSVCRT.dll
            0x5a000000 0x1f000 3.06.0000.2079 C:\Program Files\Spyware Doctor\tools\swpg.dat
            0x77d40000 0x90000 5.01.2600.2622 C:\WINDOWS\system32\user32.dll
            0x77f10000 0x47000 5.01.2600.2818 C:\WINDOWS\system32\GDI32.dll
            0x77120000 0x8c000 5.01.2600.2180 C:\WINDOWS\system32\oleaut32.dll
            0x774e0000 0x13d000 5.01.2600.2726 C:\WINDOWS\system32\ole32.dll
            0x76390000 0x1d000 5.01.2600.2180 C:\WINDOWS\system32\IMM32.DLL
            0x76bf0000 0xb000 5.01.2600.2180 C:\WINDOWS\system32\PSAPI.DLL
            0x6d8d0000 0x39f000 5.00.0080.0003 C:\Program Files\Java\jdk1.5.0_08\jre\bin\server\jvm.dll
            0x76b40000 0x2d000 5.01.2600.2180 C:\WINDOWS\system32\WINMM.dll
            0x00290000 0xa000 1.72.0000.0025 C:\WINDOWS\system32\myokent.dll
            0x6d2f0000 0x8000 5.00.0080.0003 C:\Program Files\Java\jdk1.5.0_08\jre\bin\hpi.dll
            0x6d700000 0xc000 5.00.0080.0003 C:\Program Files\Java\jdk1.5.0_08\jre\bin\verify.dll
            0x6d370000 0x1d000 5.00.0080.0003 C:\Program Files\Java\jdk1.5.0_08\jre\bin\java.dll
            0x6d720000 0xf000 5.00.0080.0003 C:\Program Files\Java\jdk1.5.0_08\jre\bin\zip.dll
            0x6d530000 0x13000 5.00.0080.0003 C:\Program Files\Java\jdk1.5.0_08\jre\bin\net.dll
            0x71ab0000 0x17000 5.01.2600.2180 C:\WINDOWS\system32\WS2_32.dll
            0x71aa0000 0x8000 5.01.2600.2180 C:\WINDOWS\system32\WS2HELP.dll
            0x71a50000 0x3f000 5.01.2600.2180 C:\WINDOWS\System32\mswsock.dll
            0x76f20000 0x27000 5.01.2600.2938 C:\WINDOWS\system32\DNSAPI.dll
            0x76fb0000 0x8000 5.01.2600.2180 C:\WINDOWS\System32\winrnr.dll
            0x76f60000 0x2c000 5.01.2600.2180 C:\WINDOWS\system32\WLDAP32.dll
            0x76fc0000 0x6000 5.01.2600.2938 C:\WINDOWS\system32\rasadhlp.dll
            0x6d520000 0x8000 5.00.0080.0003 C:\Program Files\Java\jdk1.5.0_08\jre\bin\management.dll
            0x29ea0000 0xf000 10.67.0000.0000 C:\WINDOWS\system32\ZoneLabs\vetredir.dll
            0x662b0000 0x58000 5.01.2600.2180 C:\WINDOWS\system32\hnetcfg.dll
            0x29fe0000 0x15000 10.67.0000.0000 C:\WINDOWS\system32\ZoneLabs\isafeif.dll
            0x71a90000 0x8000 5.01.2600.2180 C:\WINDOWS\System32\wshtcpip.dll
            0x2a150000 0x28000 5.01.2600.2161 C:\WINDOWS\system32\rsaenh.dll
            0x769c0000 0xb3000 5.01.2600.2180 C:\WINDOWS\system32\USERENV.dll
            0x5b860000 0x54000 5.01.2600.2952 C:\WINDOWS\system32\netapi32.dll
            0x6d550000 0x9000 5.00.0080.0003 C:\Program Files\Java\jdk1.5.0_08\jre\bin\nio.dll


            • 3. Re: 4.0.5 GA bluescreens
              peterj

              You can get EJB 3 by downloading the source and compiling it with JDK 1.5.0. You end up with two JBoss distributions, one that matches the binary zip download, and the other that contains EJB3 stuff.

              To do this, download the *.tar.gz file from the downloads page, unzip it (WinZip knows how), go into the build directory and type 'build' (make sure JAVA_HOME is set first). About 10 minutes later you should have the packages in build/output.

              Also, here's my output from listdlls:

              Command line: "d:\apps\jdk1.5.0_06\bin\java" -Dprogram.name=run.bat -server -Xm
              s128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcIn
              terval=3600000 "-Djava.endorsed.dirs=d:\apps\jboss-4.0.5.GA\bin\\..\lib\endorsed
              " -classpath "d:\apps\jdk1.5.0_06\lib\tools.jar;d:\apps\jboss-4.0.5.GA\bin\\run.
              jar" org.jboss.Main -c servlets
              
               Base Size Version Path
               0x00400000 0xc000 5.00.0060.0005 d:\apps\jdk1.5.0_06\bin\java.exe
               0x7c900000 0xb0000 5.01.2600.2180 C:\WINDOWS\system32\ntdll.dll
               0x7c800000 0xf4000 5.01.2600.2945 C:\WINDOWS\system32\kernel32.dll
               0x77dd0000 0x9b000 5.01.2600.2180 C:\WINDOWS\system32\ADVAPI32.dll
               0x77e70000 0x91000 5.01.2600.2794 C:\WINDOWS\system32\RPCRT4.dll
               0x77c10000 0x58000 7.00.2600.2180 C:\WINDOWS\system32\MSVCRT.dll
               0x6d880000 0x3b1000 5.00.0060.0005 d:\apps\jdk1.5.0_06\jre\bin\server\jvm.dll
               0x77d40000 0x90000 5.01.2600.2622 C:\WINDOWS\system32\USER32.dll
               0x77f10000 0x47000 5.01.2600.2818 C:\WINDOWS\system32\GDI32.dll
               0x76b40000 0x2d000 5.01.2600.2180 C:\WINDOWS\system32\WINMM.dll
               0x6d2f0000 0x8000 5.00.0060.0005 d:\apps\jdk1.5.0_06\jre\bin\hpi.dll
               0x76bf0000 0xb000 5.01.2600.2180 C:\WINDOWS\system32\PSAPI.DLL
               0x6d6b0000 0xc000 5.00.0060.0005 d:\apps\jdk1.5.0_06\jre\bin\verify.dll
               0x6d370000 0x1d000 5.00.0060.0005 d:\apps\jdk1.5.0_06\jre\bin\java.dll
               0x6d6d0000 0xf000 5.00.0060.0005 d:\apps\jdk1.5.0_06\jre\bin\zip.dll
               0x6d530000 0x13000 5.00.0060.0005 D:\apps\jdk1.5.0_06\jre\bin\net.dll
               0x71ab0000 0x17000 5.01.2600.2180 C:\WINDOWS\system32\WS2_32.dll
               0x71aa0000 0x8000 5.01.2600.2180 C:\WINDOWS\system32\WS2HELP.dll
               0x71a50000 0x3f000 5.01.2600.2180 C:\WINDOWS\System32\mswsock.dll
               0x76f20000 0x27000 5.01.2600.2938 C:\WINDOWS\system32\DNSAPI.dll
               0x76fb0000 0x8000 5.01.2600.2180 C:\WINDOWS\System32\winrnr.dll
               0x76f60000 0x2c000 5.01.2600.2180 C:\WINDOWS\system32\WLDAP32.dll
               0x76fc0000 0x6000 5.01.2600.2938 C:\WINDOWS\system32\rasadhlp.dll
               0x6d520000 0x8000 5.00.0060.0005 D:\apps\jdk1.5.0_06\jre\bin\management.dll
               0x662b0000 0x58000 5.01.2600.2180 C:\WINDOWS\system32\hnetcfg.dll
               0x71a90000 0x8000 5.01.2600.2180 C:\WINDOWS\System32\wshtcpip.dll
               0x27f00000 0x28000 5.01.2600.2161 C:\WINDOWS\system32\rsaenh.dll
               0x769c0000 0xb3000 5.01.2600.2180 C:\WINDOWS\system32\USERENV.dll
               0x5b860000 0x54000 5.01.2600.2952 C:\WINDOWS\system32\netapi32.dll
               0x6d550000 0x9000 5.00.0060.0005 D:\apps\jdk1.5.0_06\jre\bin\nio.dll


              There are quite a few differences. These are the files I would question:

              * C:\Program Files\Spyware Doctor\tools\swpg.dat
              * C:\WINDOWS\system32\myokent.dll

              I especially question strange files in system32 (I don't have myokent.dll).

              I run ZoneAlarm at home (I'm at work where another firewall is dictated), and if I remember will see if I see the same ZoneAlarm-related DLLs at home.



              • 4. Re: 4.0.5 GA bluescreens
                peterj

                One more thing. It would be best if you did not install the JDK in Program Files. Yes, that is where it wants to go by default, but I have seen way too many inexplicable "problems" fixed by moving the JDK out of Program Files.

                • 5. Re: 4.0.5 GA bluescreens
                  gus888

                  I have the exact same problem:

                  Installed via the webstart installer. I selected C:\jboss-4.0.5.GA, and chose EJB3 clustering and mysql database. When I execute run.bat it causes a system crash and I'm getting a bluescreen. I executed run.bat again, it had the same problem.

                  My environment:
                  Ant 1.6.5
                  Sun JDK 1.5.0_09
                  Windows XP sp2
                  One gigs of RAM

                  • 6. Re: 4.0.5 GA bluescreens
                    gus888

                    I reinstalled jdk 1.5.0_09 on c:\java instead of c:\Program Files, but the system crash problem is still there. Is it a bug? I am wondering why some users don't have the problem?

                    • 7. Re: 4.0.5 GA bluescreens
                      therockhopper

                      It (the webstart installer version) will run if:

                      I set JAVA_HOME to a 1.4.2 JDK. I have RAD6 and used the JDK bundled with it. (A regular JDK "should" work). It is under c:\program files so I used the 8.3 name PROGRA~1 in the variable. run.bat doesn't like quotes.

                      I prepended the path with %JAVA_HOME%\bin.

                      No matter what I did with a 1.5 JDK it will bluescreen with the installer version. The downloaded and exploded zip works ok with 1.5.



                      ListDLLs v2.25 - DLL lister for Win9x/NT
                      Copyright (C) 1997-2004 Mark Russinovich
                      Sysinternals - www.sysinternals.com

                      ------------------------------------------------------------------------------
                      java.exe pid: 2980
                      Command line: "c:\progra~1\\IBM\Rational\SDP\6.0\runtimes\base_v6\java\bin\java" -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 "-Djava.endorsed.dirs=C:\jboss-4.0.5.GA\bin\\..\lib\endorsed" -classpath "c:\progra~1\\IBM\Rational\SDP\6.0\runtimes\base_v6\java\lib\tools.jar;C:\jboss-4.0.5.GA\bin\\run.jar" org.jboss.Main

                      Base Size Version Path
                      0x00400000 0x9000 142.2004.0010.0028 c:\progra~1\IBM\Rational\SDP\6.0\runtimes\base_v6\java\bin\java.exe
                      0x7c900000 0xb0000 5.01.2600.2180 C:\WINDOWS\system32\ntdll.dll
                      0x7c800000 0xf4000 5.01.2600.2945 C:\WINDOWS\system32\kernel32.dll
                      0x77dd0000 0x9b000 5.01.2600.2180 C:\WINDOWS\system32\ADVAPI32.dll
                      0x77e70000 0x91000 5.01.2600.2180 C:\WINDOWS\system32\RPCRT4.dll
                      0x77c10000 0x58000 7.00.2600.2180 C:\WINDOWS\system32\MSVCRT.dll
                      0x5a000000 0x1f000 3.06.0000.2079 C:\Program Files\Spyware Doctor\tools\swpg.dat
                      0x77d40000 0x90000 5.01.2600.2622 C:\WINDOWS\system32\user32.dll
                      0x77f10000 0x47000 5.01.2600.2818 C:\WINDOWS\system32\GDI32.dll
                      0x77120000 0x8c000 5.01.2600.2180 C:\WINDOWS\system32\oleaut32.dll
                      0x774e0000 0x13d000 5.01.2600.2726 C:\WINDOWS\system32\ole32.dll
                      0x76390000 0x1d000 5.01.2600.2180 C:\WINDOWS\system32\IMM32.DLL
                      0x76bf0000 0xb000 5.01.2600.2180 C:\WINDOWS\system32\PSAPI.DLL
                      0x10000000 0x17b000 142.2004.0010.0028 c:\progra~1\IBM\Rational\SDP\6.0\runtimes\base_v6\java\jre\bin\classic\jvm.dll
                      0x00290000 0x1a000 142.2004.0010.0028 c:\progra~1\IBM\Rational\SDP\6.0\runtimes\base_v6\java\jre\bin\ute.dll
                      0x003b0000 0x6000 142.2004.0010.0028 c:\progra~1\IBM\Rational\SDP\6.0\runtimes\base_v6\java\jre\bin\jsig.dll
                      0x003c0000 0x6000 142.2004.0010.0028 c:\progra~1\IBM\Rational\SDP\6.0\runtimes\base_v6\java\jre\bin\dbgmalloc.dll
                      0x003d0000 0x7000 142.2004.0010.0028 c:\progra~1\IBM\Rational\SDP\6.0\runtimes\base_v6\java\jre\bin\xhpi.dll
                      0x003e0000 0x10000 142.2004.0010.0028 c:\progra~1\IBM\Rational\SDP\6.0\runtimes\base_v6\java\jre\bin\hpi.dll
                      0x76b40000 0x2d000 5.01.2600.2180 C:\WINDOWS\system32\WINMM.dll
                      0x003f0000 0xa000 1.72.0000.0025 C:\WINDOWS\system32\myokent.dll
                      0x02800000 0xb3000 6.00.0007.0000 c:\progra~1\IBM\Rational\SDP\6.0\runtimes\base_v6\java\jre\bin\dbghelp.dll
                      0x77c00000 0x8000 5.01.2600.2180 C:\WINDOWS\system32\VERSION.dll
                      0x01df0000 0x1a000 142.2004.0010.0028 c:\progra~1\IBM\Rational\SDP\6.0\runtimes\base_v6\java\jre\bin\java.dll
                      0x01e10000 0x18000 142.2004.0010.0028 c:\progra~1\IBM\Rational\SDP\6.0\runtimes\base_v6\java\jre\bin\classic\core.dll
                      0x01e30000 0x12000 142.2004.0010.0028 c:\progra~1\IBM\Rational\SDP\6.0\runtimes\base_v6\java\jre\bin\zip.dll
                      0x021e0000 0x3a5000 142.2004.0010.0028 C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\java\jre\bin\jitc.dll
                      0x03e60000 0x1a000 142.2004.0010.0028 C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\java\jre\bin\net.dll
                      0x71ab0000 0x17000 5.01.2600.2180 C:\WINDOWS\system32\WS2_32.dll
                      0x71aa0000 0x8000 5.01.2600.2180 C:\WINDOWS\system32\WS2HELP.dll
                      0x71a50000 0x3f000 5.01.2600.2180 C:\WINDOWS\System32\mswsock.dll
                      0x76f20000 0x27000 5.01.2600.2938 C:\WINDOWS\system32\DNSAPI.dll
                      0x76fb0000 0x8000 5.01.2600.2180 C:\WINDOWS\System32\winrnr.dll
                      0x76f60000 0x2c000 5.01.2600.2180 C:\WINDOWS\system32\WLDAP32.dll
                      0x76fc0000 0x6000 5.01.2600.2938 C:\WINDOWS\system32\rasadhlp.dll
                      0x049d0000 0xf000 10.67.0000.0000 C:\WINDOWS\system32\ZoneLabs\vetredir.dll
                      0x662b0000 0x58000 5.01.2600.2180 C:\WINDOWS\system32\hnetcfg.dll
                      0x04b10000 0x15000 10.67.0000.0000 C:\WINDOWS\system32\ZoneLabs\isafeif.dll
                      0x71a90000 0x8000 5.01.2600.2180 C:\WINDOWS\System32\wshtcpip.dll
                      0x76d60000 0x19000 5.01.2600.2912 C:\WINDOWS\system32\iphlpapi.dll
                      0x04e90000 0xc000 142.2004.0010.0028 C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\java\jre\bin\nio.dll

                      • 8. Re: 4.0.5 GA bluescreens
                        vralev

                        I also have the same machine and everything is ok (I am installing from http://jboss.sourceforge.net/jnlp/jems-installer-1.2.0.BETA3.jnlp, tell me if you are doing something else). It's most likely some bad driver. Could you give more information about the BSOD and your system configuration - processor, video card (and drivers), the file system type where the application server is installed? Does the BSOD include a module file name which caused the error or a call stack?

                        The most common source of java BSODs are the video card drivers, but it could be anything else.

                        Also, it would be good if everyone who experiences this sends me the BSOD minidump. You can do this by first making sure minidumps are enabled in Control Panel -> System -> Advanced -> Startup and Recovery Settings button, then enable the minidump in "Write debugging information" and choose the output folder. After that simply reproduce the error and on the next boot send the dump to vladimir.ralev@jboss.com.

                        • 9. Re: 4.0.5 GA bluescreens
                          therockhopper

                          BSOD says BAD_POL_HEADER

                          The Event id is 1003
                          Error code 00000019, parameter1 00000020, parameter2 882013e8, parameter3 882017f0, parameter4 0a81004f.

                          I'll email the dump.

                          I can't see how EJB3 will work without JDK 1.5 so using 1.4.2 doesn't seem to be the "fix" even though there is no BSOD with 1.4.2...




                          • 10. Re: 4.0.5 GA bluescreens
                            therockhopper

                            In the above messages I used the webstart installer and selected All and used all the defaults.

                            I just punted on that. I deleted the jboss directory. I installed the latest jdk 1.5.0_09 and downloaded the jems installer from sourceforge - jems-installer-1.2.0.BETA3.jar

                            On installation I selected EJB3 not All. Now I don't get the BSOD.
                            (it is unclear to me that if you select All if you get EJB 2.1 or 3. I was assuming 2.1)

                            This wasted a lot of my time.

                            • 11. Re: 4.0.5 GA bluescreens

                              I couldn't reproduce the BSOD as well. It works fine when installed via web start on WinXP SP2, java 1.5.0_07. So this must be specific to your box.

                              • 12. Re: 4.0.5 GA bluescreens

                                forgot to confirm that "all" profile is a J2EE 1.4 compliant server so it includes EJB 2.1.

                                if you want ejb3, you need to select ejb3 or ejb3-clustered during install