http://dyuproject.appspot.com/

25 views
Skip to first unread message

gaenoob

unread,
Aug 8, 2009, 12:38:38 AM8/8/09
to dyuproject
The live site - http://dyuproject.appspot.com/.

Is the source code available?


David Yu

unread,
Aug 8, 2009, 1:59:18 AM8/8/09
to dyuproject
I've just uploaded the source to http://code.google.com/p/dyuproject/downloads/list
Edit the oauth_consumer.properties and replace with your oauth keys
from google.

Cheers


On Aug 8, 12:38 pm, gaenoob <spellw...@gmail.com> wrote:
> The live site -http://dyuproject.appspot.com/.

gaenoob

unread,
Aug 8, 2009, 7:59:36 AM8/8/09
to dyuproject
unable to compile the source.

downloaded maven and manually installed the 3 jar files (dyuproject-
openid, dyuproject-oauth, dyuproject-web).

it showed -

[INFO] Compilation failure

C:\dyuproject-site\src\main\java\com\dyuproject\demos\showcase
\OAuthGoogleService.java:[27,23] package org.codehaus.jra does not
exist


Any idea??


On Aug 8, 1:59 pm, David Yu <david.yu....@gmail.com> wrote:
> I've just uploaded the source tohttp://code.google.com/p/dyuproject/downloads/list

gaenoob

unread,
Aug 8, 2009, 8:56:31 AM8/8/09
to dyuproject
added
<dependency>
<groupId>org.codehaus.jra</groupId>
<artifactId>jra</artifactId>
<version>1.0-alpha-4</version>
</dependency>

fixed the above issue.

now got

[INFO] Compilation failure

C:\dyuproject-site\src\main\java\com\dyuproject\demos\showcase
\OpenIdService.java:[27,28] package org.mortbay.util.ajax does not
exist

how to fixed it.

David Yu

unread,
Aug 8, 2009, 11:12:40 AM8/8/09
to dyupr...@googlegroups.com
Install jetty-util-6.1.18.jar (http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.1.18/jetty-util-6.1.18.jar)
That is a common dependency of dyuproject-web (also oauth and openid)

Cheers
Message has been deleted
Message has been deleted

gaenoob

unread,
Aug 8, 2009, 1:04:19 PM8/8/09
to dyuproject
to package and deploy it to appengine
(1) c:> mvn install
(2) c:> appcfg update showcase-1.0

However
c:> dev_appserver showcase-1.0

i.e. run at localhost and visit localhost:8080 -> HTTP ERROR: 500

any idea to fix the HTTP ERROR: 500?

David Yu

unread,
Aug 9, 2009, 4:41:01 AM8/9/09
to dyupr...@googlegroups.com
Can you post the stacktrace?

gaenoob

