Maven/ArchivaError20070310

HomePage | Maven | RecentChanges | Preferences

2007-03-10 Archiva r516446

Works with mvn jetty:run in the archiva-webapp directory, but not with the Plexus runtime or on Tomcat.

Plexus Runtime

wrapper  | --> Wrapper Started as Console
wrapper  | Launching a JVM...
jvm 1    | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1    |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
jvm 1    |
jvm 1    | ---------------------------------------------------
jvm 1    | constituent[0]: file:/C:/java/archiva-r516446/bin/windows-x86-32/../.
./core/activation-1.1.jar
jvm 1    | constituent[1]: file:/C:/java/archiva-r516446/bin/windows-x86-32/../.
./core/commons-collections-3.1.jar
jvm 1    | constituent[2]: file:/C:/java/archiva-r516446/bin/windows-x86-32/../.
./core/commons-dbcp-1.2.1.jar
jvm 1    | constituent[3]: file:/C:/java/archiva-r516446/bin/windows-x86-32/../.
./core/commons-logging-api-1.0.4.jar
jvm 1    | constituent[4]: file:/C:/java/archiva-r516446/bin/windows-x86-32/../.
./core/commons-pool-1.2.jar
jvm 1    | constituent[5]: file:/C:/java/archiva-r516446/bin/windows-x86-32/../.
./core/derby-10.1.3.1.jar
jvm 1    | constituent[6]: file:/C:/java/archiva-r516446/bin/windows-x86-32/../.
./core/log4j-1.2.8.jar
jvm 1    | constituent[7]: file:/C:/java/archiva-r516446/bin/windows-x86-32/../.
./core/mail-1.4.jar
jvm 1    | constituent[8]: file:/C:/java/archiva-r516446/bin/windows-x86-32/../.
./core/naming-config-0.8.jar
jvm 1    | constituent[9]: file:/C:/java/archiva-r516446/bin/windows-x86-32/../.
./core/naming-core-0.8.jar
jvm 1    | constituent[10]: file:/C:/java/archiva-r516446/bin/windows-x86-32/../
../core/naming-factory-0.8.jar
jvm 1    | constituent[11]: file:/C:/java/archiva-r516446/bin/windows-x86-32/../
../core/naming-java-0.8.jar
jvm 1    | constituent[12]: file:/C:/java/archiva-r516446/bin/windows-x86-32/../
../core/plexus-appserver-host-2.0-alpha-8-SNAPSHOT.jar
jvm 1    | constituent[13]: file:/C:/java/archiva-r516446/bin/windows-x86-32/../
../core/plexus-component-api-1.0-alpha-19-SNAPSHOT.jar
jvm 1    | constituent[14]: file:/C:/java/archiva-r516446/bin/windows-x86-32/../
../core/plexus-container-default-1.0-alpha-18.jar
jvm 1    | constituent[15]: file:/C:/java/archiva-r516446/bin/windows-x86-32/../
../core/plexus-naming-1.0-alpha-3.jar
jvm 1    | constituent[16]: file:/C:/java/archiva-r516446/bin/windows-x86-32/../
../core/plexus-utils-1.4.jar
jvm 1    | constituent[17]: file:/C:/Program Files/Java/jdk1.5.0_10/lib/tools.ja
r
jvm 1    | ---------------------------------------------------
jvm 1    |
jvm 1    | WrapperSimpleApp: Encountered an error running main: java.lang.NoSuch
MethodError: org.codehaus.plexus.component.repository.ComponentDescriptor.getCom
ponentKey()Ljava/lang/String;
jvm 1    | java.lang.NoSuchMethodError: org.codehaus.plexus.component.repository
.ComponentDescriptor.getComponentKey()Ljava/lang/String;
jvm 1    |      at org.codehaus.plexus.component.composition.DefaultCompositionR
esolver.addComponentDescriptor(DefaultCompositionResolver.java:41)
jvm 1    |      at org.codehaus.plexus.component.repository.DefaultComponentRepo
sitory.addComponentDescriptor(DefaultComponentRepository.java:302)
jvm 1    |      at org.codehaus.plexus.component.repository.DefaultComponentRepo
sitory.addComponentDescriptor(DefaultComponentRepository.java:235)
jvm 1    |      at org.codehaus.plexus.component.repository.DefaultComponentRepo
sitory.initializeComponentDescriptorsFromUserConfiguration(DefaultComponentRepos
itory.java:211)
jvm 1    |      at org.codehaus.plexus.component.repository.DefaultComponentRepo
sitory.initializeComponentDescriptors(DefaultComponentRepository.java:201)
jvm 1    |      at org.codehaus.plexus.component.repository.DefaultComponentRepo
sitory.initialize(DefaultComponentRepository.java:195)
jvm 1    |      at org.codehaus.plexus.container.initialization.InitializeCompon
entRepositoryPhase.initializeCoreComponent(InitializeComponentRepositoryPhase.ja
va:43)
jvm 1    |      at org.codehaus.plexus.container.initialization.AbstractCoreComp
onentInitializationPhase.execute(AbstractCoreComponentInitializationPhase.java:3
7)
jvm 1    |      at org.codehaus.plexus.DefaultPlexusContainer.initializePhases(D
efaultPlexusContainer.java:895)
jvm 1    |      at org.codehaus.plexus.DefaultPlexusContainer.initialize(Default
PlexusContainer.java:843)
jvm 1    |      at org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultP
lexusContainer.java:820)
jvm 1    |      at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlex
usContainer.java:222)
jvm 1    |      at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlex
usContainer.java:236)
jvm 1    |      at org.codehaus.plexus.appserver.PlexusApplicationHost.start(Ple
xusApplicationHost.java:141)
jvm 1    |      at org.codehaus.plexus.appserver.PlexusApplicationHost.start(Ple
xusApplicationHost.java:85)
jvm 1    |      at org.codehaus.plexus.appserver.PlexusApplicationHost.main(Plex
usApplicationHost.java:289)
jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
jvm 1    |      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
jvm 1    |      at java.lang.reflect.Method.invoke(Method.java:585)
jvm 1    |      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhan
ced(Launcher.java:289)
jvm 1    |      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Laun
cher.java:229)
jvm 1    |      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExi
tCode(Launcher.java:408)
jvm 1    |      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launch
er.java:351)
jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
jvm 1    |      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
jvm 1    |      at java.lang.reflect.Method.invoke(Method.java:585)
jvm 1    |      at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimple
App.java:240)
jvm 1    |      at java.lang.Thread.run(Thread.java:595)
wrapper  | <-- Wrapper Stopped
Press any key to continue . . .

