当启动开发服务器时,Java会崩溃 是什么原因?GoogleAppEngine:dev_appserver崩溃
(OS)
Mac OS X 10.6.6
(JAVA)
Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-10M3326)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)
(GAE) 1.4.2版
(控制台)
admin$ ./dev_appserver.sh --port=8080 /Users/admin/projects/sample1/war/
2011-03-10 12:51:02.582 java[2542:903] [Java CocoaComponent compatibility mode]: Enabled
2011-03-10 12:51:02.583 java[2542:903] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000
2011/03/10 3:51:03 com.google.apphosting.utils.jetty.JettyLogger info
####: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger
2011/03/10 3:51:04 com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
####: Successfully processed /Users/admin/projects/sample1/war/WEB-INF/appengine-web.xml
2011/03/10 3:51:04 com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
####: Successfully processed /Users/admin/projects/sample1/war/WEB-INF/web.xml
2011/03/10 3:51:04 com.google.apphosting.utils.jetty.JettyLogger info
####: jetty-6.1.x
2011/03/10 3:51:04 com.sun.jersey.api.core.PackagesResourceConfig init
####: Scanning for root resource and provider classes in the packages:
sample1.resources
jp.tryden.resources.test
2011/03/10 3:51:04 com.sun.jersey.api.core.ScanningResourceConfig logClasses
####: Root resource classes found:
class sample1.resources.CheckinsResource
class sample1.resources.UsersResource
class sample1.resources.ItemsResource
2011/03/10 3:51:04 com.sun.jersey.api.core.ScanningResourceConfig init
####: No provider classes found.
2011/03/10 3:51:05 com.sun.jersey.server.impl.application.WebApplicationImpl initiate
####: Initiating Jersey application, version 'Jersey: 1.1.5.1 03/10/2010 02:33 PM'
2011/03/10 3:51:06 com.google.apphosting.utils.jetty.JettyLogger info
####: Started [email protected]:8080
2011/03/10 3:51:06 com.google.appengine.tools.development.DevAppServerImpl start
####: The server is running at http://localhost:8080/
admin$ (<- Stopped!!)
(崩溃日志)
Process: java [3466]
Path: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
Identifier: java
Version: 1.0 (1.0)
Code Type: X86-64 (Native)
Parent Process: java [3465]
Date/Time: 2011-03-10 14:22:12.206 +0900
OS Version: Mac OS X 10.6.6 (10J567)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Crashed Thread: 10 Dispatch queue: com.apple.root.low-priority
Thread 0: Dispatch queue: com.apple.main-thread
0 ??? 0x000000010301f383 0 + 4345426819
1 ??? 0x000000010300685a 0 + 4345325658
2 ??? 0x0000000103006e8d 0 + 4345327245
3 ??? 0x00000001030069b3 0 + 4345326003
4 ??? 0x00000001030069b3 0 + 4345326003
5 ??? 0x0000000103006e8d 0 + 4345327245
6 ??? 0x000000010300685a 0 + 4345325658
7 ??? 0x000000010300685a 0 + 4345325658
8 ??? 0x000000010300685a 0 + 4345325658
...
已更新答案以包含指向正在运行的JDK的指针。 – John 2011-03-14 21:11:14