unread,
Aug 10, 2009, 12:30:43 AM8/10/09
to dyuproject
Aug 10, 2009 4:26:01 AM com.google.apphosting.utils.jetty.JettyLogger
info
INFO: jetty-6.1.x
Aug 10, 2009 4:26:02 AM
com.dyuproject.web.rest.ApplicationServletContextListener
contextInitialized
INFO: loaded file: C:\dyuproject-site\target\showcase-1.0\WEB-INF
\application.json
Aug 10, 2009 4:26:02 AM
com.dyuproject.web.rest.ApplicationServletContextListener
contextInitialized
INFO: com.dyuproject.ioc.ApplicationContext@3a98350a initialized.
Aug 10, 2009 4:26:02 AM com.dyuproject.web.rest.DefaultDispatcher init
INFO: initialized.
Aug 10, 2009 4:26:02 AM com.dyuproject.web.rest.JSPDispatcher init
INFO: baseDir: /WEB-INF/views/jsp/
Aug 10, 2009 4:26:02 AM com.dyuproject.web.rest.JSPDispatcher init
INFO: fileExtension: jsp
Aug 10, 2009 4:26:02 AM com.dyuproject.web.rest.JSPDispatcher init
INFO: initialized.
Aug 10, 2009 4:26:02 AM com.dyuproject.web.rest.WebContext init
INFO: loaded: /WEB-INF/env.properties
Aug 10, 2009 4:26:02 AM com.dyuproject.web.rest.WebContext init
INFO: loaded: /WEB-INF/mime.properties
Aug 10, 2009 4:26:02 AM
com.dyuproject.web.rest.service.RESTServiceContext init
INFO: 4 services initialized.
Aug 10, 2009 4:26:02 AM
com.dyuproject.web.rest.service.RESTServiceContext init
INFO: 9 resources initialized.
Aug 10, 2009 4:26:02 AM
com.dyuproject.web.rest.service.RESTServiceContext init
INFO: 1 configured interceptors initialized.
Aug 10, 2009 4:26:02 AM com.dyuproject.web.rest.WebContext init
INFO: initialized.
Aug 10, 2009 4:26:02 AM com.google.apphosting.utils.jetty.JettyLogger
info
INFO: Started SelectChann...@127.0.0.1:8080
The server is running at http://localhost:8080/
Aug 10, 2009 4:26:16 AM com.dyuproject.web.rest.WebContext service
INFO: null
java.lang.NullPointerException
at com.dyuproject.web.rest.WebContext.service(WebContext.java:
366)
at com.dyuproject.web.rest.RESTServlet.service
(RESTServlet.java:71)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
806)
at org.mortbay.jetty.servlet.ServletHolder.handle
(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:362)
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.utils.jetty.DevAppEngineWebAppContext.handle
(DevAppEngineWebAppContext.java:54)
at org.mortbay.jetty.servlet.Dispatcher.forward
(Dispatcher.java:268)
at org.mortbay.jetty.servlet.Dispatcher.forward
(Dispatcher.java:126)
at com.dyuproject.web.rest.JSPDispatcher.dispatch
(JSPDispatcher.java:101)
at com.dyuproject.demos.showcase.MainService.root
(MainService.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.dyuproject.web.rest.service.AnnotatedMethodResource.handle
(AnnotatedMethodResource.java:101)
at com.dyuproject.web.rest.service.PathHandler.resourceHandle
(PathHandler.java:206)
at
com.dyuproject.web.rest.service.RESTServiceContext.handleRoot
(RESTServiceContext.java:381)
at com.dyuproject.web.rest.WebContext.service(WebContext.java:
380)
at com.dyuproject.web.rest.RESTServlet.service
(RESTServlet.java:71)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
806)
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.utils.servlet.TransactionCleanupFilter.doFilter
(TransactionCleanupFilter.java:43)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1084)
at
com.google.appengine.tools.development.StaticFileFilter.doFilter
(StaticFileFilter.java:124)
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.utils.jetty.DevAppEngineWebAppContext.handle
(DevAppEngineWebAppContext.java:54)
at org.mortbay.jetty.handler.HandlerWrapper.handle
(HandlerWrapper.java:139)
at com.google.appengine.tools.development.JettyContainerService
$ApiProxyHandler.handle(JettyContainerService.java:313)
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 org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:
211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:
381)
at org.mortbay.io.nio.SelectChannelEndPoint.run
(SelectChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run
(BoundedThreadPool.java:442)

David Yu

unread,
Aug 10, 2009, 9:55:05 AM8/10/09
to dyupr...@googlegroups.com
svn up and rebuild.  I just committed a fix that resolves the dispatcher name.
Also tested it with local gaej.

Cheers

raghunath n

unread,
Oct 7, 2011, 4:57:21 AM10/7/11
to dyupr...@googlegroups.com
Please provide a simple project setup with eclipse/maven. The existing source code is too complicate to build on eclipse. I was trying for whole day. No use of it just wasting time. 

Please provide some help

Reply all
Reply to author
Forward
0 new messages