archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian E. Fox" <bri...@reply.infinity.nu>
Subject RE: Security exception
Date Sat, 30 Sep 2006 20:50:33 GMT
Doesn't seem to be the problem. I redownloaded the jar from sun - same
problem. 

-----Original Message-----
From: Brett Porter [mailto:brett@apache.org] 
Sent: Friday, September 29, 2006 10:21 PM
To: archiva-users@maven.apache.org
Subject: Re: Security exception

just guessing - but do you have a bad activation JAR in your repository?

On 30/09/2006, at 12:05 PM, Brian E. Fox wrote:

> Hi All,
> I managed to build the webapp and get it deployed on Tomcat. As soon 
> as I add a valid repository, I get the following exception (tried with

> 2 different repos). Any ideas?
>
> 587109 [TP-Processor2] INFO
> org.apache.maven.archiva.scheduler.task.RepositoryTask:indexer  - 
> Searching repository 3rd Party
> 587484 [TP-Processor2] INFO
> org.apache.maven.archiva.scheduler.task.RepositoryTask:indexer  - 
> Discovered 222 unindexed artifacts
> 587484 [TP-Processor2] DEBUG
> org.apache.maven.archiva.reporting.ReportExecutor  - Reading previous 
> report database Repository Health from repository 3rd Party
> 590547 [TP-Processor2] ERROR
> com.opensymphony.webwork.dispatcher.DispatcherUtils  - Could not 
> execute action
> java.lang.SecurityException: no manifiest section for signature file 
> entry javax/activation/DataContentHandlerFactory.class
>  at
> sun.security.util.SignatureFileVerifier.verifySection
> (SignatureFileVerif
> ier.java:329)
>  at
> sun.security.util.SignatureFileVerifier.process0
> (SignatureFileVerifier.j
> ava:241)
>  at
> sun.security.util.SignatureFileVerifier.process
> (SignatureFileVerifier.ja
> va:191)
>  at java.util.jar.JarVerifier.processEntry(JarVerifier.java:239)
>  at java.util.jar.JarVerifier.update(JarVerifier.java:194)
>  at java.util.jar.JarFile.initializeVerifier(JarFile.java:300)
>  at java.util.jar.JarFile.getInputStream(JarFile.java:362)
>  at
> org.apache.maven.archiva.reporting.LocationArtifactReportProcessor.rea
> dA
> rtifactModel(LocationArtifactReportProcessor.java:182)
>  at
> org.apache.maven.archiva.reporting.LocationArtifactReportProcessor.pro
> ce
> ssArtifact(LocationArtifactReportProcessor.java:125)
>  at
> org.apache.maven.archiva.reporting.AbstractReportGroup.processArtifact
> (A
> bstractReportGroup.java:53)
>  at
> org.apache.maven.archiva.reporting.DefaultReportExecutor.runArtifactRe
> po
> rts(DefaultReportExecutor.java:126)
>  at
> org.apache.maven.archiva.scheduler.task.IndexerTask.execute
> (IndexerTask.
> java:201)
>  at
> org.apache.maven.archiva.scheduler.task.IndexerTask.executeNowIfNeeded
> (I
> ndexerTask.java:267)
>  at
> org.apache.maven.archiva.scheduler.DefaultRepositoryTaskScheduler.sche
> du
> leJobs(DefaultRepositoryTaskScheduler.java:113)
>  at
> org.apache.maven.archiva.scheduler.DefaultRepositoryTaskScheduler.noti
> fy
> OfConfigurationChange(DefaultRepositoryTaskScheduler.java:156)
>  at
> org.apache.maven.archiva.configuration.DefaultConfigurationStore.store
> Co
> nfiguration(DefaultConfigurationStore.java:126)
>  at
> org.apache.maven.archiva.web.action.admin.AbstractConfigureRepositoryA
> ct
> ion.saveConfiguration(AbstractConfigureRepositoryAction.java:111)
>  at
> org.apache.maven.archiva.web.action.admin.AbstractConfigureRepositoryA
> ct
> ion.add(AbstractConfigureRepositoryAction.java:86)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at 
> sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.jav
> a:39)
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessor
> Impl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:324)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invokeAction
> (DefaultActio
> nInvocation.java:364)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly
> (DefaultA
> ctionInvocation.java:216)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:190)
>  at
> org.codehaus.plexus.security.ui.web.interceptor.SecureActionIntercepto
> r.
> intercept(SecureActionInterceptor.java:141)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:188)
>  at
> org.codehaus.plexus.security.ui.web.interceptor.AutoLoginInterceptor.i
> nt
> ercept(AutoLoginInterceptor.java:89)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:188)
>  at
> org.codehaus.plexus.security.ui.web.interceptor.ForceAdminUserIntercep
> to
> r.intercept(ForceAdminUserInterceptor.java:59)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:188)
>  at
> org.codehaus.plexus.security.ui.web.interceptor.EnvironmentCheckInterc
> ep
> tor.intercept(EnvironmentCheckInterceptor.java:123)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:188)
>  at
> com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doInterc
> ep
> t(DefaultWorkflowInterceptor.java:168)
>  at
> com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept
> (Met
> hodFilterInterceptor.java:86)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:188)
>  at
> com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept
> (Valid
> ationInterceptor.java:115)
>  at
> com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept
> (Met
> hodFilterInterceptor.java:86)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:188)
>  at
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept
> (AroundInt
> erceptor.java:31)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:188)
>  at
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept
> (AroundInt
> erceptor.java:31)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:188)
>  at
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept
> (AroundInt
> erceptor.java:31)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:188)
>  at
> com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept
> (Fil
> eUploadInterceptor.java:171)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:188)
>  at
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept
> (AroundInt
> erceptor.java:31)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:188)
>  at
> com.opensymphony.webwork.interceptor.debugging.DebuggingInterceptor.in
> te
> rcept(DebuggingInterceptor.java:147)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:188)
>  at
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept
> (AroundInt
> erceptor.java:31)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:188)
>  at
> com.opensymphony.xwork.interceptor.I18nInterceptor.intercept
> (I18nInterce
> ptor.java:151)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:188)
>  at
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept
> (AroundInt
> erceptor.java:31)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:188)
>  at
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept
> (AroundInt
> erceptor.java:31)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:188)
>  at
> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept
> (AroundInt
> erceptor.java:31)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:188)
>  at
> com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.interce
> pt
> (ExceptionMappingInterceptor.java:186)
>  at
> com.opensymphony.xwork.DefaultActionInvocation.invoke
> (DefaultActionInvoc
> ation.java:188)
>  at
> com.opensymphony.xwork.DefaultActionProxy.execute
> (DefaultActionProxy.jav
> a:113)
>  at
> com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction
> (Dispat
> cherUtils.java:225)
>  at
> com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter
> (FilterDisp
> atcher.java:202)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (Applica
> tionFilterChain.java:186)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilt
> erChain.java:157)
>  at
> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage
> (PageFilter.
> java:118)
>  at
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter
> (PageFilter.j
> ava:52)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (Applica
> tionFilterChain.java:186)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilt
> erChain.java:157)
>  at
> com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter
> (Action
> ContextCleanUp.java:88)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (Applica
> tionFilterChain.java:186)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilt
> erChain.java:157)
>  at
> org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValv
> e.java:214)
>  at
> org.apache.catalina.core.StandardValveContext.invokeNext
> (StandardValveCo
> ntext.java:104)
>  at
> org.apache.catalina.core.StandardPipeline.invoke
> (StandardPipeline.java:5
> 20)
>  at
> org.apache.catalina.core.StandardContextValve.invokeInternal
> (StandardCon
> textValve.java:198)
>  at
> org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValv
> e.java:152)
>  at
> org.apache.catalina.core.StandardValveContext.invokeNext
> (StandardValveCo
> ntext.java:104)
>  at
> org.apache.catalina.core.StandardPipeline.invoke
> (StandardPipeline.java:5
> 20)
>  at
> org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java
> :137)
>  at
> org.apache.catalina.core.StandardValveContext.invokeNext
> (StandardValveCo
> ntext.java:104)
>  at
> org.apache.catalina.valves.ErrorReportValve.invoke
> (ErrorReportValve.java
> :118)
>  at
> org.apache.catalina.core.StandardValveContext.invokeNext
> (StandardValveCo
> ntext.java:102)
>  at
> org.apache.catalina.core.StandardPipeline.invoke
> (StandardPipeline.java:5
> 20)
>  at
> org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.
> java:109)
>  at
> org.apache.catalina.core.StandardValveContext.invokeNext
> (StandardValveCo
> ntext.java:104)
>  at
> org.apache.catalina.core.StandardPipeline.invoke
> (StandardPipeline.java:5
> 20)
>  at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>  at
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java: 
> 160)
>  at
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
>  at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java: 
> 374)
>  at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
>  at
> org.apache.jk.common.ChannelSocket.processConnection
> (ChannelSocket.java:
> 675)
>  at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java: 
> 866)
>  at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
> (ThreadPool
> .java:683)
>  at java.lang.Thread.run(Thread.java:534)
>



Mime
View raw message