archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien CARSIQUE <jcarsi...@nuxeo.com>
Subject Cannot use archiva browse function after 2 days running
Date Fri, 14 Dec 2007 12:06:42 GMT
Hello,

Sorry for the precedent message with subject from another thread.

We use Archiva 1.0.
I have to restart it every one or two days; if not, archiva becomes
unstable :

    * main page and admin section are accessible and work fine,
    * archiva/browse/ function is dead :


        Proxy Error

      The proxy server received an invalid response from an upstream server.
      The proxy server could not handle the request /GET /archiva/browse
      <http://archiva.nuxeo.org/archiva/browse>/.

      Reason: *Error reading from remote server*


    * artifact resolution is very slow, sometimes down.

Restarting archiva immediately solves the problem.

I don't see explicit logs about this, all I can find in archiva.log is
some warnings (not raised when clicking on browse button) like those :
|29910993 [SocketListener0-7] WARN
org.apache.maven.archiva.web.tags.DependencyTree:default  - Unable to
generate graph for
[org.nuxeo.ecm.platform:nuxeo-platform-events-core:5.1.3-20071121.011030-30] 

: Unable to create ArchivaArtifact with empty version
[org.nuxeo.common:nuxeo-common:null::pom]
org.apache.maven.archiva.dependency.graph.GraphTaskException: Unable to
create ArchivaArtifact with empty version
[org.nuxeo.common:nuxeo-common:null::pom]
        at
org.apache.maven.archiva.dependency.DependencyGraphFactory.getGraph(DependencyGraphFactory.java:151)
        at
org.apache.maven.archiva.web.tags.DependencyTree.fetchGraph(DependencyTree.java:245)
        at
org.apache.maven.archiva.web.tags.DependencyTree.gatherTreeList(DependencyTree.java:144)
        at
org.apache.maven.archiva.web.tags.DependencyTreeTag.doStartTag(DependencyTreeTag.java:134)
        at
org.apache.jsp.WEB_002dINF.jsp.artifact.dependencyTree_jsp._jspx_meth_archiva_dependency$1tree_0(dependencyTree_jsp.java:93)
        at
org.apache.jsp.WEB_002dINF.jsp.artifact.dependencyTree_jsp._jspService(dependencyTree_jsp.java:64)
        (...)
Caused by: java.lang.IllegalArgumentException: Unable to create
ArchivaArtifact with empty version [org.nuxeo.common:nuxeo-common:null::pom]
        at
org.apache.maven.archiva.model.ArchivaArtifact.<init>(ArchivaArtifact.java:56)
        at
org.apache.maven.archiva.repository.project.resolvers.ManagedRepositoryProjectResolver.resolveProjectModel(ManagedRepositoryProjectResolver.java:54)
        at
org.apache.maven.archiva.repository.project.resolvers.ProjectModelResolverStack.findProject(ProjectModelResolverStack.java:96)
        at
org.apache.maven.archiva.repository.project.dependencies.ProjectModelBasedGraphBuilder.resolveModel(ProjectModelBasedGraphBuilder.java:84)
        at
org.apache.maven.archiva.repository.project.dependencies.ProjectModelBasedGraphBuilder.resolveNode(ProjectModelBasedGraphBuilder.java:71)
        at
org.apache.maven.archiva.dependency.graph.tasks.ResolveGraphTask.executeTask(ResolveGraphTask.java:84)
        at
org.apache.maven.archiva.dependency.graph.tasks.PopulateGraphMasterTask.executeTask(PopulateGraphMasterTask.java:60)
        at
org.apache.maven.archiva.dependency.DependencyGraphFactory.getGraph(DependencyGraphFactory.java:137)
        ... 88 more
|
or :
|39001320 [SocketListener0-7] WARN
org.apache.maven.archiva.repository.project.resolvers.ProjectModelResolutionListener:model-to-db


- Unable to check for existing model from database: Error in JDO during
get of Database object id [stax:stax-api:1.0] of type
org.apache.maven.archiva.model.ArchivaProjectModel using no fetch-group
org.apache.maven.archiva.repository.project.ProjectModelException:
Unable to check for existing model from database: Error in JDO during
get of Database object id [stax:stax-api:1.0] of type
org.apache.maven.archiva.model.ArchivaProjectModel using no fetch-group
        at
org.apache.maven.archiva.database.project.ProjectModelToDatabaseListener.existsInDatabase(ProjectModelToDatabaseListener.java:98)
        (...)
Caused by: org.apache.maven.archiva.database.ArchivaDatabaseException:
Error in JDO during get of Database object id [stax:stax-api:1.0] of
type org.apache.maven.archiva.model.ArchivaProjectModel using no fetch-group
        at
org.apache.maven.archiva.database.jdo.JdoAccess.getObjectById(JdoAccess.java:452)
        at
org.apache.maven.archiva.database.jdo.JdoProjectModelDAO.getProjectModel(JdoProjectModelDAO.java:74)
        at
org.apache.maven.archiva.database.project.ProjectModelToDatabaseListener.existsInDatabase(ProjectModelToDatabaseListener.java:86)
        ... 96 more
Caused by: javax.jdo.JDODataStoreException: Fetch request failed: SELECT
THIS.CI_MANAGEMENT_URL_OID,THIS.DESCRIPTION,THIS.ISSUE_MANAGEMENT_URL_OID,THIS."NAME",THIS.ORGANIZATION_NAME_OID,THIS.ORIGIN,THIS.PACKAGING,THIS.PARENT_PROJECT_ARCHIVA_VERSIONED_REFERENCE_ID_OID,THIS.RELOCATION_ARCHIVA_VERSIONED_REFERENCE_ID_OID,THIS.SCM_ARCHIVA_SCM_ID_OID,THIS.URL,THIS.WHEN_INDEXED,THIS.ARTIFACT_ID,THIS.GROUP_ID,THIS.VERSION


FROM SA.ARCHIVA_PROJECT THIS WHERE (THIS.ARTIFACT_ID=?) AND
(THIS.GROUP_ID=?) AND (THIS.VERSION=?)
NestedThrowables:
SQL Exception: Java exception: ': java.lang.NullPointerException'.
        at
org.jpox.store.rdbms.request.FetchRequest.execute(FetchRequest.java:221)
        ... 98 more
Caused by: SQL Exception: Java exception: ':
java.lang.NullPointerException'.
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown
Source)
|
and then :
|39002552 [SocketListener0-5] WARN
org.apache.maven.archiva.web.tags.DependencyTree:default  - Unable to
generate graph for [jaxen:jaxen:1.1-beta-8] : Transaction failed to commit
org.apache.maven.archiva.dependency.graph.GraphTaskException:
Transaction failed to commit
        at
org.apache.maven.archiva.dependency.DependencyGraphFactory.getGraph(DependencyGraphFactory.java:151)
Caused by: javax.jdo.JDODataStoreException: Transaction failed to commit
NestedThrowables:
java.sql.SQLException: Already closed.
        at
org.jpox.store.rdbms.RDBMSNonmanagedTransaction.rollback(RDBMSNonmanagedTransaction.java:524)
|

Thanks for any help, I would find unsatisfying having to daily restart
archiva, as there are cron tasks that need it (as nigthly builds).

-- 
Julien CARSIQUE, Nuxeo (Paris, France)
Open Source Enterprise Content Management - http://www.nuxeo.org/
Nuxeo EP 5: extensible, Java EE and standards based ECM Platform
http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87



Mime
View raw message