I don't know what's the equivalent on IBM's jdk, but on Sun's:
try using the server\jvm.dll instead of classic\jvm.dll
I discovered that unless Jetty is running under -server, I always get
Exception when I stop it.
-will--
PS: That upper-case drive thing vexed me for an hour also :p
--- In jetty-discuss@y..., "Martin Cordova S." <mcordova@m...> wrote:
> Hi, I got success installing Jetty as a service, thanks for the tip
about
> the upper-case drive letter.
>
> But now it is not serving files nor servlets! Here is the error log
saved by
> the JVM:
>
> NOTA: the same Jetty config working as a console app work fine, as
soon as
> it is activated as a service, it becomes very unstable at the first
request.
> Same classpath and server.xml for both configs.
>
> Exception code: C0000005 ACCESS_VIOLATION
> Fault address: 71548CF5 01:00057CF5 c:\jdk\jre\bin\classic\jvm.dll
>
> Registers:
> EAX:00000018
> EBX:00CEEA64
> ECX:04A40000
> EDX:00000002
> ESI:00000000
> EDI:00CEEA68
> CS:EIP:001B:71548CF5
> SS:ESP:0023:06C4F6F0 EBP:000118E0
> DS:0023 ES:0023 FS:0038 GS:0000
> Flags:00010202
>
> Thu Aug 22 19:44:06 2002
>
>
> J2RE 1.3.0 IBM build cn130-20020124
>
> System Properties
> -----------------
> Java Home Dir: c:\jdk\jre
> Java DLL Dir: c:\jdk\jre\bin
> Sys Classpath:
> c:\jdk\jre\lib\rt.jar;c:\jdk\jre\lib\i18n.jar;c:\jdk\jre\classes
> User Args:
>
-Djava.class.path=C:\jetty;C:\jetty\javax.servlet.jar;C:\jetty\jetty.jar
> 0x003403f0
> exit 0x00404c60
>
>
> Current Thread Details
> ----------------------
> "SocketListener-1" (TID:0x9a8408, sys_thread_t:0x5fec4e0, state:R,
> native ID:0x430) prio=5
> at java.io.ByteArrayOutputStream.<init>(ByteArrayOutputStream.java:77)
> at
>
org.mortbay.util.ByteArrayOutputStream2.<init>(ByteArrayOutputStream2.java:1
> 8)
> at org.mortbay.util.CachedResource.update(CachedResource.java:76)
> at org.mortbay.util.CachedResource.<init>(CachedResource.java:41)
> at org.mortbay.util.Resource.cache(Resource.java:295)
> at org.mortbay.http.HttpContext.getResource(HttpContext.java:736)
> at
>
org.mortbay.jetty.servlet.WebApplicationContext.getResource(WebApplicationCo
> ntext.java:1239)
> at org.mortbay.jetty.servlet.Default.service(Default.java:115)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:356)
> at
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
> er.java:315)
> at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:553)
> at
>
org.mortbay.jetty.servlet.WebApplicationHandler.handle(WebApplicationHandler
> .java:200)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1648)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1598)
> at org.mortbay.http.HttpServer.service(HttpServer.java:872)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:785)
> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:942)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:800)
> at
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:200)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:294)
> at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:741)
> at java.lang.Thread.run(Thread.java:498)
>
> ----- Native Stack -----
> Address Frame
> 0x71548cf5 0x000118e0 0x0001:0x00057cf5
c:\jdk\jre\bin\classic\jvm.dll
>
>
-------------------------------------------------------------------------
>
>
>
> Operating Environment
> ---------------------
> error getting host name
> OS Level : Windows_NT
> Processors -
> Architecture : x86 Family 6 Model 5 Stepping 2, GenuineIntel
> How Many : 1
>
> Memory Usage:
> PageFaultCount: 8470
> Working Set Size: 29175808
> Peak Working Set Size: 29175808
> Quota Paged Pool Usage: 16200
> Quota Peak Paged Pool Usage: 20964
> Quota Non-Paged Pool Usage: 7780
> Quota Peak Non-Paged Pool Usage: 8328
> Pagefile Usage: 97329152
> Peak Pagefile Usage: 97329152
>
>
> Application Environment
> -----------------------
> Environment Variables -
> ALLUSERSPROFILE=C:\Documents and Settings\All Users
> BLASTER=A220 I5 D1 H1 P330 T6
> CommonProgramFiles=C:\Archivos de programa\Archivos comunes
> COMPUTERNAME=MAQUINA_MCS
> ComSpec=C:\WINDOWS\system32\cmd.exe
> JAVA_HOME=c:\jdk
> NUMBER_OF_PROCESSORS=1
> OS=Windows_NT
> Os2LibPath=C:\WINDOWS\system32\os2\dll;
>
Path=c:\sapdb\bin;c:\sapdb\pgm;c:\jdk\bin;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\C
>
55\Bin;C:\ORAWIN95\BIN;"C:\Archivosdeprograma\Mts";C:\ARCHIV~1\MICROS~6\80\T
> OOLS\BINN;"C:\Archivos de
>
programa\AppForge\Platforms\Win32\TargetImage\";c:\jdk\bin;C:\WINDOWS\system
> 32;C:\WINDOWS\system32\WBEM
> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
> PROCESSOR_ARCHITECTURE=x86
> PROCESSOR_IDENTIFIER=x86 Family 6 Model 5 Stepping 2, GenuineIntel
> PROCESSOR_LEVEL=6
> PROCESSOR_REVISION=0502
> ProgramFiles=C:\Archivos de programa
> PROMPT=$p$g
> SystemDrive=C:
> SystemRoot=C:\WINDOWS
> TEMP=C:\WINDOWS\TEMP
> TMP=C:\WINDOWS\TEMP
> USERPROFILE=C:\Documents and Settings\Default User
> winbootdir=C:\WINDOWS
> windir=C:\WINDOWS
> JAVA_MAIN_VM=1901724136
>
>
> Loaded Modules (sizes in bytes)
> ---------------------------------
> 0x00400000 (0x12000) C:\jetty\JavaService.exe
> 0x77f80000 (0x79000) C:\WINDOWS\System32\ntdll.dll
> 0x77e80000 (0xb6000) C:\WINDOWS\system32\KERNEL32.dll
> 0x77db0000 (0x5a000) C:\WINDOWS\system32\ADVAPI32.dll
> 0x77d40000 (0x6f000) C:\WINDOWS\system32\RPCRT4.DLL
> 0x714f0000 (0xf4000) c:\jdk\jre\bin\classic\jvm.dll
> 0x78000000 (0x46000) C:\WINDOWS\system32\MSVCRT.dll
> 0x714a0000 (0x5000) c:\jdk\jre\bin\xhpi.dll
> 0x70740000 (0xa000) c:\jdk\jre\bin\hpi.dll
> 0x77570000 (0x30000) C:\WINDOWS\System32\WINMM.dll
> 0x77e10000 (0x65000) C:\WINDOWS\system32\USER32.DLL
> 0x77f40000 (0x3c000) C:\WINDOWS\system32\GDI32.DLL
> 0x707c0000 (0x2c000) c:\jdk\jre\bin\java.dll
> 0x714c0000 (0x10000) c:\jdk\jre\bin\zip.dll
> 0x708a0000 (0x15d000) C:\jdk\jre\bin\jitc.dll
> 0x71280000 (0x9000) C:\jdk\jre\bin\net.dll
> 0x75050000 (0x8000) C:\WINDOWS\System32\WSOCK32.dll
> 0x75030000 (0x14000) C:\WINDOWS\System32\WS2_32.DLL
> 0x75020000 (0x8000) C:\WINDOWS\System32\WS2HELP.DLL
> 0x74fd0000 (0x11000) C:\WINDOWS\system32\msafd.dll
> 0x75010000 (0x7000) C:\WINDOWS\System32\wshtcpip.dll
> 0x77840000 (0xc000) C:\WINDOWS\System32\rnr20.dll
> 0x77980000 (0x24000) C:\WINDOWS\System32\DNSAPI.DLL
> 0x777e0000 (0x8000) C:\WINDOWS\System32\winrnr.dll
> 0x77950000 (0x29000) C:\WINDOWS\system32\WLDAP32.DLL
> 0x777f0000 (0x5000) C:\WINDOWS\System32\rasadhlp.dll
> 0x77830000 (0xe000) C:\WINDOWS\System32\RTUTILS.DLL
> 0x77920000 (0x22000) C:\WINDOWS\system32\IMAGEHLP.DLL
> 0x72a00000 (0x2d000) C:\WINDOWS\system32\DBGHELP.dll
> 0x690a0000 (0xb000) C:\WINDOWS\System32\PSAPI.DLL
>
>
>
> FAILED TO SUSPEND ALL THREADS - ABORTING