Tomcat

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

Caught Exception while registering Interceptor class pssEnvironmentCheckInterceptor - [unknown location]
	org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor(PlexusObjectFactory.java:152)
	com.opensymphony.xwork.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:48)
	com.opensymphony.xwork.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:702)
	com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:569)
	com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:582)
	com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:603)
	com.opensymphony.xwork.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:204)
	com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:676)
	com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:679)
	com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:91)
	com.opensymphony.xwork.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:85)
	com.opensymphony.xwork.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:54)
	com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.java:57)
	com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:46)
	com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:216)
	com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
	com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
	com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
	com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.

Console:

INFO: Server startup in 14672 ms
2007-03-10 20:46:05,765 [http-8080-Processor25] ERROR DispatcherUtils
     - Could not find action
Caught Exception while registering Interceptor class pssEnvironmentCheckIntercep
tor - [unknown location]
        at org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor(Plexus
ObjectFactory.java:152)
        at com.opensymphony.xwork.config.providers.InterceptorBuilder.constructI
nterceptorReference(InterceptorBuilder.java:48)
        at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.look
upInterceptorReference(XmlConfigurationProvider.java:702)
        at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.load
InterceptorStack(XmlConfigurationProvider.java:569)
        at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.load
InterceptorStacks(XmlConfigurationProvider.java:582)
        at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.load
Interceptors(XmlConfigurationProvider.java:603)
        at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.addP
ackage(XmlConfigurationProvider.java:204)
        at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.load
ConfigurationFile(XmlConfigurationProvider.java:676)
        at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.load
ConfigurationFile(XmlConfigurationProvider.java:679)
        at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init
(XmlConfigurationProvider.java:91)
        at com.opensymphony.xwork.config.impl.DefaultConfiguration.reload(Defaul
tConfiguration.java:85)
        at com.opensymphony.xwork.config.ConfigurationManager.getConfiguration(C
onfigurationManager.java:54)
        at com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.j
ava:57)
        at com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(De
faultActionProxyFactory.java:46)
        at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(Dis
patcherUtils.java:216)
        at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterD
ispatcher.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilt
er.java:118)
        at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilte
r.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Act
ionContextCleanUp.java:88)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:869)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:664)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
        at java.lang.Thread.run(Thread.java:595)
Caused by: javax.jdo.JDODataStoreException: Iteration request failed : SELECT TH
IS.STRING_ELE,THIS.INTEGER_IDX AS JPOXORDER0 FROM ROLE_CHILDROLE_MAP THIS WHERE
? = THIS.NAME_OID AND THIS.INTEGER_IDX >= ? ORDER BY JPOXORDER0
NestedThrowables:
SQL Exception: Column 'THIS.INTEGER_IDX' is either not in any table in the FROM
list or appears within a join specification and is outside the scope of the join
 specification or appears in a HAVING clause and is not in the GROUP BY list. If
 this is a CREATE or ALTER TABLE  statement then 'THIS.INTEGER_IDX' is not a col
