Sean,

Looks like there's no 3.0 in the Maven repository:
http://repo1.maven.org/maven2/org/apache/cocoon/cocoon-core/
I thought I had found a compiled .jar from a 2.2-dev snapshot, but I
can't track it down now.  I'm also guessing that squelching that NPE
message isn't really going to fix the problem.  

FWIW, I've made some progress through a combination of cleaning up my
env CLASSPATH and putting disallows in robots.txt (implementing the
sitemaps feature instead). I'm not really sure what made the difference,
but XMLUI now runs for at least a day or more before having to restart
Tomcat, as opposed to every hour.

Jason
-- 



>>> On 6/25/2009 at 3:01 AM, in message
<5d9253070906250101me53d3edtf6ee0362f6a3b...@mail.gmail.com>, Sean
Carte
<sean.ca...@gmail.com> wrote:
> 2009/6/24 Jason Stirnaman <jstirna...@kumc.edu>:
>> Sean,
>> Just wondering if you've made any progress with this?
>>
>> Jason
> 
> I tried using cocoon 3 (as that appears to be the only development
> version) by editing
> 
> dspace-xmlui/dspace-xmlui-wing/pom.xml
> 
> changing:
>                 <dependency>
>                         <groupId>org.apache.cocoon</groupId>
>                         <artifactId>cocoon-core</artifactId>
>                         <version>2.2.0</version>
>                 </dependency>
> to:
>                 <dependency>
>                         <groupId>org.apache.cocoon</groupId>
>                         <artifactId>cocoon-core</artifactId>
>                         <version>3.0.0-alpha-1</version>
>                 </dependency>
> 
> But maven didn't like that:
> 
> Downloading: 
>
http://repo1.maven.org/maven2/org/apache/cocoon/cocoon-core/3.0.0-alpha-1/coco

> on-core-3.0.0-alpha-1.pom
> Downloading: 
>
http://repo1.maven.org/maven2/org/apache/cocoon/cocoon-core/3.0.0-alpha-1/coco

> on-core-3.0.0-alpha-1.jar
> [INFO]
------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) org.apache.cocoon:cocoon-core:jar:3.0.0-alpha-1
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.cocoon
> -DartifactId=cocoon-core -Dversion=3.0.0-alpha-1 -Dpackaging=jar
> -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the
file 
> there:
>       mvn deploy:deploy-file -DgroupId=org.apache.cocoon
> -DartifactId=cocoon-core -Dversion=3.0.0-alpha-1 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
>         1) org.dspace:dspace-xmlui-wing:jar:1.5.2
>         2) org.apache.cocoon:cocoon-core:jar:3.0.0-alpha-1
> 
> ----------
> 1 required artifact is missing.Downloading:
>
http://repo1.maven.org/maven2/org/apache/cocoon/cocoon-core/3.0.0-alpha-1/cocoo

> n-core-3.0.0-alpha-1.pom
> Downloading: 
>
http://repo1.maven.org/maven2/org/apache/cocoon/cocoon-core/3.0.0-alpha-1/coco

> on-core-3.0.0-alpha-1.jar
> [INFO]
------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) org.apache.cocoon:cocoon-core:jar:3.0.0-alpha-1
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.cocoon
> -DartifactId=cocoon-core -Dversion=3.0.0-alpha-1 -Dpackaging=jar
> -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the
file 
> there:
>       mvn deploy:deploy-file -DgroupId=org.apache.cocoon
> -DartifactId=cocoon-core -Dversion=3.0.0-alpha-1 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
>         1) org.dspace:dspace-xmlui-wing:jar:1.5.2
>         2) org.apache.cocoon:cocoon-core:jar:3.0.0-alpha-1
> 
> ----------
> 1 required artifact is missing.
> 
> for artifact:
>   org.dspace:dspace-xmlui-wing:jar:1.5.2
> 
> from the specified remote repositories:
>   maven.dspace.org-snapshot (http://maven.dspace.org/snapshot),
>   central (http://repo1.maven.org/maven2)
> 
> 
> for artifact:
>   org.dspace:dspace-xmlui-wing:jar:1.5.2
> 
> from the specified remote repositories:
>   maven.dspace.org-snapshot (http://maven.dspace.org/snapshot),
>   central (http://repo1.maven.org/maven2)
> 
> 
> I did try downloading manually, but the
> cocoon-all-3.0.0-alpha-1.tar.gz file doesn't contain
> cocoon-core-3.0.0-alpha-1.jar
> 
> $ find cocoon-all-3.0.0-alpha-1/ -name "*.jar"
> cocoon-all-3.0.0-alpha-1/lib/cocoon-sitemap-3.0.0-alpha-1.jar
> cocoon-all-3.0.0-alpha-1/lib/cocoon-servlet-3.0.0-alpha-1.jar
> cocoon-all-3.0.0-alpha-1/lib/cocoon-rest-3.0.0-alpha-1.jar
> cocoon-all-3.0.0-alpha-1/lib/cocoon-stringtemplate-3.0.0-alpha-1.jar
> cocoon-all-3.0.0-alpha-1/lib/cocoon-pipeline-3.0.0-alpha-1.jar
> cocoon-all-3.0.0-alpha-1/lib/cocoon-controller-3.0.0-alpha-1.jar
> 
> So I guess I'm stuck with a busy server restarting every hour until
> someone who actually knows what s/he's doing has a go at this.
> 
> Sean

------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to