该帖已经被评为良好帖
|
|
---|---|
作者 | 正文 |
发表时间:2009-04-09
这东西的稳定性堪忧阿
就楼主这个guestbook我传上去刷了几次就碰到后台数据库服务抛exception了 |
|
返回顶楼 | |
发表时间:2009-04-09
查看classloader hierarchy时候出现异常,发现里面还使用了jetty....
Uncaught exception from servlet java.lang.ClassCastException: java.security.AccessControlException cannot be cast to javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:754) at org.apache.jsp.jsp.classloader_jsp._jspService(classloader_jsp.java:64) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:35) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:237) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830) at com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:63) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:125) at com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:235) at com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:4547) at com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:4545) at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:24) at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:359) at com.google.net.rpc.impl.Server$2.run(Server.java:792) at com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:56) at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java:489) at com.google.net.rpc.impl.Server.startRpc(Server.java:748) at com.google.net.rpc.impl.Server.processRequest(Server.java:340) at com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:422) at com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:319) at com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:290) at com.google.net.async.Connection.handleReadEvent(Connection.java:419) at com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:733) at com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:207) at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:101) at com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java:249) at com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run(JavaRuntime.java:373) at java.lang.Thread.run(Unknown Source) Unexpected exception from servlet: java.lang.ClassCastException: java.security.AccessControlException cannot be cast to javax.servlet.ServletException |
|
返回顶楼 | |
发表时间:2009-04-09
最后修改:2009-04-09
我这边code.google.com今天一天都不能访问 似乎被墙了
但是我用米国的代理却可以上去 |
|
返回顶楼 | |
发表时间:2009-04-09
发现个问题...
中文环境下DB目录文件生成的时候貌似有编码问题 倒置部署到GAE时XML解析不能 |
|
返回顶楼 | |
发表时间:2009-04-09
HenryYu 写道 把持久层的逻辑都直接暴露在jsp里面,吹了多年的MVC模式,在这里倒退了^_^
写个小例子还MVC,还加上几十个设计模式。 例子就没法看了。 |
|
返回顶楼 | |
发表时间:2009-04-09
letsflytogether 写道 google不是声明起码有500M空间,一月20G流量永久免费吗
如果不够,再付费申请 另外像Joo那样申请以后好像只支持Python,如果要支持java,还需要再点个按钮申请试用,然后等着google给你发邮件激活 好像是跟楼上兄弟说的一样,我在进去的Dashboard里面只看到appcfg.py的上传功能,明显是Phython应用,在Eclipse里面使用小飞机图标upload&deploy应用的时候也会报错,谁来说说看?你说的申请按钮在哪? |
|
返回顶楼 | |
发表时间:2009-04-10
letsflytogether 写道 google不是声明起码有500M空间,一月20G流量永久免费吗
如果不够,再付费申请 另外像Joo那样申请以后好像只支持Python,如果要支持java,还需要再点个按钮申请试用,然后等着google给你发邮件激活 好像是跟楼上兄弟说的一样,我在进去的Dashboard里面只看到appcfg.py的上传功能,明显是Phython应用,在Eclipse里面使用小飞机图标upload&deploy应用的时候也会报错,谁来说说看?你说的申请按钮在哪?[/quote Google App Engine 提供1万个名额给感兴趣的Java开发者试用,赶紧注册:http://appengine.google.com/promo/java_runtime |
|
返回顶楼 | |
发表时间:2009-04-10
guoxu1231 写道 http://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine
SSH三条腿少了一条腿.... Servlets Support for version 2.4, including HTTPS. Java Server Pages (JSP) Mostly full support, including JSTL. Java Persistence API (JPA) Spring You can use Spring on App Engine, for an example, take a look at the autoshoppe demo. Hibernate You cannot currently use Hibernate directly. The differences between the App Engine datastore and SQL were too great to get the standard Hibernate up and running under App Engine. However, App Engine does support JPA, so you may be able to convert your Hibernate code to use JPA. Struts Not supported. spring的MVC用起来也很舒服的 |
|
返回顶楼 | |
发表时间:2009-04-10
有中文问题(windows下开发)。
servlet,html中文都正常。JSP就有问题了。 JSP设置为: <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 中文乱码。要用JAVA代码把中文符从"GBK"转成"UTF-8"才能正常显示。 用spring的charsetencodingfliter设置为utf8,gbk都不行。 怎么设置才能简单一点? |
|
返回顶楼 | |
发表时间:2009-04-10
最后修改:2009-04-10
dlpower 写道 有中文问题(windows下开发)。
servlet,html中文都正常。JSP就有问题了。 JSP设置为: <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 中文乱码。要用JAVA代码把中文符从"GBK"转成"UTF-8"才能正常显示。 用spring的charsetencodingfliter设置为utf8,gbk都不行。 怎么设置才能简单一点? LS你用中文可以通过编译?我jsp里用中文本地跑可以,上传就不能通过编译了. |
|
返回顶楼 | |