rave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mahadevan, Venkat" <venk...@mitre.org>
Subject RE: Rave using Jetty, instead of Tomcat
Date Thu, 17 Nov 2011 18:50:24 GMT
I am also having the  same problem. Looks like Shindig was not loaded properly....

25236  ravePersistenceUnit  TRACE  [529236451@qtp-868206906-7] openjpa.jdbc.SQL - <t 529236451,
conn 1712365503> [0 ms] spent
25295  ravePersistenceUnit  WARN   [529236451@qtp-868206906-7] openjpa.Runtime - Query "SELECT
pp FROM PortalPreference pp" is removed from cache  excluded permanently. Q
uery "SELECT pp FROM PortalPreference pp" is not cached because it generates multiple SQL
statements. A query can be cached only when it corresponds to a single SQL state
ment.  .
WARN : org.springframework.web.client.RestTemplate - POST request for "http://localhost:8080/rpc"
resulted in 503 (Service Unavailable); invoking error handler


-Venkat


-----Original Message-----
From: Ciancetta, Jesse E. [mailto:jcian@mitre.org] 
Sent: Thursday, November 17, 2011 1:12 PM
To: rave-dev@incubator.apache.org
Subject: RE: Rave using Jetty, instead of Tomcat

If /rpc is returning 404's then it sounds like Shindig didn't initialize properly.

This looks like a snippet from a request log -- do you have any kind of server logs that contains
output from the Java console?

>-----Original Message-----
>From: Ioa Kiss [mailto:ikiss@ezuce.com]
>Sent: Thursday, November 17, 2011 12:57 PM
>To: rave-dev@incubator.apache.org
>Subject: RE: Rave using Jetty, instead of Tomcat
>
>Hi Jasha,
>  This is what I have in Jetty/logs
>127.0.0.1 -  -  [17/Nov/2011:17:07:51 +0000] "GET /portal/login.jsp
>HTTP/1.1" 200 2589
>127.0.0.1 -  -  [17/Nov/2011:17:07:57 +0000] "GET /portal HTTP/1.1" 302 0
>127.0.0.1 -  -  [17/Nov/2011:17:07:57 +0000] "GET /portal/ HTTP/1.1" 302 0
>127.0.0.1 -  -  [17/Nov/2011:17:07:57 +0000] "GET /portal/login.jsp
>HTTP/1.1" 200 2589
>127.0.0.1 -  -  [17/Nov/2011:17:07:58 +0000] "GET /portal/login.jsp
>HTTP/1.1" 200 2589
>127.0.0.1 -  -  [17/Nov/2011:17:07:58 +0000] "GET /favicon.ico HTTP/1.1" 304
>0
>127.0.0.1 -  -  [17/Nov/2011:17:07:58 +0000] "GET /portal/css/default.css
>HTTP/1.1" 200 14546
>127.0.0.1 -  -  [17/Nov/2011:17:08:04 +0000] "POST
>/portal/j_spring_security_check HTTP/1.1" 302 0
>127.0.0.1 -  -  [17/Nov/2011:17:08:05 +0000] "POST /rpc HTTP/1.1" 404 4657
>127.0.0.1 -  -  [17/Nov/2011:17:08:04 +0000] "GET /portal/ HTTP/1.1" 500
>12986
>127.0.0.1 -  -  [17/Nov/2011:17:08:38 +0000] "POST /rpc HTTP/1.1" 404 4657
>127.0.0.1 -  -  [17/Nov/2011:17:08:38 +0000] "GET /portal/ HTTP/1.1" 500
>12986
>127.0.0.1 -  -  [17/Nov/2011:17:08:41 +0000] "POST /rpc HTTP/1.1" 404 4656
>127.0.0.1 -  -  [17/Nov/2011:17:08:41 +0000] "GET /portal/ HTTP/1.1" 500
>12986
>127.0.0.1 -  -  [17/Nov/2011:17:10:05 +0000] "GET /portal/ HTTP/1.1" 302 0
>127.0.0.1 -  -  [17/Nov/2011:17:10:06 +0000] "GET /portal/login.jsp
>HTTP/1.1" 200 2589
>127.0.0.1 -  -  [17/Nov/2011:17:10:07 +0000] "GET /portal/css/default.css
>HTTP/1.1" 200 14546
>127.0.0.1 -  -  [17/Nov/2011:17:10:09 +0000] "GET /favicon.ico HTTP/1.1" 200
>717
>127.0.0.1 -  -  [17/Nov/2011:17:10:19 +0000] "POST
>/portal/j_spring_security_check HTTP/1.1" 302 0
>127.0.0.1 -  -  [17/Nov/2011:17:10:20 +0000] "POST /rpc HTTP/1.1" 404 4657
>127.0.0.1 -  -  [17/Nov/2011:17:10:19 +0000] "GET /portal/ HTTP/1.1" 500
>12986
>127.0.0.1 -  -  [17/Nov/2011:17:11:55 +0000] "GET /portal/ HTTP/1.1" 302 0
>127.0.0.1 -  -  [17/Nov/2011:17:11:55 +0000] "GET /portal/login.jsp
>HTTP/1.1" 200 2589
>127.0.0.1 -  -  [17/Nov/2011:17:11:59 +0000] "GET /portal/login.jsp
>HTTP/1.1" 200 2589
>127.0.0.1 -  -  [17/Nov/2011:17:11:59 +0000] "GET /portal/css/default.css
>HTTP/1.1" 304 0
>127.0.0.1 -  -  [17/Nov/2011:17:12:08 +0000] "POST
>/portal/j_spring_security_check HTTP/1.1" 302 0
>127.0.0.1 -  -  [17/Nov/2011:17:12:09 +0000] "POST /rpc HTTP/1.1" 404 4609
>127.0.0.1 -  -  [17/Nov/2011:17:12:08 +0000] "GET /portal/ HTTP/1.1" 500
>12986
>127.0.0.1 -  -  [17/Nov/2011:17:12:19 +0000] "POST /rpc HTTP/1.1" 404 4610
>127.0.0.1 -  -  [17/Nov/2011:17:12:19 +0000] "GET /portal/ HTTP/1.1" 500
>12986
>127.0.0.1 -  -  [17/Nov/2011:17:12:19 +0000] "GET /portal/css/default.css
>HTTP/1.1" 304 0
>127.0.0.1 -  -  [17/Nov/2011:17:12:23 +0000] "POST /rpc HTTP/1.1" 404 4610
>127.0.0.1 -  -  [17/Nov/2011:17:12:23 +0000] "GET /portal/ HTTP/1.1" 500
>12986
>127.0.0.1 -  -  [17/Nov/2011:17:12:23 +0000] "GET /portal/css/default.css
>HTTP/1.1" 304 0
>127.0.0.1 -  -  [17/Nov/2011:17:22:07 +0000] "POST /rpc HTTP/1.1" 404 4611
>127.0.0.1 -  -  [17/Nov/2011:17:22:07 +0000] "GET /portal/ HTTP/1.1" 500
>12986
>127.0.0.1 -  -  [17/Nov/2011:17:22:20 +0000] "GET /portal/ HTTP/1.1" 302 0
>127.0.0.1 -  -  [17/Nov/2011:17:22:20 +0000] "GET /portal/login.jsp
>HTTP/1.1" 200 2589
>127.0.0.1 -  -  [17/Nov/2011:17:22:22 +0000] "POST
>/portal/j_spring_security_check HTTP/1.1" 302 0
>127.0.0.1 -  -  [17/Nov/2011:17:22:22 +0000] "GET
>/portal/login.jsp?authfail=form HTTP/1.1" 200 2670
>127.0.0.1 -  -  [17/Nov/2011:17:22:25 +0000] "GET /portal/app/newaccount.jsp
>HTTP/1.1" 200 2940
>127.0.0.1 -  -  [17/Nov/2011:17:22:25 +0000] "GET
>/portal/script/rave_forms.js HTTP/1.1" 200 2603
>127.0.0.1 -  -  [17/Nov/2011:17:22:25 +0000] "GET /portal/script/rave.js
>HTTP/1.1" 200 31093
>127.0.0.1 -  -  [17/Nov/2011:17:22:35 +0000] "POST /portal/app/newaccount
>HTTP/1.1" 302 0
>127.0.0.1 -  -  [17/Nov/2011:17:22:35 +0000] "GET /portal/ HTTP/1.1" 302 0
>127.0.0.1 -  -  [17/Nov/2011:17:22:35 +0000] "GET /portal/login.jsp
>HTTP/1.1" 200 2589
>127.0.0.1 -  -  [17/Nov/2011:17:22:40 +0000] "POST
>/portal/j_spring_security_check HTTP/1.1" 302 0
>127.0.0.1 -  -  [17/Nov/2011:17:22:40 +0000] "GET /portal/ HTTP/1.1" 200
>5802
>127.0.0.1 -  -  [17/Nov/2011:17:22:40 +0000] "GET
>/gadgets/js/container.js?c=1&container=default&debug=1 HTTP/1.1" 404
>3572
>127.0.0.1 -  -  [17/Nov/2011:17:22:40 +0000] "GET
>/portal/script/rave_opensocial.js HTTP/1.1" 200 13088
>127.0.0.1 -  -  [17/Nov/2011:17:22:40 +0000] "GET
>/portal/script/rave_wookie.js HTTP/1.1" 200 1887
>127.0.0.1 -  -  [17/Nov/2011:17:22:40 +0000] "GET /portal/script/rave_api.js
>HTTP/1.1" 200 13303
>127.0.0.1 -  -  [17/Nov/2011:17:22:40 +0000] "GET
>/portal/script/rave_layout.js HTTP/1.1" 200 19159
>127.0.0.1 -  -  [17/Nov/2011:17:22:46 +0000] "GET
>/portal/app/store?referringPageId=15 HTTP/1.1" 200 21611
>127.0.0.1 -  -  [17/Nov/2011:17:22:47 +0000] "GET
>/portal/script/rave_store.js HTTP/1.1" 200 3462
>127.0.0.1 -  -  [17/Nov/2011:17:22:50 +0000] "POST
>/portal/app/api/rpc/page/15/widget/add HTTP/1.1" 200 1333
>127.0.0.1 -  -  [17/Nov/2011:17:22:53 +0000] "POST
>/portal/app/api/rpc/page/15/widget/add HTTP/1.1" 200 972
>127.0.0.1 -  -  [17/Nov/2011:17:22:55 +0000] "POST
>/portal/app/api/rpc/page/15/widget/add HTTP/1.1" 200 936
>127.0.0.1 -  -  [17/Nov/2011:17:22:59 +0000] "POST /rpc HTTP/1.1" 404 4611
>127.0.0.1 -  -  [17/Nov/2011:17:22:58 +0000] "GET /portal/app/page/view/15
>HTTP/1.1" 500 11982
>
>It appears the /rpc is not available.
>
>Ioan.
>
>-----Original Message-----
>From: Jasha Joachimsthal [mailto:j.joachimsthal@onehippo.com]
>Sent: Thursday, November 17, 2011 7:50 PM
>To: rave-dev@incubator.apache.org
>Subject: RE: Rave using Jetty, instead of Tomcat
>
>Hi Ioa,
>
>if you look inside the log file, there's a line with "caused by" that
>reveals the real reason. What does it say?
>
>Jasha
>Op 17 nov. 2011 18:30 schreef "Ioa Kiss" <ikiss@ezuce.com> het volgende:
>
>> Hi All,
>>
>> Working fine with Jetty 7.5.4.
>>
>> However with Jetty 6.1 I get the following error when the user page
>> contains widgets
>>
>>
>>
>> Please bear with us while we fetch some ice cubes. In the meantime
>> please try reloading.
>> technical details
>>
>>
>>
>>                404 Not
>>
>>
>Foundorg.springframework.web.client.DefaultResponseErrorHandler.handle
>> Error(
>> DefaultResponseErrorHandler.java:75)
>>
>>
>>
>>
>>
>>
>org.springframework.web.client.RestTemplate.handleResponseError(RestTe
>> mplate
>> .java:486)
>>
>>
>>
>>
>>
>>
>org.springframework.web.client.RestTemplate.doExecute(RestTemplate.jav
>> a:443)
>>
>>
>>
>>
>> org.springframework.web.client.RestTemplate.execute(RestTemplate.java:
>> 401)
>>
>>
>>
>>
>>
>>
>org.springframework.web.client.RestTemplate.postForObject(RestTemplate.j
>ava:
>> 279)
>>
>>
>>
>>
>>
>> org.apache.rave.provider.opensocial.repository.impl.ShindigGadgetMetad
>> ataRep
>> ository.getGadgetMetadata(ShindigGadgetMetadataRepository.java:95)
>>
>>
>>
>>
>>
>> org.apache.rave.provider.opensocial.service.impl.DefaultOpenSocialServ
>> ice.ge
>> tGadgetMetadata(DefaultOpenSocialService.java:39)
>>
>>
>>
>>
>>
>>
>org.apache.rave.provider.opensocial.web.renderer.OpenSocialWidgetRende
>> rer.ge
>> tWidgetScript(OpenSocialWidgetRenderer.java:113)
>>
>>
>>
>>
>>
>>
>org.apache.rave.provider.opensocial.web.renderer.OpenSocialWidgetRende
>> rer.re
>> nder(OpenSocialWidgetRenderer.java:94)
>>
>>
>>
>>
>>
>>
>org.apache.rave.provider.opensocial.web.renderer.OpenSocialWidgetRende
>> rer.re
>> nder(OpenSocialWidgetRenderer.java:45)
>>
>>
>>
>>
>>
>> org.apache.rave.portal.web.renderer.impl.DefaultRenderService.render(D
>> efault
>> RenderService.java:68)
>>
>>
>>
>>
>>
>> org.apache.rave.portal.web.tag.RegionWidgetTag.doStartTag(RegionWidget
>> Tag.ja
>> va:54)
>>
>>
>>
>>
>>
>>
>org.apache.jsp.WEB_002dINF.views.home_jsp._jspx_meth_portal_render$1
>wi
>> dget_0
>> (org.apache.jsp.WEB_002dINF.views.home_jsp:1353)
>>
>>
>>
>>
>>
>>
>org.apache.jsp.WEB_002dINF.views.home_jsp._jspx_meth_c_forEach_2(org.
>apache.
>> jsp.WEB_002dINF.views.home_jsp:1052)
>>
>>
>>
>>
>>
>>
>org.apache.jsp.WEB_002dINF.views.home_jsp._jspx_meth_c_forEach_1(org.
>apache.
>> jsp.WEB_002dINF.views.home_jsp:923)
>>
>>
>>
>>
>>
>>
>org.apache.jsp.WEB_002dINF.views.home_jsp.access$8(org.apache.jsp.WEB
>_
>> 002dIN
>> F.views.home_jsp:903)
>>
>>
>>
>>
>>
>>
>org.apache.jsp.WEB_002dINF.views.home_jsp$home_jspHelper.invoke0(org.
>apache.
>> jsp.WEB_002dINF.views.home_jsp:2233)
>>
>>
>>
>>
>>
>>
>org.apache.jsp.WEB_002dINF.views.home_jsp$home_jspHelper.invoke(org.a
>p
>> ache.j
>> sp.WEB_002dINF.views.home_jsp:2405)
>>
>>
>>
>>
>>
>> org.apache.jsp.tag.web.rave_005fgeneric_005fpage_tag.doTag(org.apache.
>> jsp.ta
>> g.web.rave_005fgeneric_005fpage_tag:123)
>>
>>
>>
>>
>>
>>
>org.apache.jsp.WEB_002dINF.views.home_jsp._jspx_meth_rave_rave_gene
>ric
>> _page_
>> 0(org.apache.jsp.WEB_002dINF.views.home_jsp:174)
>>
>>
>>
>>
>>
>>
>org.apache.jsp.WEB_002dINF.views.home_jsp._jspService(org.apache.jsp.W
>> EB_002
>> dINF.views.home_jsp:129)
>>
>>
>>
>>
>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
>>
>>
>>
>>
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>>
>>
>>
>>
>>
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>> java:3
>> 89)
>>
>>
>>
>>
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:48
>> 6)
>>
>>
>>
>>
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
>>
>>
>>
>>
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>>
>>
>>
>>
>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>>
>>
>>
>>
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:40
>> 1)
>>
>>
>>
>>
>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java
>> :216)
>>
>>
>>
>>
>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:18
>> 2)
>>
>>
>>
>>
>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:76
>> 5)
>>
>>
>>
>>
>>
>org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:45
>0)
>>
>>
>>
>>
>> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
>>
>>
>>
>>
>> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
>>
>>
>>
>>
>>
>>
>org.springframework.web.servlet.view.InternalResourceView.renderMerged
>> Output
>> Model(InternalResourceView.java:238)
>>
>>
>>
>>
>>
>> org.springframework.web.servlet.view.AbstractView.render(AbstractView.
>> java:2
>> 50)
>>
>>
>>
>>
>>
>> org.springframework.web.servlet.DispatcherServlet.render(DispatcherSer
>> vlet.j
>> ava:1047)
>>
>>
>>
>>
>>
>> org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatche
>> rServl
>> et.java:817)
>>
>>
>>
>>
>>
>> org.springframework.web.servlet.DispatcherServlet.doService(Dispatcher
>> Servle
>> t.java:719)
>>
>>
>>
>>
>>
>>
>org.springframework.web.servlet.FrameworkServlet.processRequest(Frame
>w
>> orkSer
>> vlet.java:644)
>>
>>
>>
>>
>>
>>
>org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServl
>e
>> t.java
>> :549)
>>
>>
>>
>>
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>>
>>
>>
>>
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>>
>>
>>
>>
>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>>
>>
>>
>>
>>
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletH
>> andler
>> .java:1221)
>>
>>
>>
>>
>>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.d
>> oFilte
>> r(FilterChainProxy.java:368)
>>
>>
>>
>>
>>
>>
>org.springframework.security.web.access.intercept.FilterSecurityInterceptor.
>> invoke(FilterSecurityInterceptor.java:109)
>>
>>
>>
>>
>>
>>
>org.springframework.security.web.access.intercept.FilterSecurityInterceptor.
>> doFilter(FilterSecurityInterceptor.java:83)
>>
>>
>>
>>
>>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.d
>> oFilte
>> r(FilterChainProxy.java:380)
>>
>>
>>
>>
>>
>> org.springframework.security.web.access.ExceptionTranslationFilter.doF
>> ilter(
>> ExceptionTranslationFilter.java:97)
>>
>>
>>
>>
>>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.d
>> oFilte
>> r(FilterChainProxy.java:380)
>>
>>
>>
>>
>>
>> org.springframework.security.web.session.SessionManagementFilter.doFil
>> ter(Se
>> ssionManagementFilter.java:100)
>>
>>
>>
>>
>>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.d
>> oFilte
>> r(FilterChainProxy.java:380)
>>
>>
>>
>>
>>
>>
>org.springframework.security.web.authentication.AnonymousAuthenticatio
>> nFilte
>> r.doFilter(AnonymousAuthenticationFilter.java:78)
>>
>>
>>
>>
>>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.d
>> oFilte
>> r(FilterChainProxy.java:380)
>>
>>
>>
>>
>>
>>
>org.springframework.security.web.authentication.rememberme.Remember
>MeA
>> uthent
>> icationFilter.doFilter(RememberMeAuthenticationFilter.java:119)
>>
>>
>>
>>
>>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.d
>> oFilte
>> r(FilterChainProxy.java:380)
>>
>>
>>
>>
>>
>> org.springframework.security.web.servletapi.SecurityContextHolderAware
>> Reques
>> tFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
>>
>>
>>
>>
>>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.d
>> oFilte
>> r(FilterChainProxy.java:380)
>>
>>
>>
>>
>>
>>
>org.springframework.security.web.savedrequest.RequestCacheAwareFilter.
>> doFilt
>> er(RequestCacheAwareFilter.java:35)
>>
>>
>>
>>
>>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.d
>> oFilte
>> r(FilterChainProxy.java:380)
>>
>>
>>
>>
>>
>> org.springframework.security.web.authentication.www.BasicAuthenticatio
>> nFilte
>> r.doFilter(BasicAuthenticationFilter.java:177)
>>
>>
>>
>>
>>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.d
>> oFilte
>> r(FilterChainProxy.java:380)
>>
>>
>>
>>
>>
>> org.springframework.security.web.authentication.AbstractAuthentication
>> Proces
>> singFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
>>
>>
>>
>>
>>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.d
>> oFilte
>> r(FilterChainProxy.java:380)
>>
>>
>>
>>
>>
>> org.springframework.security.web.authentication.AbstractAuthentication
>> Proces
>> singFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
>>
>>
>>
>>
>>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.d
>> oFilte
>> r(FilterChainProxy.java:380)
>>
>>
>>
>>
>>
>> org.springframework.security.web.authentication.logout.LogoutFilter.do
>> Filter
>> (LogoutFilter.java:105)
>>
>>
>>
>>
>>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.d
>> oFilte
>> r(FilterChainProxy.java:380)
>>
>>
>>
>>
>>
>> org.springframework.security.web.context.SecurityContextPersistenceFil
>> ter.do
>> Filter(SecurityContextPersistenceFilter.java:79)
>>
>>
>>
>>
>>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.d
>> oFilte
>> r(FilterChainProxy.java:380)
>>
>>
>>
>>
>>
>>
>org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.
>> java:169)
>>
>>
>>
>>
>>
>> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(De
>> legati
>> ngFilterProxy.java:237)
>>
>>
>>
>>
>>
>> org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegati
>> ngFilt
>> erProxy.java:167)
>>
>>
>>
>>
>>
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletH
>> andler
>> .java:1212)
>>
>>
>>
>>
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:39
>> 9)
>>
>>
>>
>>
>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java
>> :216)
>>
>>
>>
>>
>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:18
>> 2)
>>
>>
>>
>>
>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:76
>> 5)
>>
>>
>>
>>
>>
>org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:45
>0)
>>
>>
>>
>>
>>
>> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandl
>> erColl
>> ection.java:230)
>>
>>
>>
>>
>>
>> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.j
>> ava:11
>> 4)
>>
>>
>>
>>
>>
>org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:15
>> 2)
>>
>>
>>
>>                org.mortbay.jetty.Server.handle(Server.java:326)
>>
>>
>>
>>
>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542
>> )
>>
>>
>>
>>
>>
>>
>org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpCo
>n
>> nectio
>> n.java:929)
>>
>>
>>
>>
>> org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
>>
>>
>>
>>
>> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>>
>>
>>
>>
>> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>>
>>
>>
>>
>>
>> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.jav
>> a:410)
>>
>>
>>
>>
>>
>>
>org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.
>ja
>> va:582
>> )
>>
>>
>>
>> Thanks,
>>
>>  Ioan
>>
>>
>>
>> From: Ioan Kiss [mailto:ikiss@ezuce.com]
>> Sent: Thursday, November 17, 2011 11:16 AM
>> To: rave-dev@incubator.apache.org
>> Subject: Re: Rave using Jetty, instead of Tomcat
>>
>>
>>
>> Thanks, it working fine for me also.
>>
>> Good that it was only a config issue and not something deeper.
>>
>> Thanks,
>>
>> Â  Ioan
>>
>> On Thu, Nov 17, 2011 at 10:52 AM, Jasha Joachimsthal
>> <j.joachimsthal@onehippo.com> wrote:
>>
>> By default Jetty uses the JspServlet for the welcome page:
>> http://docs.codehaus.org/display/JETTY/Welcome+files+not+working
>> We're using the Spring org.springframework.web.servlet.DispatcherServlet.
>>
>> In order to let Jetty use this servlet, modify the webdefault.xml:
>> Go to the servlet org.eclipse.jetty.servlet.DefaultServlet
>> Go to the init parameter welcomeServlets and change its value to true.
>> Now the Rave portal is shown if you go to http://localhost:8080 (or
>> http://localhost:8080/portal)
>>
>>
>> Jasha Joachimsthal
>>
>> Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522
>> 4466 <tel:%2B31%280%2920%20522%204466> US - Boston - 1 Broadway,
>> Cambridge, MA 02142 - <tel:%2B1%20877%20414%204776> +1 877 414 4776
>> <tel:+1%20877%20414%204776> (toll free)
>>
>> www.onehippo.com
>>
>>
>>
>> On 17 November 2011 07:26, Ioa Kiss <ikiss@ezuce.com> wrote:
>>
>> > Hi Raminder,
>> > Â Thanks for looking into this. Looking forward to get news from you.
>> This
>> > would increase the Rave capabilities as solutions which already use
>> > Jetty will be able to use Rave with pretty small effort.
>> > Thanks,
>> > Â Ioan
>> >
>> > -----Original Message-----
>> > From: Raminderjeet Singh [mailto:raminderjsingh@gmail.com]
>> > Sent: Thursday, November 17, 2011 3:09 AM
>> > To: rave-dev@incubator.apache.org
>> > Subject: Re: Rave using Jetty, instead of Tomcat
>> >
>> > Hi Ioan,
>> >
>> > I just tried on jetty6 and i am having same problem. There is come
>> problem
>> > with controller to forward the request. I will look into the code
>> tomorrow.
>> > You can create a issue in rave jira.
>> > https://issues.apache.org/jira/browse/RAVE
>> >
>> > Thanks for finding this. Till we fix this you can use the in-built
>> tomcat.
>> >
>> > Thanks
>> > Raminder
>> > On Nov 16, 2011, at 6:24 PM, Ioa Kiss wrote:
>> >
>> > > Â Here are the steps followed in running Rave on Jetty server 7.5.4 1.
>> > > Download Jetty 7.5.4 2.Download rave
>> > > (apache-rave-0.5-incubating-bin.zip)
>> > > 3. Copied portal.war, root.war and demogadgets.war in
>> > > Jetty/webapps folder 4. start jetty - did not noticed any errors
>> > > during jetty startup 5. open browser and type
>> > > http://localhost:8080/portal/ 6. The login page was displayed 7.
>> > > Enter canonical/canonical and hit login button 8. Directory view
>> > > displayed (Directory: /portal/); in the jetty console I found the
>> > > following message (32646 ravePersistenceUnit  WARN Â
>> > > [qtp31505416-12 - /portal/j_spring_security_check] openjpa.Runtime
>> > > - Query "select u from User u where u.username = :username" is
>> > > removed from cache Â
>> excluded
>> > permanently.
>> > > Query "select u from User u where  u.username = :username" is not
>> > > cached because it generates multiple SQL statements. A query can
>> > > be cached only when it corresponds to a single SQL statement.) Not
>> > > sure if this is a problem or not.
>> > >
>> > > Thanks,
>> > > Â Ioan
>> > >
>> > > -----Original Message-----
>> > > From: Ioa Kiss [mailto:ikiss@ezuce.com]
>> > > Sent: Wednesday, November 16, 2011 11:59 PM
>> > > To: rave-dev@incubator.apache.org
>> > > Subject: RE: Rave using Jetty, instead of Tomcat
>> > >
>> > > Yes, I did that too (ROOT.war (this is shindig war) and
>> > > demogadgets.war) and the same thing.
>> > > Thanks,
>> > > Â Ioan
>> > >
>> > > -----Original Message-----
>> > > From: Raminderjeet Singh [mailto:raminderjsingh@gmail.com]
>> > > Sent: Wednesday, November 16, 2011 11:55 PM
>> > > To: rave-dev@incubator.apache.org
>> > > Subject: Re: Rave using Jetty, instead of Tomcat
>> > >
>> > > You need to copy ROOT.war (this is shindig war) and
>> > > demogadgets.war(optional:just have some sample gadgets in widget
>> > > store from
>> > > here.) to make Rave work. Â If it does not work then we will debug
>> more.
>> > >
>> > > Thanks
>> > > Raminder
>> > >
>> > >
>> > > On Nov 16, 2011, at 4:48 PM, Ioa Kiss wrote:
>> > >
>> > >> I was running the portal.war while trying with Jetty.
>> > >> We tried running Rave with Jetty, because in our solution, we
>> > >> offer all other services using Jetty and switching them to Tomcat
>> > >> is not an easy task at this time.
>> > >> Thanks,
>> > >> Ioan
>> > >>
>> > >> -----Original Message-----
>> > >> From: Jasha Joachimsthal [mailto:j.joachimsthal@onehippo.com]
>> > >> Sent: Wednesday, November 16, 2011 7:56 PM
>> > >> To: rave-dev@incubator.apache.org
>> > >> Subject: Re: Rave using Jetty, instead of Tomcat
>> > >>
>> > >> I tried but didn't try hard enough to make it work. The thing is
>> > >> that you need to run the portal war, shindig war and maybe also
>> > >> the demo
>> > > gadgets war.
>> > >> By default the portal does opensocial calls to shindig on
>> > >> localhost:8080, the same host and port as the portal.
>> > >> What's the reason you want to switch to Jetty?
>> > >>
>> > >> Jasha Joachimsthal
>> > >>
>> > >> Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20
>> > >> 522
>> > >> 4466 US
>> > >> - Boston - 1 Broadway, Cambridge, MA 02142 -
>> <tel:%2B1%20877%20414%204776> +1 877 414 4776
>> <tel:+1%20877%20414%204776> (toll
>> > >> free)
>> > >>
>> > >> www.onehippo.com
>> > >>
>> > >>
>> > >> On 16 November 2011 18:31, Franklin, Matthew B.
>> > >> <mfranklin@mitre.org>
>> > > wrote:
>> > >>
>> > >>>> -----Original Message-----
>> > >>>> From: Ioa Kiss [mailto:ikiss@ezuce.com]
>> > >>>> Sent: Wednesday, November 16, 2011 11:55 AM
>> > >>>> To: rave-dev@incubator.apache.org
>> > >>>> Subject: Rave using Jetty, instead of Tomcat
>> > >>>>
>> > >>>> Hi All,
>> > >>>>
>> > >>>> Â I was trying to get rave running under Jetty, but had no
luck
>> > >>>> so
>> far.
>> > >>>> The login page is displayed (I am also able to create new
>> > >>>> users), but
>> > >>> when I
>> > >>>> try to login I get the directory view, instead of the normal
>> > >>>> view (the one displaying user's widgets).
>> > >>>
>> > >>> What version of Jetty were you using?
>> > >>>
>> > >>>>
>> > >>>> I was wondering if anyone tried the same thing - run rave on
>> > >>>> Jetty,
>> > >>> instead
>> > >>>> of Tomcat?
>> > >>>
>> > >>> I haven't yet, but others may have
>> > >>>
>> > >>>>
>> > >>>> Note: in case I provide wrong user name/password I get proper
>> > >>>> message in the login page.
>> > >>>>
>> > >>>>
>> > >>>>
>> > >>>> Thanks,
>> > >>>>
>> > >>>> Ioan
>> > >>>
>> > >>>
>> > >>
>> > >
>> > >
>> > >
>> >
>> >
>> >
>>
>>
>>
>>



Mime
View raw message