continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: Continuum in Enterprise
Date Wed, 31 Jan 2007 21:36:40 GMT
It's a bug in Jetty 5. Need to upgrade to Jetty 6 at some point.

On 01/02/2007, at 6:09 AM, Andrew Williams wrote:

> I have a problem with continuum booted in Maven Enterprise (alsp  
> happens with continuum-plexus-runtime).
> When I try to add a m2 project by uploading the pom I get:
>
> 2007-01-31 19:02:45,283 [SocketListener0-2] INFO   
> DispatcherUtils                - Unable to find  
> 'webwork.multipart.saveDir' property setting. Defaulting to  
> javax.servlet.context.tempdir
> 2007-01-31 19:02:45,292 [SocketListener0-2] ERROR  
> DispatcherUtils                - Error setting character encoding  
> to 'UTF-8' - ignoring.
> java.lang.IllegalStateException: getReader() or getInputStream()  
> called
>         at  
> org.mortbay.jetty.servlet.ServletHttpRequest.setCharacterEncoding 
> (ServletHttpRequest.java:602)
>         at javax.servlet.ServletRequestWrapper.setCharacterEncoding 
> (ServletRequestWrapper.java:112)
>         at  
> com.opensymphony.webwork.dispatcher.DispatcherUtils.prepare 
> (DispatcherUtils.java:392)
>         at  
> com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter 
> (FilterDispatcher.java:160)
>         at org.mortbay.jetty.servlet.WebApplicationHandler 
> $CachedChain.doFilter(WebApplicationHandler.java:821)
>         at  
> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage 
> (PageFilter.java:118)
>         at  
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter 
> (PageFilter.java:52)
>         at org.mortbay.jetty.servlet.WebApplicationHandler 
> $CachedChain.doFilter(WebApplicationHandler.java:821)
>         at  
> com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter 
> (ActionContextCleanUp.java:88)
>         at org.mortbay.jetty.servlet.WebApplicationHandler 
> $CachedChain.doFilter(WebApplicationHandler.java:821)
>         at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch 
> (WebApplicationHandler.java:471)
>         at org.mortbay.jetty.servlet.ServletHandler.handle 
> (ServletHandler.java:568)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>         at org.mortbay.jetty.servlet.WebApplicationContext.handle 
> (WebApplicationContext.java:633)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>         at org.mortbay.http.HttpConnection.service 
> (HttpConnection.java:816)
>         at org.mortbay.http.HttpConnection.handleNext 
> (HttpConnection.java:982)
>         at org.mortbay.http.HttpConnection.handle 
> (HttpConnection.java:833)
>         at org.mortbay.http.SocketListener.handleConnection 
> (SocketListener.java:244)
>         at org.mortbay.util.ThreadedServer.handle 
> (ThreadedServer.java:357)
>         at org.mortbay.util.ThreadPool$PoolThread.run 
> (ThreadPool.java:534)
> 2007-01-31 19:02:45,316 [SocketListener0-2] INFO   
> Interceptor:exceptionLogging   - Error ocurred during execution
> org.apache.maven.continuum.ContinuumException: Error reading POM
>         at  
> org.apache.maven.continuum.web.action.AddMavenTwoProjectAction.doExecu 
> te(AddMavenTwoProjectAction.java:83)
>         at  
> org.apache.maven.continuum.web.action.AddMavenProjectAction.execute 
> (AddMavenProjectAction.java:128)
>         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:585)
>         at  
> com.opensymphony.xwork.DefaultActionInvocation.invokeAction 
> (DefaultActionInvocation.java:364)
>         at  
> com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly 
> (DefaultActionInvocation.java:216)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:190)
>         at  
> com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doInterc 
> ept(DefaultWorkflowInterceptor.java:168)
>         at  
> com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept 
> (MethodFilterInterceptor.java:86)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept 
> (ValidationInterceptor.java:115)
>         at  
> com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept 
> (MethodFilterInterceptor.java:86)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> org.apache.maven.continuum.web.interceptor.ForceContinuumConfiguration 
> Interceptor.intercept(ForceContinuumConfigurationInterceptor.java:62)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> org.codehaus.plexus.security.ui.web.interceptor.PolicyEnforcementInter 
> ceptor.intercept(PolicyEnforcementInterceptor.java:65)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> org.codehaus.plexus.security.ui.web.interceptor.SecureActionIntercepto 
> r.intercept(SecureActionInterceptor.java:145)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> org.codehaus.plexus.security.ui.web.interceptor.AutoLoginInterceptor.i 
> ntercept(AutoLoginInterceptor.java:152)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> org.codehaus.plexus.security.ui.web.interceptor.ForceAdminUserIntercep 
> tor.intercept(ForceAdminUserInterceptor.java:62)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> org.codehaus.plexus.security.ui.web.interceptor.EnvironmentCheckInterc 
> eptor.intercept(EnvironmentCheckInterceptor.java:121)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> org.codehaus.plexus.xwork.interceptor.ExceptionMappingInterceptor.inte 
> rcept(ExceptionMappingInterceptor.java:62)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doInterc 
> ept(DefaultWorkflowInterceptor.java:168)
>         at  
> com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept 
> (MethodFilterInterceptor.java:86)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept 
> (ValidationInterceptor.java:115)
>         at  
> com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept 
> (MethodFilterInterceptor.java:86)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept 
> (AroundInterceptor.java:31)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept 
> (AroundInterceptor.java:31)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept 
> (AroundInterceptor.java:31)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept 
> (FileUploadInterceptor.java:233)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept 
> (AroundInterceptor.java:31)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> com.opensymphony.webwork.interceptor.debugging.DebuggingInterceptor.in 
> tercept(DebuggingInterceptor.java:147)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept 
> (AroundInterceptor.java:31)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> com.opensymphony.xwork.interceptor.I18nInterceptor.intercept 
> (I18nInterceptor.java:151)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept 
> (AroundInterceptor.java:31)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept 
> (AroundInterceptor.java:31)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept 
> (AroundInterceptor.java:31)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at  
> com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.interce 
> pt(ExceptionMappingInterceptor.java:186)
>         at com.opensymphony.xwork.DefaultActionInvocation.invoke 
> (DefaultActionInvocation.java:188)
>         at com.opensymphony.xwork.DefaultActionProxy.execute 
> (DefaultActionProxy.java:113)
>         at  
> com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction 
> (DispatcherUtils.java:225)
>         at  
> com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter 
> (FilterDispatcher.java:202)
>         at org.mortbay.jetty.servlet.WebApplicationHandler 
> $CachedChain.doFilter(WebApplicationHandler.java:821)
>         at  
> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage 
> (PageFilter.java:118)
>         at  
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter 
> (PageFilter.java:52)
>         at org.mortbay.jetty.servlet.WebApplicationHandler 
> $CachedChain.doFilter(WebApplicationHandler.java:821)
>         at  
> com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter 
> (ActionContextCleanUp.java:88)
>         at org.mortbay.jetty.servlet.WebApplicationHandler 
> $CachedChain.doFilter(WebApplicationHandler.java:821)
>         at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch 
> (WebApplicationHandler.java:471)
>         at org.mortbay.jetty.servlet.ServletHandler.handle 
> (ServletHandler.java:568)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>         at org.mortbay.jetty.servlet.WebApplicationContext.handle 
> (WebApplicationContext.java:633)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>         at org.mortbay.http.HttpConnection.service 
> (HttpConnection.java:816)
>         at org.mortbay.http.HttpConnection.handleNext 
> (HttpConnection.java:982)
>         at org.mortbay.http.HttpConnection.handle 
> (HttpConnection.java:833)
>         at org.mortbay.http.SocketListener.handleConnection 
> (SocketListener.java:244)
>         at org.mortbay.util.ThreadedServer.handle 
> (ThreadedServer.java:357)
>         at org.mortbay.util.ThreadPool$PoolThread.run 
> (ThreadPool.java:534)
> Caused by: java.io.FileNotFoundException: Coding/maven-sandbox/ 
> enterprise/enterprise-runtime/target/plexus-app-runtime/temp/ 
> Jetty_0_0_0_0_8080__continuum/ 
> upload__18a1a1cc_11079888f0d__8000_00000009.tmp (No such file or  
> directory)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(FileInputStream.java:106)
>         at java.io.FileInputStream.<init>(FileInputStream.java:66)
>         at java.io.FileReader.<init>(FileReader.java:41)
>         at  
> org.apache.maven.continuum.web.action.AddMavenTwoProjectAction.doExecu 
> te(AddMavenTwoProjectAction.java:71)
>         ... 79 more
> 2007-01-31 19:02:46,185 [SocketListener0-2] INFO   
> FileUploadInterceptor          - Removing file m2PomFile /Coding/ 
> maven-sandbox/enterprise/enterprise-runtime/target/plexus-app- 
> runtime/temp/Jetty_0_0_0_0_8080__continuum/ 
> upload__18a1a1cc_11079888f0d__8000_00000009.tmp
>
> Any ideas?
>
> Andy

Mime
View raw message