|
|
Getting and Running Greenhouse Locally
/greenhouse/greenhouse.git
2. Import the project into the SpringSource Tool Suite (STS) (version 2.5.0.RELEASE or gt; of STS is recommended)
3. To deploy the app, drag the 'greenhouse' project over to the quot;SpringSource tc Server Developer Editionquot; instance in the Servers view.
4. Start the server and access greenhouse in your web browser. You'll know if it worked if you see the home page.
Enjoy!
Keith
Hi Keith,
I have attached my configuration please have a look.
Thanks
Since your last post, we've removed the need to set any environment variable. Just make sure you pull the latest code from the repository and you shouldn't need to set any -D variable now, as the 'embedded' profile is the default profile. You can see this in the instructions, which I've updated.
Keith
I got it running in tc but get this integration error...
org..integration.MessageDeliveryExc eption: failed to send message to channel 'recentActivity' within timeout: -1
Is a setup step missing?
Jason
I have the bad propery name descriped in this ticket
while running the last version of greenhouse, is there an easy workaround to run the webapp before the next build integrate the patch ?
i was able to retrieve the project using git without issue and import the project successfully. i was also able to drag to the the local server and deploy the app after starting the server. I get the welcome page just fine but when i try to sign in i get a 500 error. here is the dump...please advise:
org..web.util.NestedServletExceptio n: Request processing failed; nested exception is java.lang.UnsupportedOperationException
org..web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:656)
org..web.servlet.FrameworkServlet.d oGet(FrameworkServlet.java:549)
javax.servlet.from.fromServlet.service(fromServlet .java:617)
javax.servlet.from.fromServlet.service(fromServlet .java:717)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 312)
org..security.web.access.intercept. FilterSecurityInterceptor.invoke(FilterSecurityInt erceptor.java:116)
org..security.web.access.intercept. FilterSecurityInterceptor.doFilter(FilterSecurityI nterceptor.java:83)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.oauth.provider.OAuthP roviderProcessingFilter.doFilter(OAuthProviderProc essingFilter.java:173)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.oauth.provider.OAuthP roviderProcessingFilter.doFilter(OAuthProviderProc essingFilter.java:193)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.authentication.Ab stractAuthenticationProcessingFilter.doFilter(Abst ractAuthenticationProcessingFilter.java:187)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.oauth.provider.OAuthP roviderProcessingFilter.doFilter(OAuthProviderProc essingFilter.java:193)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.access.ExceptionT ranslationFilter.doFilter(ExceptionTranslationFilt er.java:95)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.session.SessionMa nagementFilter.doFilter(SessionManagementFilter.ja va:100)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.authentication.An onymousAuthenticationFilter.doFilter(AnonymousAuth enticationFilter.java:79)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.servletapi.Securi tyContextHolderAwareRequestFilter.doFilter(Securit yContextHolderAwareRequestFilter.java:54)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.savedrequest.Requ estCacheAwareFilter.doFilter(RequestCacheAwareFilt er.java:35)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.authentication.Ab stractAuthenticationProcessingFilter.doFilter(Abst ractAuthenticationProcessingFilter.java:187)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.authentication.lo gout.LogoutFilter.doFilter(LogoutFilter.java:105)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.context.SecurityC ontextPersistenceFilter.doFilter(SecurityContextPe rsistenceFilter.java:80)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.access.channel.Ch annelProcessingFilter.doFilter(ChannelProcessingFi lter.java:144)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.FilterChainProxy. doFilter(FilterChainProxy.java:165)
org..web.filter.DelegatingFilterPro xy.invokeDelegate(DelegatingFilterProxy.java:237)
org..web.filter.DelegatingFilterPro xy.doFilter(DelegatingFilterProxy.java:167)
org..web.filter.HiddenfromMethodFil ter.doFilterInternal(HiddenfromMethodFilter.java:7 7)
org..web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:76)
org..web.flash.FlashMapFilter.doFil terInternal(FlashMapFilter.java:54)
org..web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:76)
root cause
java.lang.UnsupportedOperationException
org..web.servlet.mvc.method.annotat ion.support.DefaultMethodReturnValueHandler.handle ReturnValue(DefaultMethodReturnValueHandler.java:8 5)
org..web.method.support.HandlerMeth odReturnValueHandlerComposite.handleReturnValue(Ha ndlerMethodReturnValueHandlerComposite.java:66)
org..web.servlet.mvc.method.annotat ion.ServletInvocableHandlerMethod.invokeAndHandle( ServletInvocableHandlerMethod.java:100)
org..web.servlet.mvc.method.annotat ion.RequestMappingHandlerMethodAdapter.invokeHandl erMethod(RequestMappingHandlerMethodAdapter.java:4 63)
org..web.servlet.mvc.method.annotat ion.RequestMappingHandlerMethodAdapter.handleInter nal(RequestMappingHandlerMethodAdapter.java:436)
org..web.servlet.mvc.method.Abstrac tHandlerMethodAdapter.handle(AbstractHandlerMethod Adapter.java:79)
org..web.servlet.DispatcherServlet. doDispatch(DispatcherServlet.java:790)
org..web.servlet.DispatcherServlet. doService(DispatcherServlet.java:719)
org..web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:644)
org..web.servlet.FrameworkServlet.d oGet(FrameworkServlet.java:549)
javax.servlet.from.fromServlet.service(fromServlet .java:617)
javax.servlet.from.fromServlet.service(fromServlet .java:717)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 312)
org..security.web.access.intercept. FilterSecurityInterceptor.invoke(FilterSecurityInt erceptor.java:116)
org..security.web.access.intercept. FilterSecurityInterceptor.doFilter(FilterSecurityI nterceptor.java:83)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.oauth.provider.OAuthP roviderProcessingFilter.doFilter(OAuthProviderProc essingFilter.java:173)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.oauth.provider.OAuthP roviderProcessingFilter.doFilter(OAuthProviderProc essingFilter.java:193)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.authentication.Ab stractAuthenticationProcessingFilter.doFilter(Abst ractAuthenticationProcessingFilter.java:187)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.oauth.provider.OAuthP roviderProcessingFilter.doFilter(OAuthProviderProc essingFilter.java:193)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.access.ExceptionT ranslationFilter.doFilter(ExceptionTranslationFilt er.java:95)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.session.SessionMa nagementFilter.doFilter(SessionManagementFilter.ja va:100)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.authentication.An onymousAuthenticationFilter.doFilter(AnonymousAuth enticationFilter.java:79)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.servletapi.Securi tyContextHolderAwareRequestFilter.doFilter(Securit yContextHolderAwareRequestFilter.java:54)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.savedrequest.Requ estCacheAwareFilter.doFilter(RequestCacheAwareFilt er.java:35)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.authentication.Ab stractAuthenticationProcessingFilter.doFilter(Abst ractAuthenticationProcessingFilter.java:187)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.authentication.lo gout.LogoutFilter.doFilter(LogoutFilter.java:105)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
org..security.web.context.SecurityC ontextPersistenceFilter.doFilter(SecurityContextPe rsistenceFilter.java:80)
org..security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 324)
following up on my previous post, the online deployment of greenhouse fails when trying to interact with facebook. seems to work for twitter and linkedin but fb triggers an error. please advise. thanks.
Yes, that's a bug that got introduced in the on-line version but has been fixed for awhile in the codebase. We would update the version, but we have to do a data-migration first to support another change in the data encryption algorithm (from DES to AES 256). I expect we'll have this done soon.
Keith
thanks for the reply re the online deployment of greenhouse. in your answer you indicated that the bug was fixed in the codebase...i retrieved the project and deployed locally. the welcome page comes up fine but when i click the Join link i get a 500 error (org..web.util.NestedServletExcepti on: Request processing failed; nested exception is java.lang.UnsupportedOperationException)...same if i try to login with facebook on the sign in page...any tips on what i am doing wrong? thx.
You might want to try again after pulling the latest updates. We were depending on Spring Social 1.0.0.BUILD-SNAPSHOT but hadn't yet updated the codebase to use the latest Social code. I've since reverted back to 1.0.0.M2 in the meantime, while we are in the process of updating the codebase.
Keith |
|