umn in the target table.
        at org.jpox.store.rdbms.scostore.AbstractListStore.listIterator(Abstract
ListStore.java:177)
        at org.jpox.store.rdbms.scostore.AbstractListStore.listIterator(Abstract
ListStore.java:116)
        at org.jpox.store.rdbms.scostore.AbstractListStore.iterator(AbstractList
Store.java:106)
        at org.jpox.sco.ArrayList.loadFromStore(ArrayList.java:1110)
        at org.jpox.sco.ArrayList.init(ArrayList.java:156)
        at org.jpox.sco.ArrayList.<init>(ArrayList.java:110)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at org.jpox.util.ClassUtils.newInstance(ClassUtils.java:73)
        at org.jpox.store.mapping.AbstractContainerMapping.newWrapper(AbstractCo
ntainerMapping.java:413)
        at org.jpox.store.mapping.AbstractContainerMapping.postFetch(AbstractCon
tainerMapping.java:451)
        at org.jpox.store.rdbms.request.FetchRequest.execute(FetchRequest.java:2
28)
        at org.jpox.store.rdbms.table.ClassTable.fetch(ClassTable.java:2552)
        at org.jpox.store.StoreManager.fetch(StoreManager.java:941)
        at org.jpox.state.StateManagerImpl.loadUnloadedFieldsInFetchPlan(StateMa
nagerImpl.java:1822)
        at org.jpox.state.StateManagerImpl.detachCopy(StateManagerImpl.java:4127
)
        at org.jpox.AbstractPersistenceManager.internalDetachCopy(AbstractPersis
tenceManager.java:1940)
        at org.jpox.AbstractPersistenceManager.detachCopyInternal(AbstractPersis
tenceManager.java:1970)
        at org.jpox.AbstractPersistenceManager.detachCopyAll(AbstractPersistence
Manager.java:2039)
        at org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool.get
AllObjects(JdoTool.java:221)
        at org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool.get
AllObjects(JdoTool.java:188)
        at org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool.tri
ggerInit(JdoTool.java:131)
        at org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool.get
PersistenceManager(JdoTool.java:118)
        at org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool.get
ObjectById(JdoTool.java:292)
        at org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool.obj
ectExistsById(JdoTool.java:340)
        at org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoRbacMana
ger.roleExists(JdoRbacManager.java:122)
        at org.codehaus.plexus.security.authorization.rbac.store.cached.CachedRb
acManager.roleExists(CachedRbacManager.java:641)
        at org.codehaus.plexus.rbac.profile.AbstractDynamicRoleProfile.getRole(A
bstractDynamicRoleProfile.java:217)
        at org.codehaus.plexus.rbac.profile.DefaultRoleProfileManager.getDynamic
Role(DefaultRoleProfileManager.java:87)
        at org.apache.maven.archiva.web.check.RoleExistanceEnvironmentCheck.vali
dateEnvironment(RoleExistanceEnvironmentCheck.java:77)
        at org.codehaus.plexus.security.ui.web.interceptor.EnvironmentCheckInter
ceptor.init(EnvironmentCheckInterceptor.java:76)
        at org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor(Plexus
ObjectFactory.java:119)
        ... 36 more
Caused by: SQL Exception: Column 'THIS.INTEGER_IDX' is either not in any table i
n the FROM list or appears within a join specification and is outside the scope
of the join specification or appears in a HAVING clause and is not in the GROUP
BY list. If this is a CREATE or ALTER TABLE  statement then 'THIS.INTEGER_IDX' i
s not a column in the target table.
        at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source
)
        at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException
(Unknown Source)
        at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Un
known Source)
        at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown So
urce)
        at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown So
urce)
        at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(Unknown Sour
ce)
        at org.apache.derby.impl.jdbc.EmbedPreparedStatement20.<init>(Unknown So
urce)
        at org.apache.derby.impl.jdbc.EmbedPreparedStatement30.<init>(Unknown So
urce)
        at org.apache.derby.jdbc.Driver30.newEmbedPreparedStatement(Unknown Sour
ce)
        at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown S
ource)
        at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown S
ource)
        at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(Del
egatingConnection.java:185)
        at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrap
per.prepareStatement(PoolingDataSource.java:278)
        at org.jpox.store.rdbms.RDBMSManager.getStatement(RDBMSManager.java:527)

        at org.jpox.store.rdbms.query.StatementText.prepareStatement(StatementTe
xt.java:215)
        at org.jpox.store.rdbms.query.StatementText.prepareStatement(StatementTe
xt.java:246)
        at org.jpox.store.rdbms.scostore.AbstractListStore.listIterator(Abstract
ListStore.java:152)
        ... 69 more

HomePage | Maven | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited March 10, 2007 7:53 pm by WendySmoak (diff)
Search: